[FOLLOWUP][TASK] Pagetrees: adopt open/close icons and align items of same level 32/42232/4
authorJosef Glatz <jousch@gmail.com>
Tue, 4 Aug 2015 04:53:22 +0000 (06:53 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 4 Aug 2015 10:48:30 +0000 (12:48 +0200)
Module Filelist -> Folder Tree: prevents the line break between icon and text.
Element Browser: Missing space between tree item text and .list-tree-show icon added.

Change-Id: I96907290dc49106b3a466fbd70656c51d61b4c39
Releases: master
Related: #68649
Reviewed-on: http://review.typo3.org/42232
Reviewed-by: Alexander Grein <mail@mediaessenz.de>
Tested-by: Alexander Grein <mail@mediaessenz.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Build/Resources/Public/Less/TYPO3/_element_tree.less
typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index 2fbd977..48088f6 100644 (file)
@@ -84,6 +84,7 @@
 .list-tree-group {
        position: relative;
        display: block;
+       white-space: nowrap;
        > span {
                position: relative;
        }
index b9593e1..43319fe 100644 (file)
@@ -88,7 +88,7 @@ class ElementBrowserPageTreeView extends BrowseTreeView {
                                $classAttr .= ' active';
                        }
                        $aOnClick = 'return jumpToUrl(' . \TYPO3\CMS\Core\Utility\GeneralUtility::quoteJSvalue($this->getThisScript() . 'act=' . $GLOBALS['SOBE']->browser->act . '&mode=' . $GLOBALS['SOBE']->browser->mode . '&expandPage=' . $treeItem['row']['uid']) . ');';
-                       $cEbullet = $this->ext_isLinkable($treeItem['row']['doktype'], $treeItem['row']['uid']) ? '<a href="#" class="pull-right" onclick="' . htmlspecialchars($aOnClick) . '"><i class="fa fa-caret-square-o-right"></i></a>' : '';
+                       $cEbullet = $this->ext_isLinkable($treeItem['row']['doktype'], $treeItem['row']['uid']) ? '<a href="#" class="list-tree-show" onclick="' . htmlspecialchars($aOnClick) . '"><i class="fa fa-caret-square-o-right"></i></a>' : '';
                        $out .= '
                                <li' . ($classAttr ? ' class="' . trim($classAttr) . '"' : '') . '>
                                        <span class="list-tree-group' . $selected . '">
index 8589ef0..cf6580e 100644 (file)
@@ -10819,6 +10819,7 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex {
 .list-tree-group {
   position: relative;
   display: block;
+  white-space: nowrap;
 }
 .list-tree-group > span {
   position: relative;