| 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 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ | 8 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ |
| 9 h2 { | 9 h2 { |
| 10 align-items: center; | 10 align-items: center; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 } | 28 } |
| 29 | 29 |
| 30 paper-button[toggles][active] { | 30 paper-button[toggles][active] { |
| 31 background-color: var(--paper-grey-300); | 31 background-color: var(--paper-grey-300); |
| 32 } | 32 } |
| 33 | 33 |
| 34 paper-toggle-button { | 34 paper-toggle-button { |
| 35 @apply(--settings-actionable); | 35 @apply(--settings-actionable); |
| 36 } | 36 } |
| 37 | 37 |
| 38 paper-dropdown-menu { | 38 paper-dropdown-menu-light { |
| 39 --iron-icon-fill-color: var(--paper-grey-600); | 39 --iron-icon-fill-color: var(--paper-grey-600); |
| 40 --paper-font-subhead: { | 40 --paper-font-subhead: { |
| 41 font-size: inherit; | 41 font-size: inherit; |
| 42 }; | 42 }; |
| 43 --paper-input-container-underline: { | 43 --paper-dropdown-menu-input: { |
| 44 background: var(--paper-grey-300); | 44 border-bottom-color: var(--paper-grey-300); |
| 45 }; | 45 }; |
| 46 /* Offsets the input's border-bottom. */ |
| 47 top: 1px; |
| 46 } | 48 } |
| 47 | 49 |
| 48 iron-dropdown .dropdown-content, | 50 iron-dropdown .dropdown-content, |
| 49 paper-dropdown-menu paper-listbox { | 51 paper-dropdown-menu-light paper-listbox { |
| 50 min-width: 128px; | 52 min-width: 128px; |
| 51 padding: 8px 0; | 53 padding: 8px 0; |
| 52 } | 54 } |
| 53 | 55 |
| 54 iron-dropdown .dropdown-item, | 56 iron-dropdown .dropdown-item, |
| 55 paper-dropdown-menu .dropdown-item, | 57 paper-dropdown-menu-light .dropdown-item, |
| 56 cr-shared-menu .dropdown-item { | 58 cr-shared-menu .dropdown-item { |
| 57 align-items: center; | 59 align-items: center; |
| 58 background: none; | 60 background: none; |
| 59 border: none; | 61 border: none; |
| 60 color: var(--paper-grey-800); | 62 color: var(--paper-grey-800); |
| 61 display: flex; | 63 display: flex; |
| 62 font: inherit; | 64 font: inherit; |
| 63 min-height: 32px; | 65 min-height: 32px; |
| 64 padding: 0 24px; | 66 padding: 0 24px; |
| 65 text-align: start; | 67 text-align: start; |
| 66 width: 100%; | 68 width: 100%; |
| 67 } | 69 } |
| 68 | 70 |
| 69 paper-dropdown-menu .dropdown-item.iron-selected { | 71 paper-dropdown-menu-light .dropdown-item.iron-selected { |
| 70 font-weight: bold; | 72 font-weight: bold; |
| 71 } | 73 } |
| 72 | 74 |
| 73 iron-dropdown .dropdown-item:focus, | 75 iron-dropdown .dropdown-item:focus, |
| 74 paper-dropdown-menu .dropdown-item:focus { | 76 paper-dropdown-menu-light .dropdown-item:focus { |
| 75 @apply(--cr-selectable-focus); | 77 @apply(--cr-selectable-focus); |
| 76 } | 78 } |
| 77 | 79 |
| 78 iron-dropdown .dropdown-content { | 80 iron-dropdown .dropdown-content { |
| 79 background-color: white; | 81 background-color: white; |
| 80 box-shadow: 0 2px 6px var(--paper-grey-500); | 82 box-shadow: 0 2px 6px var(--paper-grey-500); |
| 81 } | 83 } |
| 82 | 84 |
| 83 iron-dropdown .dropdown-content .dropdown-item:not([disabled]), | 85 iron-dropdown .dropdown-content .dropdown-item:not([disabled]), |
| 84 cr-shared-menu .dropdown-item:not([disabled]), | 86 cr-shared-menu .dropdown-item:not([disabled]), |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 /* Turns the arrow direction downwards, when the bubble is placed above | 384 /* Turns the arrow direction downwards, when the bubble is placed above |
| 383 * the anchor element */ | 385 * the anchor element */ |
| 384 .search-bubble-innards.above::after { | 386 .search-bubble-innards.above::after { |
| 385 -webkit-transform: rotate(-135deg); | 387 -webkit-transform: rotate(-135deg); |
| 386 bottom: -5px; | 388 bottom: -5px; |
| 387 top: auto; | 389 top: auto; |
| 388 } | 390 } |
| 389 </style> | 391 </style> |
| 390 </template> | 392 </template> |
| 391 </dom-module> | 393 </dom-module> |
| OLD | NEW |