| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 // Copyright 2015 The Chromium Authors. All rights reserved. | 2 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <import src="/sky/framework/sky-drawer.sky" /> | 6 <import src="/sky/framework/sky-drawer.sky" /> |
| 7 <import src="/sky/framework/sky-element.sky" /> | 7 <import src="/sky/framework/sky-element.sky" /> |
| 8 <import src="/sky/framework/sky-scrollable.sky" /> | 8 <import src="/sky/framework/sky-scrollable.sky" /> |
| 9 <import src="stock.sky" as='view'/> | 9 <import src="stock.sky" as='view'/> |
| 10 <import src='companylist.sky' as='model'/> | 10 <import src='companylist.sky' as='model'/> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 position: absolute; | 23 position: absolute; |
| 24 z-index: 1; | 24 z-index: 1; |
| 25 top: 0; | 25 top: 0; |
| 26 left: 0; | 26 left: 0; |
| 27 bottom: 0; | 27 bottom: 0; |
| 28 right: 0; | 28 right: 0; |
| 29 } | 29 } |
| 30 sky-toolbar { | 30 sky-toolbar { |
| 31 display: flex; | 31 display: flex; |
| 32 align-items: center; | 32 align-items: center; |
| 33 background-color: #526E9C; | 33 background-color: #3F51B5; |
| 34 color: white; | 34 color: white; |
| 35 height: 56px; | 35 height: 56px; |
| 36 box-shadow: 0px 4px 4px grey; |
| 36 } | 37 } |
| 37 #menu { | 38 #menu { |
| 38 display: flex; | 39 display: flex; |
| 39 justify-content: center; | 40 justify-content: center; |
| 40 align-items: center; | 41 align-items: center; |
| 41 width: 24px; | 42 width: 24px; |
| 42 height: 24px; | 43 height: 24px; |
| 43 padding: 7px; | 44 padding: 7px; |
| 44 margin: 0 8px; | 45 margin: 0 8px; |
| 45 background-color: papayawhip; | 46 background-color: papayawhip; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 } | 99 } |
| 99 | 100 |
| 100 void _handleMenuClick(_) { | 101 void _handleMenuClick(_) { |
| 101 _drawer.toggle(); | 102 _drawer.toggle(); |
| 102 } | 103 } |
| 103 } | 104 } |
| 104 | 105 |
| 105 _init(script) => register(script, Stocks); | 106 _init(script) => register(script, Stocks); |
| 106 </script> | 107 </script> |
| 107 </sky-element> | 108 </sky-element> |
| OLD | NEW |