[TASK] Improve logout button styling and add id 52/22452/2
authorAndreas Wolf <andreas.wolf@typo3.org>
Sat, 20 Jul 2013 15:48:38 +0000 (17:48 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 20 Jul 2013 17:56:37 +0000 (19:56 +0200)
Change-Id: I093d38bb048e96257a35931dbd3f36f85796e26c
Resolves: #50227
Releases: 6.2
Reviewed-on: https://review.typo3.org/22452
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/View/ModuleMenuView.php
typo3/sysext/t3skin/stylesheets/visual/toolbar_logout.css

index 94e6149..adbfdd9 100644 (file)
@@ -314,7 +314,7 @@ class ModuleMenuView {
                $buttonLabel = $GLOBALS['BE_USER']->user['ses_backuserid'] ? 'LLL:EXT:lang/locallang_core.xlf:buttons.exit' : 'LLL:EXT:lang/locallang_core.xlf:buttons.logout';
                $buttonForm = '
                <form action="logout.php" target="_top">
-                       <input type="submit" value="&nbsp;' . $GLOBALS['LANG']->sL($buttonLabel, 1) . '&nbsp;" />
+                       <input type="submit" id="logout-submit-button" value="' . $GLOBALS['LANG']->sL($buttonLabel, 1) . '" />
                </form>';
                return $buttonForm;
        }
index f42c2e6..8560703 100644 (file)
@@ -8,6 +8,7 @@ Logout-Button
        color: #fff;
        cursor: pointer;
        text-align: center;
+       padding: 0 5px;
 }
 
 #logout-button input:hover {