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

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

Issue 1766173002: [MD settings] change layout of Custom Font settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with master Created 4 years, 9 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 | « chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js ('k') | 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 <!-- Common styles for Material Design settings. --> 1 <!-- Common styles for Material Design settings. -->
2 <dom-module id="settings-shared"> 2 <dom-module id="settings-shared">
3 <template> 3 <template>
4 <style> 4 <style>
5 :root { 5 :root {
6 --checkbox-margin-start: 2px; 6 --checkbox-margin-start: 2px;
7 --checkbox-size: 16px; 7 --checkbox-size: 16px;
8 --checkbox-spacing: 18px; 8 --checkbox-spacing: 18px;
9 --settings-secondary: { 9 --settings-secondary: {
10 color: var(--paper-grey-500); 10 color: var(--paper-grey-500);
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 @apply(--settings-secondary); 127 @apply(--settings-secondary);
128 } 128 }
129 129
130 .list-item { 130 .list-item {
131 @apply(--layout-center); 131 @apply(--layout-center);
132 display: flex; 132 display: flex;
133 min-height: 40px; 133 min-height: 40px;
134 padding: 0; 134 padding: 0;
135 } 135 }
136 136
137 .list-item.underbar {
138 border-bottom: 1px solid var(--paper-grey-300);
139 }
140
137 .list-item iron-icon { 141 .list-item iron-icon {
138 @apply(--layout-center); 142 @apply(--layout-center);
139 height: 20px; 143 height: 20px;
140 width: 20px; 144 width: 20px;
141 } 145 }
142 146
143 .list-item select { 147 .list-item select {
144 -webkit-margin-start: 4px; 148 -webkit-margin-start: 4px;
145 } 149 }
146 150
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 243
240 .settings-checkbox-spacer { 244 .settings-checkbox-spacer {
241 -webkit-margin-start: calc( 245 -webkit-margin-start: calc(
242 var(--checkbox-margin-start) + 246 var(--checkbox-margin-start) +
243 var(--checkbox-size) + 247 var(--checkbox-size) +
244 var(--checkbox-spacing)); 248 var(--checkbox-spacing));
245 } 249 }
246 </style> 250 </style>
247 </template> 251 </template>
248 </dom-module> 252 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/appearance_page/appearance_fonts_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698