1{{--
2 Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
3 See the LICENCE file in the repository root for full licence text.
4--}}
5<!-- Root element of PhotoSwipe. Must have class pswp. -->
6<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
7
8 <!-- Background of PhotoSwipe.
9 It's a separate element as animating opacity is faster than rgba(). -->
10 <div class="pswp__bg"></div>
11
12 <!-- Slides wrapper with overflow:hidden. -->
13 <div class="pswp__scroll-wrap">
14
15 <!-- Container that holds slides.
16 PhotoSwipe keeps only 3 of them in the DOM to save memory.
17 Don't modify these 3 pswp__item elements, data is added later on. -->
18 <div class="pswp__container">
19 <div class="pswp__item"></div>
20 <div class="pswp__item"></div>
21 <div class="pswp__item"></div>
22 </div>
23
24 <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
25 <div class="pswp__ui pswp__ui--hidden">
26
27 <div class="pswp__top-bar">
28
29 <!-- Controls are self-explanatory. Order can be changed. -->
30
31 <div class="pswp__counter"></div>
32
33 <button type="button" class="pswp__button pswp__button--close" title="{{ osu_trans('layout.gallery.close') }}"></button>
34
35 <button type="button" class="pswp__button pswp__button--fs" title="{{ osu_trans('layout.gallery.fullscreen') }}"></button>
36
37 <button type="button" class="pswp__button pswp__button--zoom" title="{{ osu_trans('layout.gallery.zoom') }}"></button>
38
39 <div class="js-pswp-buttons"></div>
40
41 <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
42 <!-- element will get modifier active when preloader is running -->
43 <div class="pswp__preloader">
44 <div class="pswp__preloader__icn">
45 <div class="pswp__preloader__cut">
46 <div class="pswp__preloader__donut"></div>
47 </div>
48 </div>
49 </div>
50 </div>
51
52 <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
53 <div class="pswp__share-tooltip"></div>
54 </div>
55
56 <button type="button" class="pswp__button pswp__button--arrow--left" title="{{ osu_trans('layout.gallery.previous') }}">
57 </button>
58
59 <button type="button" class="pswp__button pswp__button--arrow--right" title="{{ osu_trans('layout.gallery.next') }}">
60 </button>
61
62 <div class="pswp__caption">
63 <div class="pswp__caption__center"></div>
64 </div>
65
66 </div>
67
68 </div>
69
70</div>