]> _ Git - fluidbook-html5.git/commitdiff
#1649
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2017 09:33:54 +0000 (11:33 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2017 09:33:54 +0000 (11:33 +0200)
js/libs/fluidbook/menu/fluidbook.index.js
style/fluidbook.less

index 70ba03a641688936e90c237356f190ff391df813..d5ba08c825e074580532a6e3fe0f655b43848c61 100644 (file)
@@ -72,6 +72,7 @@ FluidbookIndex.prototype = {
                 } else {
                     c = ' simple ' + s2;
                 }
+
                 ix = ix1 + ix2;
                 this.normalHTML += '<div class="doubleThumb' + c + '" page="' + i + '" data-pages="' + pages.join(',') + '">' + ix;
                 this.normalHTML += '</div>';
index 3cffe95b1b67d29aa51e86086e2214f69aeef5c5..b8435c45c88fb0d111c565e9c9b031e2dfa20e1e 100644 (file)
@@ -1231,11 +1231,14 @@ form input[type="text"], form input[type="email"] {
        margin: auto;
        .doubleThumb, .padding {
                display: inline-block;
-               margin: 10px 10px 40px 10px;
+               padding: 10px 10px 25px 10px;
+               margin-bottom:15px;
                position: relative;
                width: 200px;
                cursor: pointer;
                text-align: center;
+               box-sizing: content-box;
+               border-radius: 3px;
        }
 
        &.bookmarkView {
@@ -1271,6 +1274,11 @@ form input[type="text"], form input[type="email"] {
                }
        }
 
+       &.here {
+               background-color: @menu-select-background;
+               color: @menu-select-text;
+       }
+
        .overlay {
                background-color: rgba(0, 0, 0, 0.5);
                position: absolute;
@@ -1305,8 +1313,8 @@ form input[type="text"], form input[type="email"] {
 
 .thumb {
        position: absolute;
-       top: 0px;
-       left: 0px;
+       top: 10px;
+       left: 10px;
 
        .bookmark {
                width: 35px;
@@ -1336,7 +1344,7 @@ form input[type="text"], form input[type="email"] {
                line-height: 1;
        }
        &.right {
-               left: 100px;
+               left: 110px;
        }
        &.simple {
                width: 100px;