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

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

Issue 2169193003: Settings: shared css: add .settings-box.single-column (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/reset_page/reset_page.html ('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 <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 h2 { 8 h2 {
9 align-items: center; 9 align-items: center;
10 display: flex; 10 display: flex;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 display: block; 273 display: block;
274 } 274 }
275 275
276 /* 276 /*
277 * A row with two lines of text. Often the lower line will be .secondary. 277 * A row with two lines of text. Often the lower line will be .secondary.
278 */ 278 */
279 .settings-box.two-line { 279 .settings-box.two-line {
280 min-height: 56px; 280 min-height: 56px;
281 } 281 }
282 282
283 /*
284 * A settings box with a single start-aligned column, generally but not
285 * necessarily used in combination with two-line.
Dan Beam 2016/07/22 23:18:42 nit: I know you're just kind of following the comm
stevenjb 2016/07/22 23:44:42 Acknowledged.
286 */
287 .settings-box.single-column {
288 align-items: flex-start;
289 flex-direction: column;
290 justify-content: center;
291 }
292
283 /* The lower line of text in a .settings-box.two-line. */ 293 /* The lower line of text in a .settings-box.two-line. */
284 .settings-box .secondary { 294 .settings-box .secondary {
285 @apply(--settings-secondary); 295 @apply(--settings-secondary);
286 } 296 }
287 297
288 /* The middle part (horizontally) of a row. */ 298 /* The middle part (horizontally) of a row. */
289 .settings-box .middle { 299 .settings-box .middle {
290 -webkit-margin-start: 16px; 300 -webkit-margin-start: 16px;
291 align-items: center; 301 align-items: center;
292 flex: auto; 302 flex: auto;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 349
340 .favicon-image { 350 .favicon-image {
341 background-repeat: no-repeat; 351 background-repeat: no-repeat;
342 background-size: contain; 352 background-size: contain;
343 height: 16px; 353 height: 16px;
344 width: 16px; 354 width: 16px;
345 } 355 }
346 </style> 356 </style>
347 </template> 357 </template>
348 </dom-module> 358 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/reset_page/reset_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698