mirror of https://github.com/apache/cloudstack.git
IE7 list view/table fixes
This commit is contained in:
parent
ca83ac7749
commit
fbf47f2f4c
|
|
@ -2,6 +2,7 @@
|
|||
div.panel div.list-view {
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
div.toolbar {
|
||||
|
|
@ -12,6 +13,10 @@ div.panel div.list-view div.fixed-header {
|
|||
top: expression(this.offsetParent.scrollTop + 30);
|
||||
}
|
||||
|
||||
div.panel div.list-view div.data-table table.body {
|
||||
top: 78px;
|
||||
}
|
||||
|
||||
.detail-view .main-groups {
|
||||
width: 554px;
|
||||
position: relative;
|
||||
|
|
@ -73,3 +78,17 @@ div.panel div.list-view div.fixed-header {
|
|||
top: expression(this.offsetParent.scrollTop);
|
||||
}
|
||||
|
||||
table tbody td,
|
||||
table th {
|
||||
padding: 9px 5px 8px 0px;
|
||||
border-right: 1px solid #BFBFBF;
|
||||
color: #495A76;
|
||||
clear: none;
|
||||
width: auto;
|
||||
width: 88px;
|
||||
min-width: 88px;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
);
|
||||
$table = $mainContainer;
|
||||
var $theadContainer = $('<div>').addClass('fixed-header').prependTo($table);
|
||||
var $theadTable = $('<table>').appendTo($theadContainer);
|
||||
var $theadTable = $('<table>').appendTo($theadContainer).attr('nowrap', 'nowrap');
|
||||
var $thead = $table.find('thead').remove().appendTo($theadTable);
|
||||
|
||||
return $thead;
|
||||
|
|
@ -218,7 +218,10 @@
|
|||
|
||||
var init = function() {
|
||||
var noSelect = options && options.noSelect == true ? true : false;
|
||||
if (!$table.closest('div.data-table').size() && !$table.hasClass('no-split')) splitTable();
|
||||
if (!$table.closest('div.data-table').size() && !$table.hasClass('no-split')) {
|
||||
splitTable();
|
||||
$table.find('tbody').closest('table').addClass('body');
|
||||
}
|
||||
|
||||
$table.find('th').bind('mousemove mouseout', hoverResizableEvent);
|
||||
$table.find('th').bind('mousedown mousemove mouseup mouseout', resizeDragEvent);
|
||||
|
|
|
|||
Loading…
Reference in New Issue