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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
296 .settings-box .start.two-line { | 296 .settings-box .start.two-line { |
297 display: flex; | 297 display: flex; |
298 } | 298 } |
299 | 299 |
300 /* The start (left in LTR) part (horizontally) of a row. */ | 300 /* The start (left in LTR) part (horizontally) of a row. */ |
301 .settings-box .start { | 301 .settings-box .start { |
302 align-items: center; | 302 align-items: center; |
303 flex: auto; | 303 flex: auto; |
304 } | 304 } |
305 | 305 |
306 .no-outline, | |
306 [scrollable] .no-outline { | 307 [scrollable] .no-outline { |
dpapad
2017/04/03 23:45:50
Isn't "[scrollable] .no-outline" redundant here?
scottchen
2017/04/04 17:44:24
There are other "[scrollable] .something" rules th
| |
307 background: none; | 308 background: none; |
308 outline: none; | 309 outline: none; |
309 cursor: initial; | |
310 } | 310 } |
311 | 311 |
312 /* The secondary-action wraps a clickable sub-area of a .settings-box. | 312 /* The secondary-action wraps a clickable sub-area of a .settings-box. |
313 * An example is the |sign out| button on the People settings. | 313 * An example is the |sign out| button on the People settings. |
314 * Here is an example with and without a secondary action box: | 314 * Here is an example with and without a secondary action box: |
315 * | 315 * |
316 * +-------------------------------------------------------+ | 316 * +-------------------------------------------------------+ |
317 * | Main action area .settings-box | .secondary-action | | 317 * | Main action area .settings-box | .secondary-action | |
318 * +-------------------------------------------------------+ | 318 * +-------------------------------------------------------+ |
319 * | Another setting-box without a secondary-action | | 319 * | Another setting-box without a secondary-action | |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
382 transform: rotate(-135deg); | 382 transform: rotate(-135deg); |
383 } | 383 } |
384 | 384 |
385 .column-header { | 385 .column-header { |
386 color: var(--paper-grey-600); | 386 color: var(--paper-grey-600); |
387 font-weight: 500; | 387 font-weight: 500; |
388 } | 388 } |
389 </style> | 389 </style> |
390 </template> | 390 </template> |
391 </dom-module> | 391 </dom-module> |
OLD | NEW |