| 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 button[is='paper-icon-button-light'] { |
| 45 @apply(--cr-paper-icon-button-margin); |
| 46 background-position: center; |
| 47 background-repeat: no-repeat; |
| 48 background-size: var(--cr-icon-size); |
| 49 flex-shrink: 0; |
| 50 height: var(--cr-icon-ripple-size); |
| 51 width: var(--cr-icon-ripple-size); |
| 52 } |
| 53 |
| 44 button[is='paper-icon-button-light'].subpage-arrow { | 54 button[is='paper-icon-button-light'].subpage-arrow { |
| 45 background-image: url(../images/arrow_right.svg); | 55 background-image: url(../images/arrow_right.svg); |
| 46 } | 56 } |
| 47 | 57 |
| 48 button[is='paper-icon-button-light'].icon-external { | 58 button[is='paper-icon-button-light'].icon-external { |
| 49 background-image: url(../images/open_in_new.svg); | 59 background-image: url(../images/open_in_new.svg); |
| 50 } | 60 } |
| 51 | 61 |
| 52 .subpage-arrow, | 62 .subpage-arrow, |
| 53 .icon-external { | 63 .icon-external { |
| 54 display: none; | 64 display: none; |
| 55 } | 65 } |
| 56 | 66 |
| 67 paper-icon-button.subpage-arrow { |
| 68 background-image: url(../images/arrow_right.svg); |
| 69 } |
| 70 |
| 57 [actionable] :-webkit-any(.subpage-arrow, .icon-external), | 71 [actionable] :-webkit-any(.subpage-arrow, .icon-external), |
| 58 [actionable]:-webkit-any(.subpage-arrow, .icon-external) { | 72 [actionable]:-webkit-any(.subpage-arrow, .icon-external) { |
| 59 display: block; | 73 display: block; |
| 60 } | 74 } |
| 61 | 75 |
| 62 [scrollable] { | 76 [scrollable] { |
| 63 border-color: transparent; | 77 border-color: transparent; |
| 64 border-style: solid; | 78 border-style: solid; |
| 65 border-width: 1px 0; | 79 border-width: 1px 0; |
| 66 overflow-y: auto; | 80 overflow-y: auto; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 88 [selectable]:focus, | 102 [selectable]:focus, |
| 89 [selectable] > :focus { | 103 [selectable] > :focus { |
| 90 @apply(--cr-selectable-focus); | 104 @apply(--cr-selectable-focus); |
| 91 } | 105 } |
| 92 [selectable] > * { | 106 [selectable] > * { |
| 93 @apply(--cr-actionable); | 107 @apply(--cr-actionable); |
| 94 } | 108 } |
| 95 </style> | 109 </style> |
| 96 </template> | 110 </template> |
| 97 </dom-module> | 111 </dom-module> |
| OLD | NEW |