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

Side by Side Diff: sky/framework/sky-box.sky

Issue 886723002: Add sky-drawer to the framework (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nit 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Copyright 2014 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-element/sky-element.sky" as="SkyElement" /> 6 <import src="sky-element/sky-element.sky" as="SkyElement" />
7 7
8 <sky-element name="sky-box" attributes="title:string"> 8 <sky-element name="sky-box" attributes="title:string">
9 <template> 9 <template>
10 <style> 10 <style>
(...skipping 10 matching lines...) Expand all
21 padding: 8px 8px 4px 8px; 21 padding: 8px 8px 4px 8px;
22 } 22 }
23 .content { 23 .content {
24 padding: 4px 8px 8px 8px; 24 padding: 4px 8px 8px 8px;
25 } 25 }
26 div { 26 div {
27 flex: 1; 27 flex: 1;
28 } 28 }
29 </style> 29 </style>
30 <div class="title">{{ title }}</div> 30 <div class="title">{{ title }}</div>
31 <div class="content"><content></content></div> 31 <div class="content"><content/></div>
32 </template> 32 </template>
33 <script> 33 <script>
34 module.exports = class extends SkyElement { 34 module.exports = class extends SkyElement {
35 }.register(); 35 }.register();
36 </script> 36 </script>
37 </sky-element> 37 </sky-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698