From 175a027582eac0b95803b3675ea37faf527ae68c Mon Sep 17 00:00:00 2001 From: Joe Date: Sat, 4 May 2019 22:14:27 +0800 Subject: [PATCH] DEV: improved implementation and bug fixes (#3) --- common/common.scss | 26 +++++++------- common/header.html | 85 ++++++++++++++++++++++++++++++---------------- 2 files changed, 70 insertions(+), 41 deletions(-) diff --git a/common/common.scss b/common/common.scss index 78d7895..032e8bb 100644 --- a/common/common.scss +++ b/common/common.scss @@ -1,25 +1,27 @@ @import "common/foundation/variables"; -.headerLink { - list-style: none; - a { - padding: 6px 10px; - color: $header_primary; - font-size: $font-up-1; - } -} - .d-header { &.hide-menus { .headerLink:not(.keep) { display: none; } } - .header-buttons { - display: flex; - align-items: center; +} + +.custom-header-links { + display: inline-flex; + align-items: center; + margin: 0; + .headerLink { + list-style: none; + a { + padding: 6px 10px; + color: $header_primary; + font-size: $font-up-1; + } } } + .desktop-view .vmo, .mobile-view .vdo { display: none !important; diff --git a/common/header.html b/common/header.html index c6091ba..d1c7f28 100644 --- a/common/header.html +++ b/common/header.html @@ -1,38 +1,65 @@