diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-12-13 09:56:41 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-12-13 10:03:09 +0100 |
commit | 7760d9cdd909258591ebeb28a0b4d94ce00eeb31 (patch) | |
tree | ff5df28b3ea1a678b96770a2a7611b160ebc6ab8 | |
parent | 250c31d5ff01722e35888c6b92bd0969a6a51aef (diff) | |
download | exilog-7760d9cdd909258591ebeb28a0b4d94ce00eeb31.zip exilog-7760d9cdd909258591ebeb28a0b4d94ce00eeb31.tar.gz exilog-7760d9cdd909258591ebeb28a0b4d94ce00eeb31.tar.bz2 |
* add missing units to some padding-definitions
* remove 'cursor: hand' - hopefully nobody longer uses internet explorers < 5.5
* fix 'verticalalign:center' in exilog_jscript.js, 'middle' has to be used instead of 'center'
* use background-color instead of layer-background-color, this way Netscape-style - old fashioned
fixes #130
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r-- | cgi/exilog_cgi_html.pm | 2 | ||||
-rw-r--r-- | cgi/exilog_cgi_messages.pm | 4 | ||||
-rw-r--r-- | htdocs/exilog_jscript.js | 2 | ||||
-rw-r--r-- | htdocs/exilog_stylesheet.css | 26 |
4 files changed, 16 insertions, 18 deletions
diff --git a/cgi/exilog_cgi_html.pm b/cgi/exilog_cgi_html.pm index bfb207c..020617e 100644 --- a/cgi/exilog_cgi_html.pm +++ b/cgi/exilog_cgi_html.pm @@ -974,7 +974,7 @@ sub _item { $html .= $q->td({-class=>"item_text", ($link ? ( -onClick=>"javascript:document.location.href='$link';", - -style=>(exists($part->{style}) ? $part->{style} : "")."cursor:pointer;cursor:hand;", + -style=>(exists($part->{style}) ? $part->{style} : "")."cursor:pointer;", -onMouseOver=>"javascript:link_on(this);", -onMouseOut=>"javascript:link_off(this);" ) : ( diff --git a/cgi/exilog_cgi_messages.pm b/cgi/exilog_cgi_messages.pm index bbcb062..18131fc 100644 --- a/cgi/exilog_cgi_messages.pm +++ b/cgi/exilog_cgi_messages.pm @@ -781,7 +781,7 @@ sub _print_Messages_selector { -style=>"height: 18px; width: 18px;", -id=>"anchor1x" })." - ". $q->div({ -id=>'caldiv1x', - -style=>"position:absolute;visibility:hidden;background-color:white;layer-background-color:white;" }) + -style=>"position:absolute;visibility:hidden;background-color:white;background-color:white;" }) ), $q->td({-align=>"left",-style=>"padding-left:0px;"}, $q->input({-name=>"tde", @@ -795,7 +795,7 @@ sub _print_Messages_selector { -style=>"height: 18px; width: 18px;", -id=>"anchor2x" }). $q->div({ -id=>'caldiv2x', - -style=>"position:absolute;visibility:hidden;background-color:white;layer-background-color:white;" }) + -style=>"position:absolute;visibility:hidden;background-color:white;background-color:white;" }) ) ) ) diff --git a/htdocs/exilog_jscript.js b/htdocs/exilog_jscript.js index e08d79d..e3aaef0 100644 --- a/htdocs/exilog_jscript.js +++ b/htdocs/exilog_jscript.js @@ -1068,7 +1068,7 @@ function getCalendarStyles() { var p = ""; if (this!=null && typeof(this.cssPrefix)!="undefined" && this.cssPrefix!=null && this.cssPrefix!="") { p=this.cssPrefix; } result += "<STYLE>\n"; - result += "."+p+"cpYearNavigation,."+p+"cpMonthNavigation { background-color:#C0C0C0; text-align:center; vertical-align:center; text-decoration:none; color:#000000; font-weight:bold; }\n"; + result += "."+p+"cpYearNavigation,."+p+"cpMonthNavigation { background-color:#C0C0C0; text-align:center; vertical-align:middle; text-decoration:none; color:#000000; font-weight:bold; }\n"; result += "."+p+"cpDayColumnHeader, ."+p+"cpYearNavigation,."+p+"cpMonthNavigation,."+p+"cpCurrentMonthDate,."+p+"cpCurrentMonthDateDisabled,."+p+"cpOtherMonthDate,."+p+"cpOtherMonthDateDisabled,."+p+"cpCurrentDate,."+p+"cpCurrentDateDisabled,."+p+"cpTodayText,."+p+"cpTodayTextDisabled,."+p+"cpText { font-family:arial; font-size:8pt; }\n"; result += "TD."+p+"cpDayColumnHeader { text-align:right; border:solid thin #C0C0C0;border-width:0px 0px 1px 0px; }\n"; result += "."+p+"cpCurrentMonthDate, ."+p+"cpOtherMonthDate, ."+p+"cpCurrentDate { text-align:right; text-decoration:none; }\n"; diff --git a/htdocs/exilog_stylesheet.css b/htdocs/exilog_stylesheet.css index e315446..ca0c466 100644 --- a/htdocs/exilog_stylesheet.css +++ b/htdocs/exilog_stylesheet.css @@ -5,7 +5,7 @@ body { } div.body { margin: 0; - padding: 0; + padding: 0px; width: 960px; background: #bbeebb; font-family: Arial, Helvetica, Sans-Serif; @@ -17,7 +17,7 @@ table { font-size: 12px; } img { - padding: 0; + padding: 0px; margin: 0; border: 0; display: block; @@ -68,7 +68,6 @@ td.tabs_click { background: #227733; color: #dddddd; cursor: pointer; - cursor: hand; } td.tabs_active { font-size: 16px; @@ -119,7 +118,7 @@ div.popup_container { height:0px; border:0; margin:0; - padding:0; + padding:0px; } div.popup { position: absolute; @@ -133,42 +132,42 @@ div.popup { } td.table_titlebar { - padding: 2; + padding: 2px; background: #ffffff; } td.table_arrival { - padding: 2; + padding: 2px; background: #eeeeee; } td.table_queue { - padding: 2; + padding: 2px; background: #eeeeee; } td.table_delivery { - padding: 2; + padding: 2px; background: #eeeeee; } td.table_error { - padding: 2; + padding: 2px; background: #eeeeee; } td.table_deferral { - padding: 2; + padding: 2px; background: #eeeeee; } td.table_unknown { - padding: 2; + padding: 2px; background: #eeeeee; } td.table_reject { - padding: 2; + padding: 2px; background: #eeeeee; } @@ -231,11 +230,10 @@ td.large_text { table.item { font-family: monospace; border: 0; - padding: 0; + padding: 0px; margin: 0; } tr.item_link { - cursor: hand; cursor: pointer; } td.item_icon { |