New backup 2025-09-04 12:15:02
This commit is contained in:
parent
d42a601658
commit
9e1631847e
3 changed files with 19 additions and 11 deletions
|
@ -1,10 +1,12 @@
|
||||||
(defvar reveal_tray false)
|
(defvar reveal_tray false)
|
||||||
(defwidget tray []
|
(defwidget tray []
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:class "tray_tab ${reveal_tray}"
|
:class "tray ${reveal_tray}"
|
||||||
:revealvar reveal_tray
|
:revealvar reveal_tray
|
||||||
:revealvar-name "reveal_tray"
|
:revealvar-name "reveal_tray"
|
||||||
{reveal_tray ? "" : ""}
|
(label
|
||||||
|
:class "revealer-preview"
|
||||||
|
:text {reveal_tray ? "" : ""})
|
||||||
(tray_children)))
|
(tray_children)))
|
||||||
|
|
||||||
(defwidget tray_children []
|
(defwidget tray_children []
|
||||||
|
@ -13,7 +15,7 @@
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(systray
|
(systray
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:class "reveal_children tray"
|
:class "reveal-children"
|
||||||
:space-evenly true
|
:space-evenly true
|
||||||
:spacing 0
|
:spacing 0
|
||||||
:icon-size 20
|
:icon-size 20
|
||||||
|
|
|
@ -55,11 +55,11 @@ $transition-time: 0.3s;
|
||||||
@import "./bar/charts.scss";
|
@import "./bar/charts.scss";
|
||||||
|
|
||||||
// &>box>button,
|
// &>box>button,
|
||||||
&>box>label,
|
// &>box>label,
|
||||||
// .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>widget>image,
|
/* .reveal_children>widget>image,
|
||||||
.reveal_children:not(.tray)>* {
|
.reveal_children:not(.tray)>* {
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
min-width: $bar-module-width;
|
min-width: $bar-module-width;
|
||||||
|
@ -83,7 +83,7 @@ $transition-time: 0.3s;
|
||||||
&:hover,&:hover image {
|
&:hover,&:hover image {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
@import "./bar/window_title.scss";
|
@import "./bar/window_title.scss";
|
||||||
@import "./bar/idle-inhibitor.scss";
|
@import "./bar/idle-inhibitor.scss";
|
||||||
|
@ -95,19 +95,20 @@ $transition-time: 0.3s;
|
||||||
// @import "./bar/memory.scss";
|
// @import "./bar/memory.scss";
|
||||||
@import "./bar/sys.scss";
|
@import "./bar/sys.scss";
|
||||||
@import "./bar/clock.scss";
|
@import "./bar/clock.scss";
|
||||||
|
@import "./bar/tray.scss";
|
||||||
|
|
||||||
.chevron box {
|
/* .chevron box {
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
}
|
}*/
|
||||||
/* .inactive {
|
/* .inactive {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
// HOTFIXES
|
// HOTFIXES
|
||||||
|
|
||||||
.scratchpad .reveal_children>*:last-child,
|
/* .scratchpad .reveal_children>*:last-child,
|
||||||
.tray_tab>widget>box>box,
|
.tray_tab>widget>box>box,
|
||||||
.tray_tab .reveal_children>widget:last-child>image {
|
.tray_tab .reveal_children>widget:last-child>image {
|
||||||
margin-right: -5px;
|
margin-right: -5px;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
.tray {
|
||||||
|
margin: 0px 5px;
|
||||||
|
$module-color: $color2;
|
||||||
|
@import "./styles/revealer.scss"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue