Many webmail improvements.

This commit is contained in:
tonio
2010-01-21 10:18:22 +01:00
parent bf971301b6
commit 61d5aa2554
18 changed files with 268 additions and 126 deletions
+10 -6
View File
@@ -71,13 +71,17 @@ confirmation = function(question, action, callback) {
SqueezeBox.open("/mailng/main/confirm/?question=" + question);
}
setContentSize = function(cellsize) {
var contentsize = $(document.body).getSize().y - $("topmenubar").getSize().y
- $("header").getSize().y;
setDivHeight = function(id, extrah, modulo) {
var contentsize = $(document.body).getSize().y
- $("topmenubar").getSize().y
- $("header").getSize().y
- ($("navbar").getSize().y)
- extrah;
contentsize -= $("navbar").getSize().y * 2;
contentsize -= contentsize % cellsize;
$("listing").setStyle("height", contentsize + "px");
if (modulo) {
contentsize -= contentsize % modulo;
}
$(id).setStyle("height", contentsize + "px");
}
bindRows = function(rooturl, page) {
Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

+4 -1
View File
@@ -47,7 +47,6 @@ html, body {
#page {
border: 2px solid #333;
background: white;
min-height: 92%;
margin: 0 15px;
}
@@ -251,4 +250,8 @@ input:hover {
.hr td.even {
}
.unseen {
font-weight: bold;
}