dotfiles/de/home/.config/eww/style/bar/workspaces.scss
2025-09-01 11:15:01 -07:00

93 lines
2 KiB
SCSS

.profile,
.workspaces {
border: 2px solid $bar-bg-color;
font-weight: bold;
}
.profile {
margin-left: 10px;
border-right: 0px solid transparent;
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
color: $bar-bg-color;
&.profile-development,
&.profile-school,
&.profile-work {
color: $bar-module-fg-color;
}
&.profile-personal {
background-color: transparent;
}
&.profile-development {
background-color: mix($color9, $color12);
border-color: mix($color9, $color12);
}
&.profile-school {
background-color: mix($color5, $color3);
border-color: mix($color5, $color3);
}
&.profile-work {
background-color: mix($color5, $color4, 30%);
border-color: mix($color5, $color4, 30%);
}
}
.workspaces {
// margin: 0px 0px;
box.ws-center,
revealer>box>box>button {
}
box.ws-center {
>box>button {
background-color: $bar-bg-color;
color: $bar-module-fg-color;
border-radius: 0px $bar-module-bg-border-radius $bar-module-bg-border-radius 0px;
}
&.true>box>button {
border-radius: $bar-module-bg-border-radius;
}
}
border-left: 0px solid transparent;
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
revealer {
&>box>box {
color: $bar-bg-color;
}
&.ws-left {
>box>box {
border-left: 2px solid $bar-bg-color;
}
}
&.ws-right {
>box>box {
// color: $bar-bg-color;
&:not(:last-child){
border-right: 2px solid $bar-bg-color;
}
&:last-child {
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
}
}
}
}
button {
min-width: 35px;
padding: 1px 2px;
transition: all 0.3s;
label {
padding: 2px 6px;
margin-right: -10px;
}
.workspace-number {
margin: 0px;
margin-left: -2px;
margin-top: -6px;
padding: 0px;
font-size: 0.6em;
}
&:hover {
text-shadow: $bar-bg-color;
color: darker($bar-bg-color);
}
}
}