| 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 :host-context([dir=rtl]) button[is='paper-icon-button-light'] { | 8 :host-context([dir=rtl]) button[is='paper-icon-button-light'] { |
| 9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ | 9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ |
| 10 } | 10 } |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 .settings-box .start.two-line { | 308 .settings-box .start.two-line { |
| 309 display: flex; | 309 display: flex; |
| 310 } | 310 } |
| 311 | 311 |
| 312 /* The start (left in LTR) part (horizontally) of a row. */ | 312 /* The start (left in LTR) part (horizontally) of a row. */ |
| 313 .settings-box .start { | 313 .settings-box .start { |
| 314 align-items: center; | 314 align-items: center; |
| 315 flex: auto; | 315 flex: auto; |
| 316 } | 316 } |
| 317 | 317 |
| 318 /* For grouping elements with common flex options. */ |
| 318 .settings-row { | 319 .settings-row { |
| 319 align-items: center; | 320 align-items: center; |
| 320 display: flex; | 321 display: flex; |
| 321 flex-direction: row; | 322 flex-direction: row; |
| 322 max-width: 100%; | 323 max-width: 100%; |
| 324 min-width: 0; /* Workaround for text elision in sub-elements. */ |
| 325 } |
| 326 |
| 327 /* Expand to fill-up available space. */ |
| 328 .settings-row.wide { |
| 329 flex: 1; |
| 323 } | 330 } |
| 324 | 331 |
| 325 .no-outline, | 332 .no-outline, |
| 326 [scrollable] .no-outline { | 333 [scrollable] .no-outline { |
| 327 background: none; | 334 background: none; |
| 328 outline: none; | 335 outline: none; |
| 329 } | 336 } |
| 330 | 337 |
| 331 /* Helper for a list frame to automatically avoid the separator line. */ | 338 /* Helper for a list frame to automatically avoid the separator line. */ |
| 332 .vertical-list > *:not(:first-of-type) { | 339 .vertical-list > *:not(:first-of-type) { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 transform: rotate(-135deg); | 407 transform: rotate(-135deg); |
| 401 } | 408 } |
| 402 | 409 |
| 403 .column-header { | 410 .column-header { |
| 404 color: var(--paper-grey-600); | 411 color: var(--paper-grey-600); |
| 405 font-weight: 500; | 412 font-weight: 500; |
| 406 } | 413 } |
| 407 </style> | 414 </style> |
| 408 </template> | 415 </template> |
| 409 </dom-module> | 416 </dom-module> |
| OLD | NEW |