| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 2 <link rel="import" href="settings_vars_css.html"> | 2 <link rel="import" href="settings_vars_css.html"> |
| 3 | 3 |
| 4 <!-- Common styles for Material Design settings. --> | 4 <!-- Common styles for Material Design settings. --> |
| 5 <dom-module id="settings-shared"> | 5 <dom-module id="settings-shared"> |
| 6 <template> | 6 <template> |
| 7 <style include="cr-shared-style"> | 7 <style include="cr-shared-style"> |
| 8 /* Included here so we don't have to include "iron-positioning" in every | 8 /* Included here so we don't have to include "iron-positioning" in every |
| 9 * stylesheet. See crbug.com/498405. */ | 9 * stylesheet. See crbug.com/498405. */ |
| 10 [hidden] { | 10 [hidden] { |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=1108514#c5) | 172 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=1108514#c5) |
| 173 */ | 173 */ |
| 174 .no-min-width { | 174 .no-min-width { |
| 175 min-width: 0; | 175 min-width: 0; |
| 176 } | 176 } |
| 177 | 177 |
| 178 .button-strip { | 178 .button-strip { |
| 179 text-align: end; | 179 text-align: end; |
| 180 } | 180 } |
| 181 | 181 |
| 182 .header-aligned-button { |
| 183 margin-top: 12px; /* Align paper-button with <h2>. */ |
| 184 } |
| 185 |
| 182 /* A list-frame is an outer container for list-items. It is intended to be | 186 /* A list-frame is an outer container for list-items. It is intended to be |
| 183 * outside of a settings-box. A list-frame is likely to follow a | 187 * outside of a settings-box. A list-frame is likely to follow a |
| 184 * settings box. */ | 188 * settings box. */ |
| 185 .list-frame { | 189 .list-frame { |
| 186 @apply(--settings-list-frame-padding); | 190 @apply(--settings-list-frame-padding); |
| 187 align-items: center; | 191 align-items: center; |
| 188 display: block; | 192 display: block; |
| 189 } | 193 } |
| 190 | 194 |
| 191 /* A list-item is intended to be contained within a list-frame. The list | 195 /* A list-item is intended to be contained within a list-frame. The list |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 /* Turns the arrow direction downwards, when the bubble is placed above | 390 /* Turns the arrow direction downwards, when the bubble is placed above |
| 387 * the anchor element */ | 391 * the anchor element */ |
| 388 .search-bubble-innards.above::after { | 392 .search-bubble-innards.above::after { |
| 389 -webkit-transform: rotate(-135deg); | 393 -webkit-transform: rotate(-135deg); |
| 390 bottom: -5px; | 394 bottom: -5px; |
| 391 top: auto; | 395 top: auto; |
| 392 } | 396 } |
| 393 </style> | 397 </style> |
| 394 </template> | 398 </template> |
| 395 </dom-module> | 399 </dom-module> |
| OLD | NEW |