92 lines
2.6 KiB
CSS
92 lines
2.6 KiB
CSS
/* --- GENERAL BAR STYLE (unchanged) --- */
|
||
* {
|
||
border: none;
|
||
/* padding: 0 6px; */
|
||
padding: 0 6px;
|
||
margin-top: 2px;
|
||
font-family: "JetBrains Mono", monospace;
|
||
font-size: 14px;
|
||
}
|
||
window#waybar { background: transparent; color: #ffffff; }
|
||
|
||
/* --- PAGE BUTTONS --- */
|
||
/* IDs are #custom-page1, #custom-page2, #custom-page3 */
|
||
#custom-page1, #custom-page2, #custom-page3, #custom-page4, #custom-page5, #custom-page6, #custom-page7, #custom-page8, #custom-page9, #custom-page10 {
|
||
background: transparent;
|
||
min-width: 18px; /* keeps them evenly spaced */
|
||
padding-left: 2px;
|
||
color: #fff;
|
||
/* text-align: center; */
|
||
}
|
||
#custom-page1.active,
|
||
#custom-page2.active,
|
||
#custom-page3.active,
|
||
#custom-page4.active,
|
||
#custom-page5.active,
|
||
#custom-page6.active,
|
||
#custom-page7.active,
|
||
#custom-page8.active,
|
||
#custom-page9.active,
|
||
#custom-page10.active
|
||
{
|
||
background: rgba(255,255,255,0.15);
|
||
border-radius: 8px;
|
||
color: #fff;
|
||
}
|
||
|
||
#custom-page1.occupied:not(.active),
|
||
#custom-page2.occupied:not(.active),
|
||
#custom-page3.occupied:not(.active),
|
||
#custom-page4.occupied:not(.active),
|
||
#custom-page5.occupied:not(.active),
|
||
#custom-page6.occupied:not(.active),
|
||
#custom-page7.occupied:not(.active),
|
||
#custom-page8.occupied:not(.active),
|
||
#custom-page9.occupied:not(.active),
|
||
#custom-page10.occupied:not(.active) {
|
||
color: #42A5F5; /* blue – pick any shade you like */
|
||
}
|
||
|
||
#custom-page1.active.occupied,
|
||
#custom-page2.active.occupied,
|
||
#custom-page3.active.occupied,
|
||
#custom-page4.active.occupied,
|
||
#custom-page5.active.occupied,
|
||
#custom-page6.active.occupied,
|
||
#custom-page7.active.occupied,
|
||
#custom-page8.active.occupied,
|
||
#custom-page9.active.occupied,
|
||
#custom-page10.active.occupied {
|
||
background: rgba(255,255,255,0.15); /* same as .active */
|
||
/* optional: keep the icon white, or turn it blue: */
|
||
/* color: #42A5F5; */
|
||
}
|
||
|
||
/* --- OTHER MODULES (carry-over from your previous setup) --- */
|
||
#window, #tray, #clock { background: transparent;}
|
||
|
||
#tray {
|
||
margin-right: -5;
|
||
}
|
||
|
||
#tray * {
|
||
padding-left: 0px;
|
||
padding-right: 0px;
|
||
}
|
||
|
||
/* ─── kill the gap your * rule adds ─────────────────────────────── */
|
||
#tray menu { /* the whole right-click window */
|
||
padding: 5px 0; /* 0 instead of the 6 px from * */
|
||
margin: 0; /* 0 instead of the 2 px top margin */
|
||
border: 1px solid #555;
|
||
}
|
||
|
||
/* ─── (optional) give the rows some room & hover style ─────────── */
|
||
#tray menu menuitem {
|
||
padding: 4px 12px; /* tweak to taste */
|
||
}
|
||
|
||
#tray menu menuitem:hover {
|
||
background: rgba(66,165,245,.25);
|
||
}
|