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 h2 { | 8 h2 { |
| 9 align-items: center; | 9 align-items: center; |
| 10 display: flex; | 10 display: flex; |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 } | 24 } |
| 25 | 25 |
| 26 paper-button[toggles][active] { | 26 paper-button[toggles][active] { |
| 27 background-color: var(--paper-grey-300); | 27 background-color: var(--paper-grey-300); |
| 28 } | 28 } |
| 29 | 29 |
| 30 paper-toggle-button { | 30 paper-toggle-button { |
| 31 @apply(--settings-actionable); | 31 @apply(--settings-actionable); |
| 32 } | 32 } |
| 33 | 33 |
| 34 paper-dropdown-menu { | 34 paper-dropdown-menu-light { |
| 35 --iron-icon-fill-color: var(--paper-grey-600); | 35 --iron-icon-fill-color: var(--paper-grey-600); |
| 36 --paper-font-subhead: { | 36 --paper-font-subhead: { |
| 37 font-size: inherit; | 37 font-size: inherit; |
| 38 }; | 38 }; |
| 39 --paper-input-container-underline: { | 39 --paper-dropdown-menu-input: { |
| 40 background: var(--paper-grey-300); | 40 border-bottom-color: var(--paper-grey-300); |
| 41 }; | 41 }; |
| 42 /** Offsets the input's border-bottom. */ | |
|
dschuyler
2016/08/11 23:35:26
Should this be a /* comment rather than a /** comm
michaelpg
2016/08/16 23:50:43
Ugh, I do that all the time, too used to closure.
| |
| 43 top: 1px; | |
| 42 } | 44 } |
| 43 | 45 |
| 44 iron-dropdown .dropdown-content, | 46 iron-dropdown .dropdown-content, |
| 45 paper-dropdown-menu paper-listbox { | 47 paper-dropdown-menu-light paper-listbox { |
| 46 min-width: 128px; | 48 min-width: 128px; |
| 47 padding: 8px 0; | 49 padding: 8px 0; |
| 48 } | 50 } |
| 49 | 51 |
| 50 iron-dropdown .dropdown-item, | 52 iron-dropdown .dropdown-item, |
| 51 paper-dropdown-menu .dropdown-item { | 53 paper-dropdown-menu-light .dropdown-item { |
| 52 align-items: center; | 54 align-items: center; |
| 53 background: none; | 55 background: none; |
| 54 border: none; | 56 border: none; |
| 55 color: var(--paper-grey-800); | 57 color: var(--paper-grey-800); |
| 56 display: flex; | 58 display: flex; |
| 57 font: inherit; | 59 font: inherit; |
| 58 min-height: 32px; | 60 min-height: 32px; |
| 59 padding: 0 24px; | 61 padding: 0 24px; |
| 60 text-align: start; | 62 text-align: start; |
| 61 width: 100%; | 63 width: 100%; |
| 62 } | 64 } |
| 63 | 65 |
| 64 paper-dropdown-menu .dropdown-item.iron-selected { | 66 paper-dropdown-menu-light .dropdown-item.iron-selected { |
| 65 font-weight: bold; | 67 font-weight: bold; |
| 66 } | 68 } |
| 67 | 69 |
| 68 iron-dropdown .dropdown-item:focus, | 70 iron-dropdown .dropdown-item:focus, |
| 69 paper-dropdown-menu .dropdown-item:focus { | 71 paper-dropdown-menu-light .dropdown-item:focus { |
| 70 background-color: var(--cr-focused-item-color); | 72 background-color: var(--cr-focused-item-color); |
| 71 outline: none; | 73 outline: none; |
| 72 } | 74 } |
| 73 | 75 |
| 74 iron-dropdown .dropdown-content { | 76 iron-dropdown .dropdown-content { |
| 75 background-color: white; | 77 background-color: white; |
| 76 box-shadow: 0 2px 6px var(--paper-grey-500); | 78 box-shadow: 0 2px 6px var(--paper-grey-500); |
| 77 } | 79 } |
| 78 | 80 |
| 79 iron-dropdown .dropdown-content .dropdown-item, | 81 iron-dropdown .dropdown-content .dropdown-item, |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 365 content: ''; | 367 content: ''; |
| 366 height: 10px; | 368 height: 10px; |
| 367 position: absolute; | 369 position: absolute; |
| 368 right: -5px; | 370 right: -5px; |
| 369 top: 10px; | 371 top: 10px; |
| 370 width: 10px; | 372 width: 10px; |
| 371 } | 373 } |
| 372 </style> | 374 </style> |
| 373 </template> | 375 </template> |
| 374 </dom-module> | 376 </dom-module> |
| OLD | NEW |