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

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

Issue 1691633002: [MD settings] Language settings layout closer to mocks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 h2 { 10 h2 {
11 color: #9e9e9e; 11 color: #9e9e9e;
12 font-size: 100%; 12 font-size: 100%;
13 font-weight: normal; 13 font-weight: normal;
14 margin-bottom: 20px; 14 margin-bottom: 20px;
15 margin-top: 30px; 15 margin-top: 30px;
16 } 16 }
17 17
18 iron-icon { 18 iron-icon {
19 color: #969696; 19 color: #969696;
20 } 20 }
21 21
22 iron-icon[icon=done] {
23 color: rgb(0, 128, 0);
24 }
25
22 paper-button { 26 paper-button {
23 margin: 0; 27 margin: 0;
24 min-width: auto; 28 min-width: auto;
25 } 29 }
26 30
27 paper-button[toggles][active] { 31 paper-button[toggles][active] {
28 background-color: LightGray; 32 background-color: LightGray;
29 } 33 }
30 34
31 span ~ a { 35 span ~ a {
(...skipping 25 matching lines...) Expand all
57 -webkit-margin-start: 4px; 61 -webkit-margin-start: 4px;
58 } 62 }
59 63
60 .list-frame .secondary { 64 .list-frame .secondary {
61 color: #969696; 65 color: #969696;
62 } 66 }
63 67
64 .list-item { 68 .list-item {
65 @apply(--layout-center); 69 @apply(--layout-center);
66 display: flex; 70 display: flex;
71 min-height: 40px;
67 padding: 0; 72 padding: 0;
68 } 73 }
69 74
70 .list-item > .middle { 75 .list-item > .middle {
71 flex: 1; 76 flex: 1;
72 margin: 8px 12px; 77 margin: 8px 12px;
73 overflow: hidden; 78 overflow: hidden;
74 white-space: nowrap; 79 white-space: nowrap;
75 } 80 }
76 81
77 .list-item > .start { 82 .list-item > .start {
78 flex: 1; 83 flex: 1;
79 overflow: hidden; 84 overflow: hidden;
80 white-space: nowrap; 85 white-space: nowrap;
81 } 86 }
82 87
83 .list-item > paper-icon-item { 88 .list-item > paper-icon-item {
84 padding: 0; 89 padding: 0;
85 } 90 }
86 91
92 /* This button has no ink ripple */
michaelpg 2016/02/11 01:06:44 nit: period. also why is this comment necessary?
dschuyler 2016/02/11 01:30:08 Alan wants some to have ink ripples and others not
michaelpg 2016/02/11 01:34:11 Well, I lean (50.5%) toward removing it. *sigh* I
93 .list-item.list-button {
94 @apply(--layout-center);
95 color: rgb(66, 133, 244);
96 font-weight: 500;
97 padding: 0;
98 text-decoration: none;
99 text-transform: none;
100 }
101
87 .link-button { 102 .link-button {
88 color: rgb(61, 130, 243); 103 color: rgb(61, 130, 243);
89 padding-bottom: 6px; 104 padding-bottom: 6px;
90 padding-left: 0; 105 padding-left: 0;
91 padding-right: 0; 106 padding-right: 0;
92 padding-top: 6px; 107 padding-top: 6px;
93 text-transform: none; 108 text-transform: none;
94 } 109 }
95 110
96 .settings-card { 111 .settings-card {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 padding: 8px; 145 padding: 8px;
131 } 146 }
132 147
133 .vertical-list > div:first-of-type { 148 .vertical-list > div:first-of-type {
134 border-top: none; 149 border-top: none;
135 } 150 }
136 151
137 .vertical-list > div { 152 .vertical-list > div {
138 border-top: 1px solid #e0e0e0; 153 border-top: 1px solid #e0e0e0;
139 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698