nixos/config/ags/style.scss

109 lines
1.9 KiB
SCSS
Raw Permalink Normal View History

2024-11-15 23:24:58 +04:00
@use "sass:color";
2024-11-16 16:03:01 +04:00
$bg: #222222;
$fg: #ffffff;
2024-11-16 16:03:01 +04:00
$accent: #005577;
2024-11-15 23:24:58 +04:00
$radius: 0px;
window.Bar {
font-family: 'monospace';
border: none;
box-shadow: none;
2024-11-16 16:03:01 +04:00
background-color: $accent;
2024-11-15 23:24:58 +04:00
color: $fg;
font-size: 11pt;
2024-11-16 16:03:01 +04:00
// font-size: 1.1em;
// font-weight: bold;
2024-11-15 23:24:58 +04:00
button {
all: unset;
background-color: transparent;
&:hover label {
background-color: color.adjust($fg, $alpha: -0.84);
border-color: color.adjust($accent, $alpha: -0.8);
}
&:active label {
background-color: color.adjust($fg, $alpha: -0.8)
}
}
label {
padding: 0 8px;
// margin: 2px;
border-radius: $radius;
// border: 1pt solid transparent;
}
2024-11-16 16:03:01 +04:00
.Workspaces {
background-color: $bg;
2024-11-26 15:36:21 +04:00
color: $fg;
2024-11-16 16:03:01 +04:00
}
.right {
background-color: $bg;
}
2024-11-15 23:24:58 +04:00
.Workspaces .focused label {
color: $fg;
background-color: $accent;
}
2024-11-26 15:36:21 +04:00
.Workspaces .inactive label {
opacity: 0.5;
}
2024-11-15 23:24:58 +04:00
.FocusedClient {
color: $accent;
}
.Media .Cover {
min-height: 1.2em;
min-width: 1.2em;
border-radius: $radius;
background-position: center;
background-size: contain;
}
.Battery label {
padding-left: 0;
margin-left: 0;
}
.AudioSlider {
* {
all: unset;
}
icon {
margin-right: .6em;
}
margin: 0 1em;
trough {
background-color: color.adjust($fg, $alpha: -0.8);
border-radius: $radius;
}
highlight {
background-color: $accent;
min-height: .8em;
border-radius: $radius;
}
slider {
background-color: $fg;
border-radius: $radius;
min-height: 1em;
min-width: 1em;
margin: -.2em;
}
}
.TrayIcon {
padding: 0 8px;
}
}