| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> |
| 3 <link rel="import" href="hidden_style_css.html"> | 3 <link rel="import" href="hidden_style_css.html"> |
| 4 | 4 |
| 5 <!-- Common styles for Material Design WebUI. Included directly in | 5 <!-- Common styles for Material Design WebUI. Included directly in |
| 6 settings_shared_css.html. --> | 6 settings_shared_css.html. --> |
| 7 <dom-module id="cr-shared-style"> | 7 <dom-module id="cr-shared-style"> |
| 8 <template> | 8 <template> |
| 9 <style include="cr-hidden-style"> | 9 <style include="cr-hidden-style"> |
| 10 /* Chrome spinners should be blue. */ | 10 /* Chrome spinners should be blue. */ |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 border-style: solid; | 90 border-style: solid; |
| 91 border-width: 1px 0; | 91 border-width: 1px 0; |
| 92 overflow-y: auto; | 92 overflow-y: auto; |
| 93 } | 93 } |
| 94 [scrollable].is-scrolled { | 94 [scrollable].is-scrolled { |
| 95 border-top-color: var(--google-grey-300); | 95 border-top-color: var(--google-grey-300); |
| 96 } | 96 } |
| 97 [scrollable].can-scroll:not(.scrolled-to-bottom) { | 97 [scrollable].can-scroll:not(.scrolled-to-bottom) { |
| 98 border-bottom-color: var(--google-grey-300); | 98 border-bottom-color: var(--google-grey-300); |
| 99 } | 99 } |
| 100 [scrollable] :focus { | |
| 101 @apply(--cr-list-item-focus); | |
| 102 @apply(--cr-selectable-focus); | |
| 103 } | |
| 104 [scrollable] iron-list > * { | 100 [scrollable] iron-list > * { |
| 105 @apply(--cr-actionable); | 101 @apply(--cr-actionable); |
| 106 } | 102 } |
| 103 [scrollable] iron-list > :not(.no-outline):focus { |
| 104 @apply(--cr-list-item-focus); |
| 105 @apply(--cr-selectable-focus); |
| 106 } |
| 107 | 107 |
| 108 .scroll-container { | 108 .scroll-container { |
| 109 display: flex; | 109 display: flex; |
| 110 flex-direction: column; | 110 flex-direction: column; |
| 111 min-height: 1px; | 111 min-height: 1px; |
| 112 } | 112 } |
| 113 | 113 |
| 114 [selectable]:focus, | 114 [selectable]:focus, |
| 115 [selectable] > :focus { | 115 [selectable] > :focus { |
| 116 @apply(--cr-selectable-focus); | 116 @apply(--cr-selectable-focus); |
| 117 } | 117 } |
| 118 [selectable] > * { | 118 [selectable] > * { |
| 119 @apply(--cr-actionable); | 119 @apply(--cr-actionable); |
| 120 } | 120 } |
| 121 </style> | 121 </style> |
| 122 </template> | 122 </template> |
| 123 </dom-module> | 123 </dom-module> |
| OLD | NEW |