summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-19 13:24:25 +0200
committerVolpeon <git@volpeon.ink>2022-06-19 13:24:25 +0200
commit22e4b122ba0a362169a1bba93c4407d154977554 (patch)
tree87a88d789bc9f469dc9439d36b3854a2594e3b26 /tpl
parentUpdate (diff)
downloadiro-design-22e4b122ba0a362169a1bba93c4407d154977554.tar.gz
iro-design-22e4b122ba0a362169a1bba93c4407d154977554.tar.bz2
iro-design-22e4b122ba0a362169a1bba93c4407d154977554.zip
Improved lightbox
Diffstat (limited to 'tpl')
-rw-r--r--tpl/objects/lightbox.pug6
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug
index c335fdb..5ba8c57 100644
--- a/tpl/objects/lightbox.pug
+++ b/tpl/objects/lightbox.pug
@@ -6,9 +6,9 @@ mixin lightbox(images)
6 block 6 block
7 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn') 7 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn')
8 img.o-lightbox__img(src=images[0]) 8 img.o-lightbox__img(src=images[0])
9 +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__prev-btn') 9 +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev')
10 +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__next-btn') 10 +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next')
11 footer.o-lightbox__footer 11 .o-lightbox__thumbnails
12 each img, i in images 12 each img, i in images
13 - classes = i === 0 ? 'is-selected' : '' 13 - classes = i === 0 ? 'is-selected' : ''
14 button.o-lightbox__thumbnail(class=classes) 14 button.o-lightbox__thumbnail(class=classes)