nixos-configs/modules/ags/config/widgets/bar/_index.scss

80 lines
1.9 KiB
SCSS
Raw Normal View History

@use 'sass:color';
@use '../../style/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: color.adjust(colors.$window_bg_color, $lightness: -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: color.adjust(colors.$window_bg_color, $lightness: 3%);
2024-10-16 22:33:15 -04:00
}
2024-12-14 19:36:54 -05:00
&.bluetooth icon,
2024-12-04 00:18:11 -05:00
&.network icon,
2024-12-14 19:36:54 -05:00
&.tablet-mode icon {
2024-11-03 23:35:53 -05:00
min-width: 30px;
}
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
}
}