}
}
-#links .bookmark {
- z-index: 3;
-}
-
#links .nonlinkarea {
width: 100%;
height: 100%;
}
/* Bookmarks */
+.bookmark {
+ #links & {
+ z-index: 3;
+ width: @bookmark-corner-size;
+ height: @bookmark-corner-size;
+ background-size: @bookmark-corner-size @bookmark-corner-size;
+
+ &.left {
+ left: @bookmark-corner-offset;
+ .portrait #fluidbook & {
+ right: @bookmark-corner-offset+@book-page-width;
+ left: auto;
+ }
+ }
+
+ &.right {
+ right: @bookmark-corner-offset;
+ }
+ }
+ background-repeat: no-repeat;
+ position: absolute;
+ background-size: cover;
+ top: 0px;
+ opacity: 0.01;
+ display: block;
+ cursor: pointer;
+ &[data-enabled], &:hover {
+ opacity: 1 !important;
+ -moz-transition: none;
+ -webkit-transition: none;
+ -o-transition: none;
+ -ms-transition: none;
+ transition: none;
+ }
+}
+
.bookmark.left {
+ left: 0;
background-image: url("../data/images/bookmark-left-off.svg");
}
.bookmark.right,
.portrait #fluidbook .bookmark.left {
+ right: 0;
background-image: url("../data/images/bookmark-right-off.svg");
}
// transition: opacity 1s ease-in;
//}
-.bookmark {
- background-repeat: no-repeat;
- background-size: cover;
- position: absolute;
- top: 0px;
- opacity: 0.01;
- display: block;
- cursor: pointer;
- &[data-enabled], &:hover {
- opacity: 1 !important;
- -moz-transition: none;
- -webkit-transition: none;
- -o-transition: none;
- -ms-transition: none;
- transition: none;
- }
-}
-
.landscape .bookmark.left {
left: 0px;
}