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

Side by Side Diff: sky/framework/elements/shadow.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/elements/material-element.sky ('k') | sky/framework/elements/sky-box.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <template> 6 <template>
7 <style> 7 <style>
8 :host([level="1"]) { 8 :host([level="1"]) {
9 box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 9 box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
10 } 10 }
(...skipping 19 matching lines...) Expand all
30 void applyTo(ShadowRoot shadowRoot) { 30 void applyTo(ShadowRoot shadowRoot) {
31 shadowRoot.appendChild(_kStyleElement.cloneNode(deep: true)); 31 shadowRoot.appendChild(_kStyleElement.cloneNode(deep: true));
32 } 32 }
33 33
34 _init(script) { 34 _init(script) {
35 HTMLTemplateElement template = script.owner.querySelector('template'); 35 HTMLTemplateElement template = script.owner.querySelector('template');
36 _kStyleElement = template.content.querySelector('style'); 36 _kStyleElement = template.content.querySelector('style');
37 } 37 }
38 </script> 38 </script>
39 </sky-element> 39 </sky-element>
OLDNEW
« no previous file with comments | « sky/framework/elements/material-element.sky ('k') | sky/framework/elements/sky-box.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698