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

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

Issue 1951503002: MD Settings: <settings-dialog>, restore focus effect for the cancel button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stop using keyboard-focus. Created 4 years, 7 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/settings_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 <!-- Common styles for Material Design settings. --> 1 <!-- Common styles for Material Design settings. -->
2 <dom-module id="settings-shared"> 2 <dom-module id="settings-shared">
3 <template> 3 <template>
4 <style> 4 <style>
5 :root { 5 :root {
6 --checkbox-margin-start: 2px; 6 --checkbox-margin-start: 2px;
7 --checkbox-size: 16px; 7 --checkbox-size: 16px;
8 --checkbox-spacing: 18px; 8 --checkbox-spacing: 18px;
9 --iron-icon-fill-color: var(--paper-grey-600); 9 --iron-icon-fill-color: var(--paper-grey-600);
10 --iron-icon-height: 20px; 10 --iron-icon-height: 20px;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 margin-top: 25px; 122 margin-top: 25px;
123 } 123 }
124 124
125 .button-strip { 125 .button-strip {
126 text-align: end; 126 text-align: end;
127 } 127 }
128 128
129 .action-button { 129 .action-button {
130 background: var(--google-blue-500); 130 background: var(--google-blue-500);
131 color: white; 131 color: white;
132 font-weight: 500;
133 } 132 }
134 133
135 .action-button[disabled] { 134 .action-button[disabled] {
136 opacity: .25; /* TODO(dbeam): check this value with bettes. */ 135 opacity: .25; /* TODO(dbeam): check this value with bettes. */
137 } 136 }
138 137
138 .action-button,
139 .cancel-button {
140 font-weight: 500;
141 }
142
139 .list-frame { 143 .list-frame {
140 @apply(--layout-center); 144 @apply(--layout-center);
141 -webkit-padding-end: 20px; 145 -webkit-padding-end: 20px;
142 -webkit-padding-start: 48px; 146 -webkit-padding-start: 48px;
143 display: block; 147 display: block;
144 padding-bottom: 0; 148 padding-bottom: 0;
145 padding-top: 0; 149 padding-top: 0;
146 } 150 }
147 151
148 .list-frame .secondary, 152 .list-frame .secondary,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 258
255 .settings-checkbox-spacer { 259 .settings-checkbox-spacer {
256 -webkit-margin-start: calc( 260 -webkit-margin-start: calc(
257 var(--checkbox-margin-start) + 261 var(--checkbox-margin-start) +
258 var(--checkbox-size) + 262 var(--checkbox-size) +
259 var(--checkbox-spacing)); 263 var(--checkbox-spacing));
260 } 264 }
261 </style> 265 </style>
262 </template> 266 </template>
263 </dom-module> 267 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698