[taffybar] Variables everywhere in css

This commit is contained in:
Ivan Malison 2021-08-14 04:29:00 -06:00
parent b119ae96aa
commit 19e84b660b

View File

@ -1,17 +1,7 @@
@import url("gotham.css");
@define-color transparent rgba(0.0, 0.0, 0.0, 0.0);
@define-color white #FFFFFF;
@define-color black #000000;
@define-color taffy-blue #0c7cd5;
@define-color taffy-navy rgb(25, 30, 55);
@define-color taffy-red rgba(255, 65, 81, 1.0);
@define-color taffy-teal #00695C;
@define-color active-window-color @white;
@define-color urgent-window-color @taffy-blue;
@define-color font-color @white;
@define-color menu-background-color @white;
@define-color menu-font-color @black;
@define-color bar-background @taffy-navy;
/* Top level styling */
@ -131,7 +121,7 @@ button {
}
button:checked, button:hover .Contents:hover {
box-shadow: inset 0 -3px @taffy-blue;
box-shadow: inset 0 -3px @accent;
}
/* Menu styling */
@ -140,6 +130,7 @@ button:checked, button:hover .Contents:hover {
the top level .Taffybar selector takes precedence */
.taffy-window menuitem *, menuitem * {
color: @menu-font-color;
text-shadow: none;
}
.taffy-window menuitem, menuitem {
@ -147,7 +138,7 @@ button:checked, button:hover .Contents:hover {
}
.taffy-window menuitem:hover, menuitem:hover {
background-color: @taffy-blue;
background-color: @menu-highlight;
}
.taffy-window menuitem:hover > label, menuitem:hover > label {