| 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_root_css.html"> | 2 <link rel="import" href="/settings_root_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 27 matching lines...) Expand all Loading... |
| 38 }; | 38 }; |
| 39 --paper-input-container-underline: { | 39 --paper-input-container-underline: { |
| 40 background: var(--paper-grey-300); | 40 background: var(--paper-grey-300); |
| 41 }; | 41 }; |
| 42 } | 42 } |
| 43 | 43 |
| 44 paper-dropdown-menu paper-listbox { | 44 paper-dropdown-menu paper-listbox { |
| 45 padding: 0; | 45 padding: 0; |
| 46 } | 46 } |
| 47 | 47 |
| 48 iron-dropdown .dropdown-item, |
| 48 paper-dropdown-menu .dropdown-item { | 49 paper-dropdown-menu .dropdown-item { |
| 49 align-items: center; | 50 align-items: center; |
| 50 background: none; | 51 background: none; |
| 51 border: none; | 52 border: none; |
| 52 color: var(--paper-grey-800); | 53 color: var(--paper-grey-800); |
| 53 display: flex; | 54 display: flex; |
| 54 font: inherit; | 55 font: inherit; |
| 55 min-height: 48px; | 56 min-height: 48px; |
| 56 padding: 0 16px; | 57 padding: 0 16px; |
| 57 text-align: start; | 58 text-align: start; |
| 58 width: 100%; | 59 width: 100%; |
| 59 } | 60 } |
| 60 | 61 |
| 61 paper-dropdown-menu .dropdown-item.iron-selected { | 62 paper-dropdown-menu .dropdown-item.iron-selected { |
| 62 font-weight: bold; | 63 font-weight: bold; |
| 63 } | 64 } |
| 64 | 65 |
| 66 iron-dropdown .dropdown-item:focus, |
| 65 paper-dropdown-menu .dropdown-item:focus { | 67 paper-dropdown-menu .dropdown-item:focus { |
| 66 background-color: var(--paper-grey-300); | 68 background-color: var(--paper-grey-300); |
| 67 outline: none; | 69 outline: none; |
| 68 } | 70 } |
| 69 | 71 |
| 70 iron-dropdown .dropdown-content { | 72 iron-dropdown .dropdown-content { |
| 71 background-color: white; | 73 background-color: white; |
| 72 box-shadow: 0 2px 6px var(--paper-grey-500); | 74 box-shadow: 0 2px 6px var(--paper-grey-500); |
| 73 } | 75 } |
| 74 | 76 |
| 77 iron-dropdown .dropdown-content .dropdown-item, |
| 75 iron-dropdown .dropdown-content paper-item { | 78 iron-dropdown .dropdown-content paper-item { |
| 76 @apply(--settings-actionable); | 79 @apply(--settings-actionable); |
| 77 } | 80 } |
| 78 | 81 |
| 82 iron-dropdown .dropdown-content .dropdown-item:hover, |
| 79 iron-dropdown .dropdown-content paper-item:hover { | 83 iron-dropdown .dropdown-content paper-item:hover { |
| 80 background-color: var(--settings-hover-color); | 84 background-color: var(--settings-hover-color); |
| 81 } | 85 } |
| 82 | 86 |
| 83 span ~ a { | 87 span ~ a { |
| 84 -webkit-margin-start: 4px; | 88 -webkit-margin-start: 4px; |
| 85 } | 89 } |
| 86 | 90 |
| 87 [is='action-link'], | 91 [is='action-link'], |
| 88 [is='action-link']:active, | 92 [is='action-link']:active, |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 350 |
| 347 .favicon-image { | 351 .favicon-image { |
| 348 background-repeat: no-repeat; | 352 background-repeat: no-repeat; |
| 349 background-size: contain; | 353 background-size: contain; |
| 350 height: 16px; | 354 height: 16px; |
| 351 width: 16px; | 355 width: 16px; |
| 352 } | 356 } |
| 353 </style> | 357 </style> |
| 354 </template> | 358 </template> |
| 355 </dom-module> | 359 </dom-module> |
| OLD | NEW |