simplify css

This commit is contained in:
Will McGugan
2022-08-31 09:34:02 +01:00
parent 10ede76b9b
commit 2fa594f0cc

View File

@@ -57,6 +57,7 @@ class Button(Widget, can_focus=True):
background: $panel;
border-bottom: tall $panel-lighten-2;
border-top: tall $panel-darken-2;
tint: $background 30%;
}
/* Primary variant */
@@ -74,10 +75,6 @@ class Button(Widget, can_focus=True):
}
Button.-active {
tint: $background 30%;
}
Button.-primary.-active {
background: $primary;
border-bottom: tall $primary-lighten-3;