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 /* 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 } | 217 } |
| 218 | 218 |
| 219 .list-item > paper-icon-item { | 219 .list-item > paper-icon-item { |
| 220 padding: 0; | 220 padding: 0; |
| 221 } | 221 } |
| 222 | 222 |
| 223 /* This button has no ink ripple. */ | 223 /* This button has no ink ripple. */ |
| 224 .list-item.list-button { | 224 .list-item.list-button { |
| 225 @apply(--settings-actionable); | 225 @apply(--settings-actionable); |
| 226 align-items: center; | 226 align-items: center; |
| 227 color: var(--google-blue-500); | |
| 228 font-weight: 500; | 227 font-weight: 500; |
| 229 } | 228 } |
| 230 | 229 |
| 230 .list-item.list-button > [is='action-link'] { | |
|
scottchen
2017/01/20 21:18:22
This is to make the focus border the same size as
| |
| 231 min-height: inherit; | |
| 232 display: flex; | |
| 233 align-items: center; | |
| 234 flex: 1; | |
| 235 } | |
| 236 | |
| 231 /* A row with two lines of text. Often the lower line will be .secondary. | 237 /* A row with two lines of text. Often the lower line will be .secondary. |
| 232 */ | 238 */ |
| 233 .two-line { | 239 .two-line { |
| 234 min-height: var(--settings-row-two-line-min-height); | 240 min-height: var(--settings-row-two-line-min-height); |
| 235 } | 241 } |
| 236 | 242 |
| 237 /* A settings-box is a horizontal row of text or controls within a | 243 /* A settings-box is a horizontal row of text or controls within a |
| 238 * setting section (page or subpage). */ | 244 * setting section (page or subpage). */ |
| 239 .settings-box { | 245 .settings-box { |
| 240 align-items: center; | 246 align-items: center; |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 376 /* Turns the arrow direction downwards, when the bubble is placed above | 382 /* Turns the arrow direction downwards, when the bubble is placed above |
| 377 * the anchor element */ | 383 * the anchor element */ |
| 378 .search-bubble-innards.above::after { | 384 .search-bubble-innards.above::after { |
| 379 -webkit-transform: rotate(-135deg); | 385 -webkit-transform: rotate(-135deg); |
| 380 bottom: -5px; | 386 bottom: -5px; |
| 381 top: auto; | 387 top: auto; |
| 382 } | 388 } |
| 383 </style> | 389 </style> |
| 384 </template> | 390 </template> |
| 385 </dom-module> | 391 </dom-module> |
| OLD | NEW |