From: Alexander Ebert Date: Wed, 16 Mar 2016 09:27:30 +0000 (+0100) Subject: Force button icons to inherit color X-Git-Tag: 3.0.0_Beta_1~2030^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7035df9a5e17939e05f8b62e3abeeef179448ce0;p=GitHub%2FWoltLab%2FWCF.git Force button icons to inherit color --- diff --git a/wcfsetup/install/files/style/ui/button.scss b/wcfsetup/install/files/style/ui/button.scss index 2b2bf7b994..f2c3a9d256 100644 --- a/wcfsetup/install/files/style/ui/button.scss +++ b/wcfsetup/install/files/style/ui/button.scss @@ -18,7 +18,7 @@ a.button { // a.button is required to override link formatting, such as drop-dow @include wcfLineHeight; .icon { - color: $wcfButtonText; + color: inherit; } &.active, @@ -26,10 +26,6 @@ a.button { // a.button is required to override link formatting, such as drop-dow background-color: $wcfButtonBackgroundActive; border-color: $wcfButtonBorderActive; color: $wcfButtonTextActive; - - .icon { - color: $wcfButtonTextActive; - } } &.small { @@ -48,19 +44,11 @@ a.button.buttonPrimary { // a.button is required to override link formatting, su border-color: $wcfButtonPrimaryBorder; color: $wcfButtonPrimaryText; - .icon { - color: $wcfButtonPrimaryText; - } - &.active, &:hover { background-color: $wcfButtonPrimaryBackgroundActive; border-color: $wcfButtonPrimaryBorderActive; color: $wcfButtonPrimaryTextActive; - - .icon { - color: $wcfButtonPrimaryTextActive; - } } }