Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: sky/framework/sky-menu-divider.sky

Issue 951413002: Make the stocks drawer look more realistic (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/sky-drawer-header.sky ('k') | sky/framework/sky-menu-item.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/sky-menu-divider.sky
diff --git a/sky/examples/example-element/example-element.sky b/sky/framework/sky-menu-divider.sky
similarity index 51%
copy from sky/examples/example-element/example-element.sky
copy to sky/framework/sky-menu-divider.sky
index 097d4f54e2ca5484550450987d49c350ce3122b4..d83f70ab00f4ac65625c051eeae48d3cfa3d9686 100644
--- a/sky/examples/example-element/example-element.sky
+++ b/sky/framework/sky-menu-divider.sky
@@ -3,23 +3,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-->
-<import src="/sky/framework/sky-element.sky" />
+<import src="sky-element.sky" />
+
<sky-element>
<template>
<style>
- div {
- height: 50px;
- width: 50px;
- background-color: green;
+ :host {
+ margin: 8px 0;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
</style>
- <div>Hi</div>
</template>
<script>
-@Tagname('example')
-class ExampleElement extends SkyElement {
+import "dart:sky";
+
+@Tagname('sky-menu-divider')
+class SkyMenuDivider extends SkyElement {
}
-_init(script) => register(script, ExampleElement);
+_init(script) => register(script, SkyMenuDivider);
</script>
</sky-element>
« no previous file with comments | « sky/framework/sky-drawer-header.sky ('k') | sky/framework/sky-menu-item.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698