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/polymer/v1_0/paper-styles/color.html "> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> |
| 2 | 3 |
| 3 <!-- Common css variables for Material Design settings. --> | 4 <!-- Common css variables for Material Design settings. --> |
| 4 <style is="custom-style"> | 5 <style is="custom-style" include="cr-shared-style"> |
|
dschuyler
2016/07/21 00:04:48
Can this include be done elsewhere?
I see now tha
stevenjb
2016/07/21 15:46:31
So just to be clear, you would advocate for creati
| |
| 5 :root { | 6 :root { |
| 6 --checkbox-margin-start: 2px; | 7 --checkbox-margin-start: 2px; |
| 7 --checkbox-size: 16px; | 8 --checkbox-size: 16px; |
| 8 --checkbox-spacing: 18px; | 9 --checkbox-spacing: 18px; |
| 9 --iron-icon-fill-color: var(--paper-grey-600); | 10 --iron-icon-fill-color: var(--paper-grey-600); |
| 10 --iron-icon-height: 20px; | 11 --iron-icon-height: 20px; |
| 11 --iron-icon-spacing: 16px; | 12 --iron-icon-spacing: 16px; |
| 12 --iron-icon-width: 20px; | 13 --iron-icon-width: 20px; |
| 13 --paper-checkbox-label-color: inherit; | 14 --paper-checkbox-label-color: inherit; |
| 14 --paper-dialog-color: inherit; | 15 --paper-dialog-color: inherit; |
| 15 --paper-icon-button: { | 16 --paper-icon-button: { |
| 16 width: 36px; | 17 width: 36px; |
| 17 height: 36px; | 18 height: 36px; |
| 18 }; | 19 }; |
| 19 --paper-input-max-width: 264px; | 20 --paper-input-max-width: 264px; |
| 20 --paper-item: { | 21 --paper-item: { |
| 21 font-size: inherit; | 22 font-size: inherit; |
| 22 }; | 23 }; |
| 23 --paper-radio-button-label-color: inherit; | 24 --paper-radio-button-label-color: inherit; |
| 24 --paper-radio-group-item-padding: 0; | 25 --paper-radio-group-item-padding: 0; |
| 25 | 26 |
| 27 --settings-actionable: var(--cr-actionable); | |
| 28 | |
| 26 /* Custom grey for Alan (bettes@). */ | 29 /* Custom grey for Alan (bettes@). */ |
| 27 --settings-background-color: rgb(241, 241, 241); | 30 --settings-background-color: rgb(241, 241, 241); |
| 28 --settings-secondary: { | 31 --settings-secondary: { |
| 29 color: var(--paper-grey-600); | 32 color: var(--paper-grey-600); |
| 30 font-weight: 400; | 33 font-weight: 400; |
| 31 margin-top: 4px; | 34 margin-top: 4px; |
| 32 }; | 35 }; |
| 33 --settings-error-color: var(--paper-red-700); | 36 --settings-error-color: var(--paper-red-700); |
| 34 --settings-hover-color: var(--google-grey-300); | |
| 35 | 37 |
| 36 /* Some colors use non-MD colors. These custom colors are specified by | 38 /* Some colors use non-MD colors. These custom colors are specified by |
| 37 * UX design (bettes@). */ | 39 * UX design (bettes@). */ |
| 38 --settings-nav-grey: rgb(90, 90, 90); | 40 --settings-nav-grey: rgb(90, 90, 90); |
| 39 | 41 |
| 40 --settings-page-vertical-margin: 21px; | 42 --settings-page-vertical-margin: 21px; |
| 41 | 43 |
| 42 --settings-row-min-height: 44px; | 44 --settings-row-min-height: 44px; |
| 43 --settings-separator-line: 1px solid rgba(0, 0, 0, 0.06); | 45 --settings-separator-line: var(--cr-separator-line); |
| 44 | 46 |
| 45 --settings-title-bar-background-color: var(--google-blue-700); | 47 --settings-title-bar-background-color: var(--google-blue-700); |
| 46 --settings-title-bar-color: rgb(255, 255, 255); | 48 --settings-title-bar-color: rgb(255, 255, 255); |
| 47 --settings-title-search-color: rgb(192, 199, 205); | 49 --settings-title-search-color: rgb(192, 199, 205); |
| 48 | |
| 49 --settings-actionable: { | |
| 50 cursor: pointer; | |
| 51 }; | |
| 52 } | 50 } |
| 53 </style> | 51 </style> |
| OLD | NEW |