Project

General

Profile

Bug #22826 » 14636_clickmenu.diff

Administrator Admin, 2010-06-06 18:12

View differences:

typo3/alt_clickmenu.php (Arbeitskopie)
// 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>';
......
*/
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>';
}
/**
typo3/sysext/t3skin/stylesheets/structure/element_csm.css (Arbeitskopie)
$Id$
- - - - - - - - - - - - - - - - - - - - - */
table.typo3-CSM-wrapperCM td {
padding: 0;
}
table.typo3-CSM tr.typo3-CSM-itemRow td {
padding: 2px 6px;
}
typo3/sysext/t3skin/stylesheets/visual/element_csm.css (Arbeitskopie)
$Id$
- - - - - - - - - - - - - - - - - - - - - */
table.typo3-CSM-wrapperCM {
.typo3-CSM-wrapperCM {
background: #fff;
border: #b6b6b6 1px solid;
}
table.typo3-CSM-wrapperCM {
background: #fff;
}
table.typo3-CSM td.typo3-CSM-item {
white-space: nowrap;
}
(1-1/10)