Improved ACP label management
authorAlexander Ebert <ebert@woltlab.com>
Mon, 9 Apr 2012 15:08:58 +0000 (17:08 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 9 Apr 2012 15:08:58 +0000 (17:08 +0200)
wcfsetup/install/files/js/WCF.js
wcfsetup/install/files/style/label.less

index 2d58a5e4aa62bf0cf24f90375ad626d3158bf1e9..6dea51ddda620ff4b2277edcb0b25a3cf2bd1a8f 100644 (file)
@@ -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;
        },
 
index 35999582adf7bb6dae0e70cc976bdb7b00562e32..2ba3fe7f606637a9ab40fe9b6a01b8d1b198b0e4 100644 (file)
@@ -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