| 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 :host-context([dir=rtl]) button[is='paper-icon-button-light'] { | 8 :host-context([dir=rtl]) button[is='paper-icon-button-light'] { |
| 9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ | 9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ |
| 10 } | 10 } |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 } | 117 } |
| 118 | 118 |
| 119 .settings-box .primary-button, | 119 .settings-box .primary-button, |
| 120 .settings-box .secondary-button { | 120 .settings-box .secondary-button { |
| 121 -webkit-margin-end: calc(var(--settings-button-edge-spacing) * -1); | 121 -webkit-margin-end: calc(var(--settings-button-edge-spacing) * -1); |
| 122 -webkit-margin-start: calc(var(--settings-button-edge-spacing) * -1); | 122 -webkit-margin-start: calc(var(--settings-button-edge-spacing) * -1); |
| 123 } | 123 } |
| 124 | 124 |
| 125 paper-checkbox { | 125 paper-checkbox { |
| 126 --paper-checkbox-checked-color: var(--google-blue-500); | 126 --paper-checkbox-checked-color: var(--google-blue-500); |
| 127 --paper-checkbox-label-spacing: var(--settings-control-spacing); | 127 --paper-checkbox-label-spacing: var(--settings-control-label-spacing); |
| 128 --paper-checkbox-size: var(--checkbox-size); | 128 --paper-checkbox-size: var(--checkbox-size); |
| 129 --paper-checkbox-unchecked-color: var(--paper-grey-600); | 129 --paper-checkbox-unchecked-color: var(--paper-grey-600); |
| 130 -webkit-margin-start: var(--checkbox-margin-start); | 130 -webkit-margin-start: var(--checkbox-margin-start); |
| 131 } | 131 } |
| 132 | 132 |
| 133 paper-input { | 133 paper-input { |
| 134 /* Fix issue with focus animation making labels wiggle. */ | 134 /* Fix issue with focus animation making labels wiggle. */ |
| 135 transform: translate3d(0, 0, 0); | 135 transform: translate3d(0, 0, 0); |
| 136 } | 136 } |
| 137 | 137 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 356 |
| 357 :-webkit-any(.settings-box, .list-item).two-line .separator { | 357 :-webkit-any(.settings-box, .list-item).two-line .separator { |
| 358 height: calc(var(--settings-row-two-line-min-height) - | 358 height: calc(var(--settings-row-two-line-min-height) - |
| 359 2 * var(--settings-separator-gaps)); | 359 2 * var(--settings-separator-gaps)); |
| 360 } | 360 } |
| 361 | 361 |
| 362 .settings-checkbox-spacer { | 362 .settings-checkbox-spacer { |
| 363 -webkit-margin-start: calc( | 363 -webkit-margin-start: calc( |
| 364 var(--checkbox-margin-start) + | 364 var(--checkbox-margin-start) + |
| 365 var(--checkbox-size) + | 365 var(--checkbox-size) + |
| 366 var(--settings-control-spacing)); | 366 var(--settings-control-label-spacing)); |
| 367 } | 367 } |
| 368 | 368 |
| 369 .favicon-image { | 369 .favicon-image { |
| 370 background-repeat: no-repeat; | 370 background-repeat: no-repeat; |
| 371 background-size: contain; | 371 background-size: contain; |
| 372 height: 16px; | 372 height: 16px; |
| 373 width: 16px; | 373 width: 16px; |
| 374 } | 374 } |
| 375 | 375 |
| 376 .search-bubble { | 376 .search-bubble { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 transform: rotate(-135deg); | 408 transform: rotate(-135deg); |
| 409 } | 409 } |
| 410 | 410 |
| 411 .column-header { | 411 .column-header { |
| 412 color: var(--paper-grey-600); | 412 color: var(--paper-grey-600); |
| 413 font-weight: 500; | 413 font-weight: 500; |
| 414 } | 414 } |
| 415 </style> | 415 </style> |
| 416 </template> | 416 </template> |
| 417 </dom-module> | 417 </dom-module> |
| OLD | NEW |