[TASK] Improve styling of sysaction toolbar items 65/34865/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 1 Dec 2014 13:01:23 +0000 (14:01 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 1 Dec 2014 13:06:08 +0000 (14:06 +0100)
The sys_action items need a restyling.

Resolves: #63480
Releases: master
Change-Id: I8b0c52924e9291eb3520c76b19be86ebba1f1ddd
Reviewed-on: http://review.typo3.org/34865
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/sys_action/Classes/Backend/ToolbarItems/ActionToolbarItem.php

index 26f08f2..dcece0a 100644 (file)
@@ -59,10 +59,10 @@ class ActionToolbarItem implements ToolbarItemInterface {
         */
        public function getDropDown() {
                $actionMenu = array();
-               $actionMenu[] = '<ul>';
+               $actionMenu[] = '<ul class="dropdown-list">';
                foreach ($this->actionEntries as $linkConf) {
                        $actionMenu[] = '<li>';
-                       $actionMenu[] = '<a href="' . htmlspecialchars($linkConf[1]) . '" target="content">';
+                       $actionMenu[] = '<a href="' . htmlspecialchars($linkConf[1]) . '" target="content" class="dropdown-list-link">';
                        $actionMenu[] = $linkConf[2] . htmlspecialchars($linkConf[0]);
                        $actionMenu[] = '</a>';
                        $actionMenu[] = '</li>';