nixos-configs/nixosModules/ags-v2/config/widgets/bar/_index.scss

73 lines
1.8 KiB
SCSS
Raw Normal View History

@use '../../style/colors' as colors;
2024-09-27 12:37:14 -04:00
.bar {
2024-10-28 14:45:10 -04:00
margin-left: 5px;
margin-right: 15px;
2024-10-12 04:03:22 -04:00
margin-bottom: 13px;
2024-09-27 12:37:14 -04:00
.bar-item {
2024-09-27 16:35:32 -04:00
padding: 5px 10px 5px 10px;
2024-09-27 12:37:14 -04:00
border-radius: 7px;
background-color: darken(colors.$window_bg_color, 3%);
2024-09-27 12:37:14 -04:00
font-size: 20px;
min-height: 35px;
2024-09-27 12:37:14 -04:00
2024-10-16 22:33:15 -04:00
transition: background-color 300ms;
&:hover {
background-color: lighten(colors.$window_bg_color, 3%);
2024-10-16 22:33:15 -04:00
}
2024-10-12 04:03:22 -04:00
&.battery icon {
2024-09-27 12:37:14 -04:00
&.charging {
color: green;
}
&.low {
color: red;
}
}
.workspaces {
.button {
margin: 0 2.5px;
min-height: 22px;
min-width: 22px;
border-radius: 100%;
border: 2px solid transparent;
}
.occupied {
border: 2px solid colors.$window_bg_color;
background: colors.$accent_color;
2024-10-21 04:04:41 -04:00
transition: background-color 0.3s ease-in-out;
}
.urgent {
border: 2px solid colors.$window_bg_color;
background: red;
2024-10-21 04:04:41 -04:00
transition: background-color 0.3s ease-in-out;
}
.active {
border: 2px solid #50fa7b;
2024-10-21 04:04:41 -04:00
transition: margin-left 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
}
2024-10-12 04:03:22 -04:00
&.system-tray {
.tray-item {
all: unset;
font-size: 30px;
min-width: 36px;
border-radius: 100%;
transition: background-color 300ms;
&:hover {
background: colors.$window_bg_color;
2024-10-12 04:03:22 -04:00
}
}
}
2024-09-27 12:37:14 -04:00
}
}