refactor: make the whole thing more generic

This commit is contained in:
2024-04-02 16:28:57 +02:00
parent 7b648e1955
commit 651f3ad808
193 changed files with 763 additions and 521 deletions

View File

@@ -0,0 +1,71 @@
window#applauncher .window-content {
@include floating_widget;
entry {
@include button;
padding: $padding;
margin-bottom: $spacing;
label,
image {
color: $fg-color;
}
}
separator {
min-height: 1px;
background-color: $hover;
}
scrolledwindow {
@include scrollable;
min-width: $applauncher-width;
min-height: $applauncher-height;
}
button.app-item {
@include button($flat: true, $reactive: false);
> box {
@include spacing(0.5);
}
transition: $transition;
padding: $padding;
label {
transition: $transition;
&.title {
color: $fg-color;
}
&.description {
color: transparentize($fg-color, 0.3);
}
}
image {
transition: $transition;
}
&:hover,
&:focus {
.title {
color: $accent;
}
image {
-gtk-icon-shadow: 2px 2px $accent;
}
}
&:active {
background-color: transparentize($accent, 0.5);
border-radius: $radii;
box-shadow: inset 0 0 0 $border-width $border-color;
.title {
color: $fg-color;
}
}
}
}