diff --git a/www/js/my.js b/www/js/my.js index 4ad6d42731..5c9e43ffbf 100644 --- a/www/js/my.js +++ b/www/js/my.js @@ -43,3 +43,25 @@ function createLink(moduleName, methodName, vars, viewType) } return link; } + +/* 自动设置所有属性为nobr的title。*/ +function setNowrapObjTitle() +{ + $('.nobr').each(function (i) + { + if($.browser.mozilla) + { + this.title = this.textContent; + } + else + { + this.title = this.innerText; + } + }) +} + +/* 自动执行的代码。*/ +$(document).ready(function() +{ + setNowrapObjTitle(); +}); diff --git a/www/theme/default/style.css b/www/theme/default/style.css index cc79c497ea..48e80f4cce 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -53,6 +53,7 @@ ins{background:#cfc; text-decoration:none} .button-c{padding:3px 20px 3px 20px} /*-----------------------TABLE SETTING----------------------------*/ +table {table-layout:fixed} table, th, td {border-color:#e4e4e4} tr, th, td {padding:3px} caption {border:1px solid #e4e4e4; background:#efefef; margin:0; padding:5px; border-bottom:none; text-align:left; font-weight:bold;} @@ -61,7 +62,7 @@ caption {border:1px solid #e4e4e4; background:#efefef; margin:0; padding:5 .table-3 {width:360px;margin-bottom:10px} .table-4 {width:480px;margin-bottom:10px} .table-5 {width:600px;margin-bottom:10px} -.colhead th {text-align:center; background:#efefef} +.colhead th {text-align:center; background:#efefef;} .rowhead {font-weight:bold; text-align:right; width:100px} /*-----------------------LAYOUT SETTING----------------------------*/ @@ -81,6 +82,20 @@ caption {border:1px solid #e4e4e4; background:#efefef; margin:0; padding:5 .hidden {display:none} .block {display:block} .inline {display:inline} +.nobr {overflow:hidden; text-overflow:ellipsis; white-space:nowrap;} + +.w-p5 {width: 5%} +.w-p10 {width: 10%} +.w-p15 {width: 15%} +.w-p20 {width: 20%} +.w-p25 {width: 25%} +.w-p30 {width: 30%} +.w-p35 {width: 35%} +.w-p40 {width: 40%} +.w-p45 {width: 45%} +.w-p50 {width: 50%} +.w-p55 {width: 55%} +.w-p60 {width: 60%} /*-----------------------BORDER SETTING--------------------------*/ .bd-1px {border:1px solid} @@ -125,6 +140,8 @@ caption {border:1px solid #e4e4e4; background:#efefef; margin:0; padding:5 #modulemenu li {padding:0 5px 0 5px} #modulemenu a {color:white;} #modulemenu .active a {color:yellow; font-weight:bold} +#modulemenu .right {float:right; font-weight:bold} +#modulemenu .right a {color:red} /* ¹¦Äܲ˵¥¡£*/ #featurebar {margin-bottom:5px; background-color:#efefef; height:22px; line-height:22px;} diff --git a/www/theme/ie.6.css b/www/theme/ie.6.css index d742b1e999..f78fb00f92 100644 --- a/www/theme/ie.6.css +++ b/www/theme/ie.6.css @@ -1,3 +1,4 @@ html{overflow:hidden;} body{height:100%; overflow:auto} div#footer, div#debugbar, div#hiddenbar{position:absolute;} +.yui-d0 {width: 95%;} /* fix the error of fixed layout table. */