/* Copyright 2026 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #import=chrome://resources/cr_elements/cr_icons_lit.css.js
 * #import=chrome://resources/cr_elements/cr_shared_vars.css.js
 * #import=chrome://resources/cr_elements/mwb_shared_vars.css.js
 * #scheme=relative
 * #include=cr-icons-lit
 * #css_wrapper_metadata_end */

.dropdown-item {
  display: flex;
  align-items: center;
  color: var(--toolbar-text-color);
}

.dropdown-item[disabled] {
  color: var(--cr-fallback-color-disabled-foreground);
}

cr-action-menu {
  --cr-menu-border-radius: 16px;
  --cr-menu-background-color: var(--toolbar-menu-background-color);
}

cr-action-menu::part(dialog) {
  max-height: none;
}

cr-action-menu > button {
  padding-block: 4px;
  padding-inline-start: 16px;
  min-width: 230px;
}

button > cr-icon {
  --iron-icon-fill-color: var(--toolbar-menu-icon-color);
  width: 20px;
  height: 20px;
}

.dropdown-item cr-icon {
  margin-inline-end: 10px;
}

.dropdown-divider {
  background-color: var(--toolbar-divider-color);
  height: 1px;
  width: 100%;
  margin-block: 8px;
}
