OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
2 <link rel="import" href="settings_vars_css.html"> | 2 <link rel="import" href="settings_vars_css.html"> |
3 | 3 |
4 <!-- Common styles for Material Design settings. --> | 4 <!-- Common styles for Material Design settings. --> |
5 <dom-module id="settings-shared"> | 5 <dom-module id="settings-shared"> |
6 <template> | 6 <template> |
7 <style include="cr-shared-style"> | 7 <style include="cr-shared-style"> |
8 /* Included here so we don't have to include "iron-positioning" in every | 8 /* Included here so we don't have to include "iron-positioning" in every |
9 * stylesheet. See crbug.com/498405. */ | 9 * stylesheet. See crbug.com/498405. */ |
10 [hidden] { | 10 [hidden] { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
66 .tertiary-button { | 66 .tertiary-button { |
67 --paper-button-flat-keyboard-focus: { | 67 --paper-button-flat-keyboard-focus: { |
68 background: rgba(51, 103, 214, .12); /* --google-blue-700 */ | 68 background: rgba(51, 103, 214, .12); /* --google-blue-700 */ |
69 }; | 69 }; |
70 } | 70 } |
71 | 71 |
72 a[href] { | 72 a[href] { |
73 text-decoration: none; | 73 text-decoration: none; |
74 } | 74 } |
75 | 75 |
76 a[href][tabindex='-1'] { | |
dschuyler
2017/04/18 23:22:44
Please add a comment about why this is here (or wh
Dan Beam
2017/04/20 00:24:34
this is kindddda ghetto
scottchen
2017/04/20 18:41:50
Done.
scottchen
2017/04/20 18:41:50
I checked code-search and no other anchors seem to
Dan Beam
2017/04/20 18:49:41
a.settings-box?
Dan Beam
2017/04/20 18:52:54
ah, so i guess they're not all .setting-box
maybe
dschuyler
2017/04/20 18:58:17
How about
a[actionable]
Is that a 1:1 with wanting
Dan Beam
2017/04/20 21:15:40
on that note: why do we need [actionable] on a[hre
scottchen
2017/04/20 21:48:34
I kept it around because of this:
https://cs.chro
| |
77 color: var(--paper-grey-900); | |
Dan Beam
2017/04/20 00:28:35
is this value being copied from somewhere else?
scottchen
2017/04/20 18:41:50
Body text color's hard-coded in settings_ui -
http
scottchen
2017/04/20 18:43:23
Sorry - I meant I swapped it to use --primary-text
| |
78 outline: none; | |
79 } | |
80 | |
76 /* There are three main button styles, .primary-button, .secondary-button, | 81 /* There are three main button styles, .primary-button, .secondary-button, |
77 * and .tertiary-button. The primary is the action button (e.g. "edit", | 82 * and .tertiary-button. The primary is the action button (e.g. "edit", |
78 * "delete") while the secondary is often a "Cancel" button. A tertiary | 83 * "delete") while the secondary is often a "Cancel" button. A tertiary |
79 * button may be used to get more information or similar, that we expect | 84 * button may be used to get more information or similar, that we expect |
80 * most users will not need. */ | 85 * most users will not need. */ |
81 .primary-button { | 86 .primary-button { |
82 --paper-button: { | 87 --paper-button: { |
83 font-weight: 500; | 88 font-weight: 500; |
84 text-align: start; | 89 text-align: start; |
85 }; | 90 }; |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
392 transform: rotate(-135deg); | 397 transform: rotate(-135deg); |
393 } | 398 } |
394 | 399 |
395 .column-header { | 400 .column-header { |
396 color: var(--paper-grey-600); | 401 color: var(--paper-grey-600); |
397 font-weight: 500; | 402 font-weight: 500; |
398 } | 403 } |
399 </style> | 404 </style> |
400 </template> | 405 </template> |
401 </dom-module> | 406 </dom-module> |
OLD | NEW |