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/paper-styles/shadow.htm
l"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm
l"> |
3 <link rel="import" href="/animation/animation.html"> | 3 <link rel="import" href="/animation/animation.html"> |
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. */ | 11 /* Margin so the box-shadow isn't clipped during animations. */ |
12 margin-left: 3px; | 12 margin-left: 3px; |
13 margin-right: 3px; | 13 margin-right: 3px; |
14 position: relative; | 14 position: relative; |
15 } | 15 } |
16 | 16 |
17 #header { | 17 #header { |
18 margin-bottom: 12px; | 18 margin-bottom: 12px; |
19 } | 19 } |
20 | 20 |
21 #header .title { | 21 #header .title { |
22 color: var(--paper-grey-600); | 22 color: var(--paper-grey-700); |
23 font-size: 100%; | 23 font-size: 100%; |
24 font-weight: 500; | 24 font-weight: 500; |
25 margin-bottom: 0; | 25 margin-bottom: 0; |
26 margin-top: var(--settings-page-vertical-margin); | 26 margin-top: var(--settings-page-vertical-margin); |
27 } | 27 } |
28 | 28 |
29 #card { | 29 #card { |
30 @apply(--shadow-elevation-2dp); | 30 @apply(--shadow-elevation-2dp); |
31 background-color: white; | 31 background-color: white; |
32 border-radius: 2px; | 32 border-radius: 2px; |
(...skipping 28 matching lines...) Expand all Loading... |
61 </style> | 61 </style> |
62 <div id="header"> | 62 <div id="header"> |
63 <h2 class="title">{{pageTitle}}</h2> | 63 <h2 class="title">{{pageTitle}}</h2> |
64 </div> | 64 </div> |
65 <div id="card"> | 65 <div id="card"> |
66 <content id="content"></content> | 66 <content id="content"></content> |
67 </div> | 67 </div> |
68 </template> | 68 </template> |
69 <script src="settings_section.js"></script> | 69 <script src="settings_section.js"></script> |
70 </dom-module> | 70 </dom-module> |
OLD | NEW |