New backup 2025-07-25 19:00:07

This commit is contained in:
Penelope Gwen 2025-07-25 19:00:07 -07:00
parent 5ad042bbbf
commit 63da444929
2 changed files with 14 additions and 9 deletions

View file

@ -2,7 +2,7 @@
(defwidget powermenu []
(revealer-on-hover
:revealvar reveal_powermenu
:class "powermenu"
:class "powermenu ${reveal_powermenu}"
:revealvar-name "reveal_powermenu"
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
"")

View file

@ -1,4 +1,4 @@
$bar-reveal-children-bg-color: rgba($color0, 0.2);
$bar-reveal-children-bg-color: rgba($color0, 0.1);
.bar {
font-size: 1.05em;
@ -42,27 +42,32 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
&>button,
&>label {
// &>:not(:last-child) {
box-shadow: 5px 0 3px -2px $bar-module-fg-color;
box-shadow: 3px 0 3px -2px $bar-module-fg-color;
// }
// margin-left: -5px;
}
// .revealer-on-hover:not(:last-child) {
// margin: 0px 10px;
// }
.revealer-on-hover.true {
background-color: $bar-reveal-children-bg-color;
border-radius: 8px;
}
.reveal_children {
// background-color: $bar-reveal-children-bg-color;
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
}
.reveal_children>* {
margin-left: -6px;
background-color: $bar-reveal-children-bg-color;
// background-color: $bar-reveal-children-bg-color;
// margin: 0px;
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
// border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
// padding: -10px;
&:first-child {
margin-left: -5px;
// box-shadow: 4px 4px 2px 4px red;
}
// &:first-child {
// margin-left: 5px;
// color: red;
// box-shadow: -4px 0px 2px -2px red, 5px 0 3px -2px $bar-module-fg-color;
// }
}
}