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

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

Issue 2864483006: [MD settings] prevent paper-buttons from shrinking (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 :host-context([dir=rtl]) button[is='paper-icon-button-light'] { 8 :host-context([dir=rtl]) button[is='paper-icon-button-light'] {
9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ 9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
10 } 10 }
(...skipping 18 matching lines...) Expand all
29 iron-icon { 29 iron-icon {
30 flex-shrink: 0; /* Prevent distortion of icons in cramped UI. */ 30 flex-shrink: 0; /* Prevent distortion of icons in cramped UI. */
31 } 31 }
32 32
33 iron-icon[icon='cr:check'], 33 iron-icon[icon='cr:check'],
34 iron-icon[icon='settings:done'] { 34 iron-icon[icon='settings:done'] {
35 --iron-icon-fill-color: var(--google-green-500); 35 --iron-icon-fill-color: var(--google-green-500);
36 } 36 }
37 37
38 paper-button { 38 paper-button {
39 flex-shrink: 0;
39 height: 36px; 40 height: 36px;
40 margin: 0; 41 margin: 0;
41 } 42 }
42 43
43 paper-button[toggles][active] { 44 paper-button[toggles][active] {
44 background-color: var(--paper-grey-300); 45 background-color: var(--paper-grey-300);
45 } 46 }
46 47
47 paper-toggle-button { 48 paper-toggle-button {
48 @apply(--settings-actionable); 49 @apply(--settings-actionable);
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 transform: rotate(-135deg); 393 transform: rotate(-135deg);
393 } 394 }
394 395
395 .column-header { 396 .column-header {
396 color: var(--paper-grey-600); 397 color: var(--paper-grey-600);
397 font-weight: 500; 398 font-weight: 500;
398 } 399 }
399 </style> 400 </style>
400 </template> 401 </template>
401 </dom-module> 402 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698