From: Alexander Ebert Date: Mon, 9 Apr 2012 15:08:58 +0000 (+0200) Subject: Improved ACP label management X-Git-Tag: 2.0.0_Beta_1~1159^2~2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=84481c65c36aecd13c9d1f52074003908bd38abb;p=GitHub%2FWoltLab%2FWCF.git Improved ACP label management --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 2d58a5e4aa..6dea51ddda 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2307,7 +2307,7 @@ WCF.MultipleLanguageInput.prototype = { // close selection and set focus on input element this._closeSelection(); - this._element.focus(); + this._element.blur().focus(); }, /** @@ -2330,7 +2330,8 @@ WCF.MultipleLanguageInput.prototype = { // no value for current language found, proceed with empty input this._element.val(); } - + + this._element.blur(); this._isEnabled = false; }, diff --git a/wcfsetup/install/files/style/label.less b/wcfsetup/install/files/style/label.less index 35999582ad..2ba3fe7f60 100644 --- a/wcfsetup/install/files/style/label.less +++ b/wcfsetup/install/files/style/label.less @@ -88,4 +88,26 @@ a.badge.label:hover { /* label list */ .labelList, .labelList > li { display: inline-block; +} + +/* ACP label list */ +#labelList li { + float: left; + margin-right: 1%; + width: 30%; + + &.labelCustomClass { + position: relative; + + input[type='radio'] { + left: 0; + position: absolute; + top: 0; + } + + span { + display: block; + margin-left: 24px; + } + } } \ No newline at end of file