New backup 2025-07-25 19:00:07
This commit is contained in:
parent
5ad042bbbf
commit
63da444929
2 changed files with 14 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
(defwidget powermenu []
|
(defwidget powermenu []
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:revealvar reveal_powermenu
|
:revealvar reveal_powermenu
|
||||||
:class "powermenu"
|
:class "powermenu ${reveal_powermenu}"
|
||||||
:revealvar-name "reveal_powermenu"
|
:revealvar-name "reveal_powermenu"
|
||||||
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
|
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
|
||||||
"")
|
"")
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
$bar-reveal-children-bg-color: rgba($color0, 0.2);
|
$bar-reveal-children-bg-color: rgba($color0, 0.1);
|
||||||
|
|
||||||
.bar {
|
.bar {
|
||||||
font-size: 1.05em;
|
font-size: 1.05em;
|
||||||
|
|
@ -42,27 +42,32 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
||||||
&>button,
|
&>button,
|
||||||
&>label {
|
&>label {
|
||||||
// &>:not(:last-child) {
|
// &>: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;
|
// margin-left: -5px;
|
||||||
}
|
}
|
||||||
// .revealer-on-hover:not(:last-child) {
|
// .revealer-on-hover:not(:last-child) {
|
||||||
// margin: 0px 10px;
|
// margin: 0px 10px;
|
||||||
// }
|
// }
|
||||||
|
.revealer-on-hover.true {
|
||||||
|
background-color: $bar-reveal-children-bg-color;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
.reveal_children {
|
.reveal_children {
|
||||||
// background-color: $bar-reveal-children-bg-color;
|
// background-color: $bar-reveal-children-bg-color;
|
||||||
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
|
border-radius: 0px $bar-module-border-radius $bar-module-border-radius 0px;
|
||||||
}
|
}
|
||||||
.reveal_children>* {
|
.reveal_children>* {
|
||||||
margin-left: -6px;
|
margin-left: -6px;
|
||||||
background-color: $bar-reveal-children-bg-color;
|
// background-color: $bar-reveal-children-bg-color;
|
||||||
// margin: 0px;
|
// 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;
|
// padding: -10px;
|
||||||
&:first-child {
|
// &:first-child {
|
||||||
margin-left: -5px;
|
// margin-left: 5px;
|
||||||
// box-shadow: 4px 4px 2px 4px red;
|
// color: red;
|
||||||
}
|
// box-shadow: -4px 0px 2px -2px red, 5px 0 3px -2px $bar-module-fg-color;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue