feat: move spotify widget outside of quick settings, right under

This commit is contained in:
matt1432 2023-08-19 03:05:57 -04:00
parent 269c9e1953
commit b1c1600971
3 changed files with 12 additions and 11 deletions

View file

@ -1,7 +1,7 @@
.playerinfo {
padding: 10px;
min-width: 400px;
border-radius: 15px;
border-radius: 30px;
border-top: 2px solid $contrastbg;
border-bottom: 2px solid $contrastbg;
transition: background 250ms;

View file

@ -136,9 +136,8 @@
}
.player {
margin-top: 30px;
margin-left: 15px;
margin-right: 15px;
margin-top: 6px;
min-height: 220px;
}
.slider-box {

View file

@ -19,7 +19,7 @@
(revealer
:transition "crossfade"
:reveal showqs
:duration "550ms"
:duration anim_duration
(quick-settings-smol)
)
)
@ -51,13 +51,15 @@
(revealer
:transition "crossfade"
:reveal showqs
:duration "550ms"
:duration anim_duration
(quick-settings-logo)
)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defwidget quick-settings []
(box :orientation "v"
:space-evenly false
(box :class "quick-settings"
:orientation "v"
:space-evenly false
@ -269,9 +271,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
)
)
(box :class "player"
(playerinfo)
)
(box :class "slider-box"
:orientation "v"
:space-evenly true
@ -318,7 +317,10 @@
)
)
)
)
(box :class "player"
(playerinfo)
)
)
)
(defwindow quick-settings-reveal
@ -333,7 +335,7 @@
(revealer
:transition "crossfade"
:reveal showqs
:duration "550ms"
:duration anim_duration
(quick-settings)
)
)