From: Marcel Werk Date: Tue, 21 Jun 2016 23:04:40 +0000 (+0200) Subject: Fixed small style issues / removed obsolete declarations X-Git-Tag: 3.0.0_Beta_1~1376^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b59f5eac5897095c0d7a5626d495bd45cc8c387;p=GitHub%2FWoltLab%2FWCF.git Fixed small style issues / removed obsolete declarations --- diff --git a/wcfsetup/install/files/style/layout/box.scss b/wcfsetup/install/files/style/layout/box.scss index feb9c3ea61..fd29aa2b20 100644 --- a/wcfsetup/install/files/style/layout/box.scss +++ b/wcfsetup/install/files/style/layout/box.scss @@ -79,16 +79,11 @@ &:hover { color: $wcfFooterBoxLinkActive; - text-decoration: underline; - - .icon { - color: $wcfFooterBoxLinkActive; - } } } .icon { - color: inherit; + color: $wcfFooterBoxText; } .boxContainer { @@ -206,19 +201,16 @@ a { color: $wcfSidebarLink; - > .icon { - color: $wcfSidebarLink; - } - &:hover { color: $wcfSidebarLinkActive; - - > .icon { - color: $wcfSidebarLinkActive; - } + } } + .icon { + color: $wcfSidebarText; + } + small, .dimmed { color: $wcfSidebarDimmedText; @@ -382,14 +374,12 @@ background-color: $wcfFooterBoxBackground; color: $wcfFooterBoxText; flex: 0 0 auto; - z-index: 40; a { color: $wcfFooterBoxLink; &:hover { color: $wcfFooterBoxLinkActive; - text-decoration: underline; } } @@ -468,7 +458,6 @@ &:hover { color: $wcfFooterLinkActive; - text-decoration: underline; } } diff --git a/wcfsetup/install/files/style/layout/pageHeader.scss b/wcfsetup/install/files/style/layout/pageHeader.scss index ec0a4c27be..af58f0bd08 100644 --- a/wcfsetup/install/files/style/layout/pageHeader.scss +++ b/wcfsetup/install/files/style/layout/pageHeader.scss @@ -12,7 +12,7 @@ } .icon { - color: inherit; + color: $wcfHeaderText; } } @@ -212,11 +212,6 @@ padding: 0 15px; position: relative; - /* set icon color */ - > .icon { - color: inherit; - } - /* hide icon label */ > span:not(.icon):not(.badge) { display: none; diff --git a/wcfsetup/install/files/style/ui/article.scss b/wcfsetup/install/files/style/ui/article.scss index 83c2db4850..e13ebe4dee 100644 --- a/wcfsetup/install/files/style/ui/article.scss +++ b/wcfsetup/install/files/style/ui/article.scss @@ -191,9 +191,11 @@ } a { - color: $wcfContentText; + color: inherit; &:hover { + color: inherit; + .articleListImage > img { opacity: 1; } diff --git a/wcfsetup/install/files/style/ui/media.scss b/wcfsetup/install/files/style/ui/media.scss index e5dc105b08..a2a7abda8c 100644 --- a/wcfsetup/install/files/style/ui/media.scss +++ b/wcfsetup/install/files/style/ui/media.scss @@ -83,7 +83,7 @@ > .mediaInformation { position: absolute; bottom: 0; - background: rgba(0,0,0,0.6); // TOOD + background: rgba(0,0,0,0.6); // TODO color: #fff; width: 100%; padding: $wcfGapSmall; @@ -96,7 +96,7 @@ position: absolute; top: 0; right: 0; - background: rgba(0,0,0,0.6); // TOOD + background: rgba(0,0,0,0.6); // TODO height: 0; overflow: hidden;