| 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 .settings-box .start.two-line { | 288 .settings-box .start.two-line { |
| 289 display: flex; | 289 display: flex; |
| 290 } | 290 } |
| 291 | 291 |
| 292 /* The start (left in LTR) part (horizontally) of a row. */ | 292 /* The start (left in LTR) part (horizontally) of a row. */ |
| 293 .settings-box .start { | 293 .settings-box .start { |
| 294 align-items: center; | 294 align-items: center; |
| 295 flex: auto; | 295 flex: auto; |
| 296 } | 296 } |
| 297 | 297 |
| 298 [scrollable] .no-outline { |
| 299 background: none; |
| 300 outline: none; |
| 301 cursor: initial; |
| 302 } |
| 303 |
| 298 /* The secondary-action wraps a clickable sub-area of a .settings-box. | 304 /* The secondary-action wraps a clickable sub-area of a .settings-box. |
| 299 * An example is the |sign out| button on the People settings. | 305 * An example is the |sign out| button on the People settings. |
| 300 * Here is an example with and without a secondary action box: | 306 * Here is an example with and without a secondary action box: |
| 301 * | 307 * |
| 302 * +-------------------------------------------------------+ | 308 * +-------------------------------------------------------+ |
| 303 * | Main action area .settings-box | .secondary-action | | 309 * | Main action area .settings-box | .secondary-action | |
| 304 * +-------------------------------------------------------+ | 310 * +-------------------------------------------------------+ |
| 305 * | Another setting-box without a secondary-action | | 311 * | Another setting-box without a secondary-action | |
| 306 * +-------------------------------------------------------+ */ | 312 * +-------------------------------------------------------+ */ |
| 307 :-webkit-any(.settings-box, .list-item) .secondary-action { | 313 :-webkit-any(.settings-box, .list-item) .secondary-action { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 /* Turns the arrow direction downwards, when the bubble is placed above | 369 /* Turns the arrow direction downwards, when the bubble is placed above |
| 364 * the anchor element */ | 370 * the anchor element */ |
| 365 .search-bubble-innards.above::after { | 371 .search-bubble-innards.above::after { |
| 366 bottom: -5px; | 372 bottom: -5px; |
| 367 top: auto; | 373 top: auto; |
| 368 transform: rotate(-135deg); | 374 transform: rotate(-135deg); |
| 369 } | 375 } |
| 370 </style> | 376 </style> |
| 371 </template> | 377 </template> |
| 372 </dom-module> | 378 </dom-module> |
| OLD | NEW |