]> _ Git - fluidbook-html5.git/commitdiff
WIP #1501 @1.5
authorStephen Cameron <stephen@cubedesigners.com>
Thu, 13 Jul 2017 16:50:32 +0000 (18:50 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Thu, 13 Jul 2017 16:50:32 +0000 (18:50 +0200)
js/libs/fluidbook/fluidbook.coquillette.js
style/mmenu/mmenu.less

index d5ecbdc6ca0c9324d5e4719741bacdee95939d08..55bd9bf9a738a6acb06700620632ba6379291b2a 100644 (file)
@@ -1,6 +1,6 @@
 function FluidbookCoquillette(fluidbook) {\r
        this.fluidbook = fluidbook;\r
-       this.size = 60;\r
+       this.size = 48;\r
        this.element = $("#coquillette");\r
        this.rotation = 0;\r
        this.speed = 1; // 1/2 tours / sec\r
@@ -43,7 +43,7 @@ FluidbookCoquillette.prototype = {
                this.ctx.fill();\r
                // Set stroke style\r
                this.ctx.strokeStyle = this.fluidbook.datas.coquilletteFront;\r
-               this.ctx.lineWidth = Math.round(this.size * 0.13);\r
+               this.ctx.lineWidth = Math.round(this.size * 0.0625);\r
                this.ctx.lineCap = 'round';\r
                this.ctx.lineJoin = 'mitter';\r
                this.ctx.beginPath();\r
index c5eb5b7fcd3c1a08529381a91858666572a42afb..9d7d5e3878a87901a4396cda182afd24ad14715b 100644 (file)
@@ -76,7 +76,7 @@ html.mm-opening .mm-menu.mm-opened[class*=mm-pagedim]~#mm-blocker {
   color: @menu-text;
 
   a, span {
-    padding: 10px 10px 10px 30px;
+    padding: 10px 10px 10px 29px;
 
     img {
       display: inline-block;
@@ -144,7 +144,7 @@ html.mm-opening .mm-menu.mm-opened[class*=mm-pagedim]~#mm-blocker {
   right: 0;
   width: 60px;
   height: 60px;
-  padding: 22px !important; // Controls size of icon and position within the element
+  padding: 21px 21px 23px 23px !important; // Controls size of icon and position within the element
   color: @menu-text;
   background-color: @menu-button-background;
 }
@@ -177,6 +177,7 @@ html.mm-opening .mm-menu.mm-opened[class*=mm-pagedim]~#mm-blocker {
   top: 50%;
   transform: translateY(-50%);
   color: @menu-background;
+  padding: 9px 10px 10px 26px;
 
   .svg-icon {
     width: 25px;
@@ -295,12 +296,16 @@ html.mm-opening .mm-menu.mm-opened[class*=mm-pagedim]~#mm-blocker {
   }
 
   .share-icons {
-    display: flex;
-    justify-content: space-around;
+    padding-left: 29px;
   }
+
   a {
     padding: 0;
 
+    &:not(:last-of-type) {
+      margin-right: 33px;
+    }
+
     img {
       margin: 0;
     }