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

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

Issue 2819963002: MD Settings: prevent input labels from shifting around. (Closed)
Patch Set: add comment 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_style_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
2 <link rel="import" href="settings_vars_css.html"> 2 <link rel="import" href="settings_vars_css.html">
3 3
4 <!-- Common styles for Material Design settings. --> 4 <!-- Common styles for Material Design settings. -->
5 <dom-module id="settings-shared"> 5 <dom-module id="settings-shared">
6 <template> 6 <template>
7 <style include="cr-shared-style"> 7 <style include="cr-shared-style">
8 /* Included here so we don't have to include "iron-positioning" in every 8 /* Included here so we don't have to include "iron-positioning" in every
9 * stylesheet. See crbug.com/498405. */ 9 * stylesheet. See crbug.com/498405. */
10 [hidden] { 10 [hidden] {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 125 }
126 126
127 paper-checkbox { 127 paper-checkbox {
128 --paper-checkbox-checked-color: var(--google-blue-500); 128 --paper-checkbox-checked-color: var(--google-blue-500);
129 --paper-checkbox-label-spacing: var(--settings-control-spacing); 129 --paper-checkbox-label-spacing: var(--settings-control-spacing);
130 --paper-checkbox-size: var(--checkbox-size); 130 --paper-checkbox-size: var(--checkbox-size);
131 --paper-checkbox-unchecked-color: var(--paper-grey-600); 131 --paper-checkbox-unchecked-color: var(--paper-grey-600);
132 -webkit-margin-start: var(--checkbox-margin-start); 132 -webkit-margin-start: var(--checkbox-margin-start);
133 } 133 }
134 134
135 paper-input {
136 /* Fix issue with focus animation making labels wiggle. */
137 transform: translate3d(0, 0, 0);
138 }
139
135 controlled-radio-button, 140 controlled-radio-button,
136 paper-radio-button { 141 paper-radio-button {
137 --paper-radio-button-checked-color: var(--google-blue-500); 142 --paper-radio-button-checked-color: var(--google-blue-500);
138 --paper-radio-button-label-spacing: 22px; 143 --paper-radio-button-label-spacing: 22px;
139 --paper-radio-button-radio-container: { 144 --paper-radio-button-radio-container: {
140 flex-shrink: 0; 145 flex-shrink: 0;
141 }; 146 };
142 --paper-radio-button-unchecked-color: var(--paper-grey-600); 147 --paper-radio-button-unchecked-color: var(--paper-grey-600);
143 -webkit-margin-start: 2px; 148 -webkit-margin-start: 2px;
144 align-items: center; 149 align-items: center;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 transform: rotate(-135deg); 397 transform: rotate(-135deg);
393 } 398 }
394 399
395 .column-header { 400 .column-header {
396 color: var(--paper-grey-600); 401 color: var(--paper-grey-600);
397 font-weight: 500; 402 font-weight: 500;
398 } 403 }
399 </style> 404 </style>
400 </template> 405 </template>
401 </dom-module> 406 </dom-module>
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