198 lines
3.4 KiB
SCSS
198 lines
3.4 KiB
SCSS
@use "/tmp/ags-colors.scss" as wal;
|
|
|
|
$fg-color: wal.$foreground;
|
|
$bg-color: rgba(wal.$background, 0.8);
|
|
|
|
window.Bar {
|
|
background: transparent;
|
|
color: $fg-color;
|
|
font-weight: bold;
|
|
|
|
> centerbox {
|
|
background: $bg-color;
|
|
border-radius: 10px;
|
|
margin: 4px 8px; // Reduced vertical margin
|
|
padding: 0 12px; // Removed vertical padding
|
|
}
|
|
|
|
.left-box,
|
|
.center-box,
|
|
.right-box {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
button {
|
|
border-radius: 8px;
|
|
margin: 2px;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.workspaces {
|
|
.workspace-btn {
|
|
min-width: 24px;
|
|
min-height: 24px; // Control height exactly here
|
|
padding: 0 4px;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
|
|
&.active {
|
|
background: wal.$color2;
|
|
color: wal.$background;
|
|
}
|
|
|
|
&:hover:not(.active) {
|
|
background: rgba(wal.$color2, 0.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.clock-btn {
|
|
padding: 0 12px; // Reduced vertical padding
|
|
min-height: 24px;
|
|
}
|
|
|
|
.media-btn {
|
|
padding: 0 8px;
|
|
min-height: 24px;
|
|
|
|
&:hover {
|
|
background: rgba(wal.$foreground, 0.1);
|
|
}
|
|
|
|
.media-art {
|
|
border-radius: 4px;
|
|
-gtk-icon-size: 32px;
|
|
}
|
|
}
|
|
|
|
.system-tray {
|
|
background: rgba(wal.$color8, 0.3); // Unified background for the tray
|
|
border-radius: 8px;
|
|
padding: 0 4px; // Reduced vertical padding
|
|
margin: 2px;
|
|
|
|
.tray-item {
|
|
padding: 2px 4px; // Reduced vertical padding
|
|
margin: 0;
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
|
|
&:hover {
|
|
background: rgba(wal.$foreground, 0.1);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
image {
|
|
-gtk-icon-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.control-btn {
|
|
padding: 2px 8px;
|
|
min-height: 24px;
|
|
|
|
&:hover {
|
|
background: rgba(wal.$foreground, 0.1);
|
|
}
|
|
|
|
image {
|
|
-gtk-icon-size: 16px;
|
|
}
|
|
}
|
|
|
|
.controls-container {
|
|
.power-btn {
|
|
color: wal.$color1; // Distinctive color for power button
|
|
}
|
|
}
|
|
}
|
|
|
|
.wallpaper-btn {
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
background: rgba(wal.$foreground, 0.1);
|
|
}
|
|
|
|
picture {
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
|
|
window.PowerMenu {
|
|
background: transparent;
|
|
|
|
.power-menu-container {
|
|
background: $bg-color;
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
|
|
.power-menu-btn {
|
|
padding: 24px;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
min-width: 120px;
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
background: rgba(wal.$foreground, 0.1);
|
|
}
|
|
|
|
.power-menu-icon {
|
|
-gtk-icon-size: 48px;
|
|
}
|
|
|
|
.power-menu-label {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.quick-settings-menu {
|
|
padding: 12px;
|
|
min-width: 280px;
|
|
|
|
.qs-title {
|
|
font-weight: bold;
|
|
font-size: 1.1em;
|
|
margin-bottom: 4px;
|
|
color: wal.$foreground;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.qs-item {
|
|
background: rgba(150, 150, 150, 0.1);
|
|
border-radius: 8px;
|
|
padding: 8px 12px;
|
|
|
|
.qs-icon {
|
|
-gtk-icon-size: 20px;
|
|
}
|
|
|
|
.qs-icon-btn {
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
padding: 4px;
|
|
border-radius: 100%;
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
background: rgba(wal.$foreground, 0.1);
|
|
}
|
|
}
|
|
}
|
|
|
|
slider {
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
}
|