OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
mation-runner-behavior.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
mation-runner-behavior.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
4 | 4 |
5 <dom-module id="settings-section"> | 5 <dom-module id="settings-section"> |
6 <template> | 6 <template> |
7 <style> | 7 <style> |
8 :host { | 8 :host { |
9 display: flex; | 9 display: flex; |
10 flex-direction: column; | 10 flex-direction: column; |
| 11 /* Margin so the box-shadow isn't clipped during animations. */ |
| 12 margin: 0 3px; |
11 position: relative; | 13 position: relative; |
12 } | 14 } |
13 | 15 |
14 #header { | 16 #header { |
15 margin-bottom: 12px; | 17 margin-bottom: 12px; |
16 } | 18 } |
17 | 19 |
18 #header .title { | 20 #header .title { |
19 color: var(--paper-grey-600); | 21 color: var(--paper-grey-600); |
20 font-size: 13px; | 22 font-size: 13px; |
(...skipping 27 matching lines...) Expand all Loading... |
48 </style> | 50 </style> |
49 <div id="header"> | 51 <div id="header"> |
50 <div class="title">{{pageTitle}}</div> | 52 <div class="title">{{pageTitle}}</div> |
51 </div> | 53 </div> |
52 <div id="card"> | 54 <div id="card"> |
53 <content id="content"></content> | 55 <content id="content"></content> |
54 </div> | 56 </div> |
55 </template> | 57 </template> |
56 <script src="settings_section.js"></script> | 58 <script src="settings_section.js"></script> |
57 </dom-module> | 59 </dom-module> |
OLD | NEW |