New backup 2025-07-24 15:15:03

This commit is contained in:
Penelope Gwen 2025-07-24 15:15:03 -07:00
parent b6a8e9e436
commit a7c2bdf162
4 changed files with 25 additions and 21 deletions

View file

@ -129,7 +129,7 @@ circular-progress {
} }
}*/ }*/
.reveal_children>button { /*.reveal_children>button {
image { image {
opacity: 0.4; opacity: 0.4;
transition: all 0.5s; transition: all 0.5s;
@ -138,14 +138,14 @@ circular-progress {
&:hover image { &:hover image {
opacity: 1; opacity: 1;
} }
} }*/
.reveal_children>box, /*.reveal_children>box,
.reveal_children>widget, .reveal_children>widget,
.reveal_children>button { .reveal_children>button {
border-left: 1px solid $bar-module-fg-color; border-left: 1px solid $bar-module-fg-color;
} }*/
.rightgroup>label, /.rightgroup>label,
.rightgroup>button { .rightgroup>button {
//.rightgroup .reveal_children>button, //.rightgroup .reveal_children>button,
//.rightgroup>.revealer-on-hover>widget>box>box>button { //.rightgroup>.revealer-on-hover>widget>box>box>button {
@ -155,7 +155,7 @@ circular-progress {
.inactive { .inactive {
color: $bar-module-inactive-fg-color color: $bar-module-inactive-fg-color
} }
} }*/
/*.leftgroup>.revealer-on-hover>widget>box>box>button { /*.leftgroup>.revealer-on-hover>widget>box>box>button {
padding: 3px 4px; padding: 3px 4px;
border-radius: $bar-module-border-radius; border-radius: $bar-module-border-radius;

View file

@ -10,7 +10,7 @@
'scripts/bar/scratchpad') 'scripts/bar/scratchpad')
(defwidget scratchpad_children [array] (defwidget scratchpad_children [array]
(box :orientation "h" (box :orientation "h"
:class "reveal_children" :class "reveal_children scratchpad"
:space-evenly false :space-evenly false
(for entry in array (for entry in array
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus' (button :onclick 'swaymsg [con_id=${entry.win_id}] focus'

View file

@ -12,7 +12,7 @@
:halign "center" :halign "center"
(systray (systray
:orientation "h" :orientation "h"
:class "reveal_children" :class "reveal_children tray"
:space-evenly true :space-evenly true
:spacing 0 :spacing 0
:icon-size 20 :icon-size 20

View file

@ -17,14 +17,9 @@
min-width: $bar-module-width; min-width: $bar-module-width;
border: 2px solid $bar-module-fg-color; border: 2px solid $bar-module-fg-color;
background-color: $bar-module-bg-color; background-color: $bar-module-bg-color;
// padding: 0px 10px;
} }
} }
/* .workspaces button{
background-color: green;
}*/
.workspaces { .workspaces {
border-radius: $bar-module-border-radius; border-radius: $bar-module-border-radius;
margin: 0px 5px; margin: 0px 5px;
@ -33,14 +28,10 @@
background-color: $bar-module-bg-color; background-color: $bar-module-bg-color;
button { button {
// overflow: hidden;
// border-left: 2px solid blue;
// background-color: blue;
&.left { &.left {
border-right: 2px solid $bar-module-fg-color; border-right: 2px solid $bar-module-fg-color;
} }
&.center { &.center {
// background-color: red;
text-shadow: $bar-module-active-shadow; text-shadow: $bar-module-active-shadow;
color: $bar-module-active-fg-color; color: $bar-module-active-fg-color;
} }
@ -77,15 +68,12 @@
box-shadow: 0px 0px 0px 2px $color2; box-shadow: 0px 0px 0px 2px $color2;
} }
} }
//value graphs
circular-progress { circular-progress {
color: $color9; color: $color9;
background-color: $color2; background-color: $color2;
} }
// .revealer-on-hover>widget>
.revealer-on-hover>widget>box>box>*, .revealer-on-hover>widget>box>box>*,
.reveal_children>*, .reveal_children>* {
.reveal_children>widget>image {
padding: 3px 4px; padding: 3px 4px;
min-width: $bar-module-width; min-width: $bar-module-width;
transition: all 0.3s; transition: all 0.3s;
@ -93,4 +81,20 @@
text-shadow: $bar-module-hover-shadow; text-shadow: $bar-module-hover-shadow;
} }
} }
.tray>widget>image,
.scratchpad>button>image {
padding: 3px 4px;
min-width: $bar-module-width;
}
.tray>widget,
.scratchpad>button {
image{
opacity: 0.4;
transition: all 0.3s;
border-radius: 4px;
}
&:hover,&:hover image {
opacity: 1;
}
}
} }