gecko-dev/toolkit/themes/osx/global/menulist.css
Emilio Cobos Álvarez 258205bba5 Bug 1860385 - Clean up menulist styling. r=desktop-theme-reviewers,dao
* Rather than inheriting the native attribute, use :host([native]).
 * Remove unused background-color from native rules (background doesn't
   show because of native appearance).
 * Remove unnecessary !important.
 * Refactor high contrast backgrounds on Windows to avoid !important.
 * Make high contrast on windows not alter sizing.
 * Remove default namespaces. This sheet applies in a shadow tree, so
   there's no random stuff.

Depends on D191561

Differential Revision: https://phabricator.services.mozilla.com/D191562
2023-10-23 16:01:46 +00:00

24 lines
502 B
CSS

/* 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: 5px 2px 3px;
min-height: 20px;
color: -moz-DialogText;
}
:host([native]) #label-box {
margin-bottom: 1px;
}
:host([native]) label {
margin: 1px 3px;
}
:host([native]) dropmarker {
display: none;
}