| 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 { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 line-height: 154%; | 105 line-height: 154%; |
| 106 vertical-align: baseline; | 106 vertical-align: baseline; |
| 107 }; | 107 }; |
| 108 --paper-input-container-label: { | 108 --paper-input-container-label: { |
| 109 font-size: inherit; | 109 font-size: inherit; |
| 110 line-height: 154%; | 110 line-height: 154%; |
| 111 }; | 111 }; |
| 112 --paper-input-container-label-floating: { | 112 --paper-input-container-label-floating: { |
| 113 /* Using "rem" to make it easier to equalize with other labels. */ | 113 /* Using "rem" to make it easier to equalize with other labels. */ |
| 114 font-size: 1rem; | 114 font-size: 1rem; |
| 115 line-height: 1.25rem; | 115 line-height: 1.65rem; |
| 116 }; | 116 }; |
| 117 --paper-input-error: { | 117 --paper-input-error: { |
| 118 font-size: 92.31%; /* Should be 12px when 100% is 13px. */ | 118 font-size: 92.31%; /* Should be 12px when 100% is 13px. */ |
| 119 line-height: 154%; | 119 line-height: 154%; |
| 120 overflow: visible; /* Half-visible error message is not useful at all. */ | 120 overflow: visible; /* Half-visible error message is not useful at all. */ |
| 121 }; | 121 }; |
| 122 --paper-input-max-width: 264px; | 122 --paper-input-max-width: 264px; |
| 123 --paper-radio-button-ink-size: 40px; | 123 --paper-radio-button-ink-size: 40px; |
| 124 --paper-radio-button-label-color: inherit; | 124 --paper-radio-button-label-color: inherit; |
| 125 --paper-radio-button-size: 16px; | 125 --paper-radio-button-size: 16px; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 137 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); | 137 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); |
| 138 --paper-toggle-button-unchecked-ink: var(--settings-toggle-ink-size); | 138 --paper-toggle-button-unchecked-ink: var(--settings-toggle-ink-size); |
| 139 | 139 |
| 140 --settings-input-underline: { | 140 --settings-input-underline: { |
| 141 border-color: var(--paper-grey-300); | 141 border-color: var(--paper-grey-300); |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 --paper-input-container-underline: var(--settings-input-underline); | 144 --paper-input-container-underline: var(--settings-input-underline); |
| 145 } | 145 } |
| 146 </style> | 146 </style> |
| OLD | NEW |