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

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

Issue 2668163002: MD Settings: Fix styles in several places. (Closed)
Patch Set: remove rule-line on spell check page Created 3 years, 10 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 display: flex; 331 display: flex;
332 flex-shrink: 0; 332 flex-shrink: 0;
333 height: var(--settings-row-min-height); 333 height: var(--settings-row-min-height);
334 } 334 }
335 335
336 .settings-box paper-item iron-icon { 336 .settings-box paper-item iron-icon {
337 padding: var(--cr-icon-padding); 337 padding: var(--cr-icon-padding);
338 } 338 }
339 339
340 /* Helper for a list frame to automatically avoid the separator line. */ 340 /* Helper for a list frame to automatically avoid the separator line. */
341 .vertical-list > *:not(:first-of-type) { 341 .vertical-list > .list-item:not(:first-child) {
dschuyler 2017/02/01 23:06:23 I searched around to see if we use .list-item in a
scottchen 2017/02/02 01:17:14 I don't actually need to change this, just thought
342 border-top: var(--settings-separator-line); 342 border-top: var(--settings-separator-line);
343 } 343 }
344 344
345 .settings-checkbox-spacer { 345 .settings-checkbox-spacer {
346 -webkit-margin-start: calc( 346 -webkit-margin-start: calc(
347 var(--checkbox-margin-start) + 347 var(--checkbox-margin-start) +
348 var(--checkbox-size) + 348 var(--checkbox-size) +
349 var(--checkbox-spacing)); 349 var(--checkbox-spacing));
350 } 350 }
351 351
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 /* Turns the arrow direction downwards, when the bubble is placed above 386 /* Turns the arrow direction downwards, when the bubble is placed above
387 * the anchor element */ 387 * the anchor element */
388 .search-bubble-innards.above::after { 388 .search-bubble-innards.above::after {
389 -webkit-transform: rotate(-135deg); 389 -webkit-transform: rotate(-135deg);
390 bottom: -5px; 390 bottom: -5px;
391 top: auto; 391 top: auto;
392 } 392 }
393 </style> 393 </style>
394 </template> 394 </template>
395 </dom-module> 395 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698