New backup 2025-09-03 12:15:03
This commit is contained in:
parent
57a529c5eb
commit
8ddfb2977d
5 changed files with 16 additions and 16 deletions
|
@ -5,14 +5,14 @@
|
||||||
:revealvar reveal_volume
|
:revealvar reveal_volume
|
||||||
:revealvar-name "reveal_volume"
|
:revealvar-name "reveal_volume"
|
||||||
(button :onclick 'pavucontrol-qt --tab 3'
|
(button :onclick 'pavucontrol-qt --tab 3'
|
||||||
:class {(volume == 0) ? '' : 'active'}
|
:class "${(volume == 0) ? '' : 'active'} revealer-preview"
|
||||||
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
||||||
(volume_children)))
|
(volume_children)))
|
||||||
|
|
||||||
(deflisten volume :initial "50"
|
(deflisten volume :initial "50"
|
||||||
"scripts/bar/volume")
|
"scripts/bar/volume")
|
||||||
(defwidget volume_children []
|
(defwidget volume_children []
|
||||||
(box :class "reveal_children"
|
(box :class "reveal-children"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
.bluetooth {
|
.bluetooth {
|
||||||
// .revealer-preview {
|
|
||||||
// background-color: $color4;
|
|
||||||
// border-radius: $bar-module-border-radius - 4;
|
|
||||||
// }
|
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: $color4;
|
$module-color: $color4;
|
||||||
@import "./revealer.scss";
|
@import "./revealer.scss";
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
.networks {
|
.networks {
|
||||||
margin: 0px 10px;
|
margin: 0px 5px;
|
||||||
|
$module-color: darker($color5);
|
||||||
|
@import "./revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
||||||
.vpn {
|
.vpn {
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
//background-color: blue;
|
|
||||||
&.revealer-on-hover {
|
&.revealer-on-hover {
|
||||||
border: 2px solid $module-color;
|
border: 2px solid $module-color;
|
||||||
border-radius: $bar-module-border-radius;//
|
border-radius: $bar-module-border-radius;//
|
||||||
}
|
}
|
||||||
.revealer-preview {
|
.revealer-preview,
|
||||||
|
.reveal-children>* {
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
|
min-width: $bar-module-width;
|
||||||
|
}
|
||||||
|
.revealer-preview {
|
||||||
background-color: $module-color;
|
background-color: $module-color;
|
||||||
// border: 2px solid $module-color;
|
|
||||||
border-radius: $bar-module-border-radius - 4;
|
border-radius: $bar-module-border-radius - 4;
|
||||||
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
&.true .revealer-preview {
|
&.true .revealer-preview {
|
||||||
border-radius: $bar-module-border-radius - 4 0 0 $bar-module-border-radius - 4;
|
border-radius: $bar-module-border-radius - 4 0 0 $bar-module-border-radius - 4;
|
||||||
}
|
}
|
||||||
//&.false {
|
|
||||||
// color: red;
|
|
||||||
//}
|
|
||||||
.reveal-children>* {
|
.reveal-children>* {
|
||||||
border-left: 2px solid $module-color;
|
border-left: 2px solid $module-color;
|
||||||
// background-color: $module-color;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//.revealer-on-hover>widget>box>box>* {
|
//.revealer-on-hover>widget>box>box>* {
|
||||||
//
|
//
|
||||||
// padding: 0px 5px;
|
// padding: 0px 5px;
|
||||||
// min-width: $bar-module-width;
|
//
|
||||||
// transition: all 0.3s;
|
// transition: all 0.3s;
|
||||||
//}
|
//}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
.volume {
|
.volume {
|
||||||
margin: 0px 10px;
|
margin: 0px 5px;
|
||||||
|
$module-color: darker($color3);
|
||||||
|
@import "./revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue