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 { .playerinfo {
padding: 10px; padding: 10px;
min-width: 400px; min-width: 400px;
border-radius: 15px; border-radius: 30px;
border-top: 2px solid $contrastbg; border-top: 2px solid $contrastbg;
border-bottom: 2px solid $contrastbg; border-bottom: 2px solid $contrastbg;
transition: background 250ms; transition: background 250ms;

View file

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

View file

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