| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 align-items: center; | 153 align-items: center; |
| 154 display: flex; | 154 display: flex; |
| 155 min-height: var(--settings-row-min-height); | 155 min-height: var(--settings-row-min-height); |
| 156 } | 156 } |
| 157 | 157 |
| 158 paper-radio-group { | 158 paper-radio-group { |
| 159 width: 100%; | 159 width: 100%; |
| 160 } | 160 } |
| 161 | 161 |
| 162 .text-elide { | 162 .text-elide { |
| 163 overflow: hidden; | 163 @apply(--settings-text-elide); |
| 164 text-overflow: ellipsis; | |
| 165 white-space: nowrap; | |
| 166 } | 164 } |
| 167 | 165 |
| 168 /** | 166 /** |
| 169 * By default, flexbox children have min-width calculated to be the width | 167 * By default, flexbox children have min-width calculated to be the width |
| 170 * of the content. However, in some cases we might want to allow the | 168 * of the content. However, in some cases we might want to allow the |
| 171 * width to be smaller than the content (i.e. for long text to ellipsis). | 169 * width to be smaller than the content (i.e. for long text to ellipsis). |
| 172 * In such cases this class should be applied. | 170 * In such cases this class should be applied. |
| 173 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=1108514#c5) | 171 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=1108514#c5) |
| 174 */ | 172 */ |
| 175 .no-min-width { | 173 .no-min-width { |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 /* Turns the arrow direction downwards, when the bubble is placed above | 381 /* Turns the arrow direction downwards, when the bubble is placed above |
| 384 * the anchor element */ | 382 * the anchor element */ |
| 385 .search-bubble-innards.above::after { | 383 .search-bubble-innards.above::after { |
| 386 -webkit-transform: rotate(-135deg); | 384 -webkit-transform: rotate(-135deg); |
| 387 bottom: -5px; | 385 bottom: -5px; |
| 388 top: auto; | 386 top: auto; |
| 389 } | 387 } |
| 390 </style> | 388 </style> |
| 391 </template> | 389 </template> |
| 392 </dom-module> | 390 </dom-module> |
| OLD | NEW |