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 h2 { | 8 h2 { |
9 align-items: center; | 9 align-items: center; |
10 display: flex; | 10 display: flex; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 iron-dropdown .dropdown-item:focus, | 68 iron-dropdown .dropdown-item:focus, |
69 paper-dropdown-menu .dropdown-item:focus { | 69 paper-dropdown-menu .dropdown-item:focus { |
70 @apply(--cr-selectable-focus); | 70 @apply(--cr-selectable-focus); |
71 } | 71 } |
72 | 72 |
73 iron-dropdown .dropdown-content { | 73 iron-dropdown .dropdown-content { |
74 background-color: white; | 74 background-color: white; |
75 box-shadow: 0 2px 6px var(--paper-grey-500); | 75 box-shadow: 0 2px 6px var(--paper-grey-500); |
76 } | 76 } |
77 | 77 |
78 iron-dropdown .dropdown-content .dropdown-item, | 78 iron-dropdown .dropdown-content .dropdown-item:not([disabled]), |
79 iron-dropdown .dropdown-content paper-item { | 79 iron-dropdown .dropdown-content paper-item { |
80 @apply(--settings-actionable); | 80 @apply(--settings-actionable); |
81 } | 81 } |
82 | 82 |
| 83 iron-dropdown .dropdown-content .dropdown-item[disabled] { |
| 84 opacity: var(--settings-disabled-opacity); |
| 85 } |
| 86 |
83 span ~ a { | 87 span ~ a { |
84 -webkit-margin-start: 4px; | 88 -webkit-margin-start: 4px; |
85 } | 89 } |
86 | 90 |
87 [is='action-link'], | 91 [is='action-link'], |
88 [is='action-link']:active, | 92 [is='action-link']:active, |
89 [is='action-link']:hover, | 93 [is='action-link']:hover, |
90 [is='action-link']:visited, | 94 [is='action-link']:visited, |
91 .primary-button, | 95 .primary-button, |
92 .tertiary-button { | 96 .tertiary-button { |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 flex: 1; | 222 flex: 1; |
219 margin: 8px 16px; | 223 margin: 8px 16px; |
220 } | 224 } |
221 | 225 |
222 /* The start (left in LTR) part (horizontally) of a list item. */ | 226 /* The start (left in LTR) part (horizontally) of a list item. */ |
223 .list-item > .start { | 227 .list-item > .start { |
224 flex: 1; | 228 flex: 1; |
225 } | 229 } |
226 | 230 |
227 .list-item > label span[disabled] { | 231 .list-item > label span[disabled] { |
228 opacity: .65; /* TODO(michaelpg): check this value with bettes. */ | 232 opacity: var(--settings-disabled-opacity); |
229 } | 233 } |
230 | 234 |
231 .list-item > paper-icon-item { | 235 .list-item > paper-icon-item { |
232 padding: 0; | 236 padding: 0; |
233 } | 237 } |
234 | 238 |
235 /* This button has no ink ripple. */ | 239 /* This button has no ink ripple. */ |
236 .list-item.list-button { | 240 .list-item.list-button { |
237 @apply(--settings-actionable); | 241 @apply(--settings-actionable); |
238 align-items: center; | 242 align-items: center; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 /* Turns the arrow direction downwards, when the bubble is placed above | 375 /* Turns the arrow direction downwards, when the bubble is placed above |
372 * the anchor element */ | 376 * the anchor element */ |
373 .search-bubble-innards.above::after { | 377 .search-bubble-innards.above::after { |
374 -webkit-transform: rotate(-135deg); | 378 -webkit-transform: rotate(-135deg); |
375 bottom: -5px; | 379 bottom: -5px; |
376 top: auto; | 380 top: auto; |
377 } | 381 } |
378 </style> | 382 </style> |
379 </template> | 383 </template> |
380 </dom-module> | 384 </dom-module> |
OLD | NEW |