summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/windows/global/menulist.css
blob: c89fc73616c249e2ebd434d362bbc19308e780ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import url("chrome://global/skin/menulist-shared.css");

:host([native]) {
  margin: 2px 4px;
  color: FieldText;
}

@media (prefers-contrast) {
  :host([native]:not([open="true"]):focus) > #label-box {
    background-color: SelectedItem;
    color: SelectedItemText;
  }
}

:host([native]:not([open="true"]):focus-visible) > #label-box {
  outline: var(--default-focusring);
}

:host([native]) :is(image, label) {
  margin-block: -1px;
}

:host([native]) dropmarker {
  margin-inline: 3px -3px;
}