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

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

Issue 2094813002: MD Settings: make custom UIs look "actionable" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dpapad@ review Created 4 years, 6 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_root_css.html"> 2 <link rel="import" href="/settings_root_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 h2 { 8 h2 {
9 align-items: center; 9 align-items: center;
10 display: flex; 10 display: flex;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 display: block; 223 display: block;
224 } 224 }
225 225
226 /* 226 /*
227 * A row with two lines of text. Often the lower line will be .secondary. 227 * A row with two lines of text. Often the lower line will be .secondary.
228 */ 228 */
229 .settings-box.two-line { 229 .settings-box.two-line {
230 min-height: 56px; 230 min-height: 56px;
231 } 231 }
232 232
233 [actionable] {
234 @apply(--settings-actionable);
235 }
236
233 /* The lower line of text in a .settings-box.two-line. */ 237 /* The lower line of text in a .settings-box.two-line. */
234 .settings-box .secondary { 238 .settings-box .secondary {
235 @apply(--settings-secondary); 239 @apply(--settings-secondary);
236 } 240 }
237 241
238 /* The middle part (horizontally) of a row. */ 242 /* The middle part (horizontally) of a row. */
239 .settings-box .middle { 243 .settings-box .middle {
240 -webkit-margin-start: 16px; 244 -webkit-margin-start: 16px;
241 align-items: center; 245 align-items: center;
242 flex: auto; 246 flex: auto;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 293
290 .favicon-image { 294 .favicon-image {
291 background-repeat: no-repeat; 295 background-repeat: no-repeat;
292 background-size: contain; 296 background-size: contain;
293 height: 16px; 297 height: 16px;
294 width: 16px; 298 width: 16px;
295 } 299 }
296 </style> 300 </style>
297 </template> 301 </template>
298 </dom-module> 302 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698