New backup 2025-07-25 19:45:07
This commit is contained in:
parent
8ad59a523f
commit
3d74722cf5
3 changed files with 16 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
(defvar reveal_scratchpad false)
|
(defvar reveal_scratchpad false)
|
||||||
(defwidget scratchpad []
|
(defwidget scratchpad []
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
|
:class "${reveal_scratchpad} scratchpad"
|
||||||
:revealvar reveal_scratchpad
|
:revealvar reveal_scratchpad
|
||||||
:revealvar-name "reveal_scratchpad"
|
:revealvar-name "reveal_scratchpad"
|
||||||
" ${reveal_scratchpad ? '' : ''}"
|
" ${reveal_scratchpad ? '' : ''}"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
(eventbox
|
(eventbox
|
||||||
:onhover "${EWW_CMD} update wsreveal=true"
|
:onhover "${EWW_CMD} update wsreveal=true"
|
||||||
:onhoverlost "${EWW_CMD} update wsreveal=false"
|
:onhoverlost "${EWW_CMD} update wsreveal=false"
|
||||||
(box :class "workspaces"
|
(box :class "workspaces ${wsreveal}"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "start"
|
:halign "start"
|
||||||
|
|
|
@ -73,7 +73,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
||||||
&.left {
|
&.left {
|
||||||
// margin-right: -2px;
|
// margin-right: -2px;
|
||||||
border-radius: $bar-module-inner-radius 0px 0px $bar-module-inner-radius;
|
border-radius: $bar-module-inner-radius 0px 0px $bar-module-inner-radius;
|
||||||
box-shadow: -6px 0 2px 0px $bar-module-fg-color;
|
box-shadow: -3px 0 2px -1px $bar-module-fg-color;
|
||||||
}
|
}
|
||||||
&.center {
|
&.center {
|
||||||
color: $bar-module-fg-color;
|
color: $bar-module-fg-color;
|
||||||
|
@ -84,7 +84,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
||||||
// margin-left: -2px;
|
// margin-left: -2px;
|
||||||
// border-radius: $bar-module-border-radius - 1;
|
// border-radius: $bar-module-border-radius - 1;
|
||||||
border-radius: 0px $bar-module-inner-radius $bar-module-inner-radius 0px;
|
border-radius: 0px $bar-module-inner-radius $bar-module-inner-radius 0px;
|
||||||
box-shadow: 6px 0 2px 0px $bar-module-fg-color;
|
box-shadow: 3px 0 2px -1px $bar-module-fg-color;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
padding: 4px 6px;
|
padding: 4px 6px;
|
||||||
|
@ -146,7 +146,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
||||||
.tray>widget,
|
.tray>widget,
|
||||||
.scratchpad>button {
|
.scratchpad>button {
|
||||||
image{
|
image{
|
||||||
opacity: 0.4;
|
opacity: 0.3;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
@ -161,4 +161,15 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
box-shadow: 8px -8px 10px -8px black;
|
box-shadow: 8px -8px 10px -8px black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// HOTFIXES
|
||||||
|
|
||||||
|
// .scratchpad>widget>box>box>*,
|
||||||
|
.scratchpad>widget>box>box,
|
||||||
|
.scratchpad,
|
||||||
|
.reveal_children>*:last-child {
|
||||||
|
// background-color: red;
|
||||||
|
margin-right: -5px;
|
||||||
|
box-shadow: 0px 0px 0px 0px transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue