From cab8f96e21b9c24fd29900a08bdcb8a7ea8dc4a9 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 29 Jul 2016 14:54:26 +0000 Subject: [PATCH] fix #582 @1 --- framework/application/layouts/scripts/layout.phtml | 2 +- less/002-common.less | 6 ++++++ less/215-home-references.less | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/framework/application/layouts/scripts/layout.phtml b/framework/application/layouts/scripts/layout.phtml index 5448acb..47880dd 100644 --- a/framework/application/layouts/scripts/layout.phtml +++ b/framework/application/layouts/scripts/layout.phtml @@ -6,7 +6,7 @@ if ($this->acl()->isAllowed('edition')) { $this->headMeta()->setViewport('device-width'); -$this->headScript()->addIEConditionnals(); +$this->headScript()->addIEConditionnals()->addFastClick(); $this->headScript()->appendFile('/js/002-common.js'); // $this->headLink()->appendStylesheet('https://file.myfontastic.com/2VZntjQVKuJUUqArhhJzkD/icons.css'); diff --git a/less/002-common.less b/less/002-common.less index 74e60ce..a33b3cc 100644 --- a/less/002-common.less +++ b/less/002-common.less @@ -17,6 +17,12 @@ body { -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #151e28; + opacity: 0; + transition: opacity @transition-time-buttons; + + .wf-active & { + opacity: 1; + } @media @m900 { font-size: 12px; diff --git a/less/215-home-references.less b/less/215-home-references.less index e8e1de4..a49940a 100644 --- a/less/215-home-references.less +++ b/less/215-home-references.less @@ -86,6 +86,7 @@ section.references { &:hover { .hover { opacity: 1; + display: block; } } @@ -121,6 +122,7 @@ section.references { height: 100%; background-color: #18232e; opacity: 0; + display: none; transition: opacity @transition-time-buttons; padding-top: 25%; text-align: center; @@ -131,7 +133,6 @@ section.references { } h3 { - font-family: @playfair; font-size: 30px; font-weight: 400; -- 2.39.5