photoswipe.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!-- Root element of PhotoSwipe. Must have class pswp. -->
  2. <div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
  3. <!-- Background of PhotoSwipe.
  4. It's a separate element as animating opacity is faster than rgba(). -->
  5. <div class="pswp__bg"></div>
  6. <!-- Slides wrapper with overflow:hidden. -->
  7. <div class="pswp__scroll-wrap">
  8. <!-- Container that holds slides.
  9. PhotoSwipe keeps only 3 of them in the DOM to save memory.
  10. Don't modify these 3 pswp__item elements, data is added later on. -->
  11. <div class="pswp__container">
  12. <div class="pswp__item"></div>
  13. <div class="pswp__item"></div>
  14. <div class="pswp__item"></div>
  15. </div>
  16. <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
  17. <div class="pswp__ui pswp__ui--hidden">
  18. <div class="pswp__top-bar">
  19. <!-- Controls are self-explanatory. Order can be changed. -->
  20. <div class="pswp__counter"></div>
  21. <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
  22. <button class="pswp__button pswp__button--share" title="Share"></button>
  23. <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
  24. <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
  25. <!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
  26. <!-- element will get class pswp__preloader--active when preloader is running -->
  27. <div class="pswp__preloader">
  28. <div class="pswp__preloader__icn">
  29. <div class="pswp__preloader__cut">
  30. <div class="pswp__preloader__donut"></div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
  36. <div class="pswp__share-tooltip"></div>
  37. </div>
  38. <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
  39. </button>
  40. <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
  41. </button>
  42. <div class="pswp__caption">
  43. <div class="pswp__caption__center"></div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. {{- partial "helper/external" (dict "Context" . "Namespace" "PhotoSwipe") -}}