[BUGFIX] Correct treelist-renderings
This is the first step to correct the CSS list-tree. Even it is documented in the style guide extension it was managed to have several kinds of implementation through the core. To make it clear and force people to look up the actual use, we are now also streamlining the naming scheme. Old: .list-tree New: .treelist This led to a misplacement of the open/collapsed indicator/toggle of tree branches. The control element was somehow moved inside the treelist-group, which is purely intended to handle a single row of informational content. In addition collapse classes were mixed up with tree stylings, which lead to cut-off indicators, and sluggish opening and close animations. Helpers to make tables responsive where used out of place to achieve similar but different behavior for panels that are intended to overflow if the content is too long. The diff component was used in an unintended space and was not used as documented. That made manual adaptions necessary that now have been revoked. Instead, we now only apply the table structure only if the nesting is correct. So the parts of the component can be used in other places for now. While we are here, we are adapting and streamlining the colors of the diff component. All randomly placed text-monospace classes were removed from the table rendering and are now only applied to the information group if necessary. This avoids having badges, buttons, etc restyled to a monospace font. The styling adaptions in the import/export module were incomplete and several necessary corrections were missing. We now made it easier to define the background color for the element. Misplaced control CSS classes that seem to be leftovers have been removed from elements they don`t belong to. As mentioned, this patch is part of the ongoing cleanup and has no intention to be finished or solve all the remaining issues. Resolves: #100476 Releases: main Change-Id: I675496fbcc1205ce243daa74ff99ade28fb03efe Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78485 Reviewed-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Markus Klein <markus.klein@typo3.org>
Showing
- Build/Sources/Sass/backend.scss 1 addition, 2 deletionsBuild/Sources/Sass/backend.scss
- Build/Sources/Sass/component/_diff.scss 16 additions, 16 deletionsBuild/Sources/Sass/component/_diff.scss
- Build/Sources/Sass/component/_panel.scss 5 additions, 0 deletionsBuild/Sources/Sass/component/_panel.scss
- Build/Sources/Sass/component/_treelist.scss 255 additions, 0 deletionsBuild/Sources/Sass/component/_treelist.scss
- Build/Sources/Sass/module/_backenduser.scss 0 additions, 9 deletionsBuild/Sources/Sass/module/_backenduser.scss
- Build/Sources/Sass/module/_tstemplate.scss 0 additions, 28 deletionsBuild/Sources/Sass/module/_tstemplate.scss
- Build/Sources/Sass/typo3/_element_tree.scss 2 additions, 216 deletionsBuild/Sources/Sass/typo3/_element_tree.scss
- Build/Sources/TypeScript/backend/utility/collapse-state-search.ts 4 additions, 4 deletions...urces/TypeScript/backend/utility/collapse-state-search.ts
- typo3/sysext/adminpanel/Resources/Public/Css/adminpanel.css 1 addition, 1 deletiontypo3/sysext/adminpanel/Resources/Public/Css/adminpanel.css
- typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php 3 additions, 3 deletionstypo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php
- typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php 15 additions, 14 deletions.../backend/Classes/Tree/View/ElementBrowserPageTreeView.php
- typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php 4 additions, 4 deletionstypo3/sysext/backend/Classes/Tree/View/PagePositionMap.php
- typo3/sysext/backend/Resources/Private/Templates/PageTsConfig/Active.html 42 additions, 37 deletions...kend/Resources/Private/Templates/PageTsConfig/Active.html
- typo3/sysext/backend/Resources/Private/Templates/PageTsConfig/Includes.html 16 additions, 16 deletions...nd/Resources/Private/Templates/PageTsConfig/Includes.html
- typo3/sysext/backend/Resources/Public/Css/backend.css 2 additions, 2 deletionstypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/backend/Resources/Public/JavaScript/utility/collapse-state-search.js 1 addition, 1 deletion...ources/Public/JavaScript/utility/collapse-state-search.js
- typo3/sysext/beuser/Resources/Private/Partials/Compare/Information.html 5 additions, 4 deletions...euser/Resources/Private/Partials/Compare/Information.html
- typo3/sysext/core/Tests/Acceptance/Application/Template/TemplateCest.php 3 additions, 3 deletions...re/Tests/Acceptance/Application/Template/TemplateCest.php
- typo3/sysext/impexp/Classes/View/ExportPageTreeView.php 7 additions, 13 deletionstypo3/sysext/impexp/Classes/View/ExportPageTreeView.php
- typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php 2 additions, 2 deletions...impexp/Tests/Functional/Export/ExportPageTreeViewTest.php
Please register or sign in to comment