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

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

Issue 2819963002: MD Settings: prevent input labels from shifting around. (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 | « chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html ('k') | 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698