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

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

Issue 2886603002: [MD settings] separate spacing of controlled-by icon and control-label (Closed)
Patch Set: Created 3 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 | « ui/webui/resources/cr_elements/network/cr_network_list_item.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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.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 WebUI. --> 4 <!-- Common css variables for Material Design WebUI. -->
5 <style is="custom-style"> 5 <style is="custom-style">
6 :root { 6 :root {
7 --cr-actionable: { 7 --cr-actionable: {
8 cursor: pointer; 8 cursor: pointer;
9 }; 9 };
10 10
11 /* Spacing between a control (e.g. checkbox) and its label. */
12 --cr-control-label-spacing: 20px;
stevenjb 2017/05/15 23:40:09 Is this actually used other than on the settings_s
dschuyler 2017/05/15 23:49:29 Done.
13
11 /* Spacing between policy (controlledBy) indicator and control. */ 14 /* Spacing between policy (controlledBy) indicator and control. */
12 --cr-control-spacing: 24px; 15 --cr-controlled-by-spacing: 24px;
13 16
14 --cr-focused-item-color: var(--google-grey-300); 17 --cr-focused-item-color: var(--google-grey-300);
15 18
16 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */ 19 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */
17 --cr-icon-ripple-size: 36px; 20 --cr-icon-ripple-size: 36px;
18 --cr-icon-ripple-padding: 8px; 21 --cr-icon-ripple-padding: 8px;
19 22
20 --cr-icon-size: 20px; 23 --cr-icon-size: 20px;
21 24
22 --cr-icon-height-width: { 25 --cr-icon-height-width: {
23 height: var(--cr-icon-size); 26 height: var(--cr-icon-size);
24 width: var(--cr-icon-size); 27 width: var(--cr-icon-size);
25 } 28 }
26 29
27 --cr-paper-icon-button-margin: { 30 --cr-paper-icon-button-margin: {
28 /* Allow ripple to overlap the end. */ 31 /* Allow ripple to overlap the end. */
29 -webkit-margin-end: calc(var(--cr-icon-ripple-padding) * -1); 32 -webkit-margin-end: calc(var(--cr-icon-ripple-padding) * -1);
30 -webkit-margin-start: 16px; 33 -webkit-margin-start: 16px;
31 } 34 }
32 35
33 --cr-selectable-focus: { 36 --cr-selectable-focus: {
34 background-color: var(--cr-focused-item-color); 37 background-color: var(--cr-focused-item-color);
35 outline: none; 38 outline: none;
36 } 39 }
37 --cr-separator-height: 1px; 40 --cr-separator-height: 1px;
38 --cr-separator-line: var(--cr-separator-height) solid rgba(0, 0, 0, 0.06); 41 --cr-separator-line: var(--cr-separator-height) solid rgba(0, 0, 0, 0.06);
39 --paper-checkbox-ink-size: 40px; 42 --paper-checkbox-ink-size: 40px;
40 } 43 }
41 </style> 44 </style>
OLDNEW
« no previous file with comments | « ui/webui/resources/cr_elements/network/cr_network_list_item.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698