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 2a3d87806b9bc299951a2885aa84689a714242a4..c75d80666cff9d605ab0e23da054a1df68384c74 100644 |
--- a/ui/webui/resources/cr_elements/shared_style_css.html |
+++ b/ui/webui/resources/cr_elements/shared_style_css.html |
@@ -33,6 +33,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); |
} |