From ac4bf2692e3cbf40ea8b1b18737dbf3aee0aaf2a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 31 Oct 2012 20:17:32 +0100 Subject: [PATCH] Fixed minor style issues --- wcfsetup/install/files/style/dropdown.less | 4 ++++ wcfsetup/install/files/style/global.less | 8 ++++---- wcfsetup/install/files/style/layout.less | 13 ++++++------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/wcfsetup/install/files/style/dropdown.less b/wcfsetup/install/files/style/dropdown.less index c9ae506343..8325f32747 100644 --- a/wcfsetup/install/files/style/dropdown.less +++ b/wcfsetup/install/files/style/dropdown.less @@ -167,6 +167,10 @@ } } + > label { + display: block; + } + .containerHeadline { margin-bottom: 0; diff --git a/wcfsetup/install/files/style/global.less b/wcfsetup/install/files/style/global.less index 5ffac60bf5..10f9cfd243 100644 --- a/wcfsetup/install/files/style/global.less +++ b/wcfsetup/install/files/style/global.less @@ -184,13 +184,13 @@ a { } &.badgeGreen { - background-color: @wcfSuccessColor; - color: @wcfSuccessBackgroundColor; + background-color: rgba(0, 153, 0, 1); + color: rgba(238, 255, 238, 1); } &.badgeRed { - background-color: @wcfErrorColor; - color: @wcfErrorBackgroundColor; + background-color: rgba(204, 0, 0, 1); + color: rgba(255, 238, 238, 1); } &.badgeInverse { diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index f21a64c348..062868abaa 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -583,14 +583,13 @@ z-index: 20; /* Prevents border overlay during transition */ } -/* todo */ +/* sub tabs */ .tabMenuContainer > .menu { border-bottom: 1px solid @wcfContainerBorderColor; margin: -@wcfGapMedium -@wcfGapLarge @wcfGapSmall -@wcfGapLarge; /* reverse paddings from .containerPadding */ - padding: @wcfGapSmall 0; - text-align: center; + padding: @wcfGapTiny @wcfGapSmall; - .linearGradient(rgba(0, 0, 0, 0), @wcfContainerBackgroundColor, @wcfContainerAccentBackgroundColor); + .linearGradient(@wcfContainerBackgroundColor, @wcfContainerBackgroundColor, @wcfContainerAccentBackgroundColor); ul{ display: inline-block; @@ -611,11 +610,11 @@ border: 1px solid @wcfContainerBorderColor; color: @wcfButtonColor; display: block; - font-size: 85%; - + font-size: @wcfSmallFontSize; + margin: @wcfGapTiny 0; padding: @wcfGapTiny @wcfGapSmall; - .borderRadius(30px); + .borderRadius(15px); &:hover { background-color: @wcfButtonHoverBackgroundColor; -- 2.20.1