| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 3 | 3 |
| 4 <!-- Common css variables for Material Design settings. --> | 4 <!-- Common css variables for Material Design settings. --> |
| 5 <style is="custom-style"> | 5 <style is="custom-style"> |
| 6 /* We keep our vars in sort order, though some vars must be defined prior to | 6 /* We keep our vars in sort order, though some vars must be defined prior to |
| 7 * others. The --settings-* vars are defined explicitly prior to the --paper-* | 7 * others. The --settings-* vars are defined explicitly prior to the --paper-* |
| 8 * and --iron-* vars. | 8 * and --iron-* vars. |
| 9 */ | 9 */ |
| 10 :root { | 10 :root { |
| 11 /* Some colors use non-MD colors. These custom colors are specified by | 11 /* Some colors use non-MD colors. These custom colors are specified by |
| 12 * UX design (bettes@). */ | 12 * UX design (bettes@). */ |
| 13 | 13 |
| 14 --settings-actionable: var(--cr-actionable); | 14 --settings-actionable: var(--cr-actionable); |
| 15 | 15 |
| 16 --settings-background-color: rgb(241, 241, 241); | 16 --settings-background-color: rgb(241, 241, 241); |
| 17 --settings-box-row-padding: 20px; | 17 --settings-box-row-padding: 20px; |
| 18 --settings-indent-width: 36px; | 18 --settings-indent-width: 36px; |
| 19 --settings-card-max-width: 640px; | 19 --settings-card-max-width: 680px; |
| 20 --settings-disabled-opacity: .65; | 20 --settings-disabled-opacity: .65; |
| 21 --settings-error-color: var(--paper-red-700); | 21 --settings-error-color: var(--paper-red-700); |
| 22 | 22 |
| 23 --settings-list-frame-padding: { | 23 --settings-list-frame-padding: { |
| 24 -webkit-padding-end: var(--settings-box-row-padding); | 24 -webkit-padding-end: var(--settings-box-row-padding); |
| 25 -webkit-padding-start: calc( | 25 -webkit-padding-start: calc( |
| 26 var(--settings-box-row-padding) + var(--settings-indent-width)); | 26 var(--settings-box-row-padding) + var(--settings-indent-width)); |
| 27 padding-bottom: 0; | 27 padding-bottom: 0; |
| 28 padding-top: 0; | 28 padding-top: 0; |
| 29 } | 29 } |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); | 122 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); |
| 123 --paper-toggle-button-unchecked-ink: var(--settings-toggle-ink-size); | 123 --paper-toggle-button-unchecked-ink: var(--settings-toggle-ink-size); |
| 124 | 124 |
| 125 --settings-input-underline: { | 125 --settings-input-underline: { |
| 126 border-color: var(--paper-grey-300); | 126 border-color: var(--paper-grey-300); |
| 127 } | 127 } |
| 128 | 128 |
| 129 --paper-input-container-underline: var(--settings-input-underline); | 129 --paper-input-container-underline: var(--settings-input-underline); |
| 130 } | 130 } |
| 131 </style> | 131 </style> |
| OLD | NEW |