[BUGFIX] Adjusted width, height and line height of module menu icons 73/41973/5
authorJo Hasenau <info@cybercraft.de>
Mon, 27 Jul 2015 09:33:46 +0000 (11:33 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 27 Jul 2015 11:37:37 +0000 (13:37 +0200)
Menu icons of the first level of the module menu must be adjusted
to fit the 28px square of the actual app icons in the same menu.

Resolves: #68190
Releases: master
Change-Id: I4fa34963c9935f78de708128e86a5473413d18b2
Reviewed-on: http://review.typo3.org/41973
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Build/Resources/Public/Less/TYPO3/_module_menu.less
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index 77f78f2..e0eef52 100644 (file)
        }
        .typo3-module-menu-group-icon {
                background-color: transparent;
+               > span {
+                       line-height: @app-icon-height;
+                       > .t3-icon {
+                               width: @app-icon-width;
+                               height: @app-icon-height;
+                               &:before {
+                                       line-height: @app-icon-height;
+                               }
+                       }
+               }
                &:after {
                        display: none;
                }
index ce82aff..2546a2f 100644 (file)
@@ -12320,6 +12320,16 @@ iframe {
 [id="typo3-menu"] .typo3-module-menu-group-icon {
   background-color: transparent;
 }
+[id="typo3-menu"] .typo3-module-menu-group-icon > span {
+  line-height: 28px;
+}
+[id="typo3-menu"] .typo3-module-menu-group-icon > span > .t3-icon {
+  width: 28px;
+  height: 28px;
+}
+[id="typo3-menu"] .typo3-module-menu-group-icon > span > .t3-icon:before {
+  line-height: 28px;
+}
 [id="typo3-menu"] .typo3-module-menu-group-icon:after {
   display: none;
 }