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_vars_css.html"> | 2 <link rel="import" href="/settings_vars_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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
273 display: block; | 273 display: block; |
274 } | 274 } |
275 | 275 |
276 /* | 276 /* |
277 * A row with two lines of text. Often the lower line will be .secondary. | 277 * A row with two lines of text. Often the lower line will be .secondary. |
278 */ | 278 */ |
279 .settings-box.two-line { | 279 .settings-box.two-line { |
280 min-height: 56px; | 280 min-height: 56px; |
281 } | 281 } |
282 | 282 |
283 /* | |
284 * A settings box with a single start-aligned column, generally but not | |
285 * necessarily used in combination with two-line. | |
Dan Beam
2016/07/22 23:18:42
nit: I know you're just kind of following the comm
stevenjb
2016/07/22 23:44:42
Acknowledged.
| |
286 */ | |
287 .settings-box.single-column { | |
288 align-items: flex-start; | |
289 flex-direction: column; | |
290 justify-content: center; | |
291 } | |
292 | |
283 /* The lower line of text in a .settings-box.two-line. */ | 293 /* The lower line of text in a .settings-box.two-line. */ |
284 .settings-box .secondary { | 294 .settings-box .secondary { |
285 @apply(--settings-secondary); | 295 @apply(--settings-secondary); |
286 } | 296 } |
287 | 297 |
288 /* The middle part (horizontally) of a row. */ | 298 /* The middle part (horizontally) of a row. */ |
289 .settings-box .middle { | 299 .settings-box .middle { |
290 -webkit-margin-start: 16px; | 300 -webkit-margin-start: 16px; |
291 align-items: center; | 301 align-items: center; |
292 flex: auto; | 302 flex: auto; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
339 | 349 |
340 .favicon-image { | 350 .favicon-image { |
341 background-repeat: no-repeat; | 351 background-repeat: no-repeat; |
342 background-size: contain; | 352 background-size: contain; |
343 height: 16px; | 353 height: 16px; |
344 width: 16px; | 354 width: 16px; |
345 } | 355 } |
346 </style> | 356 </style> |
347 </template> | 357 </template> |
348 </dom-module> | 358 </dom-module> |
OLD | NEW |