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;
|
|
|
|
|
|
|
|
%item {
|
|
|
|
all: unset;
|
|
|
|
background: $bg;
|
|
|
|
border-radius: $radius;
|
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
& + &, .item + & { margin-left: 4px; }
|
|
|
|
|
|
|
|
label { margin: 0 8px; }
|
|
|
|
}
|
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 {
|
|
|
|
all: unset;
|
|
|
|
|
|
|
|
&: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 {
|
|
|
|
all: unset;
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: inherit;
|
2024-12-27 15:42:51 +03:00
|
|
|
|
2024-12-28 22:14:11 +03:00
|
|
|
&:hover {
|
|
|
|
background: $surface0;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.Battery label {
|
|
|
|
padding-left: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2024-12-28 22:14:11 +03:00
|
|
|
.Time { padding: 0 8px; }
|
2024-12-27 15:42:51 +03:00
|
|
|
|
2024-12-28 22:14:11 +03:00
|
|
|
.AudioSlider icon { margin-left: 8px; }
|
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
|
|
|
}
|
|
|
|
}
|