Files
birch-dots/.config/waybar/style.css
2026-01-25 12:13:51 +00:00

170 lines
3.6 KiB
CSS

@define-color Buttons #262522;
@define-color Buttonshover #4d4a44;
@define-color Text #A69F92;
/* --- Global Styles --- */
* {
font-family: 'SF Pro Text', 'Inter', 'Segoe UI, NotoSans Nerd Font', sans-serif;
font-size: 14px;
min-height: 25px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
}
/* --- Waybar Container --- */
#waybar {
background: transparent;
color: #c6d0f5;
margin: 0px;
font-weight: 500;
}
/* --- Left Modules (Individual, Fully Rounded Blocks - With Horizontal Spacing & Simple Hover) --- */
#workspaces,
#cpu {
background-color: @Buttons;
padding: 0.3rem 0.7rem;
margin: 5px 0px; /* 5px top/bottom margin, 0px left/right (base for individual control) */
border-radius: 10px; /* These modules are always rounded */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
min-width: 0;
border: none;
/* Transition for background-color and color only */
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
#workspaces {
padding: 0px;
border-radius: 10px;
}
/* Simple Hover effects for individual left modules - BRIGHTER COLOR */
#cpu:hover {
background-color: @Buttonshover; /* Brighter highlight */
}
#workspaces button {
color: @Text;
border-radius: 10px; /* Workspaces buttons are always rounded */
padding: 0.3rem 0.6rem;
background: transparent;
transition: all 0.2s ease-in-out;
border: none;
outline: none;
}
#workspaces button.active {
color: @Text;
background-color: rgba(153, 209, 219, 0.1);
}
#workspaces button:hover {
background: @Buttonshover; /* Reference bright hover color */
color: @Text;
}
/* --- Center Module (Individual, Fully Rounded Block - With Simple Hover) --- */
#clock {
background-color: @Buttons;
padding: 0.3rem 0.7rem;
margin: 5px 0px;
margin-left: 20px;
margin-right: 10px;
border-radius: 10px; /* This module is always rounded */
min-width: 0;
border: none;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
/* Simple Hover effect for clock module - BRIGHTER COLOR */
#clock:hover {
background-color: @Buttonshover; /* Brighter highlight */
}
/* --- Right Modules (Single, Seamless Bar ) --- */
#pulseaudio {
background-color: @Buttons;
padding: 0.3rem 0.7rem;
margin: 5px 0px;
margin-right: 10px;
border-radius: 0;
box-shadow: none;
min-width: 0;
border: none;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
#custom-power:hover,
#pulseaudio:hover {
background-color: @Buttonshover;
}
#cpu {
color: @Text;
}
#clock {
color: @Text;
font-weight: 500;
}
#pulseaudio {
background-color: @Buttons;
color: @Text;
border-radius: 10px;
}
#tray {
background-color: @Buttons;
color: @Text;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
padding: 0.3rem 0.7rem;
margin: 5px 0px;
margin-right: 10px;
}
#battery {
color: @Text;
}
#battery.charging {
color: @Text;
}
#battery.warning:not(.charging) {
color: @Text;
}
#custom-power{
background-color: @Buttons;
color: @Text;
border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
padding: 0.3rem 0.7rem;
margin: 5px 0px;
margin-right: 20px;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
/* --- Tooltip Styles --- */
tooltip {
background-color: #1a1b26;
color: #dddddd;
padding: 5px 12px;
margin: 5px 0px;
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
font-size: 12px;
}