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

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

Issue 2741863002: DevTools: Focus background in Toolbars (Closed)
Patch Set: raf Created 3 years, 9 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 /* 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 position: absolute; 262 position: absolute;
263 background-color: #5a5a5a; 263 background-color: #5a5a5a;
264 top: 0; 264 top: 0;
265 left: 0; 265 left: 0;
266 } 266 }
267 267
268 .toolbar-button.emulate-active { 268 .toolbar-button.emulate-active {
269 background-color: rgb(163, 163, 163); 269 background-color: rgb(163, 163, 163);
270 } 270 }
271 271
272 :host-context(.keyboard-focus) .toolbar-button:focus::after,
pfeldman 2017/03/28 17:48:04 host-context is for theming only, that's rather so
273 :host-context(.keyboard-focus) .focused:not(.toolbar-input)::after{
274 position:absolute;
275 top: 2px;
276 bottom: 2px;
277 left: 2px;
278 right: 2px;
279 background-color: rgba(0, 0, 0, 0.08);
280 border-radius: 2px;
281 content: "";
282 }
283
284 :host-context(.keyboard-focus) .focused:not(.toolbar-input)::after{
285 left: 0px;
286 right: -2px;
287 }
288
272 .toolbar-shadow.floating { 289 .toolbar-shadow.floating {
273 flex-direction: column; 290 flex-direction: column;
274 height: auto; 291 height: auto;
275 background-color: white; 292 background-color: white;
276 border: 1px solid #ccc; 293 border: 1px solid #ccc;
277 margin-top: -1px; 294 margin-top: -1px;
278 width: 28px; 295 width: 28px;
279 left: -2px; 296 left: -2px;
280 } 297 }
281 298
282 span.toolbar-select-container.toolbar-item.warning { 299 span.toolbar-select-container.toolbar-item.warning {
283 background: #ffd7d7; 300 background: #ffd7d7;
284 padding: 0 5px 0 0; 301 padding: 0 5px 0 0;
285 margin-right: 1px; 302 margin-right: 1px;
286 } 303 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698