CSS cleanup

This commit is contained in:
soraefir
2026-06-13 10:56:25 +02:00
parent ce804942a9
commit da76e6c12a
9 changed files with 202 additions and 241 deletions

View File

@@ -18,6 +18,47 @@
border-color: $base04;
}
@mixin background-base {
background-color: $base01;
}
@mixin background-base2 {
background-color: $base02;
}
@mixin background-active {
background-color: $base04;
}
@mixin background-accent {
background-color: $base0C;
}
@mixin color-base {
color: $base07;
}
@mixin color-inactive {
color: $base02;
}
@mixin color-active {
color: $base04;
}
@mixin color-accent {
color: $base0C;
}
@mixin color-body {
color: $base05;
}
@mixin panel-base {
@include border-radius;
@include border-inactive;
@include background-base;
@include color-base;
}
@mixin mod-edge {
border-right-style: none;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
/* GENERAL */
* {
@@ -27,9 +68,9 @@
}
tooltip {
background: $base01;
border: $border-width solid $base04;
border-radius: $border-radius;
@include border-active;
@include border-radius;
@include background-base;
label {
font-size: 1rem;
@@ -55,10 +96,7 @@ tooltip {
/* WINDOW WRAPPER CSS */
.winevent {
background-color: $base01;
color: $base07;
@include border-radius;
@include border-inactive;
@include panel-base;
}
.winevent:hover {
@include border-active;
@@ -74,19 +112,12 @@ tooltip {
/* MODULE WRAPPER CSS */
.modevent {
background-color: $base01;
color: $base07;
@include border-radius;
@include border-inactive;
border-right-style: none;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
@include panel-base;
@include mod-edge;
}
.modevent:hover {
@include border-active;
border-right-style: none;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
@include mod-edge;
}
.modinner {