New backup 2025-07-18 18:45:02
This commit is contained in:
parent
e849116625
commit
d4752ad5ba
2 changed files with 15 additions and 14 deletions
|
@ -305,12 +305,12 @@ $home-widget-border-hover-color: rgba($color5,0.3);
|
|||
background-color: $home-widget-bg-color;
|
||||
// .nowplayingart,
|
||||
.mediacontrols {
|
||||
// padding: 10px;
|
||||
margin: 20px;
|
||||
// margin-left: 10px;
|
||||
}
|
||||
.nowplayingart {
|
||||
margin: 10px;
|
||||
margin-right: 0px;
|
||||
// margin-right: 0px;
|
||||
// border: 1px solid $home-widget-border-color;
|
||||
border-radius: $home-widget-border-radius;
|
||||
}
|
||||
|
|
|
@ -6,18 +6,18 @@
|
|||
(box
|
||||
:class "nowplayingbar"
|
||||
:orientation "h"
|
||||
:space-evenly true
|
||||
:halign "center"
|
||||
:space-evenly false
|
||||
:halign "start"
|
||||
:width 300
|
||||
:height 100
|
||||
(button
|
||||
:visible true
|
||||
:height 100
|
||||
:width 100
|
||||
:valign "center"
|
||||
:valign "cs"
|
||||
:halign "fill"
|
||||
; :hexpand false
|
||||
; :vexpand false
|
||||
:hexpand false
|
||||
:vexpand false
|
||||
(nowplayingart))
|
||||
; (label :width 0
|
||||
; :text "")
|
||||
|
@ -26,8 +26,9 @@
|
|||
:orientation "h"
|
||||
:space-evenly true
|
||||
:halign "fill"
|
||||
:hexpand true
|
||||
; :width 130
|
||||
:spacing 15
|
||||
; :spacing 15
|
||||
:height 50
|
||||
(button
|
||||
:class "mediabutton"
|
||||
|
@ -52,13 +53,13 @@
|
|||
""))))
|
||||
|
||||
(defwidget nowplayingart []
|
||||
(image
|
||||
(box
|
||||
:class "nowplayingart"
|
||||
:preserve-aspect-ratio true
|
||||
; :preserve-aspect-ratio true
|
||||
:hexpand false
|
||||
:image-width 100
|
||||
:image-height 100
|
||||
:path '${nowplaying_img_path}'))
|
||||
:width 100
|
||||
:height 100
|
||||
; :path '${nowplaying_img_path}'))
|
||||
; :style "background-image: url('/run/user/1000/album_art_cache/getCoverArt.view?id=952&u=pogmommy&p=mG%232001068485&v=1.13.0&c=Feishin&size=300');"))
|
||||
; :style "background-image: url('${nowplaying_img_path}');"))
|
||||
:style "background-image: url('${nowplaying_img_path}');"))
|
||||
; :style "background-image: url('${rat_image}');"))
|
||||
|
|
Loading…
Add table
Reference in a new issue