Chromium Code Reviews| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 90 | 90 |
| 91 --cr-icon-ripple-size: 40px; | 91 --cr-icon-ripple-size: 40px; |
| 92 --paper-icon-button: { | 92 --paper-icon-button: { |
| 93 /** | 93 /** |
| 94 * This makes the icons 20px (in combination with "--cr-icon-ripple-size: | 94 * This makes the icons 20px (in combination with "--cr-icon-ripple-size: |
| 95 * 40px"), since paper-icon-button>iron-icon width and height are | 95 * 40px"), since paper-icon-button>iron-icon width and height are |
| 96 * hardcoded to 100%. | 96 * hardcoded to 100%. |
| 97 */ | 97 */ |
| 98 padding: 10px; | 98 padding: 10px; |
| 99 }; | 99 }; |
| 100 --paper-input-container: { | |
| 101 transform: translate3d(0, 0, 0); | |
|
dpapad
2017/04/14 22:50:07
Let's add a short comment here.
| |
| 102 }; | |
| 100 --paper-input-container-focus-color: var(--google-blue-500); | 103 --paper-input-container-focus-color: var(--google-blue-500); |
| 101 --paper-input-container-input: { | 104 --paper-input-container-input: { |
| 102 color: inherit; | 105 color: inherit; |
| 103 font-size: inherit; | 106 font-size: inherit; |
| 104 font-weight: inherit; | 107 font-weight: inherit; |
| 105 line-height: 154%; | 108 line-height: 154%; |
| 106 vertical-align: baseline; | 109 vertical-align: baseline; |
| 107 }; | 110 }; |
| 108 --paper-input-container-label: { | 111 --paper-input-container-label: { |
| 109 font-size: inherit; | 112 font-size: inherit; |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 137 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); | 140 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); |
| 138 --paper-toggle-button-unchecked-ink: var(--settings-toggle-ink-size); | 141 --paper-toggle-button-unchecked-ink: var(--settings-toggle-ink-size); |
| 139 | 142 |
| 140 --settings-input-underline: { | 143 --settings-input-underline: { |
| 141 border-color: var(--paper-grey-300); | 144 border-color: var(--paper-grey-300); |
| 142 }; | 145 }; |
| 143 | 146 |
| 144 --paper-input-container-underline: var(--settings-input-underline); | 147 --paper-input-container-underline: var(--settings-input-underline); |
| 145 } | 148 } |
| 146 </style> | 149 </style> |
| OLD | NEW |