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;
|
Color: #0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
*.MenuItem[hovered] {
|
|
||||||
Color: $ColorDot;
|
|
||||||
}
|
|
||||||
|
|
||||||
*.MenuItem[focused] {
|
*.MenuItem[focused] {
|
||||||
Color: $ColorDot;
|
Color: $ColorDot;
|
||||||
}
|
}
|
||||||
@ -218,10 +214,6 @@ $BorderOuterShadow = #a4afc0 ;
|
|||||||
Border: $BorderTearPad / 3, $BorderTear / 1;
|
Border: $BorderTearPad / 3, $BorderTear / 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
*.TearLine[hovered] {
|
|
||||||
Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
*.TearLine[focused] {
|
*.TearLine[focused] {
|
||||||
Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1;
|
Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1;
|
||||||
}
|
}
|
||||||
|
@ -369,11 +369,6 @@ rules := []style.Rule {
|
|||||||
style.Ru(style.AS (
|
style.Ru(style.AS (
|
||||||
tomo.AttrColor { Color: tomo.ColorAccent },
|
tomo.AttrColor { Color: tomo.ColorAccent },
|
||||||
), tomo.R("", "MenuItem"), "focused"),
|
), tomo.R("", "MenuItem"), "focused"),
|
||||||
|
|
||||||
// *.MenuItem[hovered]
|
|
||||||
style.Ru(style.AS (
|
|
||||||
tomo.AttrColor { Color: tomo.ColorAccent },
|
|
||||||
), tomo.R("", "MenuItem"), "hovered"),
|
|
||||||
|
|
||||||
// *.File
|
// *.File
|
||||||
style.Ru(style.AS (
|
style.Ru(style.AS (
|
||||||
@ -410,16 +405,6 @@ rules := []style.Rule {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
), tomo.R("", "TearLine"), "focused"),
|
), 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
|
// *.Calendar
|
||||||
style.Ru(style.AS (
|
style.Ru(style.AS (
|
||||||
|
Loading…
Reference in New Issue
Block a user