From 98bd7063382fc73cae31964de60453f7a453bab9 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Wed, 2 Jan 2019 21:41:34 +0000 Subject: [PATCH] menu header inner panel layout --- components/SiteMenu.vue | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/components/SiteMenu.vue b/components/SiteMenu.vue index f72c899..34a12d5 100644 --- a/components/SiteMenu.vue +++ b/components/SiteMenu.vue @@ -1,12 +1,13 @@ @@ -78,8 +79,32 @@ $bp-layout: $bp__m; } .panel-header { + position: relative; flex: 0 0 $site-menu__header-height; + @media (min-width: $bp-layout) { + max-width: $site-menu__header-width; + } + background-color: cyan; // TEMP } + + .panel-header__inner { + width: 100%; + height: 100%; + + background-color: rgba(green, .5); + + @media (min-width: $bp-layout) { + position: absolute; + top: 0; + right: 100%; + width: 100vh; + height: $site-menu__header-width; + + transform-origin: 100% 0; + transform: rotate(-90deg); + } + + }