OLD | NEW |
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 Loading... |
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> |
OLD | NEW |