diff --git a/dist/ng-image-gallery.css b/dist/ng-image-gallery.css index 2e7f4a8..4978bad 100644 --- a/dist/ng-image-gallery.css +++ b/dist/ng-image-gallery.css @@ -13,9 +13,12 @@ -webkit-transform: scaleY(1); } } .ng-image-gallery { + outline: none; /***************************************************************** INLINE GALLERY /*****************************************************************/ } + .ng-image-gallery * { + outline: none; } .ng-image-gallery .ng-image-gallery-thumbnails:after { content: ""; width: 0; @@ -88,7 +91,6 @@ background-repeat: no-repeat; overflow: hidden; cursor: pointer; - outline: none; text-decoration: none; color: #fff; vertical-align: bottom; } @@ -106,8 +108,7 @@ background-size: 100% 100%; background-repeat: no-repeat; overflow: hidden; - cursor: pointer; - outline: none; } + cursor: pointer; } .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev.bubbles-on, .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next.bubbles-on { top: calc((100% - 50px) / 2); } @@ -194,7 +195,6 @@ display: inline-block; margin: 0 2px; cursor: pointer; - outline: none; overflow: hidden; border-radius: 100%; background-size: cover; diff --git a/dist/ng-image-gallery.js b/dist/ng-image-gallery.js index 10ed131..b221b8f 100644 --- a/dist/ng-image-gallery.js +++ b/dist/ng-image-gallery.js @@ -154,17 +154,17 @@ **/ // Modify scope models - scope.images = (scope.images) ? scope.images : []; - scope.methods = (scope.methods) ? scope.methods : {}; + scope.images = (scope.images != undefined) ? scope.images : []; + scope.methods = (scope.methods != undefined) ? scope.methods : {}; - scope.thumbnails = (scope.thumbnails) ? scope.thumbnails : true; - scope.inline = (scope.inline) ? scope.inline : false; - scope.bubbles = (scope.bubbles) ? scope.bubbles : true; - scope.imgBubbles = (scope.imgBubbles) ? scope.imgBubbles : false; - scope.bgClose = (scope.bgClose) ? scope.bgClose : false; + scope.thumbnails = (scope.thumbnails != undefined) ? scope.thumbnails : true; + scope.inline = (scope.inline != undefined) ? scope.inline : false; + scope.bubbles = (scope.bubbles != undefined) ? scope.bubbles : true; + scope.imgBubbles = (scope.imgBubbles != undefined) ? scope.imgBubbles : false; + scope.bgClose = (scope.bgClose != undefined) ? scope.bgClose : false; - scope.onOpen = (scope.onOpen) ? scope.onOpen : angular.noop; - scope.onClose = (scope.onClose) ? scope.onClose : angular.noop; + scope.onOpen = (scope.onOpen != undefined) ? scope.onOpen : angular.noop; + scope.onClose = (scope.onClose != undefined) ? scope.onClose : angular.noop; // If images populate dynamically, reset gallery diff --git a/dist/ng-image-gallery.min.css b/dist/ng-image-gallery.min.css index b3b4839..9880aa4 100644 --- a/dist/ng-image-gallery.min.css +++ b/dist/ng-image-gallery.min.css @@ -1,2 +1,2 @@ -@-webkit-keyframes sk-stretchdelay{0%,100%,40%{-webkit-transform:scaleY(.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0%,100%,40%{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}.ng-image-gallery .ng-image-gallery-thumbnails:after{content:"";width:0;height:0;display:block;visibility:hidden;clear:both}.ng-image-gallery .ng-image-gallery-thumbnails .thumb{float:left;width:50px;height:50px;overflow:hidden;border-radius:3px;background-size:cover;background-position:center center;cursor:pointer}.ng-image-gallery .ng-image-gallery-thumbnails .thumb:not(:last-child){margin-right:5px;margin-bottom:5px}.ng-image-gallery .ng-image-gallery-modal{position:fixed;z-index:5000;top:0;right:0;bottom:0;left:0;overflow:hidden;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;backface-visibility:hidden;-webkit-backface-visibility:hidden}.ng-image-gallery .ng-image-gallery-modal.ng-hide-add{opacity:1}.ng-image-gallery .ng-image-gallery-modal.ng-hide-add-active,.ng-image-gallery .ng-image-gallery-modal.ng-hide-remove{opacity:0}.ng-image-gallery .ng-image-gallery-modal.ng-hide-remove-active{opacity:1}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-backdrop{background-color:rgba(0,0,0,.85);position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container{position:absolute;right:10px;top:20px;-webkit-transition:background-color .3s ease-in-out;transition:background-color .3s ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container:hover{background-color:rgba(255,255,255,.1)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url{display:inline-block;width:20px;height:20px;margin:5px;background-size:100% 100%;background-repeat:no-repeat;overflow:hidden;cursor:pointer;outline:0;text-decoration:none;color:#fff;vertical-align:bottom}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url{background-image:url(../res/icons/external-link.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close{background-image:url(../res/icons/close.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev{position:absolute;top:50%;margin-top:-25px;width:50px;height:50px;background-size:100% 100%;background-repeat:no-repeat;overflow:hidden;cursor:pointer;outline:0}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next.bubbles-on,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev.bubbles-on{top:calc((100% - 50px)/ 2)}@media screen and (max-width:600px){.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev{margin-top:-15px;width:30px;height:30px}}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev{left:0;background-image:url(../res/icons/prev.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next{right:0;background-image:url(../res/icons/next.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria{position:absolute;top:0;bottom:0;left:80px;right:80px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;max-width:100%;max-height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter{-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;opacity:0}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter-active{opacity:1}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-leave-active{opacity:0}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles{-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;text-align:center;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span{-webkit-box-flex:0;-ms-flex:none;flex:none;position:relative;display:inline-block;margin:0 2px;cursor:pointer;outline:0;overflow:hidden;border-radius:100%;background-size:cover;background-position:center center;vertical-align:middle}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble){width:16px;height:16px}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before{content:" ";display:block;width:10px;height:10px;background-color:rgba(255,255,255,.5);overflow:hidden;border-radius:100%;margin:3px;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before{content:" ";width:16px;height:16px;background-color:rgba(255,255,255,.9);margin:0}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble{box-sizing:border-box;width:18px;height:18px;margin:0 4px;border:2px solid transparent;-webkit-transition:border .3s ease-in-out;transition:border .3s ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active{border:2px solid #fff}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner{-webkit-box-flex:0;-ms-flex:none;flex:none;width:50px;height:50px;text-align:center;font-size:10px}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner>div{background-color:#fff;height:100%;width:7px;margin:0 3px 0 0;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect3{-webkit-animation-delay:-1s;animation-delay:-1s}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect4{-webkit-animation-delay:-.9s;animation-delay:-.9s}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect5{-webkit-animation-delay:-.8s;animation-delay:-.8s}.ng-image-gallery.inline .ng-image-gallery-modal{position:relative;z-index:1;overflow:hidden;width:100%;height:300px}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container{top:0}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url{margin:0;background-image:url(../res/icons/external-link-inline.svg)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev{background-image:url(../res/icons/prev-inline.svg)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next{background-image:url(../res/icons/next-inline.svg)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next,.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev{margin-top:-15px;width:30px;height:30px}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before{background-color:rgba(0,0,0,.5)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before{background-color:rgba(0,0,0,.9)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active{border:2px solid #000}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-loader .spinner>div{background-color:#999} +@-webkit-keyframes sk-stretchdelay{0%,100%,40%{-webkit-transform:scaleY(.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0%,100%,40%{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}.ng-image-gallery,.ng-image-gallery *{outline:0}.ng-image-gallery .ng-image-gallery-thumbnails:after{content:"";width:0;height:0;display:block;visibility:hidden;clear:both}.ng-image-gallery .ng-image-gallery-thumbnails .thumb{float:left;width:50px;height:50px;overflow:hidden;border-radius:3px;background-size:cover;background-position:center center;cursor:pointer}.ng-image-gallery .ng-image-gallery-thumbnails .thumb:not(:last-child){margin-right:5px;margin-bottom:5px}.ng-image-gallery .ng-image-gallery-modal{position:fixed;z-index:5000;top:0;right:0;bottom:0;left:0;overflow:hidden;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;backface-visibility:hidden;-webkit-backface-visibility:hidden}.ng-image-gallery .ng-image-gallery-modal.ng-hide-add{opacity:1}.ng-image-gallery .ng-image-gallery-modal.ng-hide-add-active,.ng-image-gallery .ng-image-gallery-modal.ng-hide-remove{opacity:0}.ng-image-gallery .ng-image-gallery-modal.ng-hide-remove-active{opacity:1}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-backdrop{background-color:rgba(0,0,0,.85);position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container{position:absolute;right:10px;top:20px;-webkit-transition:background-color .3s ease-in-out;transition:background-color .3s ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container:hover{background-color:rgba(255,255,255,.1)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url{display:inline-block;width:20px;height:20px;margin:5px;background-size:100% 100%;background-repeat:no-repeat;overflow:hidden;cursor:pointer;text-decoration:none;color:#fff;vertical-align:bottom}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url{background-image:url(../res/icons/external-link.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close{background-image:url(../res/icons/close.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev{position:absolute;top:50%;margin-top:-25px;width:50px;height:50px;background-size:100% 100%;background-repeat:no-repeat;overflow:hidden;cursor:pointer}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next.bubbles-on,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev.bubbles-on{top:calc((100% - 50px)/ 2)}@media screen and (max-width:600px){.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next,.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev{margin-top:-15px;width:30px;height:30px}}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev{left:0;background-image:url(../res/icons/prev.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next{right:0;background-image:url(../res/icons/next.svg)}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria{position:absolute;top:0;bottom:0;left:80px;right:80px;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;max-width:100%;max-height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter{-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;opacity:0}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter-active{opacity:1}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-leave-active{opacity:0}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles{-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;text-align:center;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span{-webkit-box-flex:0;-ms-flex:none;flex:none;position:relative;display:inline-block;margin:0 2px;cursor:pointer;overflow:hidden;border-radius:100%;background-size:cover;background-position:center center;vertical-align:middle}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble){width:16px;height:16px}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before{content:" ";display:block;width:10px;height:10px;background-color:rgba(255,255,255,.5);overflow:hidden;border-radius:100%;margin:3px;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before{content:" ";width:16px;height:16px;background-color:rgba(255,255,255,.9);margin:0}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble{box-sizing:border-box;width:18px;height:18px;margin:0 4px;border:2px solid transparent;-webkit-transition:border .3s ease-in-out;transition:border .3s ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active{border:2px solid #fff}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner{-webkit-box-flex:0;-ms-flex:none;flex:none;width:50px;height:50px;text-align:center;font-size:10px}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner>div{background-color:#fff;height:100%;width:7px;margin:0 3px 0 0;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect3{-webkit-animation-delay:-1s;animation-delay:-1s}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect4{-webkit-animation-delay:-.9s;animation-delay:-.9s}.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect5{-webkit-animation-delay:-.8s;animation-delay:-.8s}.ng-image-gallery.inline .ng-image-gallery-modal{position:relative;z-index:1;overflow:hidden;width:100%;height:300px}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container{top:0}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url{margin:0;background-image:url(../res/icons/external-link-inline.svg)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev{background-image:url(../res/icons/prev-inline.svg)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next{background-image:url(../res/icons/next-inline.svg)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next,.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev{margin-top:-15px;width:30px;height:30px}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before{background-color:rgba(0,0,0,.5)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before{background-color:rgba(0,0,0,.9)}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active{border:2px solid #000}.ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-loader .spinner>div{background-color:#999} /*# sourceMappingURL=ng-image-gallery.min.css.map */ diff --git a/dist/ng-image-gallery.min.css.gz b/dist/ng-image-gallery.min.css.gz index 32f1c61..aae8613 100644 Binary files a/dist/ng-image-gallery.min.css.gz and b/dist/ng-image-gallery.min.css.gz differ diff --git a/dist/ng-image-gallery.min.css.map b/dist/ng-image-gallery.min.css.map index a535732..3f95a5b 100644 --- a/dist/ng-image-gallery.min.css.map +++ b/dist/ng-image-gallery.min.css.map @@ -1 +1 @@ -{"version":3,"names":[],"mappings":"","sources":["ng-image-gallery.css"],"sourcesContent":["@-webkit-keyframes sk-stretchdelay {\n 0%, 40%, 100% {\n -webkit-transform: scaleY(0.4); }\n 20% {\n -webkit-transform: scaleY(1); } }\n\n@keyframes sk-stretchdelay {\n 0%, 40%, 100% {\n transform: scaleY(0.4);\n -webkit-transform: scaleY(0.4); }\n 20% {\n transform: scaleY(1);\n -webkit-transform: scaleY(1); } }\n\n.ng-image-gallery {\n /*****************************************************************\r\n\t\t\t\t\t\t\t\tINLINE GALLERY\r\n\t/*****************************************************************/ }\n .ng-image-gallery .ng-image-gallery-thumbnails:after {\n content: \"\";\n width: 0;\n height: 0;\n display: block;\n visibility: hidden;\n clear: both; }\n .ng-image-gallery .ng-image-gallery-thumbnails .thumb {\n float: left;\n width: 50px;\n height: 50px;\n overflow: hidden;\n border-radius: 3px;\n background-size: cover;\n background-position: center center;\n cursor: pointer; }\n .ng-image-gallery .ng-image-gallery-thumbnails .thumb:not(:last-child) {\n margin-right: 5px;\n margin-bottom: 5px; }\n .ng-image-gallery .ng-image-gallery-modal {\n position: fixed;\n z-index: 5000;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: hidden;\n -webkit-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n backface-visibility: hidden;\n -webkit-backface-visibility: hidden; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-add {\n opacity: 1; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-add-active {\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-remove {\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-remove-active {\n opacity: 1; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-backdrop {\n background-color: rgba(0, 0, 0, 0.85);\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container {\n position: absolute;\n right: 10px;\n top: 20px;\n -webkit-transition: background-color 0.3s ease-in-out;\n transition: background-color 0.3s ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container:hover {\n background-color: rgba(255, 255, 255, 0.1); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close {\n display: inline-block;\n width: 20px;\n height: 20px;\n margin: 5px;\n background-size: 100% 100%;\n background-repeat: no-repeat;\n overflow: hidden;\n cursor: pointer;\n outline: none;\n text-decoration: none;\n color: #fff;\n vertical-align: bottom; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url {\n background-image: url(../res/icons/external-link.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close {\n background-image: url(../res/icons/close.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next {\n position: absolute;\n top: 50%;\n margin-top: -25px;\n width: 50px;\n height: 50px;\n background-size: 100% 100%;\n background-repeat: no-repeat;\n overflow: hidden;\n cursor: pointer;\n outline: none; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev.bubbles-on,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next.bubbles-on {\n top: calc((100% - 50px) / 2); }\n @media screen and (max-width: 600px) {\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next {\n margin-top: -15px;\n width: 30px;\n height: 30px; } }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev {\n left: 0px;\n background-image: url(../res/icons/prev.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next {\n right: 0px;\n background-image: url(../res/icons/next.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 80px;\n right: 80px;\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n width: 100%; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n margin: auto;\n max-width: 100%;\n max-height: 100%;\n backface-visibility: hidden;\n -webkit-backface-visibility: hidden;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter {\n -webkit-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter-active {\n opacity: 1; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-leave-active {\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 50px;\n flex: 0 0 50px;\n text-align: center;\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n position: relative;\n display: inline-block;\n margin: 0 2px;\n cursor: pointer;\n outline: none;\n overflow: hidden;\n border-radius: 100%;\n background-size: cover;\n background-position: center center;\n vertical-align: middle; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble) {\n width: 16px;\n height: 16px; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before {\n content: \" \";\n display: block;\n width: 10px;\n height: 10px;\n background-color: rgba(255, 255, 255, 0.5);\n overflow: hidden;\n border-radius: 100%;\n margin: 3px;\n -webkit-transition: all 0.3s ease-in-out;\n transition: all 0.3s ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before {\n content: \" \";\n width: 16px;\n height: 16px;\n background-color: rgba(255, 255, 255, 0.9);\n margin: 0px; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble {\n box-sizing: border-box;\n width: 18px;\n height: 18px;\n margin: 0 4px;\n border: 2px solid transparent;\n -webkit-transition: border 0.3s ease-in-out;\n transition: border 0.3s ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active {\n border: 2px solid #fff; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 3;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n width: 50px;\n height: 50px;\n text-align: center;\n font-size: 10px; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner > div {\n background-color: #fff;\n height: 100%;\n width: 7px;\n margin: 0 3px 0 0;\n display: inline-block;\n -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;\n animation: sk-stretchdelay 1.2s infinite ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect2 {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect3 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect4 {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect5 {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s; }\n .ng-image-gallery.inline .ng-image-gallery-modal {\n position: relative;\n z-index: 1;\n overflow: hidden;\n width: 100%;\n height: 300px; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container {\n top: 0; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url {\n margin: 0;\n background-image: url(../res/icons/external-link-inline.svg); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev {\n background-image: url(../res/icons/prev-inline.svg); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next {\n background-image: url(../res/icons/next-inline.svg); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev, .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next {\n margin-top: -15px;\n width: 30px;\n height: 30px; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before {\n background-color: rgba(0, 0, 0, 0.5); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before {\n background-color: rgba(0, 0, 0, 0.9); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active {\n border: 2px solid #000; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-loader .spinner > div {\n background-color: #999; }\n"],"file":"ng-image-gallery.min.css","sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"names":[],"mappings":"","sources":["ng-image-gallery.css"],"sourcesContent":["@-webkit-keyframes sk-stretchdelay {\n 0%, 40%, 100% {\n -webkit-transform: scaleY(0.4); }\n 20% {\n -webkit-transform: scaleY(1); } }\n\n@keyframes sk-stretchdelay {\n 0%, 40%, 100% {\n transform: scaleY(0.4);\n -webkit-transform: scaleY(0.4); }\n 20% {\n transform: scaleY(1);\n -webkit-transform: scaleY(1); } }\n\n.ng-image-gallery {\n outline: none;\n /*****************************************************************\r\n\t\t\t\t\t\t\t\tINLINE GALLERY\r\n\t/*****************************************************************/ }\n .ng-image-gallery * {\n outline: none; }\n .ng-image-gallery .ng-image-gallery-thumbnails:after {\n content: \"\";\n width: 0;\n height: 0;\n display: block;\n visibility: hidden;\n clear: both; }\n .ng-image-gallery .ng-image-gallery-thumbnails .thumb {\n float: left;\n width: 50px;\n height: 50px;\n overflow: hidden;\n border-radius: 3px;\n background-size: cover;\n background-position: center center;\n cursor: pointer; }\n .ng-image-gallery .ng-image-gallery-thumbnails .thumb:not(:last-child) {\n margin-right: 5px;\n margin-bottom: 5px; }\n .ng-image-gallery .ng-image-gallery-modal {\n position: fixed;\n z-index: 5000;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: hidden;\n -webkit-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n backface-visibility: hidden;\n -webkit-backface-visibility: hidden; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-add {\n opacity: 1; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-add-active {\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-remove {\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal.ng-hide-remove-active {\n opacity: 1; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-backdrop {\n background-color: rgba(0, 0, 0, 0.85);\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container {\n position: absolute;\n right: 10px;\n top: 20px;\n -webkit-transition: background-color 0.3s ease-in-out;\n transition: background-color 0.3s ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container:hover {\n background-color: rgba(255, 255, 255, 0.1); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close {\n display: inline-block;\n width: 20px;\n height: 20px;\n margin: 5px;\n background-size: 100% 100%;\n background-repeat: no-repeat;\n overflow: hidden;\n cursor: pointer;\n text-decoration: none;\n color: #fff;\n vertical-align: bottom; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url {\n background-image: url(../res/icons/external-link.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .close {\n background-image: url(../res/icons/close.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next {\n position: absolute;\n top: 50%;\n margin-top: -25px;\n width: 50px;\n height: 50px;\n background-size: 100% 100%;\n background-repeat: no-repeat;\n overflow: hidden;\n cursor: pointer; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev.bubbles-on,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next.bubbles-on {\n top: calc((100% - 50px) / 2); }\n @media screen and (max-width: 600px) {\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev,\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next {\n margin-top: -15px;\n width: 30px;\n height: 30px; } }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev {\n left: 0px;\n background-image: url(../res/icons/prev.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next {\n right: 0px;\n background-image: url(../res/icons/next.svg); }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 80px;\n right: 80px;\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n width: 100%; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n margin: auto;\n max-width: 100%;\n max-height: 100%;\n backface-visibility: hidden;\n -webkit-backface-visibility: hidden;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter {\n -webkit-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-enter-active {\n opacity: 1; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-images .galleria-image.ng-leave-active {\n opacity: 0; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 50px;\n flex: 0 0 50px;\n text-align: center;\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n position: relative;\n display: inline-block;\n margin: 0 2px;\n cursor: pointer;\n overflow: hidden;\n border-radius: 100%;\n background-size: cover;\n background-position: center center;\n vertical-align: middle; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble) {\n width: 16px;\n height: 16px; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before {\n content: \" \";\n display: block;\n width: 10px;\n height: 10px;\n background-color: rgba(255, 255, 255, 0.5);\n overflow: hidden;\n border-radius: 100%;\n margin: 3px;\n -webkit-transition: all 0.3s ease-in-out;\n transition: all 0.3s ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before {\n content: \" \";\n width: 16px;\n height: 16px;\n background-color: rgba(255, 255, 255, 0.9);\n margin: 0px; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble {\n box-sizing: border-box;\n width: 18px;\n height: 18px;\n margin: 0 4px;\n border: 2px solid transparent;\n -webkit-transition: border 0.3s ease-in-out;\n transition: border 0.3s ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active {\n border: 2px solid #fff; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 3;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n width: 50px;\n height: 50px;\n text-align: center;\n font-size: 10px; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner > div {\n background-color: #fff;\n height: 100%;\n width: 7px;\n margin: 0 3px 0 0;\n display: inline-block;\n -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;\n animation: sk-stretchdelay 1.2s infinite ease-in-out; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect2 {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect3 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect4 {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s; }\n .ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-loader .spinner .rect5 {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s; }\n .ng-image-gallery.inline .ng-image-gallery-modal {\n position: relative;\n z-index: 1;\n overflow: hidden;\n width: 100%;\n height: 300px; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container {\n top: 0; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .destroy-icons-container .ext-url {\n margin: 0;\n background-image: url(../res/icons/external-link-inline.svg); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev {\n background-image: url(../res/icons/prev-inline.svg); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next {\n background-image: url(../res/icons/next-inline.svg); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .prev, .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .next {\n margin-top: -15px;\n width: 30px;\n height: 30px; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble):before {\n background-color: rgba(0, 0, 0, 0.5); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span:not(.img-bubble).active:before {\n background-color: rgba(0, 0, 0, 0.9); }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-content .galleria .galleria-bubbles span.img-bubble.active {\n border: 2px solid #000; }\n .ng-image-gallery.inline .ng-image-gallery-modal .ng-image-gallery-loader .spinner > div {\n background-color: #999; }\n"],"file":"ng-image-gallery.min.css","sourceRoot":"/source/"} \ No newline at end of file diff --git a/dist/ng-image-gallery.min.css.map.gz b/dist/ng-image-gallery.min.css.map.gz index d63f885..b09f0b0 100644 Binary files a/dist/ng-image-gallery.min.css.map.gz and b/dist/ng-image-gallery.min.css.map.gz differ diff --git a/dist/ng-image-gallery.min.js b/dist/ng-image-gallery.min.js index baf4555..bc2e676 100644 --- a/dist/ng-image-gallery.min.js +++ b/dist/ng-image-gallery.min.js @@ -1,2 +1,2 @@ -!function(){"use strict";var e={enter:13,esc:27,left:37,right:39};angular.module("thatisuday.ng-image-gallery",["ngAnimate"]).directive("ngImageGallery",["$timeout","$document","$q",function(i,n,a){return{replace:!0,transclude:!1,restrict:"AE",scope:{images:"=",methods:"=?",thumbnails:"=?",inline:"=?",bubbles:"=?",imgBubbles:"=?",bgClose:"=?",onOpen:"&?",onClose:"&?"},template:'