Index: ui/webui/resources/cr_elements/shared_style_css.html |
diff --git a/ui/webui/resources/cr_elements/shared_style_css.html b/ui/webui/resources/cr_elements/shared_style_css.html |
index b705bdc7e5b84d21a12b07edacb7ab530018c579..2e912bb631a765484385a0a97abe859d2fe1dcdb 100644 |
--- a/ui/webui/resources/cr_elements/shared_style_css.html |
+++ b/ui/webui/resources/cr_elements/shared_style_css.html |
@@ -41,6 +41,26 @@ |
@apply(--cr-actionable); |
} |
+ [scrollable] { |
+ border-color: transparent; |
+ border-style: solid; |
+ border-width: 1px 0; |
+ overflow-y: auto; |
+ } |
+ [scrollable].is-scrolled { |
+ border-top-color: var(--google-grey-300); |
+ } |
+ [scrollable].can-scroll:not(.scrolled-to-bottom) { |
+ border-bottom-color: var(--google-grey-300); |
+ } |
+ [scrollable] :focus { |
+ @apply(--cr-list-item-focus); |
+ @apply(--cr-selectable-focus); |
+ } |
+ [scrollable] iron-list > * { |
+ @apply(--cr-actionable); |
+ } |
+ |
[selectable] :focus { |
@apply(--cr-selectable-focus); |
} |