| 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 /* Included here so we don't have to include "iron-positioning" in every | 8 /* Included here so we don't have to include "iron-positioning" in every |
| 9 * stylesheet. See crbug.com/498405. */ | 9 * stylesheet. See crbug.com/498405. */ |
| 10 [hidden] { | 10 [hidden] { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 } | 33 } |
| 34 | 34 |
| 35 iron-icon[icon='cr:check'], | 35 iron-icon[icon='cr:check'], |
| 36 iron-icon[icon='settings:done'] { | 36 iron-icon[icon='settings:done'] { |
| 37 --iron-icon-fill-color: var(--google-green-500); | 37 --iron-icon-fill-color: var(--google-green-500); |
| 38 } | 38 } |
| 39 | 39 |
| 40 paper-button { | 40 paper-button { |
| 41 height: 32px; | 41 height: 32px; |
| 42 margin: 0; | 42 margin: 0; |
| 43 border-radius: 4px; |
| 43 } | 44 } |
| 44 | 45 |
| 45 paper-button[toggles][active] { | 46 paper-button[toggles][active] { |
| 46 background-color: var(--paper-grey-300); | 47 background-color: var(--paper-grey-300); |
| 47 } | 48 } |
| 48 | 49 |
| 49 paper-toggle-button { | 50 paper-toggle-button { |
| 50 @apply(--settings-actionable); | 51 @apply(--settings-actionable); |
| 51 height: var(--settings-row-min-height); | 52 height: var(--settings-row-min-height); |
| 52 width: 31px; | 53 width: 31px; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 border-top: var(--settings-separator-line); | 247 border-top: var(--settings-separator-line); |
| 247 display: flex; | 248 display: flex; |
| 248 min-height: var(--settings-box-min-height); | 249 min-height: var(--settings-box-min-height); |
| 249 padding: 0 var(--settings-box-row-padding); | 250 padding: 0 var(--settings-box-row-padding); |
| 250 } | 251 } |
| 251 | 252 |
| 252 .settings-box.two-line { | 253 .settings-box.two-line { |
| 253 min-height: var(--settings-box-two-line-min-height); | 254 min-height: var(--settings-box-two-line-min-height); |
| 254 } | 255 } |
| 255 | 256 |
| 257 .settings-box.three-line { |
| 258 min-height: var(--settings-box-three-line-min-height); |
| 259 } |
| 260 |
| 256 /* 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 |
| 257 * :first-of-type modifier. This is a conscious choice, please consult | 262 * :first-of-type modifier. This is a conscious choice, please consult |
| 258 * with dbeam@ or dschuyler@ prior to changing it. */ | 263 * with dbeam@ or dschuyler@ prior to changing it. */ |
| 259 .settings-box.first, | 264 .settings-box.first, |
| 260 .settings-box.continuation { | 265 .settings-box.continuation { |
| 261 border-top: none; | 266 border-top: none; |
| 262 } | 267 } |
| 263 | 268 |
| 264 .settings-box.block { | 269 .settings-box.block { |
| 265 display: block; | 270 display: block; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 /* Turns the arrow direction downwards, when the bubble is placed above | 386 /* Turns the arrow direction downwards, when the bubble is placed above |
| 382 * the anchor element */ | 387 * the anchor element */ |
| 383 .search-bubble-innards.above::after { | 388 .search-bubble-innards.above::after { |
| 384 -webkit-transform: rotate(-135deg); | 389 -webkit-transform: rotate(-135deg); |
| 385 bottom: -5px; | 390 bottom: -5px; |
| 386 top: auto; | 391 top: auto; |
| 387 } | 392 } |
| 388 </style> | 393 </style> |
| 389 </template> | 394 </template> |
| 390 </dom-module> | 395 </dom-module> |
| OLD | NEW |