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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/toolbar.css

Issue 2681183003: [DevTools] Hide clear button for empty fields (Closed)
Patch Set: [DevTools] Hide clear button for empty fields Created 3 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 | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('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 /* 1 /*
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 :host { 7 :host {
8 flex: none; 8 flex: none;
9 padding: 0 2px; 9 padding: 0 2px;
10 } 10 }
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 opacity: 0.7; 223 opacity: 0.7;
224 flex-basis: 13px; 224 flex-basis: 13px;
225 flex-shrink: 0; 225 flex-shrink: 0;
226 height: 13px; 226 height: 13px;
227 } 227 }
228 228
229 .toolbar-input-clear-button:hover { 229 .toolbar-input-clear-button:hover {
230 opacity: 1; 230 opacity: 1;
231 } 231 }
232 232
233 .toolbar-input-empty .toolbar-input-clear-button {
234 display: none;
235 }
236
233 /* Separator */ 237 /* Separator */
234 238
235 .toolbar-divider { 239 .toolbar-divider {
236 background-color: #ccc; 240 background-color: #ccc;
237 width: 1px; 241 width: 1px;
238 margin: 5px 4px; 242 margin: 5px 4px;
239 height: 16px; 243 height: 16px;
240 } 244 }
241 245
242 .toolbar-spacer { 246 .toolbar-spacer {
(...skipping 21 matching lines...) Expand all
264 margin-top: -1px; 268 margin-top: -1px;
265 width: 28px; 269 width: 28px;
266 left: -2px; 270 left: -2px;
267 } 271 }
268 272
269 span.toolbar-select-container.toolbar-item.warning { 273 span.toolbar-select-container.toolbar-item.warning {
270 background: #ffd7d7; 274 background: #ffd7d7;
271 padding: 0 5px 0 0; 275 padding: 0 5px 0 0;
272 margin-right: 1px; 276 margin-right: 1px;
273 } 277 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698