New backup 2025-07-18 22:30:01
This commit is contained in:
parent
c7d14dd57d
commit
ee1ffb512a
2 changed files with 10 additions and 27 deletions
|
@ -320,7 +320,12 @@ $home-widget-border-hover-color: rgba($color5,0.3);
|
||||||
color: $color5;
|
color: $color5;
|
||||||
}
|
}
|
||||||
.nowplayingart {
|
.nowplayingart {
|
||||||
// margin: 20px 0px 20px 20px;
|
&.small {
|
||||||
|
margin: 20px 0px 20px 20px;
|
||||||
|
}
|
||||||
|
&.big {
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
// margin-right: 0px;
|
// margin-right: 0px;
|
||||||
border: 1px solid $home-widget-border-color;
|
border: 1px solid $home-widget-border-color;
|
||||||
border-radius: $home-widget-border-radius;
|
border-radius: $home-widget-border-radius;
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
:vexpand false
|
:vexpand false
|
||||||
:onclick '${EWW_CMD} update large_album_art=true'
|
:onclick '${EWW_CMD} update large_album_art=true'
|
||||||
(overlay
|
(overlay
|
||||||
(nowplayingart :css 'margin: 20px 0px 20px 20px;')
|
(nowplayingart :size 'small')
|
||||||
(label :class "art-button-overlay"
|
(label :class "art-button-overlay"
|
||||||
:height 100
|
:height 100
|
||||||
:width 100
|
:width 100
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
:vexpand false
|
:vexpand false
|
||||||
:onclick '${EWW_CMD} update large_album_art=false'
|
:onclick '${EWW_CMD} update large_album_art=false'
|
||||||
(overlay
|
(overlay
|
||||||
(nowplayingart)
|
(nowplayingart :size 'big')
|
||||||
; :css 'margin: 20px;')
|
; :css 'margin: 20px;')
|
||||||
(label :class "art-button-overlay"
|
(label :class "art-button-overlay"
|
||||||
:height 100
|
:height 100
|
||||||
|
@ -101,31 +101,9 @@
|
||||||
:visible {small_art_overlay}
|
:visible {small_art_overlay}
|
||||||
:text ""))))))
|
:text ""))))))
|
||||||
|
|
||||||
;(defwidget nowplaying_revealer [revealvar revealvar-name]
|
(defwidget nowplayingart [size]
|
||||||
(defwidget nowplaying_revealer []
|
|
||||||
(eventbox
|
|
||||||
; :visible {!large_album_art}
|
|
||||||
:onhover '${EWW_CMD} update small_art_overlay=true'
|
|
||||||
:onhoverlost '${EWW_CMD} update small_art_overlay=false'
|
|
||||||
(button
|
|
||||||
;; :height 100
|
|
||||||
;; :width 100
|
|
||||||
:valign "center"
|
|
||||||
:halign "fill"
|
|
||||||
:hexpand false
|
|
||||||
:vexpand false
|
|
||||||
:onclick '${EWW_CMD} update large_album_art=${large_album_art ? "false" : "true"}'
|
|
||||||
(overlay
|
|
||||||
(nowplayingart)
|
|
||||||
(label :class "art-button-overlay"
|
|
||||||
:height 100
|
|
||||||
:width 100
|
|
||||||
:visible {small_art_overlay}
|
|
||||||
:text "")))))
|
|
||||||
|
|
||||||
(defwidget nowplayingart []
|
|
||||||
(box
|
(box
|
||||||
:class "nowplayingart"
|
:class "nowplayingart ${size}"
|
||||||
:hexpand false
|
:hexpand false
|
||||||
; :width 100
|
; :width 100
|
||||||
; :height 100
|
; :height 100
|
||||||
|
|
Loading…
Add table
Reference in a new issue