Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2651813002: MD Settings: fix focus outline getting cut off in manage password page (Closed)
Patch Set: update comment format Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 paper-radio-group { 163 paper-radio-group {
164 width: 100%; 164 width: 100%;
165 } 165 }
166 166
167 .text-elide { 167 .text-elide {
168 overflow: hidden; 168 overflow: hidden;
169 text-overflow: ellipsis; 169 text-overflow: ellipsis;
170 white-space: nowrap; 170 white-space: nowrap;
171 } 171 }
172 172
173 /**
174 * By default, flexbox children have min-width calculated to be the width
175 * of the content. However, in some cases we might want to allow the
176 * width to be smaller than the content (i.e. for long text to ellipsis).
177 * In such cases this class should be applied.
178 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=1108514#c5)
179 */
180 .no-min-width {
181 min-width: 0;
182 }
183
173 .button-strip { 184 .button-strip {
174 text-align: end; 185 text-align: end;
175 } 186 }
176 187
177 /* A list-frame is an outer container for list-items. It is intended to be 188 /* A list-frame is an outer container for list-items. It is intended to be
178 * outside of a settings-box. A list-frame is likely to follow a 189 * outside of a settings-box. A list-frame is likely to follow a
179 * settings box. */ 190 * settings box. */
180 .list-frame { 191 .list-frame {
181 @apply(--settings-list-frame-padding); 192 @apply(--settings-list-frame-padding);
182 align-items: center; 193 align-items: center;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 /* Turns the arrow direction downwards, when the bubble is placed above 387 /* Turns the arrow direction downwards, when the bubble is placed above
377 * the anchor element */ 388 * the anchor element */
378 .search-bubble-innards.above::after { 389 .search-bubble-innards.above::after {
379 -webkit-transform: rotate(-135deg); 390 -webkit-transform: rotate(-135deg);
380 bottom: -5px; 391 bottom: -5px;
381 top: auto; 392 top: auto;
382 } 393 }
383 </style> 394 </style>
384 </template> 395 </template>
385 </dom-module> 396 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698