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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 flex-direction: row; | 307 flex-direction: row; |
308 max-width: 100%; | 308 max-width: 100%; |
309 min-width: 0; /* Workaround for text elision in sub-elements. */ | 309 min-width: 0; /* Workaround for text elision in sub-elements. */ |
310 } | 310 } |
311 | 311 |
312 /* Expand to fill-up available space. */ | 312 /* Expand to fill-up available space. */ |
313 .settings-row.wide { | 313 .settings-row.wide { |
314 flex: 1; | 314 flex: 1; |
315 } | 315 } |
316 | 316 |
317 .no-outline, | 317 .no-outline { |
318 [scrollable] .no-outline { | |
319 background: none; | 318 background: none; |
320 outline: none; | 319 outline: none; |
321 } | 320 } |
322 | 321 |
323 /* Helper for a list frame to automatically avoid the separator line. */ | 322 /* Helper for a list frame to automatically avoid the separator line. */ |
324 .vertical-list > *:not(:first-of-type) { | 323 .vertical-list > *:not(:first-of-type) { |
325 border-top: var(--settings-separator-line); | 324 border-top: var(--settings-separator-line); |
326 } | 325 } |
327 | 326 |
328 /* The separator a vertical line like a horizontal rule <hr> tag, but goes | 327 /* The separator a vertical line like a horizontal rule <hr> tag, but goes |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 transform: rotate(-135deg); | 391 transform: rotate(-135deg); |
393 } | 392 } |
394 | 393 |
395 .column-header { | 394 .column-header { |
396 color: var(--paper-grey-600); | 395 color: var(--paper-grey-600); |
397 font-weight: 500; | 396 font-weight: 500; |
398 } | 397 } |
399 </style> | 398 </style> |
400 </template> | 399 </template> |
401 </dom-module> | 400 </dom-module> |
OLD | NEW |