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-element.sky" /> | 6 <import src="sky-element.sky" /> |
7 | 7 |
8 <sky-element> | 8 <sky-element> |
9 <template> | 9 <template> |
10 <style> | 10 <style> |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 _splash.style['width'] = '${p}px'; | 89 _splash.style['width'] = '${p}px'; |
90 _splash.style['height'] = '${p}px'; | 90 _splash.style['height'] = '${p}px'; |
91 _splash.style['border-radius'] = '${p}px'; | 91 _splash.style['border-radius'] = '${p}px'; |
92 _splash.style['opacity'] = '${1.0 - (p / _kSplashSize)}'; | 92 _splash.style['opacity'] = '${1.0 - (p / _kSplashSize)}'; |
93 } | 93 } |
94 } | 94 } |
95 | 95 |
96 _init(script) => register(script, SkyInkSplash); | 96 _init(script) => register(script, SkyInkSplash); |
97 </script> | 97 </script> |
98 </sky-element> | 98 </sky-element> |
OLD | NEW |