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

Side by Side Diff: chrome/browser/resources/settings/settings_shared.css

Issue 1576253002: [MD settings] OnStartup settings layout closer to mocks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Common styles for Material Design settings. 7 * Common styles for Material Design settings.
8 */ 8 */
9 9
10 paper-button { 10 paper-button {
11 margin: 0; 11 margin: 0;
12 min-width: auto; 12 min-width: auto;
13 } 13 }
14 14
15 paper-button[toggles][active] { 15 paper-button[toggles][active] {
16 background-color: LightGray; 16 background-color: LightGray;
17 } 17 }
18 18
19 .text-elide {
20 overflow: hidden;
21 text-overflow: ellipsis;
22 white-space: nowrap;
23 }
24
19 h2 { 25 h2 {
20 color: #9e9e9e; 26 color: #9e9e9e;
21 font-size: 100%; 27 font-size: 100%;
22 font-weight: normal; 28 font-weight: normal;
23 margin-bottom: 20px; 29 margin-bottom: 20px;
24 margin-top: 30px; 30 margin-top: 30px;
25 } 31 }
26 32
27 .button-row { 33 .button-row {
28 display: flex; 34 display: flex;
29 margin-top: 25px; 35 margin-top: 25px;
30 } 36 }
31 37
32 .button-strip { 38 .button-strip {
33 text-align: end; 39 text-align: end;
34 } 40 }
35 41
36 .list-frame { 42 .list-frame {
37 @apply(--layout-center); 43 @apply(--layout-center);
38 display: block; 44 display: block;
39 margin-left: 48px; 45 margin-left: 48px;
40 padding: 0; 46 padding: 0;
41 } 47 }
42 48
43 .list-item { 49 .list-item {
44 @apply(--layout-center); 50 @apply(--layout-center);
45 border-top: 1px solid #e0e0e0; 51 border-top: 1px solid #e0e0e0;
46 display: block; 52 display: flex;
47 padding: 0; 53 padding: 0;
48 } 54 }
49 55
50 .list-item:first-of-type { 56 .list-item:first-of-type {
51 border-top: none; 57 border-top: none;
52 } 58 }
53 59
60 .list-item .middle {
61 flex: 1;
62 margin-bottom: 8px;
63 margin-left: 12px;
64 margin-right: 12px;
65 margin-top: 8px;
dpapad 2016/01/12 00:43:47 Nit: You can use shortened syntax for the 4 margin
dschuyler 2016/01/12 19:49:37 Done.
66 overflow: hidden;
67 white-space: nowrap;
68 }
69
70 .list-item .secondary {
71 color: #969696;
72 }
73
54 .list-item > paper-icon-item { 74 .list-item > paper-icon-item {
55 padding: 0; 75 padding: 0;
56 } 76 }
57 77
58 .link-button { 78 .link-button {
59 color: rgb(61, 130, 243); 79 color: rgb(61, 130, 243);
60 padding-bottom: 6px; 80 padding-bottom: 6px;
61 padding-left: 0; 81 padding-left: 0;
62 padding-right: 0; 82 padding-right: 0;
63 padding-top: 6px; 83 padding-top: 6px;
(...skipping 17 matching lines...) Expand all
81 } 101 }
82 102
83 .split .start { 103 .split .start {
84 flex: auto; 104 flex: auto;
85 } 105 }
86 106
87 .settings-box paper-item iron-icon { 107 .settings-box paper-item iron-icon {
88 /* Same padding as paper-icon-button. */ 108 /* Same padding as paper-icon-button. */
89 padding: 8px; 109 padding: 8px;
90 } 110 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698