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

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

Issue 1967913002: Material WebUI: cr-slider element for intelligent range mapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@KeyboardFinish
Patch Set: 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
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
2
1 <!-- Common styles for Material Design settings. --> 3 <!-- Common styles for Material Design settings. -->
2 <dom-module id="settings-shared"> 4 <dom-module id="settings-shared">
3 <template> 5 <template>
4 <style> 6 <style>
5 :root { 7 :root {
6 --checkbox-margin-start: 2px; 8 --checkbox-margin-start: 2px;
7 --checkbox-size: 16px; 9 --checkbox-size: 16px;
8 --checkbox-spacing: 18px; 10 --checkbox-spacing: 18px;
9 --iron-icon-fill-color: var(--paper-grey-600); 11 --iron-icon-fill-color: var(--paper-grey-600);
10 --iron-icon-height: 20px; 12 --iron-icon-height: 20px;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 } 277 }
276 278
277 .settings-checkbox-spacer { 279 .settings-checkbox-spacer {
278 -webkit-margin-start: calc( 280 -webkit-margin-start: calc(
279 var(--checkbox-margin-start) + 281 var(--checkbox-margin-start) +
280 var(--checkbox-size) + 282 var(--checkbox-size) +
281 var(--checkbox-spacing)); 283 var(--checkbox-spacing));
282 } 284 }
283 285
284 /* Keep the slider color consistent throughout the range. */ 286 /* Keep the slider color consistent throughout the range. */
285 paper-slider.always-on { 287 cr-slider.always-on {
286 --paper-slider-knob-start-border-color: var(--google-blue-700); 288 --paper-slider-knob-start-border-color: var(--google-blue-700);
287 --paper-slider-knob-start-color: var(--google-blue-700); 289 --paper-slider-knob-start-color: var(--google-blue-700);
288 --paper-slider-pin-start-color: var(--google-blue-700); 290 --paper-slider-pin-start-color: var(--google-blue-700);
289 } 291 }
290 292
291 .favicon-image { 293 .favicon-image {
292 background-repeat: no-repeat; 294 background-repeat: no-repeat;
293 background-size: contain; 295 background-size: contain;
294 height: 16px; 296 height: 16px;
295 width: 16px; 297 width: 16px;
296 } 298 }
297 </style> 299 </style>
298 </template> 300 </template>
299 </dom-module> 301 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698