From c409b5ab6cbeb84a32aab40fed2eb65f8dcaa174 Mon Sep 17 00:00:00 2001 From: Viktor Ayzenshtadt Date: Sun, 23 Jul 2017 21:52:34 +0200 Subject: [PATCH 1/2] 236 adapt the main menu so that the scrollbar does not appear + small rework of 225 --- Build/Assets/Scss/layout/_navigation.scss | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Build/Assets/Scss/layout/_navigation.scss b/Build/Assets/Scss/layout/_navigation.scss index 9000a7f..b74de9f 100644 --- a/Build/Assets/Scss/layout/_navigation.scss +++ b/Build/Assets/Scss/layout/_navigation.scss @@ -374,16 +374,13 @@ top: 0; left: 0; width: 0; - padding-right: 0; - will-change: transform; - transition: visibility 0.5s ease; - transform-origin: right; + right: 0; overflow-x: hidden; &._visible { - width: 100%; + width: auto; z-index: 3; - max-width: 732px; + margin-right: 160px; } .typeahead { @@ -477,8 +474,8 @@ &._lvl-2 { width: 100%; - min-height: 380px; - max-height: 50vh; + min-height: 460px; + max-height: 60vh; } .sub-nav { @@ -526,6 +523,7 @@ display: block; color: $greyDark; padding: 10px 20px; + line-height: 1.25; &:focus, &:active, -- GitLab From f586d5a5d20d6ef8f711e3ee2c66a0277edaaf7c Mon Sep 17 00:00:00 2001 From: Viktor Ayzenshtadt Date: Thu, 27 Jul 2017 00:03:13 +0200 Subject: [PATCH 2/2] 236 equalize positioning of 3rd level of the main menu --- Build/Assets/Scss/layout/_navigation.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/Assets/Scss/layout/_navigation.scss b/Build/Assets/Scss/layout/_navigation.scss index b74de9f..a35c5f8 100644 --- a/Build/Assets/Scss/layout/_navigation.scss +++ b/Build/Assets/Scss/layout/_navigation.scss @@ -491,7 +491,7 @@ position: absolute; content: ''; right: 0; - top: 50px; + top: 0; bottom: 15px; width: 1px; display: block; @@ -508,7 +508,7 @@ &._lvl-3 { display: none; - margin-top: 70px; + margin-top: 65px; padding-left: 10px; &._visible { -- GitLab