Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: ui/webui/resources/cr_elements/shared_style_css.html

Issue 2900173004: WebUI: Only highlight scrollable divs (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/settings/settings_shared_css.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_shared_css.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698