| 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 h2 { | 8 h2 { |
| 9 align-items: center; | 9 align-items: center; |
| 10 display: flex; | 10 display: flex; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 * Here is an example with and without a secondary action box: | 304 * Here is an example with and without a secondary action box: |
| 305 * | 305 * |
| 306 * +-------------------------------------------------------+ | 306 * +-------------------------------------------------------+ |
| 307 * | Main action area .settings-box | .secondary-action | | 307 * | Main action area .settings-box | .secondary-action | |
| 308 * +-------------------------------------------------------+ | 308 * +-------------------------------------------------------+ |
| 309 * | Another setting-box without a secondary-action | | 309 * | Another setting-box without a secondary-action | |
| 310 * +-------------------------------------------------------+ */ | 310 * +-------------------------------------------------------+ */ |
| 311 .settings-box .secondary-action { | 311 .settings-box .secondary-action { |
| 312 -webkit-border-start: var(--settings-separator-line); | 312 -webkit-border-start: var(--settings-separator-line); |
| 313 -webkit-padding-start: 20px; | 313 -webkit-padding-start: 20px; |
| 314 flex-shrink: 0; |
| 314 } | 315 } |
| 315 | 316 |
| 316 .settings-box paper-item iron-icon { | 317 .settings-box paper-item iron-icon { |
| 317 /* Same padding as paper-icon-button. */ | 318 /* Same padding as paper-icon-button. */ |
| 318 padding: 8px; | 319 padding: 8px; |
| 319 } | 320 } |
| 320 | 321 |
| 321 /* Helper for a list frame to automatically avoid the separator line. */ | 322 /* Helper for a list frame to automatically avoid the separator line. */ |
| 322 .vertical-list > *:not(:first-of-type) { | 323 .vertical-list > *:not(:first-of-type) { |
| 323 border-top: var(--settings-separator-line); | 324 border-top: var(--settings-separator-line); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 content: ''; | 366 content: ''; |
| 366 height: 10px; | 367 height: 10px; |
| 367 position: absolute; | 368 position: absolute; |
| 368 right: -5px; | 369 right: -5px; |
| 369 top: 10px; | 370 top: 10px; |
| 370 width: 10px; | 371 width: 10px; |
| 371 } | 372 } |
| 372 </style> | 373 </style> |
| 373 </template> | 374 </template> |
| 374 </dom-module> | 375 </dom-module> |
| OLD | NEW |