| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 * "delete") while the secondary is often a "Cancel" button. A tertiary | 79 * "delete") while the secondary is often a "Cancel" button. A tertiary |
| 80 * button may be used to get more information or similar, that we expect | 80 * button may be used to get more information or similar, that we expect |
| 81 * most users will not need. */ | 81 * most users will not need. */ |
| 82 .primary-button { | 82 .primary-button { |
| 83 --paper-button: { | 83 --paper-button: { |
| 84 font-weight: 500; | 84 font-weight: 500; |
| 85 text-align: start; | 85 text-align: start; |
| 86 }; | 86 }; |
| 87 } | 87 } |
| 88 | 88 |
| 89 .primary-toggle { |
| 90 color: var(--paper-grey-600); |
| 91 font-weight: 500; |
| 92 } |
| 93 |
| 94 .primary-toggle[checked] { |
| 95 color: var(--google-blue-500); |
| 96 } |
| 97 |
| 89 /* See notes in .primary-button. */ | 98 /* See notes in .primary-button. */ |
| 90 .secondary-button { | 99 .secondary-button { |
| 91 --paper-button: { | 100 --paper-button: { |
| 92 color: var(--paper-grey-600); | 101 color: var(--paper-grey-600); |
| 93 font-weight: 500; | 102 font-weight: 500; |
| 94 min-width: 1em; /* A tighter fit than 5.14em for short buttons. */ | 103 min-width: 1em; /* A tighter fit than 5.14em for short buttons. */ |
| 95 text-decoration: none; | 104 text-decoration: none; |
| 96 }; | 105 }; |
| 97 --paper-button-flat-keyboard-focus: { | 106 --paper-button-flat-keyboard-focus: { |
| 98 background: rgba(0, 0, 0, .12); | 107 background: rgba(0, 0, 0, .12); |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 /* Turns the arrow direction downwards, when the bubble is placed above | 372 /* Turns the arrow direction downwards, when the bubble is placed above |
| 364 * the anchor element */ | 373 * the anchor element */ |
| 365 .search-bubble-innards.above::after { | 374 .search-bubble-innards.above::after { |
| 366 bottom: -5px; | 375 bottom: -5px; |
| 367 top: auto; | 376 top: auto; |
| 368 transform: rotate(-135deg); | 377 transform: rotate(-135deg); |
| 369 } | 378 } |
| 370 </style> | 379 </style> |
| 371 </template> | 380 </template> |
| 372 </dom-module> | 381 </dom-module> |
| OLD | NEW |