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

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

Issue 1652553002: [MD settings] adjusting heights of settings rows; removing two .css files; unifying settings layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with master 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
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('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 /* 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 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 margin-top: 25px; 43 margin-top: 25px;
44 } 44 }
45 45
46 .button-strip { 46 .button-strip {
47 text-align: end; 47 text-align: end;
48 } 48 }
49 49
50 .list-frame { 50 .list-frame {
51 @apply(--layout-center); 51 @apply(--layout-center);
52 display: block; 52 display: block;
53 margin-left: 48px; 53 padding: 0 20px 0 48px;
54 padding: 0;
55 } 54 }
56 55
57 .list-frame select { 56 .list-frame select {
58 -webkit-margin-start: 4px; 57 -webkit-margin-start: 4px;
59 } 58 }
60 59
60 .list-frame .secondary {
61 color: #969696;
62 }
63
61 .list-item { 64 .list-item {
62 @apply(--layout-center); 65 @apply(--layout-center);
63 display: flex; 66 display: flex;
64 padding: 0; 67 padding: 0;
65 } 68 }
66 69
67 .list-item .middle { 70 .list-item > .middle {
68 flex: 1; 71 flex: 1;
69 margin: 8px 12px; 72 margin: 8px 12px;
70 overflow: hidden; 73 overflow: hidden;
71 white-space: nowrap; 74 white-space: nowrap;
72 } 75 }
73 76
74 .list-item .secondary { 77 .list-item > .start {
75 color: #969696; 78 flex: 1;
79 overflow: hidden;
80 white-space: nowrap;
76 } 81 }
77 82
78 .list-item > paper-icon-item { 83 .list-item > paper-icon-item {
79 padding: 0; 84 padding: 0;
80 } 85 }
81 86
82 .link-button { 87 .link-button {
83 color: rgb(61, 130, 243); 88 color: rgb(61, 130, 243);
84 padding-bottom: 6px; 89 padding-bottom: 6px;
85 padding-left: 0; 90 padding-left: 0;
86 padding-right: 0; 91 padding-right: 0;
87 padding-top: 6px; 92 padding-top: 6px;
88 text-transform: none; 93 text-transform: none;
89 } 94 }
90 95
91 .settings-box { 96 .settings-box {
92 @apply(--layout-center); 97 @apply(--layout-center);
93 border-top: 1px solid #e0e0e0; 98 border-top: 1px solid #e0e0e0;
94 display: block; 99 display: flex;
95 min-height: 40px; 100 min-height: 40px;
96 padding: 8px 16px; 101 padding: 0 20px;
97 } 102 }
98 103
99 .settings-box.first { 104 .settings-box.first {
100 border-top: none; 105 border-top: none;
101 } 106 }
102 107
103 .settings-box.row { 108 .settings-box.block {
104 display: flex; 109 display: block;
105 } 110 }
106 111
107 .settings-box.two-line { 112 .settings-box.two-line {
108 min-height: 52px; 113 min-height: 52px;
109 } 114 }
110 115
111 .settings-box .secondary { 116 .settings-box .secondary {
112 color: #969696; 117 color: #969696;
113 } 118 }
114 119
115 .split { 120 .settings-box .start {
116 display: flex;
117 }
118
119 .split .start {
120 flex: auto; 121 flex: auto;
121 } 122 }
122 123
123 .settings-box paper-item iron-icon { 124 .settings-box paper-item iron-icon {
124 /* Same padding as paper-icon-button. */ 125 /* Same padding as paper-icon-button. */
125 padding: 8px; 126 padding: 8px;
126 } 127 }
127 128
128 .vertical-list > div:first-of-type { 129 .vertical-list > div:first-of-type {
129 border-top: none; 130 border-top: none;
130 } 131 }
131 132
132 .vertical-list > div { 133 .vertical-list > div {
133 border-top: 1px solid #e0e0e0; 134 border-top: 1px solid #e0e0e0;
134 } 135 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698