From bb2e4899c6c235f06b666542b59acb2df07e9f42 Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Thu, 13 Jul 2017 18:50:32 +0200 Subject: [PATCH] WIP #1501 @1.5 --- js/libs/fluidbook/fluidbook.coquillette.js | 4 ++-- style/mmenu/mmenu.less | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.coquillette.js b/js/libs/fluidbook/fluidbook.coquillette.js index d5ecbdc6..55bd9bf9 100644 --- a/js/libs/fluidbook/fluidbook.coquillette.js +++ b/js/libs/fluidbook/fluidbook.coquillette.js @@ -1,6 +1,6 @@ function FluidbookCoquillette(fluidbook) { this.fluidbook = fluidbook; - this.size = 60; + this.size = 48; this.element = $("#coquillette"); this.rotation = 0; this.speed = 1; // 1/2 tours / sec @@ -43,7 +43,7 @@ FluidbookCoquillette.prototype = { this.ctx.fill(); // Set stroke style this.ctx.strokeStyle = this.fluidbook.datas.coquilletteFront; - this.ctx.lineWidth = Math.round(this.size * 0.13); + this.ctx.lineWidth = Math.round(this.size * 0.0625); this.ctx.lineCap = 'round'; this.ctx.lineJoin = 'mitter'; this.ctx.beginPath(); diff --git a/style/mmenu/mmenu.less b/style/mmenu/mmenu.less index c5eb5b7f..9d7d5e38 100644 --- a/style/mmenu/mmenu.less +++ b/style/mmenu/mmenu.less @@ -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; } -- 2.39.5