Regenerated
This commit is contained in:
+319
-324
File diff suppressed because it is too large
Load Diff
+23
-28
@@ -2913,39 +2913,34 @@ window#waybar {
|
|||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Apply pill style to the whole widget container */
|
/* Shared styles for all modules */
|
||||||
#custom-windows.widget,
|
.modules-left > widget,
|
||||||
#custom-hardware-anchor.widget,
|
.modules-center > widget,
|
||||||
#custom-connections-anchor.widget,
|
.modules-right > widget {
|
||||||
#custom-bluetooth.widget,
|
min-width: 80px; /* prevents autoshrinking */
|
||||||
#network.widget,
|
color: @text;
|
||||||
#battery.widget,
|
|
||||||
#cpu.widget,
|
|
||||||
#memory.widget,
|
|
||||||
#temperature.widget {
|
|
||||||
padding: 0px 10px;
|
|
||||||
border-radius: 30px;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
border-radius: 30px;
|
||||||
min-width: 60px; /* adjust per module */
|
background:
|
||||||
flex-shrink: 0; /* prevent shrinking */
|
linear-gradient(@base-alpha, @base-alpha) padding-box,
|
||||||
background-color: transparent;
|
linear-gradient(45deg, @blue, @green) border-box;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
padding: 0px 10px;
|
||||||
|
}
|
||||||
|
.modules-left > box + box,
|
||||||
|
.modules-center > box + box,
|
||||||
|
.modules-right > box + box {
|
||||||
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Optional hover expansion */
|
.modules-left > label,
|
||||||
#custom-windows.widget:hover,
|
.modules-center > label,
|
||||||
#custom-hardware-anchor.widget:hover,
|
.modules-right > label {
|
||||||
#custom-connections-anchor.widget:hover,
|
padding: 0px 10px;
|
||||||
#custom-bluetooth.widget:hover,
|
transition: padding 0.2s ease;
|
||||||
#network.widget:hover,
|
|
||||||
#battery.widget:hover,
|
|
||||||
#cpu.widget:hover,
|
|
||||||
#memory.widget:hover,
|
|
||||||
#temperature.widget:hover {
|
|
||||||
padding: 0px 15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Hide group anchors --- */
|
/* --- Group specifics --- */
|
||||||
|
|
||||||
#hardware:hover #custom-hardware-anchor {
|
#hardware:hover #custom-hardware-anchor {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|||||||
@@ -53,39 +53,34 @@ window#waybar {
|
|||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Apply pill style to the whole widget container */
|
/* Shared styles for all modules */
|
||||||
#custom-windows.widget,
|
.modules-left > widget,
|
||||||
#custom-hardware-anchor.widget,
|
.modules-center > widget,
|
||||||
#custom-connections-anchor.widget,
|
.modules-right > widget {
|
||||||
#custom-bluetooth.widget,
|
min-width: 80px; /* prevents autoshrinking */
|
||||||
#network.widget,
|
color: @text;
|
||||||
#battery.widget,
|
|
||||||
#cpu.widget,
|
|
||||||
#memory.widget,
|
|
||||||
#temperature.widget {
|
|
||||||
padding: 0px 10px;
|
|
||||||
border-radius: 30px;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
border-radius: 30px;
|
||||||
min-width: 60px; /* adjust per module */
|
background:
|
||||||
flex-shrink: 0; /* prevent shrinking */
|
linear-gradient(@base-alpha, @base-alpha) padding-box,
|
||||||
background-color: transparent;
|
linear-gradient(45deg, @blue, @green) border-box;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
padding: 0px 10px;
|
||||||
|
}
|
||||||
|
.modules-left > box + box,
|
||||||
|
.modules-center > box + box,
|
||||||
|
.modules-right > box + box {
|
||||||
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Optional hover expansion */
|
.modules-left > label,
|
||||||
#custom-windows.widget:hover,
|
.modules-center > label,
|
||||||
#custom-hardware-anchor.widget:hover,
|
.modules-right > label {
|
||||||
#custom-connections-anchor.widget:hover,
|
padding: 0px 10px;
|
||||||
#custom-bluetooth.widget:hover,
|
transition: padding 0.2s ease;
|
||||||
#network.widget:hover,
|
|
||||||
#battery.widget:hover,
|
|
||||||
#cpu.widget:hover,
|
|
||||||
#memory.widget:hover,
|
|
||||||
#temperature.widget:hover {
|
|
||||||
padding: 0px 15px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Hide group anchors --- */
|
/* --- Group specifics --- */
|
||||||
|
|
||||||
#hardware:hover #custom-hardware-anchor {
|
#hardware:hover #custom-hardware-anchor {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user