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

Side by Side Diff: ui/webui/resources/cr_elements/shared_vars_css.html

Issue 2829373003: [MD settings] change spacing between controlledBy icon and control (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
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
2 2
3 <!-- Common css variables for Material Design WebUI. --> 3 <!-- Common css variables for Material Design WebUI. -->
4 <style is="custom-style"> 4 <style is="custom-style">
5 :root { 5 :root {
6 --cr-actionable: { 6 --cr-actionable: {
7 cursor: pointer; 7 cursor: pointer;
8 }; 8 };
9 9
10 --cr-control-spacing: 18px; 10 /* Spacing between policy (controlledBy) indicator and control. */
11 --cr-control-spacing: 24px;
11 12
12 --cr-focused-item-color: var(--google-grey-300); 13 --cr-focused-item-color: var(--google-grey-300);
13 14
14 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */ 15 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */
15 --cr-icon-ripple-size: 36px; 16 --cr-icon-ripple-size: 36px;
16 --cr-icon-ripple-padding: 8px; 17 --cr-icon-ripple-padding: 8px;
17 18
18 --cr-icon-size: 20px; 19 --cr-icon-size: 20px;
19 20
20 --cr-icon-height-width: { 21 --cr-icon-height-width: {
21 height: var(--cr-icon-size); 22 height: var(--cr-icon-size);
22 width: var(--cr-icon-size); 23 width: var(--cr-icon-size);
23 } 24 }
24 25
25 --cr-paper-icon-button-margin: { 26 --cr-paper-icon-button-margin: {
26 /* Allow ripple to overlap the end. */ 27 /* Allow ripple to overlap the end. */
27 -webkit-margin-end: calc(var(--cr-icon-ripple-padding) * -1); 28 -webkit-margin-end: calc(var(--cr-icon-ripple-padding) * -1);
28 -webkit-margin-start: 16px; 29 -webkit-margin-start: 16px;
29 } 30 }
30 31
31 --cr-selectable-focus: { 32 --cr-selectable-focus: {
32 background-color: var(--cr-focused-item-color); 33 background-color: var(--cr-focused-item-color);
33 outline: none; 34 outline: none;
34 } 35 }
35 --cr-separator-height: 1px; 36 --cr-separator-height: 1px;
36 --cr-separator-line: var(--cr-separator-height) solid rgba(0, 0, 0, 0.06); 37 --cr-separator-line: var(--cr-separator-height) solid rgba(0, 0, 0, 0.06);
37 --paper-checkbox-ink-size: 40px; 38 --paper-checkbox-ink-size: 40px;
38 } 39 }
39 </style> 40 </style>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698