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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 min-height: var(--settings-row-min-height); | 249 min-height: var(--settings-row-min-height); |
250 padding: 0 20px; | 250 padding: 0 20px; |
251 } | 251 } |
252 | 252 |
253 /* | 253 /* |
254 * We use an explicit tag to remove the top border, rather than a | 254 * We use an explicit tag to remove the top border, rather than a |
255 * :first-of-type modifier. This is a conscious choice, please consult | 255 * :first-of-type modifier. This is a conscious choice, please consult |
256 * with dbeam@ or dschuyler@ prior to changing it. | 256 * with dbeam@ or dschuyler@ prior to changing it. |
257 */ | 257 */ |
258 .settings-box.first, | 258 .settings-box.first, |
| 259 .settings-box[first], |
259 .settings-box.continuation { | 260 .settings-box.continuation { |
260 border-top: none; | 261 border-top: none; |
261 } | 262 } |
262 | 263 |
263 .settings-box.block { | 264 .settings-box.block { |
264 display: block; | 265 display: block; |
265 } | 266 } |
266 | 267 |
267 /* | 268 /* |
268 * A row with two lines of text. Often the lower line will be .secondary. | 269 * 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... |
334 | 335 |
335 .favicon-image { | 336 .favicon-image { |
336 background-repeat: no-repeat; | 337 background-repeat: no-repeat; |
337 background-size: contain; | 338 background-size: contain; |
338 height: 16px; | 339 height: 16px; |
339 width: 16px; | 340 width: 16px; |
340 } | 341 } |
341 </style> | 342 </style> |
342 </template> | 343 </template> |
343 </dom-module> | 344 </dom-module> |
OLD | NEW |