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

103 lines
2.3 KiB
SCSS

.profile,
.workspaces {
border: 2px solid $bar-bg-color;
font-weight: bold;
}
.profile {
margin-left: 10px;
// font-size: 0.95em;
border-right: 0px solid transparent;
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
color: $bar-bg-color;
.profile-personal {
}
&.profile-development,
&.profile-school,
&.profile-work {
color: $bar-module-fg-color;
}
&.profile-personal {
$profile-color: transparent;
}
&.profile-development {
$profile-color: mix($color9, $color12);
}
background-color: $profile-color;
/* &.profile-personal {
background-color: transparent;
color: $bar-bg-color;
border-color: $bar-bg-color;
}
&.profile-development {
color: $color0;
background-color: mix($color9, $color12);
border-color: mix($color9, $color12);
}
&.profile-school {
color: $color0;
background-color: mix($color5, $color3);
border-color: mix($color5, $color3);
}
&.profile-work {
color: $color0;
background-color: mix($color5, $color4, 30%);
border-color: mix($color5, $color4, 30%);
}*/
}
.workspaces {
margin: 0px 0px;
box.ws-center {
>box>button {
background-color: $bar-bg-color;
color: $bar-module-fg-color;
border-radius: 0px $bar-module-border-radius - 3 $bar-module-border-radius - 3 0px;
}
&.true>box>button {
border-radius: $bar-module-border-radius - 3;
}
}
// border: 2px solid $bar-bg-color;
border-left: 0px solid transparent;
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
revealer {
&.ws-left {
>box>box {
color: $bar-bg-color;
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);
}
}
}