Files
react-native-devtools-frontend/front_end/ui/softDropDownButton.css
T
Erik Luo 8af37bc056 DevTools: give visual signal when console level filter is custom
When the console level dropdown has custom levels, it will have a
background similar to the context selector.

Screenshot: https://imgur.com/a/sKhzAzh

Bug: 801986
Change-Id: Id015fe40ae46986bbf07455b0b5e1f0acd622afa
Reviewed-on: https://chromium-review.googlesource.com/1067854
Commit-Queue: Erik Luo <luoe@chromium.org>
Reviewed-by: Andrey Lushnikov <lushnikov@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#560884}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3b6c2b354d23144798b4f5c4857dc29a04e2fbcf
2018-05-23 01:53:12 +00:00

35 lines
656 B
CSS

/*
* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
:host {
height: 26px;
text-align: left;
position: relative;
border: none;
background: none;
}
:host([disabled]) {
opacity: .5;
}
:host .title {
padding-right: 5px;
width: 120px;
overflow: hidden;
text-overflow: ellipsis;
}
:host([data-keyboard-focus="true"]:focus)::before {
content: "";
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
border-radius: 2px;
background: rgba(0, 0, 0, 0.08);
}