setTimeout(function () {
$(s).addClass('ready');
}, 100)
+ setTimeout(function () {
+ resize();
+ $(s).find('.fb-slideshow-nav').addClass('visible');
+ }, 250);
});
},
var nav = $(s).find('.fb-slideshow-nav');
$(nav).css('left', (w - $(nav).outerWidth()) / 2);
+
return {w: w, h: h, fullscreen: fullscreen};
},
}
}
+ &.ready {
+ .fb-slideshow-nav.visible {
+ opacity: 1;
+ }
+ }
+
.fb-slideshow-nav {
pointer-events: auto;
position: absolute;
bottom: 15px;
+ opacity: 0;
+ transition: opacity 250ms;
+ white-space: nowrap;
.fb-slideshow-nav-prev, .fb-slideshow-nav-next {
@w: 40px;
margin: 0 10px;
width: @w;
height: @w;
- background-color: #999999;
border-radius: 50%;
position: relative;
top: -13px;
- border: 3px solid #fff;
+ border: 3px solid transparent;
+ background-color: transparent;
+
+ &:after {
+ content:".";
+ text-indent: -6666px;
+ position: absolute;
+ top: -1px;
+ left: 1px;
+ border-radius: 50%;
+ width: 4px;
+ height: 4px;
+ display: block;
+ background-color: #999999;
+ }
&:hover, &.active {
background-color: #987e52;
- border-color: #987e52;
+
+ &:after {
+ display: none;
+ }
}
}
}