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

Side by Side Diff: chrome/browser/resources/bookmark_manager/css/bmm.css

Issue 2444373003: Adding/renaming a folder in the bookmark manager should not hide the icon. (Closed)
Patch Set: Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 <include src="../search_header.css"> 5 <include src="../search_header.css">
6 6
7 html, 7 html,
8 body { 8 body {
9 cursor: default; 9 cursor: default;
10 height: 100%; 10 height: 100%;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 list .label { 50 list .label {
51 -webkit-padding-start: 0; 51 -webkit-padding-start: 0;
52 align-items: center; 52 align-items: center;
53 display: flex; 53 display: flex;
54 } 54 }
55 55
56 list .label-img-wrapper { 56 list .label-img-wrapper {
57 display: inline-block; /* Makes the image start-align in RTL. */ 57 display: inline-block; /* Makes the image start-align in RTL. */
58 width: 20px; 58 width: 20px;
59 z-index: -1;
Peter Kasting 2016/10/26 01:49:57 Without this, the input field, which has a -webkit
Dan Beam 2016/10/27 03:56:16 Acknowledged.
59 } 60 }
60 61
61 <if expr="not is_macosx and not is_ios"> 62 <if expr="not is_macosx and not is_ios">
62 html[dir=rtl] list > .folder .label-img-wrapper > * { 63 html[dir=rtl] list > .folder .label-img-wrapper > * {
63 transform: scaleX(-1); 64 transform: scaleX(-1);
64 } 65 }
65 </if> 66 </if>
66 67
67 list .label-text { 68 list .label-text {
68 color: black; 69 color: black;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 display: block; 129 display: block;
129 } 130 }
130 131
131 html[dir=rtl] list > * > button { 132 html[dir=rtl] list > * > button {
132 left: 3px; 133 left: 3px;
133 right: auto; 134 right: auto;
134 } 135 }
135 136
136 /* Edit mode */ 137 /* Edit mode */
137 138
138 list [editing] .label input, 139 list [editing] .label-text input,
Peter Kasting 2016/10/26 01:49:57 This change should have no effect, nor should the
Dan Beam 2016/10/27 03:56:16 Acknowledged.
139 list [editing] .url input { 140 list [editing] .url input {
140 -webkit-margin-end: 4px; 141 -webkit-margin-end: 4px;
141 -webkit-margin-start: -4px; 142 -webkit-margin-start: -4px;
142 -webkit-padding-end: 3px; 143 -webkit-padding-end: 3px;
143 -webkit-padding-start: 3px; 144 -webkit-padding-start: 3px;
144 box-sizing: content-box; 145 box-sizing: content-box;
145 font-family: inherit; 146 font-family: inherit;
146 font-size: inherit; 147 font-size: inherit;
147 font-weight: inherit; 148 font-weight: inherit;
148 /* Do not inherit the line-height. */ 149 /* Do not inherit the line-height. */
149 line-height: normal; 150 line-height: normal;
150 margin-bottom: 0; 151 margin-bottom: 0;
151 margin-top: 0; 152 margin-top: 0;
152 min-height: 0; 153 min-height: 0;
153 text-decoration: none; 154 text-decoration: none;
154 vertical-align: baseline; 155 vertical-align: baseline;
155 } 156 }
156 157
157 .tree-item [editing] input { 158 .tree-item [editing] input {
158 line-height: normal; 159 line-height: normal;
159 margin: 0; 160 margin: 0;
160 min-height: 0; 161 min-height: 0;
161 padding: 1px 0; 162 padding: 1px 0;
162 } 163 }
163 164
164 <if expr="is_macosx"> 165 <if expr="is_macosx">
165 list .label input, 166 list .label-text input,
166 list .url input { 167 list .url input {
167 outline: none; 168 outline: none;
168 } 169 }
169 </if> 170 </if>
170 171
171 list > [editing] { 172 list > [editing] {
172 overflow: visible; 173 overflow: visible;
173 } 174 }
174 175
175 list [editing] .label, 176 list [editing] .label-text,
Peter Kasting 2016/10/26 01:49:57 I made this change speculatively. Due to https://
Dan Beam 2016/10/27 03:56:17 ¯\_(ツ)_/¯
Peter Kasting 2016/10/27 06:00:26 :( I'm inclined to rip out the overflow fiddling
Dan Beam 2016/10/27 17:27:55 i mean, i could find out, but this code is basical
176 list [editing] .url, 177 list [editing] .url,
177 list [editing] > * { 178 list [editing] > * {
178 overflow: visible; 179 overflow: visible;
179 } 180 }
180 181
181 list [editing] .url { 182 list [editing] .url {
182 -webkit-padding-start: 5px; 183 -webkit-padding-start: 5px;
183 } 184 }
184 185
185 list [editing] input { 186 list [editing] input {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 383
383 list [editing] input, 384 list [editing] input,
384 .tree-item [editing] input { 385 .tree-item [editing] input {
385 padding: 3px 0; 386 padding: 3px 0;
386 } 387 }
387 388
388 .tree-row .expand-icon { 389 .tree-row .expand-icon {
389 top: 6px; 390 top: 6px;
390 } 391 }
391 } 392 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698