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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 .settings-box .secondary-button, | 111 .settings-box .secondary-button, |
112 .settings-box .secondary-button { | 112 .settings-box .secondary-button { |
113 -webkit-margin-end: -12px; | 113 -webkit-margin-end: -12px; |
114 -webkit-margin-start: -12px; | 114 -webkit-margin-start: -12px; |
115 -webkit-padding-end: 12px; | 115 -webkit-padding-end: 12px; |
116 -webkit-padding-start: 12px; | 116 -webkit-padding-start: 12px; |
117 } | 117 } |
118 | 118 |
119 paper-checkbox { | 119 paper-checkbox { |
120 --paper-checkbox-checked-color: var(--google-blue-500); | 120 --paper-checkbox-checked-color: var(--google-blue-500); |
121 --paper-checkbox-label-spacing: var(--checkbox-spacing); | 121 --paper-checkbox-label-spacing: var(--settings-control-spacing); |
122 --paper-checkbox-size: var(--checkbox-size); | 122 --paper-checkbox-size: var(--checkbox-size); |
123 --paper-checkbox-unchecked-color: var(--paper-grey-600); | 123 --paper-checkbox-unchecked-color: var(--paper-grey-600); |
124 -webkit-margin-start: var(--checkbox-margin-start); | 124 -webkit-margin-start: var(--checkbox-margin-start); |
125 } | 125 } |
126 | 126 |
127 paper-radio-button { | 127 paper-radio-button { |
128 --paper-radio-button-checked-color: var(--google-blue-500); | 128 --paper-radio-button-checked-color: var(--google-blue-500); |
129 --paper-radio-button-label-spacing: 18px; | 129 --paper-radio-button-label-spacing: 18px; |
130 --paper-radio-button-unchecked-color: var(--paper-grey-600); | 130 --paper-radio-button-unchecked-color: var(--paper-grey-600); |
131 -webkit-margin-start: 2px; | 131 -webkit-margin-start: 2px; |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 | 316 |
317 /* Helper for a list frame to automatically avoid the separator line. */ | 317 /* Helper for a list frame to automatically avoid the separator line. */ |
318 .vertical-list > *:not(:first-of-type) { | 318 .vertical-list > *:not(:first-of-type) { |
319 border-top: var(--settings-separator-line); | 319 border-top: var(--settings-separator-line); |
320 } | 320 } |
321 | 321 |
322 .settings-checkbox-spacer { | 322 .settings-checkbox-spacer { |
323 -webkit-margin-start: calc( | 323 -webkit-margin-start: calc( |
324 var(--checkbox-margin-start) + | 324 var(--checkbox-margin-start) + |
325 var(--checkbox-size) + | 325 var(--checkbox-size) + |
326 var(--checkbox-spacing)); | 326 var(--settings-control-spacing)); |
327 } | 327 } |
328 | 328 |
329 .favicon-image { | 329 .favicon-image { |
330 background-repeat: no-repeat; | 330 background-repeat: no-repeat; |
331 background-size: contain; | 331 background-size: contain; |
332 height: 16px; | 332 height: 16px; |
333 width: 16px; | 333 width: 16px; |
334 } | 334 } |
335 | 335 |
336 .search-bubble { | 336 .search-bubble { |
(...skipping 26 matching lines...) Expand all Loading... |
363 /* Turns the arrow direction downwards, when the bubble is placed above | 363 /* Turns the arrow direction downwards, when the bubble is placed above |
364 * the anchor element */ | 364 * the anchor element */ |
365 .search-bubble-innards.above::after { | 365 .search-bubble-innards.above::after { |
366 bottom: -5px; | 366 bottom: -5px; |
367 top: auto; | 367 top: auto; |
368 transform: rotate(-135deg); | 368 transform: rotate(-135deg); |
369 } | 369 } |
370 </style> | 370 </style> |
371 </template> | 371 </template> |
372 </dom-module> | 372 </dom-module> |
OLD | NEW |