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

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

Issue 2338133011: MD Settings: Use scrollable behavior for all iron-list containers (Closed)
Patch Set: Rebase Created 4 years, 2 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/search_engines_page/search_engines_list.js ('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 3
4 <!-- Common styles for Material Design WebUI. Included directly in 4 <!-- Common styles for Material Design WebUI. Included directly in
5 settings_shared_css.html. --> 5 settings_shared_css.html. -->
6 <dom-module id="cr-shared-style"> 6 <dom-module id="cr-shared-style">
7 <template> 7 <template>
8 <style> 8 <style>
9 /* Chrome spinners should be blue. */ 9 /* Chrome spinners should be blue. */
10 paper-spinner { 10 paper-spinner {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 border-bottom-color: var(--google-grey-300); 54 border-bottom-color: var(--google-grey-300);
55 } 55 }
56 [scrollable] :focus { 56 [scrollable] :focus {
57 @apply(--cr-list-item-focus); 57 @apply(--cr-list-item-focus);
58 @apply(--cr-selectable-focus); 58 @apply(--cr-selectable-focus);
59 } 59 }
60 [scrollable] iron-list > * { 60 [scrollable] iron-list > * {
61 @apply(--cr-actionable); 61 @apply(--cr-actionable);
62 } 62 }
63 63
64 .scroll-container {
65 display: flex;
66 flex-direction: column;
67 min-height: 1px;
68 }
69
64 [selectable]:focus, 70 [selectable]:focus,
65 [selectable] > :focus { 71 [selectable] > :focus {
66 @apply(--cr-selectable-focus); 72 @apply(--cr-selectable-focus);
67 } 73 }
68 [selectable] > * { 74 [selectable] > * {
69 @apply(--cr-actionable); 75 @apply(--cr-actionable);
70 } 76 }
71 </style> 77 </style>
72 </template> 78 </template>
73 </dom-module> 79 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/search_engines_page/search_engines_list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698