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

Side by Side Diff: sky/framework/sky-drawer-header.sky

Issue 999873002: Move sky-*.sky into framework/elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: One missing Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « sky/framework/sky-drawer.sky ('k') | sky/framework/sky-element.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « sky/framework/sky-drawer.sky ('k') | sky/framework/sky-element.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698