💥 eww(bar/workspaces): fix workspace indicator with a literal script

This commit is contained in:
retrozinndev
2024-12-10 10:41:06 -03:00
parent 75ce9fa8f9
commit cacc59cb8e
41 changed files with 377 additions and 782 deletions
+7 -12
View File
@@ -33,26 +33,21 @@
}
}
.workspaces {
// Styles the literal script for workspace indicators
.workspaces {
padding: 2px 0px;
border-radius: 10px;
& > button {
padding: 0 0;
border-radius: 16px;
margin: 0 2px;
padding: 5px 12px;
background: $color1;
transition: ease-in 80ms;
transition-property: all;
&.active {
padding: 0 22px;
padding: 5px 22px;
background: $foreground;
}
&.default {
padding: 0 12px;
}
}
}
@@ -180,11 +175,11 @@
}
}
.notifications button {
.control-center-toggle button {
padding-left: 12px;
padding-right: 10px;
&.open, &:hover {
background: $color3;
&.open {
background: darken($color: $color3, $amount: 15);
}
}