fixed table heading and multiselect style

This commit is contained in:
Jan-Christoph Borchardt 2011-07-30 15:16:20 +02:00
parent 77abade785
commit 9714bab653
2 changed files with 5 additions and 4 deletions

View file

@ -17,14 +17,15 @@ input.highlight{ background-color:#ffc100; border:#dda600 1px solid; }
/* FILE TABLE */
span#emptyfolder { position:absolute; margin:10em 0 0 10em; font-size:1.5em; font-weight:bold; color:#888; text-shadow:#fff 0 1px 0; }
table { position:relative; top:37px; width:100%; }
tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#eee; }
tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#eee; height:1em; }
tbody a { color:#000; }
span.extention, td.date { color:#999; }
div.crumb { float:left; display:block; background:no-repeat right 0; padding:8px 1.5em 0 1em; height:28px; /*36-8*/ }
div.crumb:last-child { font-weight:bold; }
table tr.mouseOver td { background-color:#eee; }
table th { padding:.5em; height:2em; }
table th { height:2em; padding-left:.5em; color:#999; }
table th .name { float:left; margin-left:.5em; }
table th.multiselect { background:#ddd; color:#000; font-weight:bold; }
table th, table td { border-bottom:1px solid #ddd; text-align:left; font-weight:normal; }
table td { border-bottom:1px solid #eee; font-style:normal; }
table th#headerSize, table td.filesize { width:5em; padding:0 1em; text-align:right; }

View file

@ -342,7 +342,7 @@ function procesSelection(){
$('#headerName>span.name').text('Name');
$('#headerSize').text('Size MB');
$('#modified').text('Modified');
$('th').css({background:'#fff',fontWeight:'normal'});
$('th').removeClass('multiselect');
$('.selectedActions').hide();
}else{
$('.selectedActions').show();
@ -376,7 +376,7 @@ function procesSelection(){
}
$('#headerName>span.name').text(selection);
$('#modified').text('');
$('th').css({background:'#ddd', fontWeight:'bold'});
$('th').addClass('multiselect');
}
}