Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: chrome/browser/resources/settings/settings_vars_css.html

Issue 2813963003: MD Settings: fix paper-input label line-height (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698