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

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

Issue 2303093003: MD Settings: Internet: Enable SIM unlock with no cellular network (Closed)
Patch Set: Rebase plus Feedback Created 4 years, 3 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/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 /* Vars are kept in sort order, but some must be defined prior to others. */
7 * others. The --settings-* vars are defined explicitly prior to the --paper-* 7
8 * and --iron-* vars. 8 /* Single attribute and other simple settings vars are defined first. */
9 */
10 :root { 9 :root {
11 /* Some colors use non-MD colors. These custom colors are specified by 10 /* Some colors use non-MD colors. These custom colors are specified by
12 * UX design (bettes@). */ 11 * UX design (bettes@). */
13 12
14 --settings-actionable: var(--cr-actionable); 13 --settings-actionable: var(--cr-actionable);
15
16 --settings-background-color: rgb(241, 241, 241); 14 --settings-background-color: rgb(241, 241, 241);
15 --settings-box-row-padding: 20px;
16 --settings-checkbox-margin-start: 2px;
17 --settings-checkbox-size: 16px;
18 --settings-checkbox-spacing: 18px;
17 --settings-disabled-opacity: .65; 19 --settings-disabled-opacity: .65;
18 --settings-error-color: var(--paper-red-700); 20 --settings-error-color: var(--paper-red-700);
21 --settings-nav-grey: rgb(90, 90, 90);
22 --settings-page-vertical-margin: 21px;
23 --settings-row-min-height: 44px;
24 --settings-row-two-line-min-height: 56px;
25 --settings-separator-line: var(--cr-separator-line);
26 --settings-title-bar-background-color: var(--google-blue-700);
27 --settings-title-bar-color: rgb(255, 255, 255);
28 --settings-title-search-color: rgb(192, 199, 205);
29 --settings-toggle-color: var(--google-blue-500);
30 }
19 31
32 /* Style blocks are defined after single attribute vars. */
33 :root {
20 --settings-list-frame-padding: { 34 --settings-list-frame-padding: {
21 -webkit-padding-end: 20px; 35 -webkit-padding-end: var(--settings-box-row-padding);
22 -webkit-padding-start: 56px; 36 -webkit-padding-start: 56px;
23 padding-bottom: 0; 37 padding-bottom: 0;
24 padding-top: 0; 38 padding-top: 0;
25 } 39 }
26
27 --settings-nav-grey: rgb(90, 90, 90);
28
29 --settings-page-vertical-margin: 21px;
30
31 --settings-row-min-height: 44px;
32 --settings-row-two-line-min-height: 56px;
33 --settings-secondary: { 40 --settings-secondary: {
34 color: var(--paper-grey-600); 41 color: var(--paper-grey-600);
35 font-weight: 400; 42 font-weight: 400;
36 margin-top: 4px; 43 margin-top: 4px;
37 }; 44 };
38 --settings-separator-line: var(--cr-separator-line);
39
40 --settings-title-bar-background-color: var(--google-blue-700);
41 --settings-title-bar-color: rgb(255, 255, 255);
42 --settings-title-search-color: rgb(192, 199, 205);
43 --settings-toggle-bar-size: { 45 --settings-toggle-bar-size: {
44 height: 12px; 46 height: 12px;
45 left: 4px; 47 left: 4px;
46 width: 24px; 48 width: 24px;
47 }; 49 };
48 --settings-toggle-button-size: { 50 --settings-toggle-button-size: {
49 height: 16px; 51 height: 16px;
50 width: 16px; 52 width: 16px;
51 }; 53 };
52 --settings-toggle-color: var(--google-blue-500);
53 } 54 }
54 55
56 /* Polymer vars are defined last. */
55 :root { 57 :root {
56 --checkbox-margin-start: 2px;
57 --checkbox-size: 16px;
58 --checkbox-spacing: 18px;
59 --iron-icon-fill-color: var(--paper-grey-600); 58 --iron-icon-fill-color: var(--paper-grey-600);
60 --iron-icon-height: 20px; 59 --iron-icon-height: 20px;
61 --iron-icon-spacing: 16px; 60 --iron-icon-spacing: 16px;
62 --iron-icon-width: 20px; 61 --iron-icon-width: 20px;
63 --paper-checkbox-label-color: inherit; 62 --paper-checkbox-label-color: inherit;
64 --paper-dialog-color: inherit; 63 --paper-dialog-color: inherit;
65 --paper-icon-button: { 64 --paper-icon-button: {
66 height: 36px; 65 height: 36px;
67 width: 36px; 66 width: 36px;
68 }; 67 };
69 --paper-input-max-width: 264px; 68 --paper-input-max-width: 264px;
70 --paper-item: { 69 --paper-item: {
71 font-size: inherit; 70 font-size: inherit;
72 }; 71 };
73 --paper-radio-button-label-color: inherit; 72 --paper-radio-button-label-color: inherit;
74 --paper-radio-group-item-padding: 0; 73 --paper-radio-group-item-padding: 0;
75 74
76 --paper-toggle-button-checked-bar: var(--settings-toggle-bar-size); 75 --paper-toggle-button-checked-bar: var(--settings-toggle-bar-size);
77 --paper-toggle-button-checked-bar-color: var(--settings-toggle-color); 76 --paper-toggle-button-checked-bar-color: var(--settings-toggle-color);
78 --paper-toggle-button-checked-button: var(--settings-toggle-button-size); 77 --paper-toggle-button-checked-button: var(--settings-toggle-button-size);
79 --paper-toggle-button-checked-button-color: var(--settings-toggle-color); 78 --paper-toggle-button-checked-button-color: var(--settings-toggle-color);
80 --paper-toggle-button-label-spacing: 0; 79 --paper-toggle-button-label-spacing: 0;
81 --paper-toggle-button-unchecked-bar: var(--settings-toggle-bar-size); 80 --paper-toggle-button-unchecked-bar: var(--settings-toggle-bar-size);
82 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size); 81 --paper-toggle-button-unchecked-button: var(--settings-toggle-button-size);
83 } 82 }
84 </style> 83 </style>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698