103 lines
1.9 KiB
SCSS
Raw Normal View History

2024-12-27 15:42:51 +03:00
@use "sass:color";
2024-12-28 22:14:11 +03:00
@use "colors.scss" as *;
2024-12-27 15:42:51 +03:00
2024-12-28 22:14:11 +03:00
$radius: 10px;
2025-04-11 19:57:52 +03:00
* {
2024-12-28 22:14:11 +03:00
all: unset;
2025-04-11 19:57:52 +03:00
}
%item {
2024-12-28 22:14:11 +03:00
background: $bg;
border-radius: $radius;
2025-04-11 19:57:52 +03:00
padding: 6px 8px;
2024-12-28 22:14:11 +03:00
2025-04-11 19:57:52 +03:00
& + &, .item + &, & + .item { margin-left: 4px; }
2024-12-28 22:14:11 +03:00
2025-04-11 19:57:52 +03:00
icon + label { margin-left: 4px; }
2024-12-28 22:14:11 +03:00
}
2024-12-27 15:42:51 +03:00
2025-04-11 19:57:52 +03:00
.item + .item { margin-left: 4px; }
2024-12-27 15:42:51 +03:00
window.Bar {
border: none;
box-shadow: none;
2024-12-28 22:14:11 +03:00
background-color: transparent;
2024-12-27 15:42:51 +03:00
color: $fg;
font-size: 1.1em;
font-weight: bold;
2024-12-28 22:14:11 +03:00
.Container {
margin: 10px 10px 0;
2024-12-27 15:42:51 +03:00
}
.Workspaces {
button {
&:hover label {
2024-12-28 22:14:11 +03:00
background: $surface0;
color: $accent;
2024-12-27 15:42:51 +03:00
}
&:active label {
2024-12-28 22:14:11 +03:00
background: $surface0;
color: $accent;
2024-12-27 15:42:51 +03:00
}
}
label {
transition: 200ms;
2024-12-28 22:14:11 +03:00
padding: 0 6px;
2024-12-27 15:42:51 +03:00
margin: 2px;
border-radius: $radius;
border: 1pt solid transparent;
}
.focused label {
2024-12-28 22:14:11 +03:00
background: $accent;
color: $bg;
2024-12-27 15:42:51 +03:00
border-color: $accent;
}
}
2025-01-11 18:55:43 +03:00
.Layout.en { color: $accent; }
2024-12-28 22:14:11 +03:00
.SysTray button {
2025-04-11 19:57:52 +03:00
padding: 4px;
2024-12-28 22:14:11 +03:00
border-radius: inherit;
2024-12-27 15:42:51 +03:00
2024-12-28 22:14:11 +03:00
&:hover {
background: $surface0;
2025-04-11 19:57:52 +03:00
border-radius: 4px;
2024-12-27 15:42:51 +03:00
}
}
2024-12-28 22:14:11 +03:00
.Media {
&.playing {
border: 2pt solid $accent;
}
.Cover {
min-height: 1.2em;
min-width: 1.2em;
border-radius: $radius;
background-position: center;
background-size: contain;
}
2024-12-27 15:42:51 +03:00
}
2025-03-21 00:12:52 +03:00
.Workspaces, .Wifi, .Layout, .Media, .SysTray, .AudioSlider, .Battery, .Time {
2024-12-28 22:14:11 +03:00
@extend %item;
2024-12-27 15:42:51 +03:00
}
2025-04-11 19:57:52 +03:00
.Wifi, .AudioSlider {
&, button {
&:hover { background-color: $surface0; }
&:active {
background-color: $accent;
color: $bg;
}
}
}
2024-12-27 15:42:51 +03:00
}