From e7a573063f618c6bd381108245e0ac89ce7ac6b3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 23 Jan 2016 11:27:03 +0100 Subject: [PATCH] Slightly improved CSS to avoid !important --- wcfsetup/install/files/acp/style/mainMenu.scss | 3 --- wcfsetup/install/files/style/layout/pageHeader.scss | 7 ++----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/wcfsetup/install/files/acp/style/mainMenu.scss b/wcfsetup/install/files/acp/style/mainMenu.scss index 5f96943d8d..9d3237b625 100644 --- a/wcfsetup/install/files/acp/style/mainMenu.scss +++ b/wcfsetup/install/files/acp/style/mainMenu.scss @@ -27,7 +27,6 @@ .boxMenuDepth1 > li > span { color: $wcfTabularBoxHeadline; cursor: default; - font-weight: 600 !important; @extend .wcfFontBold; } @@ -52,8 +51,6 @@ padding: 5px 10px; white-space: nowrap; - @extend .wcfFontDefault; - &:first-child { flex: 1 1 auto; padding: 5px 20px 5px 40px; diff --git a/wcfsetup/install/files/style/layout/pageHeader.scss b/wcfsetup/install/files/style/layout/pageHeader.scss index 2abef8151f..ab7bb64043 100644 --- a/wcfsetup/install/files/style/layout/pageHeader.scss +++ b/wcfsetup/install/files/style/layout/pageHeader.scss @@ -121,6 +121,7 @@ .boxMenuDepth1 { background-color: $wcfHeaderMenuDropdownBackground; border-bottom: 1px solid $wcfHeaderMenuDropdownBorder; + box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .2); padding: 3px 0; position: absolute; visibility: hidden; @@ -132,7 +133,7 @@ background-clip: padding-box; border-top: 3px solid transparent; - @include boxShadow(2px, 2px, rgba(0, 0, 0, .2), 10px); + @extend .wcfFontDefault; > li { > a { @@ -144,8 +145,6 @@ display: block; padding: 5px 20px; white-space: nowrap; - - @extend .wcfFontDefault; } &.active > a, @@ -163,8 +162,6 @@ display: block; padding: 5px 20px 5px 40px; white-space: nowrap; - - @extend .wcfFontDefault; } &.active > a, -- 2.20.1