/*
 * 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.
 */

button.soft-dropdown {
  height: 26px;
  text-align: left;
  position: relative;
  border: none;
  background: none;
}

button.soft-dropdown[disabled] {
  opacity: 50%;
}

button.soft-dropdown > .title {
  padding-right: 5px;
  flex: 0 1 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.soft-dropdown:focus-visible::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: 2px;
  background: var(--divider-line);
}

@media (forced-colors: active) {
  button.soft-dropdown {
    border: 1px solid ButtonText;
  }

  button.soft-dropdown[disabled] {
    opacity: 100%;
  }

  button.soft-dropdown:disabled > .smallicon-triangle-down {
    background-color: GrayText;
  }
}

/*
 * 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.
 */

button.soft-dropdown {
  height: 26px;
  text-align: left;
  position: relative;
  border: none;
  background: none;
}

button.soft-dropdown[disabled] {
  opacity: 50%;
}

button.soft-dropdown > .title {
  padding-right: 5px;
  flex: 0 1 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (forced-colors: active) {
  button.soft-dropdown {
    border: 1px solid ButtonText;
  }

  button.soft-dropdown[disabled] {
    opacity: 100%;
  }

  button.soft-dropdown:disabled > .smallicon-triangle-down {
    background-color: GrayText;
  }
}

Fix background color for console context dropdown
Fix background color for console context dropdown

The CSS rule button.soft-dropdown:focus-visible::before
is redundant to .toolbar-item.highlight::before. Removing it
fixes issue 1264372 and does not affect other use sites of
SoftDropDown.

R=75d1eae50692fe1e75f263dbfd52feffc9e7984f@chromium.org

Fixed:1264372
Change-Id: I8939258d4f3b705638593270c0951abcdf048142
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3252951
Reviewed-by: Nancy Li <75d1eae50692fe1e75f263dbfd52feffc9e7984f@chromium.org>
Commit-Queue: Yang Guo <1cf0af8245a3a17a632a2c73531392b0f9761c76@chromium.org>
