New backup 2025-09-03 12:15:03

This commit is contained in:
Penelope Gwen 2025-09-03 12:15:03 -07:00
parent 57a529c5eb
commit 8ddfb2977d
5 changed files with 16 additions and 16 deletions

View file

@ -5,14 +5,14 @@
:revealvar reveal_volume
:revealvar-name "reveal_volume"
(button :onclick 'pavucontrol-qt --tab 3'
:class {(volume == 0) ? '' : 'active'}
:class "${(volume == 0) ? '' : 'active'} revealer-preview"
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
(volume_children)))
(deflisten volume :initial "50"
"scripts/bar/volume")
(defwidget volume_children []
(box :class "reveal_children"
(box :class "reveal-children"
:orientation "h"
:space-evenly false
:halign "center"

View file

@ -1,8 +1,4 @@
.bluetooth {
// .revealer-preview {
// background-color: $color4;
// border-radius: $bar-module-border-radius - 4;
// }
margin: 0px 5px;
$module-color: $color4;
@import "./revealer.scss";

View file

@ -1,5 +1,7 @@
.networks {
margin: 0px 10px;
margin: 0px 5px;
$module-color: darker($color5);
@import "./revealer.scss";
}
.vpn {

View file

@ -1,27 +1,27 @@
//background-color: blue;
&.revealer-on-hover {
border: 2px solid $module-color;
border-radius: $bar-module-border-radius;//
}
.revealer-preview {
.revealer-preview,
.reveal-children>* {
padding: 0px 5px;
min-width: $bar-module-width;
}
.revealer-preview {
background-color: $module-color;
// border: 2px solid $module-color;
border-radius: $bar-module-border-radius - 4;
transition: all 0.3s;
}
&.true .revealer-preview {
border-radius: $bar-module-border-radius - 4 0 0 $bar-module-border-radius - 4;
}
//&.false {
// color: red;
//}
.reveal-children>* {
border-left: 2px solid $module-color;
// background-color: $module-color;
}
//.revealer-on-hover>widget>box>box>* {
//
// padding: 0px 5px;
// min-width: $bar-module-width;
//
// transition: all 0.3s;
//}

View file

@ -1,3 +1,5 @@
.volume {
margin: 0px 10px;
margin: 0px 5px;
$module-color: darker($color3);
@import "./revealer.scss";
}