view += '<div class="content">';
view += '<p>' + message + '</p>';
view += '<div class="visual">';
- view += '<div class="doubleThumb"><div class="thumb left">' + this.fluidbook.loader.getThumbImage(2, true) + '<a href="#" class="bookmark left" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div><div class="thumb right">' + this.fluidbook.loader.getThumbImage(3, true) + '<a href="#" class="bookmark right" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div></div>';
+ view += '<div class="doubleThumb"><div class="thumb left">' + this.fluidbook.loader.getThumbImage(2, true) + '<div class="circle"></div><a href="#" class="bookmark left" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div><div class="thumb right">' + this.fluidbook.loader.getThumbImage(3, true) + '<div class="circle"></div><a href="#" class="bookmark right" data-enabled="enabled">' + getSpriteIcon('bookmark-corner') + '</a></div></div>';
view += '</div>';
view += '';
view += '</div>';
this.fluidbook.stats.track(14);
},
openIndex: function (title, group, closeAll, callback) {
- this.index.openIndex(title,group,closeAll,callback);
+ this.index.openIndex(title, group, closeAll, callback);
},
openArchives: function (title, callback) {
var archives = '<div class="caption">' + this.closeButton() + '<h2>' + title + '</h2></div>';
&.right {
left: @w;
- .img {
- &:after {
- left: auto;
- right: -24px;
- }
+ .circle {
+ left: auto;
+ right: -24px;
}
}
pointer-events: none;
}
- .img {
+ img {
position: relative;
width: @w;
height: @w/@book-page-ratio;
+ }
- &:after {
- content: "";
- position: absolute;
- z-index: -1;
- top: -24px;
- left: -24px;
- width: 100px;
- height: 100px;
- background-color: @menu-background;
- border: 2px solid #fff;
- border-radius: 50%;
- }
-
+ .circle {
+ position: absolute;
+ z-index: 1;
+ top: -24px;
+ left: -24px;
+ width: 100px;
+ height: 100px;
+ background-color: @menu-background;
+ border: 2px solid #fff;
+ border-radius: 50%;
}
.bookmark {