Commit 0c262141 authored by Adam Barth's avatar Adam Barth

Make the stocks drawer look more realistic

The menu items don't quite make sense for this app, but they're closer in
visual styling.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/951413002
parent 5f50e4b6
...@@ -3,9 +3,12 @@ ...@@ -3,9 +3,12 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
--> -->
<import src="/sky/framework/sky-drawer-header.sky" />
<import src="/sky/framework/sky-drawer.sky" /> <import src="/sky/framework/sky-drawer.sky" />
<import src="/sky/framework/sky-element.sky" /> <import src="/sky/framework/sky-element.sky" />
<import src="/sky/framework/sky-icon.sky" /> <import src="/sky/framework/sky-icon.sky" />
<import src="/sky/framework/sky-menu-divider.sky" />
<import src="/sky/framework/sky-menu-item.sky" />
<import src="/sky/framework/sky-scrollable.sky" /> <import src="/sky/framework/sky-scrollable.sky" />
<import src="/sky/framework/sky-toolbar.sky" /> <import src="/sky/framework/sky-toolbar.sky" />
<import src="stock.sky" as='view'/> <import src="stock.sky" as='view'/>
...@@ -35,12 +38,8 @@ ...@@ -35,12 +38,8 @@
color: white; color: white;
} }
sky-icon { sky-icon {
display: flex;
justify-content: center;
align-items: center;
padding: 8px; padding: 8px;
margin: 0 4px; margin: 0 4px;
color: black;
} }
#title { #title {
flex: 1; flex: 1;
...@@ -51,7 +50,14 @@ ...@@ -51,7 +50,14 @@
} }
</style> </style>
<sky-drawer id="drawer"> <sky-drawer id="drawer">
I am drawer <sky-drawer-header>
Stocks
</sky-drawer-header>
<sky-menu-item icon="content/inbox">Inbox</sky-menu-item>
<sky-menu-item icon="content/drafts">Drafts</sky-menu-item>
<sky-menu-divider />
<sky-menu-item icon="action/settings">Settings</sky-menu-item>
<sky-menu-item icon="action/help">Help &amp; feedback</sky-menu-item>
</sky-drawer> </sky-drawer>
<sky-toolbar level="2"> <sky-toolbar level="2">
<sky-icon id="menu" type="navigation/menu_white" size="24" /> <sky-icon id="menu" type="navigation/menu_white" size="24" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment