lightgallery 2.9.0 → 3.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +690 -0
- package/README.md +31 -21
- package/dist/README.md +229 -0
- package/{css → dist/css}/lg-autoplay.css +7 -4
- package/{css → dist/css}/lg-autoplay.css.map +1 -1
- package/{css → dist/css}/lg-comments.css +0 -6
- package/{css → dist/css}/lg-comments.css.map +1 -1
- package/dist/css/lg-fullscreen.css +11 -0
- package/dist/css/lg-fullscreen.css.map +1 -0
- package/dist/css/lg-justified.css +37 -0
- package/dist/css/lg-justified.css.map +1 -0
- package/{css → dist/css}/lg-pager.css.map +1 -1
- package/{css → dist/css}/lg-rotate.css +0 -16
- package/{css → dist/css}/lg-rotate.css.map +1 -1
- package/dist/css/lg-rtl.css +94 -0
- package/dist/css/lg-rtl.css.map +1 -0
- package/{css → dist/css}/lg-share.css +4 -32
- package/dist/css/lg-share.css.map +1 -0
- package/{css → dist/css}/lg-thumbnail.css +7 -3
- package/dist/css/lg-thumbnail.css.map +1 -0
- package/{css → dist/css}/lg-transitions.css +10 -0
- package/dist/css/lg-transitions.css.map +1 -0
- package/{css → dist/css}/lg-zoom.css +20 -9
- package/dist/css/lg-zoom.css.map +1 -0
- package/{css → dist/css}/lightgallery-bundle.css +150 -118
- package/dist/css/lightgallery-bundle.css.map +1 -0
- package/dist/css/lightgallery-bundle.min.css +1 -0
- package/{css → dist/css}/lightgallery-core.css +49 -7
- package/dist/css/lightgallery-core.css.map +1 -0
- package/{css → dist/css}/lightgallery.css +105 -44
- package/dist/css/lightgallery.css.map +1 -0
- package/dist/lightgallery.es5.js +3797 -0
- package/dist/lightgallery.es5.js.map +1 -0
- package/dist/lightgallery.min.js +1 -0
- package/dist/lightgallery.umd.js +3800 -0
- package/dist/lightgallery.umd.js.map +1 -0
- package/dist/package.json +33 -0
- package/dist/plugins/autoplay/lg-autoplay.es5.js +193 -0
- package/dist/plugins/autoplay/lg-autoplay.es5.js.map +1 -0
- package/dist/plugins/autoplay/lg-autoplay.min.js +1 -0
- package/dist/plugins/autoplay/lg-autoplay.umd.js +196 -0
- package/dist/plugins/autoplay/lg-autoplay.umd.js.map +1 -0
- package/dist/plugins/autoplay/package.json +7 -0
- package/dist/plugins/comment/lg-comment.es5.js +136 -0
- package/dist/plugins/comment/lg-comment.es5.js.map +1 -0
- package/dist/plugins/comment/lg-comment.min.js +1 -0
- package/dist/plugins/comment/lg-comment.umd.js +139 -0
- package/dist/plugins/comment/lg-comment.umd.js.map +1 -0
- package/dist/plugins/comment/package.json +7 -0
- package/dist/plugins/fullscreen/lg-fullscreen.es5.js +114 -0
- package/dist/plugins/fullscreen/lg-fullscreen.es5.js.map +1 -0
- package/dist/plugins/fullscreen/lg-fullscreen.min.js +1 -0
- package/dist/plugins/fullscreen/lg-fullscreen.umd.js +117 -0
- package/dist/plugins/fullscreen/lg-fullscreen.umd.js.map +1 -0
- package/dist/plugins/fullscreen/package.json +7 -0
- package/dist/plugins/hash/lg-hash.es5.js +207 -0
- package/dist/plugins/hash/lg-hash.es5.js.map +1 -0
- package/dist/plugins/hash/lg-hash.min.js +1 -0
- package/dist/plugins/hash/lg-hash.umd.js +210 -0
- package/dist/plugins/hash/lg-hash.umd.js.map +1 -0
- package/dist/plugins/hash/package.json +7 -0
- package/dist/plugins/justified/lg-justified.es5.js +415 -0
- package/dist/plugins/justified/lg-justified.es5.js.map +1 -0
- package/dist/plugins/justified/lg-justified.min.js +1 -0
- package/dist/plugins/justified/lg-justified.umd.js +418 -0
- package/dist/plugins/justified/lg-justified.umd.js.map +1 -0
- package/dist/plugins/justified/package.json +7 -0
- package/dist/plugins/mediumZoom/lg-medium-zoom.es5.js +95 -0
- package/dist/plugins/mediumZoom/lg-medium-zoom.es5.js.map +1 -0
- package/dist/plugins/mediumZoom/lg-medium-zoom.min.js +1 -0
- package/dist/plugins/mediumZoom/lg-medium-zoom.umd.js +98 -0
- package/dist/plugins/mediumZoom/lg-medium-zoom.umd.js.map +1 -0
- package/dist/plugins/mediumZoom/package.json +7 -0
- package/dist/plugins/originCrop/lg-origin-crop.es5.js +622 -0
- package/dist/plugins/originCrop/lg-origin-crop.es5.js.map +1 -0
- package/dist/plugins/originCrop/lg-origin-crop.min.js +1 -0
- package/dist/plugins/originCrop/lg-origin-crop.umd.js +625 -0
- package/dist/plugins/originCrop/lg-origin-crop.umd.js.map +1 -0
- package/dist/plugins/pager/lg-pager.es5.js +96 -0
- package/dist/plugins/pager/lg-pager.es5.js.map +1 -0
- package/dist/plugins/pager/lg-pager.min.js +1 -0
- package/dist/plugins/pager/lg-pager.umd.js +99 -0
- package/dist/plugins/pager/lg-pager.umd.js.map +1 -0
- package/dist/plugins/pager/package.json +7 -0
- package/dist/plugins/relativeCaption/lg-relative-caption.es5.js +98 -0
- package/dist/plugins/relativeCaption/lg-relative-caption.es5.js.map +1 -0
- package/dist/plugins/relativeCaption/lg-relative-caption.min.js +1 -0
- package/dist/plugins/relativeCaption/lg-relative-caption.umd.js +101 -0
- package/dist/plugins/relativeCaption/lg-relative-caption.umd.js.map +1 -0
- package/dist/plugins/relativeCaption/package.json +7 -0
- package/dist/plugins/rotate/lg-rotate.es5.js +226 -0
- package/dist/plugins/rotate/lg-rotate.es5.js.map +1 -0
- package/dist/plugins/rotate/lg-rotate.min.js +1 -0
- package/dist/plugins/rotate/lg-rotate.umd.js +229 -0
- package/dist/plugins/rotate/lg-rotate.umd.js.map +1 -0
- package/dist/plugins/rotate/package.json +7 -0
- package/dist/plugins/share/lg-share.es5.js +309 -0
- package/dist/plugins/share/lg-share.es5.js.map +1 -0
- package/dist/plugins/share/lg-share.min.js +1 -0
- package/dist/plugins/share/lg-share.umd.js +312 -0
- package/dist/plugins/share/lg-share.umd.js.map +1 -0
- package/dist/plugins/share/package.json +7 -0
- package/dist/plugins/thumbnail/lg-thumbnail.es5.js +792 -0
- package/dist/plugins/thumbnail/lg-thumbnail.es5.js.map +1 -0
- package/dist/plugins/thumbnail/lg-thumbnail.min.js +1 -0
- package/dist/plugins/thumbnail/lg-thumbnail.umd.js +795 -0
- package/dist/plugins/thumbnail/lg-thumbnail.umd.js.map +1 -0
- package/dist/plugins/thumbnail/package.json +7 -0
- package/dist/plugins/video/lg-video.es5.js +518 -0
- package/dist/plugins/video/lg-video.es5.js.map +1 -0
- package/dist/plugins/video/lg-video.min.js +1 -0
- package/dist/plugins/video/lg-video.umd.js +521 -0
- package/dist/plugins/video/lg-video.umd.js.map +1 -0
- package/dist/plugins/video/package.json +7 -0
- package/dist/plugins/vimeoThumbnail/lg-vimeo-thumbnail.es5.js +72 -0
- package/dist/plugins/vimeoThumbnail/lg-vimeo-thumbnail.es5.js.map +1 -0
- package/dist/plugins/vimeoThumbnail/lg-vimeo-thumbnail.min.js +1 -0
- package/dist/plugins/vimeoThumbnail/lg-vimeo-thumbnail.umd.js +75 -0
- package/dist/plugins/vimeoThumbnail/lg-vimeo-thumbnail.umd.js.map +1 -0
- package/dist/plugins/vimeoThumbnail/package.json +7 -0
- package/dist/plugins/zoom/lg-zoom.es5.js +1412 -0
- package/dist/plugins/zoom/lg-zoom.es5.js.map +1 -0
- package/dist/plugins/zoom/lg-zoom.min.js +1 -0
- package/dist/plugins/zoom/lg-zoom.umd.js +1415 -0
- package/dist/plugins/zoom/lg-zoom.umd.js.map +1 -0
- package/dist/plugins/zoom/package.json +7 -0
- package/{scss → dist/scss}/_lg-theme-default.scss +68 -18
- package/{scss → dist/scss}/_lg-variables.scss +0 -1
- package/{scss → dist/scss}/lg-autoplay.scss +10 -4
- package/{scss → dist/scss}/lg-comments.scss +0 -8
- package/dist/scss/lg-fullscreen.scss +15 -0
- package/dist/scss/lg-justified.scss +63 -0
- package/{scss → dist/scss}/lg-rotate.scss +0 -24
- package/dist/scss/lg-rtl.scss +145 -0
- package/{scss → dist/scss}/lg-share.scss +6 -33
- package/{scss → dist/scss}/lg-thumbnail.scss +16 -5
- package/{scss → dist/scss}/lg-zoom.scss +46 -9
- package/{scss → dist/scss}/lightgallery-bundle.scss +0 -1
- package/{scss → dist/scss}/lightgallery-core.scss +73 -6
- package/{scss → dist/scss}/lightgallery.scss +0 -1
- package/{scss → dist/scss}/transitions/_lg-scale-up.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-slide-circular-vertical.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-slide-circular.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-soft-zoom.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-zoom-in-big.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-zoom-in-out.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-zoom-in.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-zoom-out-big.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-zoom-out-in.scss +6 -0
- package/{scss → dist/scss}/transitions/_lg-zoom-out.scss +6 -0
- package/dist/types/headless/announce.d.ts +22 -0
- package/dist/types/headless/emitter.d.ts +14 -0
- package/dist/types/headless/gestures.d.ts +128 -0
- package/dist/types/headless/hash-driver.d.ts +77 -0
- package/dist/types/headless/icons.d.ts +56 -0
- package/dist/types/headless/index.d.ts +34 -0
- package/dist/types/headless/items.d.ts +92 -0
- package/dist/types/headless/justified-layout.d.ts +71 -0
- package/dist/types/headless/license.d.ts +35 -0
- package/dist/types/headless/origin-crop.d.ts +135 -0
- package/dist/types/headless/origin.d.ts +65 -0
- package/dist/types/headless/plugin-slices.d.ts +64 -0
- package/dist/types/headless/preload.d.ts +36 -0
- package/dist/types/headless/responsive.d.ts +90 -0
- package/dist/types/headless/settings.d.ts +268 -0
- package/dist/types/headless/share-urls.d.ts +60 -0
- package/dist/types/headless/spring.d.ts +42 -0
- package/dist/types/headless/state.d.ts +63 -0
- package/dist/types/headless/thumb-math.d.ts +85 -0
- package/dist/types/headless/toolbar-overflow.d.ts +61 -0
- package/dist/types/headless/transition.d.ts +33 -0
- package/dist/types/headless/velocity.d.ts +31 -0
- package/dist/types/headless/video-urls.d.ts +64 -0
- package/dist/types/headless/zoom-math.d.ts +89 -0
- package/{index.d.ts → dist/types/index.d.ts} +9 -4
- package/{lg-events.d.ts → dist/types/lg-events.d.ts} +300 -300
- package/dist/types/lg-icons.d.ts +27 -0
- package/{lg-plugin.d.ts → dist/types/lg-plugin.d.ts} +7 -7
- package/{lg-settings.d.ts → dist/types/lg-settings.d.ts} +549 -425
- package/dist/types/lg-spring-runner.d.ts +14 -0
- package/dist/types/lg-toolbar-overflow.d.ts +36 -0
- package/{lg-utils.d.ts → dist/types/lg-utils.d.ts} +236 -228
- package/{lgQuery.d.ts → dist/types/lgQuery.d.ts} +56 -56
- package/{lightgallery.d.ts → dist/types/lightgallery.d.ts} +384 -305
- package/{plugins → dist/types/plugins}/autoplay/lg-autoplay-settings.d.ts +41 -38
- package/{plugins → dist/types/plugins}/autoplay/lg-autoplay.d.ts +22 -22
- package/{plugins → dist/types/plugins}/comment/lg-comment-settings.d.ts +36 -33
- package/{plugins → dist/types/plugins}/comment/lg-comment.d.ts +25 -25
- package/{plugins → dist/types/plugins}/fullscreen/lg-fullscreen-settings.d.ts +17 -14
- package/{plugins → dist/types/plugins}/fullscreen/lg-fullscreen.d.ts +16 -16
- package/dist/types/plugins/hash/lg-hash-settings.d.ts +28 -0
- package/{plugins → dist/types/plugins}/hash/lg-hash.d.ts +25 -23
- package/dist/types/plugins/justified/lg-justified-settings.d.ts +42 -0
- package/dist/types/plugins/justified/lg-justified.d.ts +55 -0
- package/{plugins → dist/types/plugins}/mediumZoom/lg-medium-zoom-settings.d.ts +16 -16
- package/{plugins → dist/types/plugins}/mediumZoom/lg-medium-zoom.d.ts +12 -12
- package/dist/types/plugins/originCrop/lg-origin-crop-settings.d.ts +12 -0
- package/dist/types/plugins/originCrop/lg-origin-crop.d.ts +79 -0
- package/{plugins → dist/types/plugins}/pager/lg-pager-settings.d.ts +7 -7
- package/{plugins → dist/types/plugins}/pager/lg-pager.d.ts +13 -13
- package/{plugins → dist/types/plugins}/relativeCaption/lg-relative-caption-settings.d.ts +7 -7
- package/{plugins → dist/types/plugins}/relativeCaption/lg-relative-caption.d.ts +14 -14
- package/{plugins → dist/types/plugins}/rotate/lg-rotate-settings.d.ts +47 -45
- package/{plugins → dist/types/plugins}/rotate/lg-rotate.d.ts +25 -24
- package/{plugins → dist/types/plugins}/share/lg-fb-share-utils.d.ts +2 -2
- package/{plugins → dist/types/plugins}/share/lg-pinterest-share-utils.d.ts +2 -2
- package/{plugins → dist/types/plugins}/share/lg-share-settings.d.ts +71 -56
- package/dist/types/plugins/share/lg-share.d.ts +33 -0
- package/dist/types/plugins/share/lg-twitter-share-utils.d.ts +4 -0
- package/{plugins → dist/types/plugins}/share/types.d.ts +6 -6
- package/{plugins → dist/types/plugins}/thumbnail/lg-thumbnail-settings.d.ts +85 -70
- package/dist/types/plugins/thumbnail/lg-thumbnail.d.ts +88 -0
- package/{plugins → dist/types/plugins}/video/lg-video-settings.d.ts +94 -71
- package/{plugins → dist/types/plugins}/video/lg-video.d.ts +116 -104
- package/{plugins → dist/types/plugins}/video/types.d.ts +8 -8
- package/{plugins → dist/types/plugins}/vimeoThumbnail/lg-vimeo-thumbnail-settings.d.ts +11 -11
- package/{plugins → dist/types/plugins}/vimeoThumbnail/lg-vimeo-thumbnail.d.ts +14 -14
- package/{plugins → dist/types/plugins}/zoom/lg-zoom-settings.d.ts +54 -51
- package/{plugins → dist/types/plugins}/zoom/lg-zoom.d.ts +145 -108
- package/{types.d.ts → dist/types/types.d.ts} +40 -40
- package/package.json +222 -8
- package/angular/10/README.md +0 -24
- package/angular/10/bundles/lightgallery-angular-10.umd.js +0 -289
- package/angular/10/bundles/lightgallery-angular-10.umd.js.map +0 -1
- package/angular/10/bundles/lightgallery-angular-10.umd.min.js +0 -2
- package/angular/10/bundles/lightgallery-angular-10.umd.min.js.map +0 -1
- package/angular/10/esm2015/lib/lightgallery-angular.component.js +0 -225
- package/angular/10/esm2015/lib/lightgallery-angular.module.js +0 -17
- package/angular/10/esm2015/lib/lightgallery-angular.service.js +0 -14
- package/angular/10/esm2015/lightgallery-angular-10.js +0 -5
- package/angular/10/esm2015/public-api.js +0 -7
- package/angular/10/fesm2015/lightgallery-angular-10.js +0 -261
- package/angular/10/fesm2015/lightgallery-angular-10.js.map +0 -1
- package/angular/10/lib/lightgallery-angular.component.d.ts +0 -39
- package/angular/10/lib/lightgallery-angular.component.d.ts.map +0 -1
- package/angular/10/lib/lightgallery-angular.module.d.ts +0 -7
- package/angular/10/lib/lightgallery-angular.module.d.ts.map +0 -1
- package/angular/10/lib/lightgallery-angular.service.d.ts +0 -7
- package/angular/10/lib/lightgallery-angular.service.d.ts.map +0 -1
- package/angular/10/lightgallery-angular-10.d.ts +0 -6
- package/angular/10/lightgallery-angular-10.d.ts.map +0 -1
- package/angular/10/package.json +0 -21
- package/angular/10/public-api.d.ts +0 -4
- package/angular/10/public-api.d.ts.map +0 -1
- package/angular/11/README.md +0 -24
- package/angular/11/bundles/lightgallery-angular-11.umd.js +0 -290
- package/angular/11/bundles/lightgallery-angular-11.umd.js.map +0 -1
- package/angular/11/bundles/lightgallery-angular-11.umd.min.js +0 -2
- package/angular/11/bundles/lightgallery-angular-11.umd.min.js.map +0 -1
- package/angular/11/esm2015/lib/lightgallery-angular.component.js +0 -225
- package/angular/11/esm2015/lib/lightgallery-angular.module.js +0 -18
- package/angular/11/esm2015/lib/lightgallery-angular.service.js +0 -14
- package/angular/11/esm2015/lightgallery-angular-11.js +0 -5
- package/angular/11/esm2015/public-api.js +0 -7
- package/angular/11/fesm2015/lightgallery-angular-11.js +0 -262
- package/angular/11/fesm2015/lightgallery-angular-11.js.map +0 -1
- package/angular/11/lib/lightgallery-angular.component.d.ts +0 -39
- package/angular/11/lib/lightgallery-angular.component.d.ts.map +0 -1
- package/angular/11/lib/lightgallery-angular.module.d.ts +0 -8
- package/angular/11/lib/lightgallery-angular.module.d.ts.map +0 -1
- package/angular/11/lib/lightgallery-angular.service.d.ts +0 -7
- package/angular/11/lib/lightgallery-angular.service.d.ts.map +0 -1
- package/angular/11/lightgallery-angular-11.d.ts +0 -6
- package/angular/11/lightgallery-angular-11.d.ts.map +0 -1
- package/angular/11/package.json +0 -21
- package/angular/11/public-api.d.ts +0 -4
- package/angular/11/public-api.d.ts.map +0 -1
- package/angular/12/README.md +0 -24
- package/angular/12/bundles/lightgallery-angular-12.umd.js +0 -296
- package/angular/12/bundles/lightgallery-angular-12.umd.js.map +0 -1
- package/angular/12/esm2015/lib/lightgallery-angular.component.js +0 -221
- package/angular/12/esm2015/lib/lightgallery-angular.module.js +0 -17
- package/angular/12/esm2015/lib/lightgallery-angular.service.js +0 -14
- package/angular/12/esm2015/lightgallery-angular-12.js +0 -5
- package/angular/12/esm2015/public-api.js +0 -7
- package/angular/12/fesm2015/lightgallery-angular-12.js +0 -258
- package/angular/12/fesm2015/lightgallery-angular-12.js.map +0 -1
- package/angular/12/lib/lightgallery-angular.component.d.ts +0 -38
- package/angular/12/lib/lightgallery-angular.module.d.ts +0 -7
- package/angular/12/lib/lightgallery-angular.service.d.ts +0 -6
- package/angular/12/lightgallery-angular-12.d.ts +0 -5
- package/angular/12/package.json +0 -18
- package/angular/12/public-api.d.ts +0 -3
- package/angular/13/README.md +0 -24
- package/angular/13/esm2020/lib/lightgallery-angular.component.mjs +0 -221
- package/angular/13/esm2020/lib/lightgallery-angular.module.mjs +0 -17
- package/angular/13/esm2020/lib/lightgallery-angular.service.mjs +0 -14
- package/angular/13/esm2020/lightgallery-angular-13.mjs +0 -5
- package/angular/13/esm2020/public-api.mjs +0 -7
- package/angular/13/fesm2015/lightgallery-angular-13.mjs +0 -258
- package/angular/13/fesm2015/lightgallery-angular-13.mjs.map +0 -1
- package/angular/13/fesm2020/lightgallery-angular-13.mjs +0 -258
- package/angular/13/fesm2020/lightgallery-angular-13.mjs.map +0 -1
- package/angular/13/lib/lightgallery-angular.component.d.ts +0 -38
- package/angular/13/lib/lightgallery-angular.module.d.ts +0 -7
- package/angular/13/lib/lightgallery-angular.service.d.ts +0 -6
- package/angular/13/lightgallery-angular-13.d.ts +0 -5
- package/angular/13/package.json +0 -31
- package/angular/13/public-api.d.ts +0 -3
- package/angular/14/README.md +0 -24
- package/angular/14/esm2020/lib/lightgallery-angular.component.mjs +0 -217
- package/angular/14/esm2020/lib/lightgallery-angular.module.mjs +0 -17
- package/angular/14/esm2020/lib/lightgallery-angular.service.mjs +0 -14
- package/angular/14/esm2020/lightgallery-angular-14.mjs +0 -5
- package/angular/14/esm2020/public-api.mjs +0 -7
- package/angular/14/fesm2015/lightgallery-angular-14.mjs +0 -254
- package/angular/14/fesm2015/lightgallery-angular-14.mjs.map +0 -1
- package/angular/14/fesm2020/lightgallery-angular-14.mjs +0 -254
- package/angular/14/fesm2020/lightgallery-angular-14.mjs.map +0 -1
- package/angular/14/index.d.ts +0 -5
- package/angular/14/lib/lightgallery-angular.component.d.ts +0 -38
- package/angular/14/lib/lightgallery-angular.module.d.ts +0 -7
- package/angular/14/lib/lightgallery-angular.service.d.ts +0 -6
- package/angular/14/package.json +0 -31
- package/angular/14/public-api.d.ts +0 -3
- package/angular/15/README.md +0 -24
- package/angular/15/esm2022/lib/lightgallery-angular.component.mjs +0 -218
- package/angular/15/esm2022/lib/lightgallery-angular.module.mjs +0 -18
- package/angular/15/esm2022/lib/lightgallery-angular.service.mjs +0 -15
- package/angular/15/esm2022/lightgallery-angular-15.mjs +0 -5
- package/angular/15/esm2022/public-api.mjs +0 -7
- package/angular/15/fesm2022/lightgallery-angular-15.mjs +0 -254
- package/angular/15/fesm2022/lightgallery-angular-15.mjs.map +0 -1
- package/angular/15/index.d.ts +0 -5
- package/angular/15/lib/lightgallery-angular.component.d.ts +0 -38
- package/angular/15/lib/lightgallery-angular.module.d.ts +0 -7
- package/angular/15/lib/lightgallery-angular.service.d.ts +0 -6
- package/angular/15/package.json +0 -25
- package/angular/15/public-api.d.ts +0 -3
- package/angular/16/README.md +0 -24
- package/angular/16/esm2022/lib/lightgallery-angular.component.mjs +0 -218
- package/angular/16/esm2022/lib/lightgallery-angular.module.mjs +0 -18
- package/angular/16/esm2022/lib/lightgallery-angular.service.mjs +0 -15
- package/angular/16/esm2022/lightgallery-angular-16.mjs +0 -5
- package/angular/16/esm2022/public-api.mjs +0 -7
- package/angular/16/fesm2022/lightgallery-angular-16.mjs +0 -254
- package/angular/16/fesm2022/lightgallery-angular-16.mjs.map +0 -1
- package/angular/16/index.d.ts +0 -5
- package/angular/16/lib/lightgallery-angular.component.d.ts +0 -38
- package/angular/16/lib/lightgallery-angular.module.d.ts +0 -7
- package/angular/16/lib/lightgallery-angular.service.d.ts +0 -6
- package/angular/16/package.json +0 -25
- package/angular/16/public-api.d.ts +0 -3
- package/angular/9/README.md +0 -24
- package/angular/9/bundles/lightgallery-angular-9.umd.js +0 -271
- package/angular/9/bundles/lightgallery-angular-9.umd.js.map +0 -1
- package/angular/9/bundles/lightgallery-angular-9.umd.min.js +0 -2
- package/angular/9/bundles/lightgallery-angular-9.umd.min.js.map +0 -1
- package/angular/9/esm2015/lib/lightgallery-angular.component.js +0 -225
- package/angular/9/esm2015/lib/lightgallery-angular.module.js +0 -17
- package/angular/9/esm2015/lib/lightgallery-angular.service.js +0 -14
- package/angular/9/esm2015/lightgallery-angular-9.js +0 -5
- package/angular/9/esm2015/public-api.js +0 -7
- package/angular/9/esm5/lib/lightgallery-angular.component.js +0 -228
- package/angular/9/esm5/lib/lightgallery-angular.module.js +0 -21
- package/angular/9/esm5/lib/lightgallery-angular.service.js +0 -17
- package/angular/9/esm5/lightgallery-angular-9.js +0 -5
- package/angular/9/esm5/public-api.js +0 -7
- package/angular/9/fesm2015/lightgallery-angular-9.js +0 -261
- package/angular/9/fesm2015/lightgallery-angular-9.js.map +0 -1
- package/angular/9/fesm5/lightgallery-angular-9.js +0 -268
- package/angular/9/fesm5/lightgallery-angular-9.js.map +0 -1
- package/angular/9/lib/lightgallery-angular.component.d.ts +0 -38
- package/angular/9/lib/lightgallery-angular.module.d.ts +0 -6
- package/angular/9/lib/lightgallery-angular.service.d.ts +0 -6
- package/angular/9/lightgallery-angular-9.d.ts +0 -5
- package/angular/9/package.json +0 -23
- package/angular/9/public-api.d.ts +0 -3
- package/angular/README.md +0 -24
- package/angular/esm2022/lib/lightgallery-angular.component.mjs +0 -218
- package/angular/esm2022/lib/lightgallery-angular.module.mjs +0 -18
- package/angular/esm2022/lib/lightgallery-angular.service.mjs +0 -15
- package/angular/esm2022/lightgallery-angular.mjs +0 -5
- package/angular/esm2022/public-api.mjs +0 -7
- package/angular/fesm2022/lightgallery-angular.mjs +0 -254
- package/angular/fesm2022/lightgallery-angular.mjs.map +0 -1
- package/angular/index.d.ts +0 -5
- package/angular/lib/lightgallery-angular.component.d.ts +0 -38
- package/angular/lib/lightgallery-angular.module.d.ts +0 -7
- package/angular/lib/lightgallery-angular.service.d.ts +0 -6
- package/angular/package.json +0 -25
- package/angular/public-api.d.ts +0 -3
- package/css/lg-fullscreen.css +0 -8
- package/css/lg-fullscreen.css.map +0 -1
- package/css/lg-share.css.map +0 -1
- package/css/lg-thumbnail.css.map +0 -1
- package/css/lg-transitions.css.map +0 -1
- package/css/lg-zoom.css.map +0 -1
- package/css/lightgallery-bundle.css.map +0 -1
- package/css/lightgallery-bundle.min.css +0 -1
- package/css/lightgallery-core.css.map +0 -1
- package/css/lightgallery.css.map +0 -1
- package/fonts/lg.svg +0 -54
- package/fonts/lg.ttf +0 -0
- package/fonts/lg.woff +0 -0
- package/fonts/lg.woff2 +0 -0
- package/lib/index.js +0 -8
- package/lib/index.js.map +0 -1
- package/lib/lg-events.js +0 -37
- package/lib/lg-events.js.map +0 -1
- package/lib/lg-plugin.js +0 -13
- package/lib/lg-plugin.js.map +0 -1
- package/lib/lg-settings.js +0 -83
- package/lib/lg-settings.js.map +0 -1
- package/lib/lg-utils.js +0 -328
- package/lib/lg-utils.js.map +0 -1
- package/lib/lgQuery.js +0 -385
- package/lib/lgQuery.js.map +0 -1
- package/lib/lightgallery.js +0 -1949
- package/lib/lightgallery.js.map +0 -1
- package/lib/plugins/autoplay/lg-autoplay-settings.js +0 -16
- package/lib/plugins/autoplay/lg-autoplay-settings.js.map +0 -1
- package/lib/plugins/autoplay/lg-autoplay.js +0 -184
- package/lib/plugins/autoplay/lg-autoplay.js.map +0 -1
- package/lib/plugins/comment/lg-comment-settings.js +0 -17
- package/lib/plugins/comment/lg-comment-settings.js.map +0 -1
- package/lib/plugins/comment/lg-comment.js +0 -140
- package/lib/plugins/comment/lg-comment.js.map +0 -1
- package/lib/plugins/fullscreen/lg-fullscreen-settings.js +0 -10
- package/lib/plugins/fullscreen/lg-fullscreen-settings.js.map +0 -1
- package/lib/plugins/fullscreen/lg-fullscreen.js +0 -108
- package/lib/plugins/fullscreen/lg-fullscreen.js.map +0 -1
- package/lib/plugins/hash/lg-hash-settings.js +0 -9
- package/lib/plugins/hash/lg-hash-settings.js.map +0 -1
- package/lib/plugins/hash/lg-hash.js +0 -139
- package/lib/plugins/hash/lg-hash.js.map +0 -1
- package/lib/plugins/mediumZoom/lg-medium-zoom-settings.js +0 -9
- package/lib/plugins/mediumZoom/lg-medium-zoom-settings.js.map +0 -1
- package/lib/plugins/mediumZoom/lg-medium-zoom.js +0 -73
- package/lib/plugins/mediumZoom/lg-medium-zoom.js.map +0 -1
- package/lib/plugins/pager/lg-pager-settings.js +0 -7
- package/lib/plugins/pager/lg-pager-settings.js.map +0 -1
- package/lib/plugins/pager/lg-pager.js +0 -82
- package/lib/plugins/pager/lg-pager.js.map +0 -1
- package/lib/plugins/relativeCaption/lg-relative-caption-settings.js +0 -7
- package/lib/plugins/relativeCaption/lg-relative-caption-settings.js.map +0 -1
- package/lib/plugins/relativeCaption/lg-relative-caption.js +0 -97
- package/lib/plugins/relativeCaption/lg-relative-caption.js.map +0 -1
- package/lib/plugins/rotate/lg-rotate-settings.js +0 -18
- package/lib/plugins/rotate/lg-rotate-settings.js.map +0 -1
- package/lib/plugins/rotate/lg-rotate.js +0 -206
- package/lib/plugins/rotate/lg-rotate.js.map +0 -1
- package/lib/plugins/share/lg-fb-share-utils.js +0 -10
- package/lib/plugins/share/lg-fb-share-utils.js.map +0 -1
- package/lib/plugins/share/lg-pinterest-share-utils.js +0 -17
- package/lib/plugins/share/lg-pinterest-share-utils.js.map +0 -1
- package/lib/plugins/share/lg-share-settings.js +0 -15
- package/lib/plugins/share/lg-share-settings.js.map +0 -1
- package/lib/plugins/share/lg-share.js +0 -130
- package/lib/plugins/share/lg-share.js.map +0 -1
- package/lib/plugins/share/lg-twitter-share-utils.js +0 -11
- package/lib/plugins/share/lg-twitter-share-utils.js.map +0 -1
- package/lib/plugins/share/types.js +0 -3
- package/lib/plugins/share/types.js.map +0 -1
- package/lib/plugins/thumbnail/lg-thumbnail-settings.js +0 -23
- package/lib/plugins/thumbnail/lg-thumbnail-settings.js.map +0 -1
- package/lib/plugins/thumbnail/lg-thumbnail.js +0 -414
- package/lib/plugins/thumbnail/lg-thumbnail.js.map +0 -1
- package/lib/plugins/video/lg-video-settings.js +0 -15
- package/lib/plugins/video/lg-video-settings.js.map +0 -1
- package/lib/plugins/video/lg-video-utils.js +0 -84
- package/lib/plugins/video/lg-video-utils.js.map +0 -1
- package/lib/plugins/video/lg-video.js +0 -411
- package/lib/plugins/video/lg-video.js.map +0 -1
- package/lib/plugins/video/types.js +0 -3
- package/lib/plugins/video/types.js.map +0 -1
- package/lib/plugins/vimeoThumbnail/lg-vimeo-thumbnail-settings.js +0 -8
- package/lib/plugins/vimeoThumbnail/lg-vimeo-thumbnail-settings.js.map +0 -1
- package/lib/plugins/vimeoThumbnail/lg-vimeo-thumbnail.js +0 -122
- package/lib/plugins/vimeoThumbnail/lg-vimeo-thumbnail.js.map +0 -1
- package/lib/plugins/zoom/lg-zoom-settings.js +0 -21
- package/lib/plugins/zoom/lg-zoom-settings.js.map +0 -1
- package/lib/plugins/zoom/lg-zoom.js +0 -909
- package/lib/plugins/zoom/lg-zoom.js.map +0 -1
- package/lib/types.js +0 -3
- package/lib/types.js.map +0 -1
- package/lightgallery-2.9.0.tgz +0 -0
- package/lightgallery.es5.js +0 -2786
- package/lightgallery.es5.js.map +0 -1
- package/lightgallery.min.js +0 -8
- package/lightgallery.umd.js +0 -2794
- package/lightgallery.umd.js.map +0 -1
- package/lit/custom-elements.json +0 -82
- package/lit/lightgallery.esm.js +0 -59
- package/lit/lightgallery.umd.js +0 -37
- package/lit/package.json +0 -8
- package/plugins/autoplay/lg-autoplay.es5.js +0 -250
- package/plugins/autoplay/lg-autoplay.es5.js.map +0 -1
- package/plugins/autoplay/lg-autoplay.min.js +0 -8
- package/plugins/autoplay/lg-autoplay.umd.js +0 -258
- package/plugins/autoplay/lg-autoplay.umd.js.map +0 -1
- package/plugins/autoplay/package.json +0 -7
- package/plugins/comment/lg-comment.es5.js +0 -205
- package/plugins/comment/lg-comment.es5.js.map +0 -1
- package/plugins/comment/lg-comment.min.js +0 -8
- package/plugins/comment/lg-comment.umd.js +0 -213
- package/plugins/comment/lg-comment.umd.js.map +0 -1
- package/plugins/comment/package.json +0 -7
- package/plugins/fullscreen/lg-fullscreen.es5.js +0 -135
- package/plugins/fullscreen/lg-fullscreen.es5.js.map +0 -1
- package/plugins/fullscreen/lg-fullscreen.min.js +0 -8
- package/plugins/fullscreen/lg-fullscreen.umd.js +0 -143
- package/plugins/fullscreen/lg-fullscreen.umd.js.map +0 -1
- package/plugins/fullscreen/package.json +0 -7
- package/plugins/hash/lg-hash-settings.d.ts +0 -16
- package/plugins/hash/lg-hash.es5.js +0 -198
- package/plugins/hash/lg-hash.es5.js.map +0 -1
- package/plugins/hash/lg-hash.min.js +0 -8
- package/plugins/hash/lg-hash.umd.js +0 -206
- package/plugins/hash/lg-hash.umd.js.map +0 -1
- package/plugins/hash/package.json +0 -7
- package/plugins/mediumZoom/lg-medium-zoom.es5.js +0 -132
- package/plugins/mediumZoom/lg-medium-zoom.es5.js.map +0 -1
- package/plugins/mediumZoom/lg-medium-zoom.min.js +0 -8
- package/plugins/mediumZoom/lg-medium-zoom.umd.js +0 -140
- package/plugins/mediumZoom/lg-medium-zoom.umd.js.map +0 -1
- package/plugins/mediumZoom/package.json +0 -7
- package/plugins/pager/lg-pager.es5.js +0 -139
- package/plugins/pager/lg-pager.es5.js.map +0 -1
- package/plugins/pager/lg-pager.min.js +0 -8
- package/plugins/pager/lg-pager.umd.js +0 -147
- package/plugins/pager/lg-pager.umd.js.map +0 -1
- package/plugins/pager/package.json +0 -7
- package/plugins/relativeCaption/lg-relative-caption.es5.js +0 -154
- package/plugins/relativeCaption/lg-relative-caption.es5.js.map +0 -1
- package/plugins/relativeCaption/lg-relative-caption.min.js +0 -8
- package/plugins/relativeCaption/lg-relative-caption.umd.js +0 -162
- package/plugins/relativeCaption/lg-relative-caption.umd.js.map +0 -1
- package/plugins/relativeCaption/package.json +0 -7
- package/plugins/rotate/lg-rotate.es5.js +0 -274
- package/plugins/rotate/lg-rotate.es5.js.map +0 -1
- package/plugins/rotate/lg-rotate.min.js +0 -8
- package/plugins/rotate/lg-rotate.umd.js +0 -282
- package/plugins/rotate/lg-rotate.umd.js.map +0 -1
- package/plugins/rotate/package.json +0 -7
- package/plugins/share/lg-share.d.ts +0 -15
- package/plugins/share/lg-share.es5.js +0 -219
- package/plugins/share/lg-share.es5.js.map +0 -1
- package/plugins/share/lg-share.min.js +0 -8
- package/plugins/share/lg-share.umd.js +0 -227
- package/plugins/share/lg-share.umd.js.map +0 -1
- package/plugins/share/lg-twitter-share-utils.d.ts +0 -2
- package/plugins/share/package.json +0 -7
- package/plugins/thumbnail/lg-thumbnail.d.ts +0 -48
- package/plugins/thumbnail/lg-thumbnail.es5.js +0 -487
- package/plugins/thumbnail/lg-thumbnail.es5.js.map +0 -1
- package/plugins/thumbnail/lg-thumbnail.min.js +0 -8
- package/plugins/thumbnail/lg-thumbnail.umd.js +0 -495
- package/plugins/thumbnail/lg-thumbnail.umd.js.map +0 -1
- package/plugins/thumbnail/package.json +0 -7
- package/plugins/video/lg-video-utils.d.ts +0 -10
- package/plugins/video/lg-video.es5.js +0 -545
- package/plugins/video/lg-video.es5.js.map +0 -1
- package/plugins/video/lg-video.min.js +0 -8
- package/plugins/video/lg-video.umd.js +0 -553
- package/plugins/video/lg-video.umd.js.map +0 -1
- package/plugins/video/package.json +0 -7
- package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.es5.js +0 -182
- package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.es5.js.map +0 -1
- package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.min.js +0 -8
- package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.umd.js +0 -190
- package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.umd.js.map +0 -1
- package/plugins/vimeoThumbnail/package.json +0 -7
- package/plugins/zoom/lg-zoom.es5.js +0 -980
- package/plugins/zoom/lg-zoom.es5.js.map +0 -1
- package/plugins/zoom/lg-zoom.min.js +0 -8
- package/plugins/zoom/lg-zoom.umd.js +0 -988
- package/plugins/zoom/lg-zoom.umd.js.map +0 -1
- package/plugins/zoom/package.json +0 -7
- package/react/Lightgallery.d.ts +0 -33
- package/react/Lightgallery.es5.js +0 -2988
- package/react/Lightgallery.es5.js.map +0 -1
- package/react/Lightgallery.umd.js +0 -2994
- package/react/Lightgallery.umd.js.map +0 -1
- package/react/package.json +0 -7
- package/scss/_lg-fonts.scss +0 -27
- package/scss/lg-fullscreen.scss +0 -9
- package/vue/LightGallery.vue.d.ts +0 -37
- package/vue/LightGalleryVue.common.js +0 -9343
- package/vue/LightGalleryVue.common.js.map +0 -1
- package/vue/LightGalleryVue.umd.js +0 -9353
- package/vue/LightGalleryVue.umd.js.map +0 -1
- package/vue/LightGalleryVue.umd.min.js +0 -8
- package/vue/LightGalleryVue.umd.min.js.map +0 -1
- package/vue/package.json +0 -7
- /package/{css → dist/css}/lg-medium-zoom.css +0 -0
- /package/{css → dist/css}/lg-medium-zoom.css.map +0 -0
- /package/{css → dist/css}/lg-pager.css +0 -0
- /package/{css → dist/css}/lg-relative-caption.css +0 -0
- /package/{css → dist/css}/lg-relative-caption.css.map +0 -0
- /package/{css → dist/css}/lg-video.css +0 -0
- /package/{css → dist/css}/lg-video.css.map +0 -0
- /package/{images → dist/images}/loading.gif +0 -0
- /package/{scss → dist/scss}/_lg-mixins.scss +0 -0
- /package/{scss → dist/scss}/lg-medium-zoom.scss +0 -0
- /package/{scss → dist/scss}/lg-pager.scss +0 -0
- /package/{scss → dist/scss}/lg-relative-caption.scss +0 -0
- /package/{scss → dist/scss}/lg-transitions.scss +0 -0
- /package/{scss → dist/scss}/lg-video.scss +0 -0
- /package/{scss → dist/scss}/transitions/_index.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-lollipop-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-lollipop.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-rotate-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-rotate.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-cross-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-cross.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-only-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-only-y-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-only-y.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-only.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-ver-cross-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-ver-cross.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-ver-rev.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew-ver.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-skew.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-vertical-growth.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-slide-vertical.scss +0 -0
- /package/{scss → dist/scss}/transitions/_lg-tube.scss +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// lightGallery justified layout, trigger-grid styles. Its own entry
|
|
2
|
+
// on purpose: galleries that do not use the layout never load it.
|
|
3
|
+
|
|
4
|
+
// Box shown in a thumbnail's place until it has loaded. Translucent so
|
|
5
|
+
// it reads on light and dark pages alike; override the rules below to
|
|
6
|
+
// theme it.
|
|
7
|
+
$lg-justified-placeholder: rgba(128, 128, 128, 0.2) !default;
|
|
8
|
+
$lg-justified-fade-duration: 0.35s !default;
|
|
9
|
+
|
|
10
|
+
.lg-justified {
|
|
11
|
+
position: relative;
|
|
12
|
+
display: block;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
|
|
15
|
+
// Children stay invisible and out of flow until the layout has
|
|
16
|
+
// positioned them, so the grid is never seen unorganized and a
|
|
17
|
+
// natural-size thumbnail cannot widen the page meanwhile. Put the
|
|
18
|
+
// class in the markup itself to cover the time before the script
|
|
19
|
+
// runs.
|
|
20
|
+
> * {
|
|
21
|
+
position: absolute;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.lg-justified-item {
|
|
26
|
+
position: absolute;
|
|
27
|
+
display: block;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
opacity: 1;
|
|
30
|
+
|
|
31
|
+
img {
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
object-fit: cover;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.lg-justified-item-hidden {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Reveal layer, scoped to the marker class the runtime adds to the
|
|
45
|
+
// container at init: the box shows at once as a placeholder and its
|
|
46
|
+
// thumbnail fades in once loaded. Gated on purpose. Layout code that
|
|
47
|
+
// positions the items itself adds the geometry classes but never the
|
|
48
|
+
// per-item reveal class, and would otherwise hold its images invisible
|
|
49
|
+
// forever.
|
|
50
|
+
.lg-justified-reveal {
|
|
51
|
+
.lg-justified-item {
|
|
52
|
+
background-color: $lg-justified-placeholder;
|
|
53
|
+
|
|
54
|
+
img {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
transition: opacity $lg-justified-fade-duration ease;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.lg-justified-item-visible img {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -32,33 +32,9 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.lg-rotate-left {
|
|
36
|
-
&:after {
|
|
37
|
-
content: '\e900';
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.lg-rotate-right {
|
|
42
|
-
&:after {
|
|
43
|
-
content: '\e901';
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
35
|
.lg-icon {
|
|
48
36
|
&.lg-flip-hor,
|
|
49
37
|
&.lg-flip-ver {
|
|
50
38
|
font-size: 26px;
|
|
51
39
|
}
|
|
52
40
|
}
|
|
53
|
-
|
|
54
|
-
.lg-flip-ver {
|
|
55
|
-
&:after {
|
|
56
|
-
content: '\e903';
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.lg-flip-hor {
|
|
61
|
-
&:after {
|
|
62
|
-
content: '\e902';
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
@use 'lg-mixins' as *;
|
|
2
|
+
|
|
3
|
+
// Opt-in RTL layer: load this stylesheet (after the theme and any plugin
|
|
4
|
+
// styles) whenever the gallery's `direction` setting resolves to 'rtl'.
|
|
5
|
+
// Every rule is scoped to `.lg-container[dir='rtl']`, the attribute the
|
|
6
|
+
// core sets from the resolved direction, so LTR galleries pay nothing
|
|
7
|
+
// and a forced-LTR gallery inside an RTL page stays untouched.
|
|
8
|
+
//
|
|
9
|
+
// Scope note: the default lg-slide mode, chrome, thumbnails, share
|
|
10
|
+
// dropdown and comment drawer mirror here. The decorative horizontal
|
|
11
|
+
// transitions (lg-slide-skew, lg-tube, …) keep their LTR choreography.
|
|
12
|
+
|
|
13
|
+
.lg-container[dir='rtl'] {
|
|
14
|
+
// Prev/next arrows swap sides and point the other way.
|
|
15
|
+
.lg-next {
|
|
16
|
+
right: auto;
|
|
17
|
+
left: 20px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.lg-prev {
|
|
21
|
+
left: auto;
|
|
22
|
+
right: 20px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Custom prev/next arrows mirror instead of swapping glyphs.
|
|
26
|
+
.lg-prev.lg-icon-custom svg,
|
|
27
|
+
.lg-next.lg-icon-custom svg {
|
|
28
|
+
transform: scaleX(-1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Chrome enter/exit slides from the mirrored side.
|
|
32
|
+
&.lg-show-in .lg-hide-items {
|
|
33
|
+
.lg-prev {
|
|
34
|
+
@include translate3d(10px, 0, 0);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.lg-next {
|
|
38
|
+
@include translate3d(-10px, 0, 0);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// End-of-gallery bounce points at the mirrored edge (the keyframes
|
|
43
|
+
// ship with the default theme; only the assignment swaps).
|
|
44
|
+
.lg-outer.lg-right-end .lg-object {
|
|
45
|
+
animation: lg-left-end 0.3s;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.lg-outer.lg-left-end .lg-object {
|
|
49
|
+
animation: lg-right-end 0.3s;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// The slide rail keeps its internal LTR geometry: the absolutely
|
|
53
|
+
// positioned slides take their STATIC position from the rail's
|
|
54
|
+
// inline direction, so an inherited rtl shoves the current slide a
|
|
55
|
+
// full viewport off-screen (left: -100% static offset). Mirroring
|
|
56
|
+
// lives in the transforms below, never in the rail's writing mode.
|
|
57
|
+
.lg-inner {
|
|
58
|
+
direction: ltr;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Slide-level captions (captionPosition: 'slide') sit inside the
|
|
62
|
+
// rail, restore their reading direction.
|
|
63
|
+
.lg-inner .lg-sub-html {
|
|
64
|
+
direction: rtl;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Resting slide positions mirror: prev sits to the physical right.
|
|
68
|
+
// The drag/spring transforms follow via the direction-aware headless
|
|
69
|
+
// math, so gestures and CSS agree on the geometry.
|
|
70
|
+
.lg-outer.lg-slide.lg-use-css3 .lg-item {
|
|
71
|
+
&.lg-prev-slide {
|
|
72
|
+
@include translate3d(100%, 0, 0);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.lg-next-slide {
|
|
76
|
+
@include translate3d(-100%, 0, 0);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Mid-transition a slide carries lg-current AND a neighbor class;
|
|
80
|
+
// the base stylesheet resolves that tie by source order, so the
|
|
81
|
+
// current position must be re-asserted at this specificity too.
|
|
82
|
+
&.lg-current {
|
|
83
|
+
@include translate3d(0, 0, 0);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Toolbar icons flow from the left; the counter pads on its right.
|
|
88
|
+
.lg-toolbar .lg-icon,
|
|
89
|
+
.lg-toolbar .lg-share-outer {
|
|
90
|
+
float: left;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// The overflow menu opens from the toolbar's inline end.
|
|
94
|
+
.lg-toolbar-menu {
|
|
95
|
+
right: auto;
|
|
96
|
+
left: 8px;
|
|
97
|
+
text-align: right;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.lg-counter {
|
|
101
|
+
padding-left: 0;
|
|
102
|
+
padding-right: 20px;
|
|
103
|
+
// "3 / 5" must not bidi-reorder into "5 / 3", the counter is a
|
|
104
|
+
// number pair, not prose.
|
|
105
|
+
direction: ltr;
|
|
106
|
+
unicode-bidi: isolate;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Thumbnail strip flows right-to-left; the plugin flips its
|
|
110
|
+
// translate sign to match (logical strip space stays shared).
|
|
111
|
+
.lg-outer {
|
|
112
|
+
.lg-thumb-spacer,
|
|
113
|
+
.lg-thumb-item {
|
|
114
|
+
float: right;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Share dropdown hangs under the mirrored toolbar corner.
|
|
119
|
+
.lg-outer .lg-dropdown {
|
|
120
|
+
right: auto;
|
|
121
|
+
left: 0;
|
|
122
|
+
text-align: right;
|
|
123
|
+
|
|
124
|
+
&:after {
|
|
125
|
+
right: auto;
|
|
126
|
+
left: 16px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.lg-icon {
|
|
130
|
+
margin-right: 0;
|
|
131
|
+
margin-left: 8px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Comment drawer docks and enters from the left.
|
|
136
|
+
.lg-comment-box {
|
|
137
|
+
right: auto;
|
|
138
|
+
left: 0;
|
|
139
|
+
@include transform(translate3d(-100%, 0, 0));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.lg-outer.lg-comment-active .lg-comment-box {
|
|
143
|
+
@include transform(translate3d(0, 0, 0));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -2,26 +2,8 @@
|
|
|
2
2
|
@use 'lg-mixins' as *;
|
|
3
3
|
|
|
4
4
|
.lg-outer {
|
|
5
|
-
.lg-dropdown-overlay {
|
|
6
|
-
background-color: rgba(0, 0, 0, 0.25);
|
|
7
|
-
bottom: 0;
|
|
8
|
-
cursor: default;
|
|
9
|
-
left: 0;
|
|
10
|
-
position: absolute;
|
|
11
|
-
right: 0;
|
|
12
|
-
top: 0;
|
|
13
|
-
z-index: $zindex-toolbar - 1;
|
|
14
|
-
opacity: 0;
|
|
15
|
-
visibility: hidden;
|
|
16
|
-
will-change: visibility, opacity;
|
|
17
|
-
@include transition(
|
|
18
|
-
visibility 0s linear 0.18s,
|
|
19
|
-
opacity 0.18s linear 0s
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
5
|
&.lg-dropdown-active {
|
|
23
|
-
.lg-dropdown
|
|
24
|
-
.lg-dropdown-overlay {
|
|
6
|
+
.lg-dropdown {
|
|
25
7
|
@include transition-delay(0s);
|
|
26
8
|
@include transform(translate3d(0, 0px, 0));
|
|
27
9
|
opacity: 1;
|
|
@@ -104,34 +86,25 @@
|
|
|
104
86
|
width: auto;
|
|
105
87
|
}
|
|
106
88
|
}
|
|
107
|
-
|
|
89
|
+
// The button and its dropdown share a wrapper, so the menu hangs
|
|
90
|
+
// under the control that opened it instead of the toolbar's corner.
|
|
91
|
+
.lg-share-outer {
|
|
92
|
+
float: right;
|
|
108
93
|
position: relative;
|
|
109
|
-
&:after {
|
|
110
|
-
content: '\e80d';
|
|
111
|
-
}
|
|
112
94
|
}
|
|
113
95
|
.lg-share-facebook {
|
|
114
96
|
.lg-icon {
|
|
115
97
|
color: #3b5998;
|
|
116
|
-
&:after {
|
|
117
|
-
content: '\e904';
|
|
118
|
-
}
|
|
119
98
|
}
|
|
120
99
|
}
|
|
121
100
|
.lg-share-twitter {
|
|
122
101
|
.lg-icon {
|
|
123
|
-
color: #
|
|
124
|
-
&:after {
|
|
125
|
-
content: '\e907';
|
|
126
|
-
}
|
|
102
|
+
color: #000;
|
|
127
103
|
}
|
|
128
104
|
}
|
|
129
105
|
.lg-share-pinterest {
|
|
130
106
|
.lg-icon {
|
|
131
107
|
color: #cb2027;
|
|
132
|
-
&:after {
|
|
133
|
-
content: '\e906';
|
|
134
|
-
}
|
|
135
108
|
}
|
|
136
109
|
}
|
|
137
110
|
}
|
|
@@ -4,6 +4,15 @@
|
|
|
4
4
|
$thumbnails-margin: 5px;
|
|
5
5
|
|
|
6
6
|
.lg-outer {
|
|
7
|
+
// Scrub session (scrubThumbnails): the strip drives the gallery
|
|
8
|
+
// frame by frame, slide swaps must land instantly, so every slide
|
|
9
|
+
// transition is off while the session runs.
|
|
10
|
+
&.lg-thumb-scrubbing {
|
|
11
|
+
.lg-item {
|
|
12
|
+
transition: none !important;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
7
16
|
.lg-thumb-outer {
|
|
8
17
|
background-color: $lg-thumb-bg;
|
|
9
18
|
width: 100%;
|
|
@@ -62,6 +71,13 @@ $thumbnails-margin: 5px;
|
|
|
62
71
|
}
|
|
63
72
|
}
|
|
64
73
|
|
|
74
|
+
// Virtualized-strip spacer: stands in for the unrendered thumbs so
|
|
75
|
+
// the track keeps its full scroll geometry.
|
|
76
|
+
.lg-thumb-spacer {
|
|
77
|
+
float: left;
|
|
78
|
+
height: 1px;
|
|
79
|
+
}
|
|
80
|
+
|
|
65
81
|
.lg-thumb-item {
|
|
66
82
|
cursor: pointer;
|
|
67
83
|
float: left;
|
|
@@ -95,11 +111,6 @@ $thumbnails-margin: 5px;
|
|
|
95
111
|
}
|
|
96
112
|
}
|
|
97
113
|
|
|
98
|
-
.lg-toggle-thumb {
|
|
99
|
-
&:after {
|
|
100
|
-
content: '\e1ff';
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
114
|
&.lg-animate-thumb {
|
|
104
115
|
.lg-thumb {
|
|
105
116
|
@include transition-timing-function(
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
@use 'lg-variables' as *;
|
|
2
2
|
@use 'lg-mixins' as *;
|
|
3
3
|
|
|
4
|
+
// The actual-size button carries both zoom icons; its live class
|
|
5
|
+
// (toggled by the plugin as the zoom state changes) picks one. The
|
|
6
|
+
// dedicated zoom-in/out buttons carry a single icon each, so these
|
|
7
|
+
// rules are inert on them.
|
|
8
|
+
.lg-icon-custom.lg-zoom-in .lg-ci-zoom-out {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
.lg-icon-custom.lg-zoom-out .lg-ci-zoom-in {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
4
15
|
.lg-outer {
|
|
5
16
|
// reset transition duration
|
|
6
17
|
&.lg-css3.lg-zoom-dragging {
|
|
@@ -31,6 +42,41 @@
|
|
|
31
42
|
}
|
|
32
43
|
}
|
|
33
44
|
}
|
|
45
|
+
// Gesture releases settle the image scale on the same monotonic
|
|
46
|
+
// ease as the wrap pan. The default bouncy bezier below overshoots
|
|
47
|
+
// by ~19% of the delta, fine for one-step button zooms, a violent
|
|
48
|
+
// excursion when an infinite-zoom pinch releases far above actual
|
|
49
|
+
// size. Both :not() guards keep this high-specificity rule from
|
|
50
|
+
// outranking the two !important kill switches it must lose to:
|
|
51
|
+
// lg-zoom-dragging (fingers still down) and no-transition (the
|
|
52
|
+
// actual-size natural-px swap, which must never animate).
|
|
53
|
+
&.lg-zoom-drag-transition:not(.lg-zoom-dragging) {
|
|
54
|
+
.lg-item.lg-complete.lg-zoomable {
|
|
55
|
+
.lg-image:not(.no-transition),
|
|
56
|
+
.lg-dummy-img:not(.no-transition) {
|
|
57
|
+
@include transitionCustom(
|
|
58
|
+
transform 0.8s cubic-bezier(0, 0, 0.25, 1) 0s,
|
|
59
|
+
opacity 0.15s !important
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Close-while-zoomed: the core starts the zoom-from-origin shrink on
|
|
67
|
+
// the slide item and resetZoom strips the pan/scale styles in the
|
|
68
|
+
// same frame. The strip has to land instantly, animated through the
|
|
69
|
+
// transitions above it composes with the slide shrink, and the image
|
|
70
|
+
// never reaches the trigger rect before the close timeout hides the
|
|
71
|
+
// gallery.
|
|
72
|
+
&.lg-closing {
|
|
73
|
+
.lg-item.lg-complete.lg-zoomable {
|
|
74
|
+
.lg-img-wrap,
|
|
75
|
+
.lg-image,
|
|
76
|
+
.lg-dummy-img {
|
|
77
|
+
transition: none !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
34
80
|
}
|
|
35
81
|
|
|
36
82
|
.lg-item.lg-complete.lg-zoomable {
|
|
@@ -81,9 +127,6 @@
|
|
|
81
127
|
.lg-icon {
|
|
82
128
|
// zoom buttons
|
|
83
129
|
&.lg-zoom-in {
|
|
84
|
-
&:after {
|
|
85
|
-
content: '\e311';
|
|
86
|
-
}
|
|
87
130
|
.lg-actual-size & {
|
|
88
131
|
opacity: 1;
|
|
89
132
|
pointer-events: auto;
|
|
@@ -92,18 +135,12 @@
|
|
|
92
135
|
|
|
93
136
|
&.lg-actual-size {
|
|
94
137
|
font-size: 20px;
|
|
95
|
-
&:after {
|
|
96
|
-
content: '\e033';
|
|
97
|
-
}
|
|
98
138
|
}
|
|
99
139
|
|
|
100
140
|
&.lg-zoom-out {
|
|
101
141
|
opacity: 0.5;
|
|
102
142
|
pointer-events: none;
|
|
103
143
|
|
|
104
|
-
&:after {
|
|
105
|
-
content: '\e312';
|
|
106
|
-
}
|
|
107
144
|
|
|
108
145
|
.lg-zoomed & {
|
|
109
146
|
opacity: 1;
|
|
@@ -17,6 +17,19 @@
|
|
|
17
17
|
display: block;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
// Screen-reader-only live region announcing slide changes
|
|
22
|
+
.lg-announcer {
|
|
23
|
+
position: absolute;
|
|
24
|
+
width: 1px;
|
|
25
|
+
height: 1px;
|
|
26
|
+
padding: 0;
|
|
27
|
+
margin: -1px;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
clip: rect(0, 0, 0, 0);
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
border: 0;
|
|
32
|
+
}
|
|
20
33
|
.lg-on {
|
|
21
34
|
scroll-behavior: unset;
|
|
22
35
|
}
|
|
@@ -102,13 +115,20 @@
|
|
|
102
115
|
opacity: 1;
|
|
103
116
|
}
|
|
104
117
|
|
|
105
|
-
// Set transition speed and timing function
|
|
118
|
+
// Set transition speed and timing function. The duration is a list:
|
|
119
|
+
// the mode transitions all declare `transform` then `opacity`, and a
|
|
120
|
+
// single inherited value would stretch the crossfade to the whole
|
|
121
|
+
// slide, leaving the outgoing image ghosting across it. Modes whose
|
|
122
|
+
// effect IS the fade opt back in with --lg-opacity-speed.
|
|
106
123
|
&.lg-css3 {
|
|
107
124
|
.lg-item:not(.lg-start-end-progress) {
|
|
108
125
|
&.lg-prev-slide,
|
|
109
126
|
&.lg-next-slide,
|
|
110
127
|
&.lg-current {
|
|
111
|
-
@include transition-duration(
|
|
128
|
+
@include transition-duration(
|
|
129
|
+
var(--lg-speed, 400ms),
|
|
130
|
+
var(--lg-opacity-speed, 100ms) !important
|
|
131
|
+
);
|
|
112
132
|
@include transition-timing-function(inherit !important);
|
|
113
133
|
}
|
|
114
134
|
}
|
|
@@ -343,6 +363,22 @@
|
|
|
343
363
|
);
|
|
344
364
|
}
|
|
345
365
|
}
|
|
366
|
+
|
|
367
|
+
// Close without a thumbnail to land on (hidden or collapsed
|
|
368
|
+
// trigger, no lg-size, zoomFromOrigin off, a dynamic gallery): the
|
|
369
|
+
// slide shrinks about the stage centre and fades over the flight
|
|
370
|
+
// duration, the mirror of the lg-start-zoom open. Outscores the
|
|
371
|
+
// per-mode .lg-current rules so the fade is not clamped to their
|
|
372
|
+
// transitions (lg-fade animates opacity only, for 0.1s).
|
|
373
|
+
&.lg-closing.lg-close-to-center {
|
|
374
|
+
.lg-item.lg-current.lg-start-end-progress {
|
|
375
|
+
opacity: 0;
|
|
376
|
+
@include transitionCustom(
|
|
377
|
+
transform 1s cubic-bezier(0, 0, 0.25, 1) 0s,
|
|
378
|
+
opacity 1s cubic-bezier(0, 0, 0.25, 1) 0s
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
346
382
|
}
|
|
347
383
|
|
|
348
384
|
&.lg-slide {
|
|
@@ -412,10 +448,41 @@
|
|
|
412
448
|
.lg-outer {
|
|
413
449
|
z-index: 2;
|
|
414
450
|
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// Custom icons (settings.icons): user SVGs replace the font glyphs. The
|
|
454
|
+
// wrapper spans center the SVG in the button; sizing follows the
|
|
455
|
+
// button's font-size so custom icons land where the glyphs did. Color
|
|
456
|
+
// is deliberately NOT forced, currentColor-based SVGs inherit the
|
|
457
|
+
// button color, and fills/strokes authored into the SVG are respected.
|
|
458
|
+
.lg-icon-custom {
|
|
459
|
+
&::after {
|
|
460
|
+
content: none !important;
|
|
461
|
+
}
|
|
462
|
+
.lg-ci {
|
|
463
|
+
display: inline-flex;
|
|
464
|
+
align-items: center;
|
|
465
|
+
justify-content: center;
|
|
466
|
+
width: 100%;
|
|
467
|
+
height: 100%;
|
|
468
|
+
}
|
|
469
|
+
svg {
|
|
470
|
+
width: 1em;
|
|
471
|
+
height: 1em;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// Maximize/minimize custom pair follows the same lg-inline state that
|
|
476
|
+
// swaps the font glyphs above.
|
|
477
|
+
.lg-maximize.lg-icon-custom .lg-ci-maximize {
|
|
478
|
+
display: none;
|
|
479
|
+
}
|
|
480
|
+
.lg-inline .lg-maximize.lg-icon-custom {
|
|
481
|
+
.lg-ci-maximize {
|
|
482
|
+
display: inline-flex;
|
|
483
|
+
}
|
|
484
|
+
.lg-ci-minimize {
|
|
485
|
+
display: none;
|
|
419
486
|
}
|
|
420
487
|
}
|
|
421
488
|
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-scale-up {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-slide-circular-vertical {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-slide-circular {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-soft-zoom {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-zoom-in-big {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-zoom-in-out {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-zoom-in {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-zoom-out-big {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
.lg-css3 {
|
|
4
4
|
&.lg-zoom-out-in {
|
|
5
5
|
.lg-item {
|
|
6
|
+
// The crossfade IS the effect here, so it runs for the
|
|
7
|
+
// whole slide instead of the short default swap. Declared on
|
|
8
|
+
// the item: --lg-speed is published on .lg-inner, so only its
|
|
9
|
+
// descendants can resolve it.
|
|
10
|
+
--lg-opacity-speed: var(--lg-speed, 400ms);
|
|
11
|
+
|
|
6
12
|
opacity: 0;
|
|
7
13
|
|
|
8
14
|
&.lg-prev-slide {
|