Chromium Code Reviews| 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 button[is='paper-icon-button-light'] { | 8 button[is='paper-icon-button-light'] { |
| 9 --paper-icon-button-light-ripple: { | 9 --paper-icon-button-light-ripple: { |
| 10 /* Center the ripple on the icon button. */ | 10 /* Center the ripple on the icon button. */ |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 300 .settings-box.block { | 300 .settings-box.block { |
| 301 display: block; | 301 display: block; |
| 302 } | 302 } |
| 303 | 303 |
| 304 /* A row with two lines of text. Often the lower line will be .secondary. | 304 /* A row with two lines of text. Often the lower line will be .secondary. |
| 305 */ | 305 */ |
| 306 .two-line { | 306 .two-line { |
| 307 min-height: var(--settings-row-two-line-min-height); | 307 min-height: var(--settings-row-two-line-min-height); |
| 308 } | 308 } |
| 309 | 309 |
| 310 /* | 310 /* A start-aligned column. */ |
| 311 * A single start-aligned column, generally but not necessarily used in | |
| 312 * combination with two-line. | |
| 313 */ | |
| 314 .single-column { | 311 .single-column { |
| 315 align-items: flex-start; | 312 align-items: flex-start; |
| 316 flex-direction: column; | 313 flex-direction: column; |
| 317 justify-content: center; | 314 justify-content: center; |
| 318 } | 315 } |
| 319 | 316 |
| 317 /* A settings-box with no height other than the seprator line. */ | |
|
Dan Beam
2016/10/13 04:37:32
separator
dschuyler
2016/10/13 18:56:15
Done.
| |
| 318 .settings-box.line-only { | |
| 319 min-height: 0; | |
| 320 } | |
| 321 | |
| 320 /* The lower line of text in a two-line row. */ | 322 /* The lower line of text in a two-line row. */ |
| 321 .secondary { | 323 .secondary { |
| 322 @apply(--settings-secondary); | 324 @apply(--settings-secondary); |
| 323 } | 325 } |
| 324 | 326 |
| 325 /* The middle part (horizontally) of a row. */ | 327 /* The middle part (horizontally) of a row. */ |
| 326 .settings-box .middle { | 328 .settings-box .middle { |
| 327 -webkit-padding-start: 16px; | 329 -webkit-padding-start: 16px; |
| 328 align-items: center; | 330 align-items: center; |
| 329 flex: auto; | 331 flex: auto; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 419 /* Turns the arrow direction downwards, when the bubble is placed above | 421 /* Turns the arrow direction downwards, when the bubble is placed above |
| 420 * the anchor element */ | 422 * the anchor element */ |
| 421 .search-bubble-innards.above::after { | 423 .search-bubble-innards.above::after { |
| 422 -webkit-transform: rotate(-135deg); | 424 -webkit-transform: rotate(-135deg); |
| 423 bottom: -5px; | 425 bottom: -5px; |
| 424 top: auto; | 426 top: auto; |
| 425 } | 427 } |
| 426 </style> | 428 </style> |
| 427 </template> | 429 </template> |
| 428 </dom-module> | 430 </dom-module> |
| OLD | NEW |