Added: Slick Lightbox v0.2.12 (#108)
This commit is contained in:
parent
f19dc01066
commit
fbc954f731
|
@ -313,6 +313,9 @@ var mappings = {
|
|||
'slick-carousel/{version}/slick.css': resources.slickCarouselCSS,
|
||||
'slick-carousel/{version}/slick.min.js': resources.slickCarouselJS,
|
||||
'slick-carousel/{version}/slick.js': resources.slickCarouselJS,
|
||||
'slick-lightbox/{version}/slick-lightbox.min.js': resources.slickLightboxJS,
|
||||
'slick-lightbox/{version}/slick-lightbox.js': resources.slickLightboxJS,
|
||||
'slick-lightbox/{version}/slick-lightbox.css': resources.slickLightboxCSS,
|
||||
'spin.js/{version}/spin.min.js': resources.spinJS,
|
||||
'stickyfill/{version}/stickyfill.': resources.stickyfill,
|
||||
'socket.io/{version}/socket.io.': resources.socketIO,
|
||||
|
|
|
@ -646,6 +646,15 @@ var resources = {
|
|||
'path': 'resources/slick-carousel/{version}/slick.min.css',
|
||||
'type': 'text/css'
|
||||
},
|
||||
// slick-lightbox
|
||||
'slickLightboxJS': {
|
||||
'path': 'resources/slick-lightbox/{version}/slick-lightbox.min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
'slickLightboxCSS': {
|
||||
'path': 'resources/slick-lightbox/{version}/slick-lightbox.css',
|
||||
'type': 'text/css'
|
||||
},
|
||||
// socket.io
|
||||
'socketIO': {
|
||||
'path': 'resources/socket.io/{version}/socket.io.jsm',
|
||||
|
|
|
@ -515,6 +515,8 @@ helpers.setLastVersion = function (type, version) {
|
|||
return '1.11.2';
|
||||
} else if (type.includes('/slick-carousel/1.')) {
|
||||
return '1.9.0';
|
||||
} else if (type.includes('/slick-lightbox/0.')) {
|
||||
return '0.2.12';
|
||||
} else if (type.includes('/socket.io/2.')) {
|
||||
return '2.3.0';
|
||||
} else if (type.includes('/spin.js/2.')) {
|
||||
|
@ -589,6 +591,8 @@ helpers.compareVersion = function (v1, v2) {
|
|||
};
|
||||
|
||||
const ListOfFiles = {
|
||||
'slick-lightbox.css': 'slick-lightbox CSS',
|
||||
'slick-lightbox.min.jsm': 'slick-lightbox JS',
|
||||
'angular-translate.min.jsm': 'Angular Translate',
|
||||
'angular-translate-interpolation-messageformat.min.jsm': 'Angular Translate Interpolation Messageformat',
|
||||
'angular-translate-loader-static-files.min.jsm': 'Angular Translate Load Static Files',
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
<li>Added: Angular Material in cdnjs.cloudflare.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/107">#107</a>)</li>
|
||||
<li>Fixed: File name conversion (FontAwesomeJS, SwiperJS)</li>
|
||||
<li>Added: Slick in cdn.jsdelivr.net (<a href="https://codeberg.org/nobody/LocalCDN/issues/108">#108</a>)</li>
|
||||
<li>Added: Slick Lightbox v0.2.12 (<a href="https://codeberg.org/nobody/LocalCDN/issues/108">#108</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
.slick-lightbox{position:fixed;top:0;left:0;z-index:9999;width:100%;height:100%;background:black;-webkit-transition:opacity 0.5s ease;transition:opacity 0.5s ease}.slick-lightbox .slick-loading .slick-list{background-color:transparent}.slick-lightbox .slick-prev{left:15px}.slick-lightbox .slick-next{right:15px}.slick-lightbox-hide{opacity:0}.slick-lightbox-hide.slick-lightbox-ie{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0)}.slick-lightbox-hide-init{position:absolute;top:-9999px;opacity:0}.slick-lightbox-hide-init.slick-lightbox-ie{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0)}.slick-lightbox-inner{position:fixed;top:0;left:0;width:100%;height:100%}.slick-lightbox-slick-item{text-align:center;overflow:hidden}.slick-lightbox-slick-item:before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-0.25em}.slick-caption-bottom .slick-lightbox-slick-item .slick-lightbox-slick-item .slick-lightbox-slick-caption{position:absolute;bottom:0;left:0;text-align:center;width:100%;margin-bottom:20px}.slick-caption-dynamic .slick-lightbox-slick-item .slick-lightbox-slick-item .slick-lightbox-slick-caption{display:block;text-align:center}.slick-lightbox-slick-item-inner{display:inline-block;vertical-align:middle;max-width:90%;max-height:90%}.slick-lightbox-slick-img{margin:0 auto;display:block;max-width:90%;max-height:90%}.slick-lightbox-slick-caption{margin:10px 0 0;color:white}.slick-lightbox-close{position:absolute;top:15px;right:15px;display:block;height:20px;width:20px;line-height:0;font-size:0;cursor:pointer;background:transparent;color:transparent;padding:0;border:none}.slick-lightbox-close:focus{outline:none}.slick-lightbox-close:before{font-family:"slick";font-size:20px;line-height:1;color:white;opacity:0.85;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'×'}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue