| 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: .65; |
| 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: .65; |
| 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 align-items: center; | 241 align-items: center; |
| 238 color: var(--google-blue-500); | 242 color: var(--google-blue-500); |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 content: ''; | 366 content: ''; |
| 363 height: 10px; | 367 height: 10px; |
| 364 position: absolute; | 368 position: absolute; |
| 365 right: -5px; | 369 right: -5px; |
| 366 top: 10px; | 370 top: 10px; |
| 367 width: 10px; | 371 width: 10px; |
| 368 } | 372 } |
| 369 </style> | 373 </style> |
| 370 </template> | 374 </template> |
| 371 </dom-module> | 375 </dom-module> |
| OLD | NEW |