},
dragCursor: function (e, end) {
- console.log(this.pageToSlider(e.pageX));
+ if(!end) {
+ $("#slider").addClass(".drag");
+ }else{
+ $("#slider").removeClass(".drag");
+ }
this.updatePageByCursorPosition(this.pageToSlider(e.pageX), end, true);
},
if (single) {
bottom = 18;
}
+ bottom *= this.fluidbook.resize.interfaceScale;
- $("#slider").css({width: this.sliderWidth, left: (ww - this.sliderWidth) / 2, top: hh - bottom});
+ $("#slider")
+ .css({width: this.sliderWidth, left: (ww - this.sliderWidth) / 2, top: hh - bottom})
+ .transform({scaleY: this.fluidbook.resize.interfaceScale});
this.updateSnaps(single);
this.cursorWidth = Math.max(30, this.snapsWidth);
$("#slidercursor").css('width', this.cursorWidth);
position: absolute;
bottom: 2px;
z-index: 20;
+ transform-origin: 100% 100%;
}
footer a {
#indexView .bookmark {
width: 35px;
height: 35px;
+ z-index: 2;
}
.landscape .bookmark.left {
color: @menu-field-text;
}
-//$res[] = '#indexView .thumb img{width:100px;height:' . $thumbh . 'px;}';
-//$res[] = '#indexView .doubleThumb{height:' . $thumbh . 'px;' . wsHTML5::writeCSSUA('box-shadow', '0 0 3px ' . $shadowColor) . '}';
-
#indexView {
margin: auto;
.doubleThumb, .padding {
top: 0px;
left: 0px;
font-size: 12px;
+
img {
width: 100px;
height: @thumb-height;
- background: #fff
+ background: #fff;
+ position: relative;
+ z-index: 1;
}
.number {
text-align: center;
font-family: Arial, Helvetica, sans-serif;
margin: 1px 0 0 0;
max-width: 100px;
+ position: relative;
+ z-index: 1;
}
&.right {
left: 100px;
margin-right: 110px;
}
+ @shade-height: unit(@thumb-height+22, px);
+ &:before {
+ position: absolute;
+ content: "";
+ background-image: url("../images/icon-shad.png");
+ background-size: 100% 100%;
+ background-repeat: no-repeat;
+ opacity: 0.65;
+ top: -5px;
+ left: -5px;
+ width: 111px;
+ height: @shade-height;
+ z-index: 0;
+ }
+
}
}