| OLD | NEW |
| (Empty) |
| 1 <!-- | |
| 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 | |
| 4 // found in the LICENSE file. | |
| 5 --> | |
| 6 <import src="sky-element.sky" /> | |
| 7 <import src="sky-icon.sky" /> | |
| 8 | |
| 9 <sky-element attributes="icon:string"> | |
| 10 <template> | |
| 11 <style> | |
| 12 :host { | |
| 13 display: flex; | |
| 14 flex-direction: column; | |
| 15 height: 140px; | |
| 16 -webkit-user-select: none; | |
| 17 background-color: #E3ECF5; | |
| 18 border-bottom: 1px solid #D1D9E1; | |
| 19 padding-bottom: 7px; | |
| 20 margin-bottom: 8px; | |
| 21 } | |
| 22 #spacer { | |
| 23 flex: 1; | |
| 24 } | |
| 25 #label { | |
| 26 padding: 0 16px; | |
| 27 font-family: 'Roboto Medium', 'Helvetica'; | |
| 28 color: #212121; | |
| 29 } | |
| 30 </style> | |
| 31 <div id="spacer" /> | |
| 32 <div id="label"> | |
| 33 <content /> | |
| 34 </div> | |
| 35 </template> | |
| 36 <script> | |
| 37 import "dart:sky"; | |
| 38 | |
| 39 @Tagname('sky-drawer-header') | |
| 40 class SkyDrawerHeader extends SkyElement { | |
| 41 } | |
| 42 | |
| 43 _init(script) => register(script, SkyDrawerHeader); | |
| 44 </script> | |
| 45 </sky-element> | |
| OLD | NEW |