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

This commit is contained in:
Penelope Gwen 2025-07-25 20:00:07 -07:00
parent 3d74722cf5
commit 7ce48bc2a9
2 changed files with 10 additions and 8 deletions

View file

@ -1,6 +1,7 @@
(defvar reveal_tray false) (defvar reveal_tray false)
(defwidget tray [] (defwidget tray []
(revealer-on-hover (revealer-on-hover
:class "tray ${reveal_tray}"
:revealvar reveal_tray :revealvar reveal_tray
:revealvar-name "reveal_tray" :revealvar-name "reveal_tray"
{reveal_tray ? "" : ""} {reveal_tray ? "" : ""}

View file

@ -13,7 +13,8 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
border: 3px solid $bar-module-fg-color; border: 3px solid $bar-module-fg-color;
box-shadow: 0px 0px 9px 0px $bar-module-fg-color; box-shadow: 0px 0px 9px 0px $bar-module-fg-color;
.revealer-on-hover>widget>box>box>*, .revealer-on-hover>widget>box>box>*,
.reveal_children>*, .reveal_children:not(.tray)>*,
.reveal_children>widget>image,
&>button, &>button,
&>label { &>label {
color: $bar-module-fg-color; color: $bar-module-fg-color;
@ -21,6 +22,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
margin: 0px 5px; margin: 0px 5px;
// padding: 0px 5px; // padding: 0px 5px;
min-width: $bar-module-width; min-width: $bar-module-width;
padding-right: 5px;
// &:first-child { // &:first-child {
// margin-left: 0px; // margin-left: 0px;
// } // }
@ -32,7 +34,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
border-radius: $bar-module-inner-radius; border-radius: $bar-module-inner-radius;
} }
.revealer-on-hover>widget>box>box>*, .revealer-on-hover>widget>box>box>*,
.reveal_children>*, .reveal_children:not(.tray)>*,
&>button, &>button,
&>label { &>label {
box-shadow: 3px 0 3px -2px $bar-module-fg-color; box-shadow: 3px 0 3px -2px $bar-module-fg-color;
@ -129,7 +131,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
.bar-module>button, .bar-module>button,
.bar-module>label, .bar-module>label,
.revealer-on-hover>widget>box>box>*, .revealer-on-hover>widget>box>box>*,
.reveal_children>* { .reveal_children:not(.tray)>* {
padding: 0px 5px; padding: 0px 5px;
min-width: $bar-module-width; min-width: $bar-module-width;
transition: all 0.3s; transition: all 0.3s;
@ -148,7 +150,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
image{ image{
opacity: 0.3; opacity: 0.3;
transition: all 0.3s; transition: all 0.3s;
border-radius: 4px; border-radius: $bar-module-inner-radius;
} }
&:hover,&:hover image { &:hover,&:hover image {
opacity: 1; opacity: 1;
@ -164,11 +166,10 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
// HOTFIXES // HOTFIXES
// .scratchpad>widget>box>box>*,
.scratchpad>widget>box>box, .scratchpad>widget>box>box,
.scratchpad, .scratchpad .reveal_children>*:last-child,
.reveal_children>*:last-child { .tray>widget>box>box,
// background-color: red; .scratchpad .reveal_children>*:last-child {
margin-right: -5px; margin-right: -5px;
box-shadow: 0px 0px 0px 0px transparent; box-shadow: 0px 0px 0px 0px transparent;
} }