Files
nixconfig/modules/home/wayland/apps/eww/bar/eww.scss
2026-06-13 01:26:40 +02:00

114 lines
1.8 KiB
SCSS

@import 'css/colors';
/* MIXIN */
@mixin border-radius {
border-radius: $border-radius;
}
@mixin border-inactive {
border-width: $border-width;
border-style: solid;
border-color: $base03;
}
@mixin border-active {
border-width: $border-width;
border-style: solid;
border-color: $base04;
}
/* GENERAL */
* {
all: unset;
font-family: "IBM Plex Mono";
transition: 200ms ease;
}
tooltip {
background: $base01;
border: $border-width solid $base04;
border-radius: $border-radius;
label {
font-size: 1rem;
}
}
.icon,
.icon label { font-family: Material Design Icons; }
.icon-text {
padding: 4pt;
font-size: 6pt;
font-weight: 900;
}
/* WORKSPACE COLORS - emitted dynamically by scripts/workspaces as class names */
.grey { color: $base02; }
.red { color: $base0F; }
.orange { color: $base08; }
.green { color: $base0B; }
.blue { color: $base0C; }
/* WINDOW WRAPPER CSS */
.winevent {
background-color: $base01;
color: $base07;
@include border-radius;
@include border-inactive;
}
.winevent:hover {
@include border-active;
}
.wininner {
padding: $gaps-window;
}
.winouter {
margin: $gaps-screen;
}
/* 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;
}
.modevent:hover {
@include border-active;
border-right-style: none;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.modinner {
padding: $gaps-screen 0 $gaps-screen $gaps-window;
}
.modouter {
margin: $gaps-screen 0;
}
/* IMPORTS EXTERNAL */
@import 'css/sys';
@import 'css/net';
@import 'css/clock';
@import 'css/radio';
@import 'css/powermenu';
@import 'css/systray';
/* BAR */
.bar label {
font-size: 1.2rem;
}