Chromium Code Reviews| 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 14 matching lines...) Expand all Loading... | |
| 25 align-self: flex-start; | 25 align-self: flex-start; |
| 26 color: var(--paper-grey-600); | 26 color: var(--paper-grey-600); |
| 27 display: flex; | 27 display: flex; |
| 28 font-size: inherit; | 28 font-size: inherit; |
| 29 font-weight: 500; | 29 font-weight: 500; |
| 30 margin: 0; | 30 margin: 0; |
| 31 padding-bottom: 12px; | 31 padding-bottom: 12px; |
| 32 padding-top: 24px; | 32 padding-top: 24px; |
| 33 } | 33 } |
| 34 | 34 |
| 35 iron-icon { | |
| 36 flex-shrink: 0; /* Prevent distortion of icons in cramped UI. */ | |
|
hcarmona
2017/04/20 00:48:03
Are icons allowed to grow? should this just be fle
dschuyler
2017/04/20 01:24:56
Using flex: 0; causes the icon to disappear. flex
hcarmona
2017/04/20 01:38:26
Acknowledged.
| |
| 37 } | |
| 38 | |
| 35 iron-icon[icon='cr:check'], | 39 iron-icon[icon='cr:check'], |
| 36 iron-icon[icon='settings:done'] { | 40 iron-icon[icon='settings:done'] { |
| 37 --iron-icon-fill-color: var(--google-green-500); | 41 --iron-icon-fill-color: var(--google-green-500); |
| 38 } | 42 } |
| 39 | 43 |
| 40 paper-button { | 44 paper-button { |
| 41 height: 36px; | 45 height: 36px; |
| 42 margin: 0; | 46 margin: 0; |
| 43 } | 47 } |
| 44 | 48 |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 397 transform: rotate(-135deg); | 401 transform: rotate(-135deg); |
| 398 } | 402 } |
| 399 | 403 |
| 400 .column-header { | 404 .column-header { |
| 401 color: var(--paper-grey-600); | 405 color: var(--paper-grey-600); |
| 402 font-weight: 500; | 406 font-weight: 500; |
| 403 } | 407 } |
| 404 </style> | 408 </style> |
| 405 </template> | 409 </template> |
| 406 </dom-module> | 410 </dom-module> |
| OLD | NEW |