better icons on home screen

This commit is contained in:
Will Hanlen 2024-06-14 17:24:43 +02:00
parent ef3ba0b5a2
commit 9f849a6773
2 changed files with 20 additions and 8 deletions

View File

@ -93,24 +93,24 @@
; • • • ; • • •
== ==
;div.fr.hidden.g1.p1 ;div.fr.hidden.g1.p1
;button.grow.tc.s-2.b0.br2.p1 ;button.grow.fr.jc.b0.br2.p1
=hx-trigger "click" =hx-trigger "click"
=onclick "let t = $(this).closest('.relative'); t.parent().prepend(t);" =onclick "let t = $(this).closest('.relative'); t.parent().prepend(t);"
; |< ;+ chevron-first.feather-icons
== ==
;button.grow.tc.s-2.b0.br2.p1 ;button.grow.fr.jc.b0.br2.p1
=onclick "let t = $(this).closest('.relative'); t.insertBefore(t.prev());" =onclick "let t = $(this).closest('.relative'); t.insertBefore(t.prev());"
=hx-trigger "click" =hx-trigger "click"
; < ;+ chevron-left.feather-icons
== ==
;button.grow.tc.s-2.b0.br2.p1 ;button.grow.fr.jc.b0.br2.p1
=hx-trigger "click" =hx-trigger "click"
=onclick "let t = $(this).closest('.relative'); t.insertAfter(t.next());" =onclick "let t = $(this).closest('.relative'); t.insertAfter(t.next());"
; > ;+ chevron-right.feather-icons
== ==
;button.grow.tc.s-2.b0.br2.p1 ;button.grow.fr.jc.b0.br2.p1
=onclick "let t = $(this).closest('.relative'); t.parent().append(t);" =onclick "let t = $(this).closest('.relative'); t.parent().append(t);"
; >| ;+ chevron-last.feather-icons
== ==
== ==
== ==

View File

@ -21,6 +21,18 @@
=d "M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z" =d "M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"
; ;
== ==
++ chevron-first
%+ svg "0 -960 960 960"
;path
=d "M240-240v-480h80v480h-80Zm440 0L440-480l240-240 56 56-184 184 184 184-56 56Z"
;
==
++ chevron-last
%+ svg "0 -960 960 960"
;path
=d "m280-240-56-56 184-184-184-184 56-56 240 240-240 240Zm360 0v-480h80v480h-80Z"
;
==
++ close ++ close
%+ svg "0 -960 960 960" %+ svg "0 -960 960 960"
;path ;path