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

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

Issue 2256753003: MD Settings: Introduce CrScrollableBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_638377_selectable_behavior
Patch Set: Rebase Created 4 years, 4 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
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 23 matching lines...) Expand all
34 34
35 .action-button, 35 .action-button,
36 .cancel-button { 36 .cancel-button {
37 font-weight: 500; 37 font-weight: 500;
38 } 38 }
39 39
40 [actionable] { 40 [actionable] {
41 @apply(--cr-actionable); 41 @apply(--cr-actionable);
42 } 42 }
43 43
44 [scrollable] {
45 border-color: transparent;
46 border-style: solid;
47 border-width: 1px 0;
48 overflow-y: auto;
49 }
50 [scrollable].is-scrolled {
51 border-top-color: var(--google-grey-300);
52 }
53 [scrollable].can-scroll:not(.scrolled-to-bottom) {
54 border-bottom-color: var(--google-grey-300);
55 }
56 [scrollable] :focus {
57 @apply(--cr-list-item-focus);
58 @apply(--cr-selectable-focus);
59 }
60 [scrollable] iron-list > * {
61 @apply(--cr-actionable);
62 }
63
44 [selectable] :focus { 64 [selectable] :focus {
45 @apply(--cr-selectable-focus); 65 @apply(--cr-selectable-focus);
46 } 66 }
47 [selectable] > * { 67 [selectable] > * {
48 @apply(--cr-actionable); 68 @apply(--cr-actionable);
49 } 69 }
50 </style> 70 </style>
51 </template> 71 </template>
52 </dom-module> 72 </dom-module>
OLDNEW
« no previous file with comments | « ui/webui/resources/cr_elements/cr_scrollable_behavior.js ('k') | ui/webui/resources/cr_elements_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698