Update styles in response to new focus method for MenuItem
This commit is contained in:
parent
058b6ba8df
commit
2aea7764d3
@ -198,10 +198,6 @@ $BorderOuterShadow = #a4afc0 ;
|
||||
Color: #0000;
|
||||
}
|
||||
|
||||
*.MenuItem[hovered] {
|
||||
Color: $ColorDot;
|
||||
}
|
||||
|
||||
*.MenuItem[focused] {
|
||||
Color: $ColorDot;
|
||||
}
|
||||
@ -218,10 +214,6 @@ $BorderOuterShadow = #a4afc0 ;
|
||||
Border: $BorderTearPad / 3, $BorderTear / 1;
|
||||
}
|
||||
|
||||
*.TearLine[hovered] {
|
||||
Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1;
|
||||
}
|
||||
|
||||
*.TearLine[focused] {
|
||||
Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1;
|
||||
}
|
||||
|
@ -370,11 +370,6 @@ rules := []style.Rule {
|
||||
tomo.AttrColor { Color: tomo.ColorAccent },
|
||||
), tomo.R("", "MenuItem"), "focused"),
|
||||
|
||||
// *.MenuItem[hovered]
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrColor { Color: tomo.ColorAccent },
|
||||
), tomo.R("", "MenuItem"), "hovered"),
|
||||
|
||||
// *.File
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrColor { Color: color.Transparent },
|
||||
@ -411,16 +406,6 @@ rules := []style.Rule {
|
||||
},
|
||||
), tomo.R("", "TearLine"), "focused"),
|
||||
|
||||
// *.TearLine[hovered]
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrBorder {
|
||||
tomo.Border {
|
||||
Width: tomo.I(3),
|
||||
Color: borderColorFocused,
|
||||
},
|
||||
},
|
||||
), tomo.R("", "TearLine"), "hovered"),
|
||||
|
||||
// *.Calendar
|
||||
style.Ru(style.AS (
|
||||
tomo.AttrBorder {
|
||||
|
Loading…
Reference in New Issue
Block a user