Revert Bug 1963446 - Unify button.css between Linux and Windows. r=desktop-theme-reviewers,dao

This reverts commit e35ce6ba6f.

This reverts commit cb24a82ae3.

This reverts commit 5cf47a8af2.

This reverts commit dc8cd0b077.

This reverts commit 00d023c923.
This commit is contained in:
Serban Stanca
2025-05-01 19:19:24 +03:00
committed by sstanca@mozilla.com
parent e6871be33e
commit 9b69fc90a0
14 changed files with 1030 additions and 71 deletions

View File

@@ -1498,6 +1498,18 @@ pub enum Appearance {
Textfield,
/// The dropdown button(s) that open up a dropdown list.
MenulistButton,
/// Various arrows that go in buttons
#[parse(condition = "ParserContext::chrome_rules_enabled")]
ButtonArrowDown,
#[parse(condition = "ParserContext::chrome_rules_enabled")]
ButtonArrowNext,
#[parse(condition = "ParserContext::chrome_rules_enabled")]
ButtonArrowPrevious,
#[parse(condition = "ParserContext::chrome_rules_enabled")]
ButtonArrowUp,
/// A dual toolbar button (e.g., a Back button with a dropdown)
#[parse(condition = "ParserContext::chrome_rules_enabled")]
Dualbutton,
/// Menu Popup background.
#[parse(condition = "ParserContext::chrome_rules_enabled")]
Menupopup,
@@ -1572,6 +1584,9 @@ pub enum Appearance {
/// A single toolbar button (with no associated dropdown).
#[parse(condition = "ParserContext::chrome_rules_enabled")]
Toolbarbutton,
/// The dropdown portion of a toolbar button
#[parse(condition = "ParserContext::chrome_rules_enabled")]
ToolbarbuttonDropdown,
/// A tooltip.
#[parse(condition = "ParserContext::chrome_rules_enabled")]
Tooltip,