From e5054ac549a04cb18b280a4fbb518cd7ea057542 Mon Sep 17 00:00:00 2001 From: Joe <33972521+hnb-ku@users.noreply.github.com> Date: Sat, 8 Dec 2018 13:17:52 +0800 Subject: [PATCH] DEV: style clean up --- common/common.scss | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/common/common.scss b/common/common.scss index ffad615..b63afbe 100644 --- a/common/common.scss +++ b/common/common.scss @@ -1,28 +1,26 @@ @import "common/foundation/variables"; .headerLink { - float: left; - margin-right: 5px; - list-style: none; - - a { - border: none; - padding: 6px 10px; - color: $primary; - font-size: $font-up-1; - line-height: $line-height-medium; - } + list-style: none; + a { + padding: 6px 10px; + color: $primary; + font-size: $font-up-1; + } } -.d-header { - .header-buttons, - .title { +.d-header { + &.hide-menus { + .headerLink:not(.keep) { + display: none; + } + } + .header-buttons { display: flex; align-items: center; } } - .desktop-view .vmo, .mobile-view .vdo { - display: none !important + display: none !important; }