92 lines
1.7 KiB
SCSS
92 lines
1.7 KiB
SCSS
// https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/theme/Adwaita/_colors-public.scss
|
|
$fg-color: #{"@theme_fg_color"};
|
|
$bg-color: #{"@theme_bg_color"};
|
|
|
|
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;
|
|
}
|
|
|
|
.workspaces {
|
|
.workspace-btn {
|
|
min-width: 24px;
|
|
min-height: 24px; // Control height exactly here
|
|
padding: 0 4px;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
|
|
&.active {
|
|
background: #{"@theme_selected_bg_color"};
|
|
color: #{"@theme_selected_fg_color"};
|
|
}
|
|
}
|
|
}
|
|
|
|
.clock-btn {
|
|
padding: 0 12px; // Reduced vertical padding
|
|
min-height: 24px;
|
|
}
|
|
|
|
.media-btn {
|
|
padding: 0 8px;
|
|
min-height: 24px;
|
|
|
|
.media-art {
|
|
border-radius: 4px;
|
|
-gtk-icon-size: 32px;
|
|
}
|
|
}
|
|
|
|
.system-tray {
|
|
background: rgba(150, 150, 150, 0.15); // 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;
|
|
|
|
image {
|
|
-gtk-icon-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.controls-container {
|
|
.control-btn {
|
|
padding: 2px 8px;
|
|
min-height: 24px;
|
|
|
|
image {
|
|
-gtk-icon-size: 16px;
|
|
}
|
|
}
|
|
|
|
.power-btn {
|
|
color: #ff5555; // Distinctive color for power button
|
|
}
|
|
}
|
|
}
|