| OLD | NEW |
| 1 <link rel="import" href="/settings_root_css.html"> |
| 2 |
| 1 <!-- Common styles for Material Design settings. --> | 3 <!-- Common styles for Material Design settings. --> |
| 2 <dom-module id="settings-shared"> | 4 <dom-module id="settings-shared"> |
| 3 <template> | 5 <template> |
| 4 <style> | 6 <style> |
| 5 :root { | |
| 6 --checkbox-margin-start: 2px; | |
| 7 --checkbox-size: 16px; | |
| 8 --checkbox-spacing: 18px; | |
| 9 --iron-icon-fill-color: var(--paper-grey-600); | |
| 10 --iron-icon-height: 20px; | |
| 11 --iron-icon-spacing: 16px; | |
| 12 --iron-icon-width: 20px; | |
| 13 --paper-checkbox-label-color: inherit; | |
| 14 --paper-dialog-color: inherit; | |
| 15 --paper-icon-button: { | |
| 16 width: 36px; | |
| 17 height: 36px; | |
| 18 }; | |
| 19 --paper-input-max-width: 264px; | |
| 20 --paper-item: { | |
| 21 font-size: inherit; | |
| 22 }; | |
| 23 --paper-radio-button-label-color: inherit; | |
| 24 --paper-radio-group-item-padding: 0; | |
| 25 | |
| 26 /* Custom grey for Alan (bettes@). */ | |
| 27 --settings-background-color: rgb(241, 241, 241); | |
| 28 --settings-secondary: { | |
| 29 color: var(--paper-grey-600); | |
| 30 font-weight: 400; | |
| 31 margin-top: 4px; | |
| 32 }; | |
| 33 --settings-error-color: var(--paper-red-700); | |
| 34 --settings-hover-color: var(--google-grey-300); | |
| 35 | |
| 36 /* Some colors use non-MD colors. These custom colors are specified by | |
| 37 * UX design (bettes@). */ | |
| 38 --settings-nav-grey: rgb(90, 90, 90); | |
| 39 | |
| 40 --settings-row-min-height: 44px; | |
| 41 --settings-separator-line: 1px solid rgba(0, 0, 0, 0.06); | |
| 42 | |
| 43 --settings-title-bar-background-color: var(--google-blue-700); | |
| 44 --settings-title-bar-color: rgb(255, 255, 255); | |
| 45 --settings-title-search-color: rgb(192, 199, 205); | |
| 46 } | |
| 47 | |
| 48 h2 { | 7 h2 { |
| 49 @apply(--layout-center); | 8 @apply(--layout-center); |
| 50 display: flex; | 9 display: flex; |
| 51 font-size: 100%; | 10 font-size: 100%; |
| 52 font-weight: 500; | 11 font-weight: 500; |
| 53 margin: 0; | 12 margin: 0; |
| 54 min-height: var(--settings-row-min-height); | 13 min-height: var(--settings-row-min-height); |
| 55 } | 14 } |
| 56 | 15 |
| 57 iron-icon[icon='cr:check'], | 16 iron-icon[icon='cr:check'], |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 -webkit-margin-start: var(--checkbox-margin-start); | 84 -webkit-margin-start: var(--checkbox-margin-start); |
| 126 } | 85 } |
| 127 | 86 |
| 128 paper-radio-button { | 87 paper-radio-button { |
| 129 @apply(--layout-center); | 88 @apply(--layout-center); |
| 130 --paper-radio-button-checked-color: var(--google-blue-500); | 89 --paper-radio-button-checked-color: var(--google-blue-500); |
| 131 --paper-radio-button-label-spacing: 18px; | 90 --paper-radio-button-label-spacing: 18px; |
| 132 --paper-radio-button-unchecked-color: var(--paper-grey-600); | 91 --paper-radio-button-unchecked-color: var(--paper-grey-600); |
| 133 -webkit-margin-start: 2px; | 92 -webkit-margin-start: 2px; |
| 134 display: flex; | 93 display: flex; |
| 135 min-height: 40px; | 94 min-height: var(--settings-row-min-height); |
| 136 } | 95 } |
| 137 | 96 |
| 138 paper-radio-group { | 97 paper-radio-group { |
| 139 width: 100%; | 98 width: 100%; |
| 140 } | 99 } |
| 141 | 100 |
| 142 .text-elide { | 101 .text-elide { |
| 143 overflow: hidden; | 102 overflow: hidden; |
| 144 text-overflow: ellipsis; | 103 text-overflow: ellipsis; |
| 145 white-space: nowrap; | 104 white-space: nowrap; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 255 |
| 297 .favicon-image { | 256 .favicon-image { |
| 298 background-repeat: no-repeat; | 257 background-repeat: no-repeat; |
| 299 background-size: contain; | 258 background-size: contain; |
| 300 height: 16px; | 259 height: 16px; |
| 301 width: 16px; | 260 width: 16px; |
| 302 } | 261 } |
| 303 </style> | 262 </style> |
| 304 </template> | 263 </template> |
| 305 </dom-module> | 264 </dom-module> |
| OLD | NEW |