Fixed bug #14636: Improvements to new Backend skin, replace old styling - Part 1...
authorBenni Mack <benni.mack@typo3.org>
Sat, 12 Jun 2010 08:43:55 +0000 (08:43 +0000)
committerBenni Mack <benni.mack@typo3.org>
Sat, 12 Jun 2010 08:43:55 +0000 (08:43 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7886 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_clickmenu.php
typo3/sysext/t3skin/stylesheets/structure/element_csm.css
typo3/sysext/t3skin/stylesheets/visual/element_csm.css

index 666b5ec..723ed58 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-06-11  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug #14636: Improvements to new Backend skin, replace old styling (Thanks to Steffen Gebert)
        * Fixed #14679: Deprecating page and branch versioning, these versioning types are now disabled by default, see NEWS.txt for 4.4 for more info
        * Fixed bug #171: added documentatino for calculate and display filepermissions in filelist (Thanks to Jigal van Hemert)
        * Added feature #14546: Make sprite icons / PNGs work in Internet Explorer 6 through PNGfix that works with background images (Thanks to Steffen Ritter)
index 7d938ed..9322bca 100644 (file)
@@ -1239,7 +1239,7 @@ class clickMenu {
 
                                // Create the table displayed in the clickmenu layer:
                        $CMtable = '
-                               <table border="0" cellpadding="0" cellspacing="0" class="typo3-CSM bgColor4">
+                               <table border="0" cellpadding="0" cellspacing="0" class="typo3-CSM">
                                        '.implode('',$this->menuItemsForClickMenu($menuItems)).'
                                </table>';
 
@@ -1274,18 +1274,9 @@ class clickMenu {
         */
        function wrapColorTableCM($str) {
 
-                       // Clear-gifs needed if opera is to set the table row height correctly in skins.
-               $str = '<table border="0" cellspacing="0" class="typo3-CSM-wrapperCM">
-                               <tr class="c-rowA">
-                                       <td class="c-aa">'.$str.'</td>
-                                       <td class="c-ab"></td>
-                               </tr>
-                               <tr class="c-rowB">
-                                       <td class="c-ba"><img src="clear.gif" width="1" height="1" alt="" /></td>
-                                       <td class="c-bb"><img src="clear.gif" width="1" height="1" alt="" /></td>
-                               </tr>
-                       </table>';
-               return $str;
+               return '<div class="typo3-CSM-wrapperCM">
+                       ' . $str . '
+                       </div>';
        }
 
        /**
index e57153e..70b1208 100644 (file)
@@ -5,10 +5,6 @@ Notice: Rollover color is set by ->bgColor5 in the template object of alt_clickm
 $Id$
 - - - - - - - - - - - - - - - - - - - - - */
 
-table.typo3-CSM-wrapperCM td {
-       padding: 0;
-}
-
 table.typo3-CSM tr.typo3-CSM-itemRow td {
        padding: 2px 6px;
 }
index f93e407..6f7bfa5 100644 (file)
@@ -5,12 +5,9 @@ Notice: Rollover color is set by ->bgColor5 in the template object of alt_clickm
 $Id$
 - - - - - - - - - - - - - - - - - - - - - */
 
-table.typo3-CSM-wrapperCM {
-       border: #b6b6b6 1px solid;
-}
-
-table.typo3-CSM-wrapperCM  {
+.typo3-CSM-wrapperCM {
        background: #fff;
+       border: #b6b6b6 1px solid;
 }
 
 table.typo3-CSM td.typo3-CSM-item {