OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
2 <link rel="import" href="/settings_root_css.html"> | 2 <link rel="import" href="/settings_root_css.html"> |
3 | 3 |
4 <!-- Common styles for Material Design settings. --> | 4 <!-- Common styles for Material Design settings. --> |
5 <dom-module id="settings-shared"> | 5 <dom-module id="settings-shared"> |
6 <template> | 6 <template> |
7 <style include="cr-shared-style"> | 7 <style include="cr-shared-style"> |
8 h2 { | 8 h2 { |
9 align-items: center; | 9 align-items: center; |
10 display: flex; | 10 display: flex; |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 min-height: var(--settings-row-min-height); | 236 min-height: var(--settings-row-min-height); |
237 padding: 0 20px; | 237 padding: 0 20px; |
238 } | 238 } |
239 | 239 |
240 /* | 240 /* |
241 * We use an explicit tag to remove the top border, rather than a | 241 * We use an explicit tag to remove the top border, rather than a |
242 * :first-of-type modifier. This is a conscious choice, please consult | 242 * :first-of-type modifier. This is a conscious choice, please consult |
243 * with dbeam@ or dschuyler@ prior to changing it. | 243 * with dbeam@ or dschuyler@ prior to changing it. |
244 */ | 244 */ |
245 .settings-box.first, | 245 .settings-box.first, |
| 246 .settings-box[first], |
246 .settings-box.continuation { | 247 .settings-box.continuation { |
247 border-top: none; | 248 border-top: none; |
248 } | 249 } |
249 | 250 |
250 .settings-box.block { | 251 .settings-box.block { |
251 display: block; | 252 display: block; |
252 } | 253 } |
253 | 254 |
254 /* | 255 /* |
255 * A row with two lines of text. Often the lower line will be .secondary. | 256 * A row with two lines of text. Often the lower line will be .secondary. |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 | 322 |
322 .favicon-image { | 323 .favicon-image { |
323 background-repeat: no-repeat; | 324 background-repeat: no-repeat; |
324 background-size: contain; | 325 background-size: contain; |
325 height: 16px; | 326 height: 16px; |
326 width: 16px; | 327 width: 16px; |
327 } | 328 } |
328 </style> | 329 </style> |
329 </template> | 330 </template> |
330 </dom-module> | 331 </dom-module> |
OLD | NEW |