OLD | NEW |
1 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.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 settings. --> | 4 <!-- Common css variables for Material Design settings. --> |
5 <style is="custom-style"> | 5 <style is="custom-style"> |
6 /* We keep our vars in sort order, though some vars must be defined prior to | 6 /* We keep our vars in sort order, though some vars must be defined prior to |
7 * others. The --settings-* vars are defined explicitly prior to the --paper-* | 7 * others. The --settings-* vars are defined explicitly prior to the --paper-* |
8 * and --iron-* vars. | 8 * and --iron-* vars. |
9 */ | 9 */ |
10 :root { | 10 :root { |
(...skipping 24 matching lines...) Expand all Loading... |
35 font-weight: 400; | 35 font-weight: 400; |
36 margin-top: 4px; | 36 margin-top: 4px; |
37 }; | 37 }; |
38 --settings-separator-line: var(--cr-separator-line); | 38 --settings-separator-line: var(--cr-separator-line); |
39 | 39 |
40 --settings-title-bar-background-color: var(--google-blue-700); | 40 --settings-title-bar-background-color: var(--google-blue-700); |
41 --settings-title-bar-color: rgb(255, 255, 255); | 41 --settings-title-bar-color: rgb(255, 255, 255); |
42 --settings-title-search-color: rgb(192, 199, 205); | 42 --settings-title-search-color: rgb(192, 199, 205); |
43 --settings-toggle-bar-size: { | 43 --settings-toggle-bar-size: { |
44 height: 12px; | 44 height: 12px; |
45 width: 28px; | 45 left: 4px; |
| 46 width: 24px; |
46 }; | 47 }; |
47 --settings-toggle-button-size: { | 48 --settings-toggle-button-size: { |
48 height: 16px; | 49 height: 16px; |
49 width: 16px; | 50 width: 16px; |
50 }; | 51 }; |
51 --settings-toggle-color: var(--google-blue-500); | 52 --settings-toggle-color: var(--google-blue-500); |
52 } | 53 } |
53 | 54 |
54 :root { | 55 :root { |
55 --checkbox-margin-start: 2px; | 56 --checkbox-margin-start: 2px; |
(...skipping 13 matching lines...) Expand all Loading... |
69 --paper-item: { | 70 --paper-item: { |
70 font-size: inherit; | 71 font-size: inherit; |
71 }; | 72 }; |
72 --paper-radio-button-label-color: inherit; | 73 --paper-radio-button-label-color: inherit; |
73 --paper-radio-group-item-padding: 0; | 74 --paper-radio-group-item-padding: 0; |
74 | 75 |
75 --paper-toggle-button-checked-bar: var(--settings-toggle-bar-size); | 76 --paper-toggle-button-checked-bar: var(--settings-toggle-bar-size); |
76 --paper-toggle-button-checked-bar-color: var(--settings-toggle-color); | 77 --paper-toggle-button-checked-bar-color: var(--settings-toggle-color); |
77 --paper-toggle-button-checked-button: var(--settings-toggle-button-size); | 78 --paper-toggle-button-checked-button: var(--settings-toggle-button-size); |
78 --paper-toggle-button-checked-button-color: var(--settings-toggle-color); | 79 --paper-toggle-button-checked-button-color: var(--settings-toggle-color); |
| 80 --paper-toggle-button-label-spacing: 0; |
79 --paper-toggle-button-unchecked-bar: var(--settings-toggle-bar-size); | 81 --paper-toggle-button-unchecked-bar: var(--settings-toggle-bar-size); |
80 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); | 82 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); |
81 } | 83 } |
82 </style> | 84 </style> |
OLD | NEW |