From: Alexander Ebert Date: Mon, 5 Mar 2012 23:14:39 +0000 (+0100) Subject: Finally fixed sortables X-Git-Tag: 2.0.0_Beta_1~1248 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9dcf11e223c5f8bce0931f94a5648e0020543c48;p=GitHub%2FWoltLab%2FWCF.git Finally fixed sortables --- diff --git a/wcfsetup/install/files/acp/style/wcf.css b/wcfsetup/install/files/acp/style/wcf.css index e032db4d75..d2b36bd482 100644 --- a/wcfsetup/install/files/acp/style/wcf.css +++ b/wcfsetup/install/files/acp/style/wcf.css @@ -4431,17 +4431,24 @@ button[disabled='disabled'] { padding: 4px; } +/* TODO: This was taken from badgeRed and is used to indicate a list which is not a valid drop target */ +.wcf-badgeYellow.wcf-sortableInvalidTarget { + color: #c00; + border: 1px solid #f99; + background-color: #fee; +} + .wcf-sortableListContainer { border-radius: 0; background-color: rgba(252, 253, 254, 1); padding: 21px; } +/* Notice: min-height was safely removed */ .wcf-sortableList { list-style-position: outside; list-style-type: decimal; margin-left: 21px; - min-height: 10px; /* Do not touch min-height, removing or changing it would break the whole stuff! - Alex */ } .wcf-sortableNode { diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index 794e8d7ae3..915fe8bb6c 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -17,6 +17,7 @@ +