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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
256 min-height: var(--settings-row-min-height); | 256 min-height: var(--settings-row-min-height); |
257 padding: 0 20px; | 257 padding: 0 20px; |
258 } | 258 } |
259 | 259 |
260 /* | 260 /* |
261 * We use an explicit tag to remove the top border, rather than a | 261 * We use an explicit tag to remove the top border, rather than a |
262 * :first-of-type modifier. This is a conscious choice, please consult | 262 * :first-of-type modifier. This is a conscious choice, please consult |
263 * with dbeam@ or dschuyler@ prior to changing it. | 263 * with dbeam@ or dschuyler@ prior to changing it. |
264 */ | 264 */ |
265 .settings-box.first, | 265 .settings-box.first, |
266 .settings-box[first], | |
michaelpg
2016/07/21 04:23:03
Let's not mix classes and attributes, this makes s
Moe
2016/07/21 18:27:32
Done.
| |
266 .settings-box.continuation { | 267 .settings-box.continuation { |
267 border-top: none; | 268 border-top: none; |
268 } | 269 } |
269 | 270 |
270 .settings-box.block { | 271 .settings-box.block { |
271 display: block; | 272 display: block; |
272 } | 273 } |
273 | 274 |
274 /* | 275 /* |
275 * A row with two lines of text. Often the lower line will be .secondary. | 276 * 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... | |
341 | 342 |
342 .favicon-image { | 343 .favicon-image { |
343 background-repeat: no-repeat; | 344 background-repeat: no-repeat; |
344 background-size: contain; | 345 background-size: contain; |
345 height: 16px; | 346 height: 16px; |
346 width: 16px; | 347 width: 16px; |
347 } | 348 } |
348 </style> | 349 </style> |
349 </template> | 350 </template> |
350 </dom-module> | 351 </dom-module> |
OLD | NEW |