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

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

Issue 2409003002: [MD settings] flag to enable site settings All sites and Site details pages (Closed)
Patch Set: var name changes Created 4 years, 2 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 button[is='paper-icon-button-light'] { 8 button[is='paper-icon-button-light'] {
9 --paper-icon-button-light-ripple: { 9 --paper-icon-button-light-ripple: {
10 /* Center the ripple on the icon button. */ 10 /* Center the ripple on the icon button. */
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 .settings-box.block { 300 .settings-box.block {
301 display: block; 301 display: block;
302 } 302 }
303 303
304 /* A row with two lines of text. Often the lower line will be .secondary. 304 /* A row with two lines of text. Often the lower line will be .secondary.
305 */ 305 */
306 .two-line { 306 .two-line {
307 min-height: var(--settings-row-two-line-min-height); 307 min-height: var(--settings-row-two-line-min-height);
308 } 308 }
309 309
310 /* 310 /*
Dan Beam 2016/10/12 17:54:05 don't follow this, follow every other comment in t
dschuyler 2016/10/13 01:23:07 Done.
311 * A single start-aligned column, generally but not necessarily used in 311 * A single start-aligned column, generally but not necessarily used in
312 * combination with two-line. 312 * combination with two-line.
313 */ 313 */
314 .single-column { 314 .single-column {
315 align-items: flex-start; 315 align-items: flex-start;
316 flex-direction: column; 316 flex-direction: column;
317 justify-content: center; 317 justify-content: center;
318 } 318 }
319 319
320 /*
321 * A settings-box with no height other than the seprator line.
322 */
323 .settings-box.line-only {
324 min-height: 0;
325 }
326
320 /* The lower line of text in a two-line row. */ 327 /* The lower line of text in a two-line row. */
321 .secondary { 328 .secondary {
322 @apply(--settings-secondary); 329 @apply(--settings-secondary);
323 } 330 }
324 331
325 /* The middle part (horizontally) of a row. */ 332 /* The middle part (horizontally) of a row. */
326 .settings-box .middle { 333 .settings-box .middle {
327 -webkit-padding-start: 16px; 334 -webkit-padding-start: 16px;
328 align-items: center; 335 align-items: center;
329 flex: auto; 336 flex: auto;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 /* Turns the arrow direction downwards, when the bubble is placed above 426 /* Turns the arrow direction downwards, when the bubble is placed above
420 * the anchor element */ 427 * the anchor element */
421 .search-bubble-innards.above::after { 428 .search-bubble-innards.above::after {
422 -webkit-transform: rotate(-135deg); 429 -webkit-transform: rotate(-135deg);
423 bottom: -5px; 430 bottom: -5px;
424 top: auto; 431 top: auto;
425 } 432 }
426 </style> 433 </style>
427 </template> 434 </template>
428 </dom-module> 435 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698