Files
Modus/styles/panel.css
T
sankalp 2c1ec69023 feat(styles): restructure UI styles and add main composition
New Features
- Added styles/main.css aggregating imports and global defaults
- Renamed battery.css → battery-widget.css for widget-specific styling

Enhancements
- Added smooth transitions and hover effects in panel.css
- Improved OSD styling with rounded corners, translucent background, and better spacing
- Updated button margins, paddings, and border‑radius for consistency

Bug Fixes
- Fixed missing border‑radius and spacing in panel buttons
- Corrected workspace button active/urgent styling
2026-02-26 06:54:41 +05:45

68 lines
1013 B
CSS

#panel {
background-color: @bg;
margin: -4px 0;
transition: all 120ms ease-in-out;
}
#modules-left,
#modules-right {
margin: 0 5px;
padding: 2px 0;
}
#panel-button:hover,
#battery-button:hover,
#network-button:hover,
#bt-button:hover,
#tray-button:hover,
#global-menu:hover,
#workspaces>button:hover {
background-color: @hover;
}
#panel-button,
#battery-button,
#network-button,
#bt-button,
#tray-button {
margin: 5px 0;
padding: 0 2px;
border-radius: 8px;
}
#menubar label,
#battery-label,
#date-time {
font-weight: 500;
}
#global-menu {
margin: 5px 2px;
padding: 0 5px;
border-radius: 5px;
}
#date-time {
margin: 0 4px;
}
#workspaces>button {
margin: 6px 0;
padding: 0 16px;
border-radius: 8px;
min-width: 12px;
border: 1px solid @border;
}
#workspaces>button.active {
background-color: @active;
}
#workspaces>button.active label {
color: var(--shadow);
}
#workspaces>button.urgent {
background-color: @urgent;
}