From: Marcel Werk Date: Tue, 7 May 2013 16:43:21 +0000 (+0200) Subject: Fixed pre-inputs X-Git-Tag: 2.0.0_Beta_1~230^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e60a4b030f2c4e4ed0f488cf99f54c08465f8ee;p=GitHub%2FWoltLab%2FWCF.git Fixed pre-inputs --- diff --git a/wcfsetup/install/files/acp/style/blueTemptation/individual.less b/wcfsetup/install/files/acp/style/blueTemptation/individual.less index 839c095d50..aef116ec44 100644 --- a/wcfsetup/install/files/acp/style/blueTemptation/individual.less +++ b/wcfsetup/install/files/acp/style/blueTemptation/individual.less @@ -1,11 +1,3 @@ -/** - * Blue Temptation - * Style for WoltLab Community Framework 2 - * - * @copyright 2001-2013 WoltLab GmbH - * @license WoltLab Burning Board License - */ - /* ### blue temptation special css ### */ /* background-image for body, tabular boxes and dialogs */ body, .tabularBox, .dialogTitlebar { @@ -253,70 +245,72 @@ button.active:hover { /* bread crumbs */ -.breadcrumbs { - background-color: @wcfContentBackgroundColor; - border: 1px solid @wcfContainerBorderColor; - .borderRadius(); - - > ul { - > li { - padding-right: 0; - - .transition(max-width, .2s); - - &:hover { - max-width: 100%; +@media only screen and (min-width: 801px) { + .breadcrumbs { + background-color: @wcfContentBackgroundColor; + border: 1px solid @wcfContainerBorderColor; + .borderRadius(); + + > ul { + > li { + padding-right: 0; - > a { - background-color: @wcfContainerAccentBackgroundColor; - position: relative; - z-index: 10; - } + .transition(max-width, .2s); - > .pointer > span { - border-color: transparent transparent transparent @wcfContainerAccentBackgroundColor; + &:hover { + max-width: 100%; + + > a { + background-color: @wcfContainerAccentBackgroundColor; + position: relative; + z-index: 10; + } + + > .pointer > span { + border-color: transparent transparent transparent @wcfContainerAccentBackgroundColor; + } } - } - - > .pointer { - border-color: transparent transparent transparent @wcfContainerBorderColor; - border-style: inset none inset solid; - border-width: 15px; - display: block; - height: 0; - padding: 0; - right: -15px; - top: -3px; - width: 0; - z-index: 20; - > span { - border-color: transparent transparent transparent @wcfContentBackgroundColor; + > .pointer { + border-color: transparent transparent transparent @wcfContainerBorderColor; border-style: inset none inset solid; border-width: 15px; display: block; height: 0; - left: -16px; - overflow: hidden; - position: absolute; - text-indent: -9000px; - top: -15px; + padding: 0; + right: -15px; + top: -3px; width: 0; + z-index: 20; - .transition(border-color, .2s); + > span { + border-color: transparent transparent transparent @wcfContentBackgroundColor; + border-style: inset none inset solid; + border-width: 15px; + display: block; + height: 0; + left: -16px; + overflow: hidden; + position: absolute; + text-indent: -9000px; + top: -15px; + width: 0; + + .transition(border-color, .2s); + } } - } - - > a { - padding-left: 20px; - .transition(background-color, .2s); - } - - &:first-child > a { - padding-left: 9px; + > a { + padding-left: 20px; + + .transition(background-color, .2s); + } - .borderRadius(@wcfContainerBorderRadius - 2, 0, 0, @wcfContainerBorderRadius - 2); + &:first-child > a { + padding-left: 9px; + + .borderRadius(@wcfContainerBorderRadius - 2, 0, 0, @wcfContainerBorderRadius - 2); + } } } } @@ -604,6 +598,16 @@ select[multiple] { .transition(~"background-color, border, box-shadow", .2s); } +.preInput { + > input[type='text'] { + border-radius: 0 3px 3px 0; + } + + > textarea { + border-radius: 0 3px 3px; + } +} + /* active / focus */ input[type='text']:active, input[type='search']:active, diff --git a/wcfsetup/install/files/style/dropdown.less b/wcfsetup/install/files/style/dropdown.less index d556d30c4b..59f12eb9c6 100644 --- a/wcfsetup/install/files/style/dropdown.less +++ b/wcfsetup/install/files/style/dropdown.less @@ -30,8 +30,7 @@ cursor: pointer; display: table-cell; letter-spacing: -1px; - padding-left: @wcfGapTiny; - padding-right: @wcfGapSmall; + padding: 0 @wcfGapSmall 0 @wcfGapTiny; vertical-align: middle; width: 1%;