mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
style: Implement SelectedItem and SelectedItemText system colors
Since Highlight / HighlightText are now equivalent to the text selection ones, remove those too. Differential Revision: https://phabricator.services.mozilla.com/D123964
This commit is contained in:
parent
43ebf6c82c
commit
e47f35aa50
1 changed files with 4 additions and 6 deletions
|
@ -260,10 +260,6 @@ pub enum SystemColor {
|
||||||
#[css(skip)]
|
#[css(skip)]
|
||||||
TextForeground,
|
TextForeground,
|
||||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||||
TextSelectBackground,
|
|
||||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
|
||||||
TextSelectForeground,
|
|
||||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
|
||||||
TextSelectBackgroundDisabled,
|
TextSelectBackgroundDisabled,
|
||||||
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
#[parse(condition = "ParserContext::in_ua_or_chrome_sheet")]
|
||||||
TextSelectBackgroundAttention,
|
TextSelectBackgroundAttention,
|
||||||
|
@ -355,9 +351,11 @@ pub enum SystemColor {
|
||||||
/// Used for selected but not focused cell text.
|
/// Used for selected but not focused cell text.
|
||||||
MozCellhighlighttext,
|
MozCellhighlighttext,
|
||||||
/// Used for selected but not focused html cell backgrounds.
|
/// Used for selected but not focused html cell backgrounds.
|
||||||
MozHtmlCellhighlight,
|
#[parse(aliases = "-moz-html-cellhighlight")]
|
||||||
|
Selecteditem,
|
||||||
/// Used for selected but not focused html cell text.
|
/// Used for selected but not focused html cell text.
|
||||||
MozHtmlCellhighlighttext,
|
#[parse(aliases = "-moz-html-cellhighlighttext")]
|
||||||
|
Selecteditemtext,
|
||||||
/// Used to button text background when hovered.
|
/// Used to button text background when hovered.
|
||||||
MozButtonhoverface,
|
MozButtonhoverface,
|
||||||
/// Used to button text color when hovered.
|
/// Used to button text color when hovered.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue