增加了thickbox插件,修改了评审页面中的样式兼容性问题

This commit is contained in:
Li Jianxuan 2011-11-02 08:05:46 +00:00
parent bb30fd5c4c
commit aec40454af
4 changed files with 192 additions and 18 deletions

View File

@ -1,20 +1,3 @@
#leftPanel{float:left; width:200px;background-color:#edefea;}
#leftPanel .title{border-bottom: #5D657C 1px solid;border-top:#5D657C 1px solid;color:#5D657C;line-height:25px;font-size:14px;padding-left:15px;font-weight:bold;margin-bottom:0px;background-color:#e6edea;}
ul {list-style-type: none; }
.more a:link, .more a:visited{color:Green; text-decoration:none;}
#indexbody{overflow:hidden;}
#indexbody ul {/*width:45%;*/float:left;margin:0px 10px;}
li.more{text-align:right;padding-right:20px;}
#rightPanel{float:left;padding-left:15px;}
#message{background-color:#fffbcc;border:1px solid #E6DB55;padding-left:10px;}
.datalist {width:300px;}
.paginationControl{float:right;padding-left:30px;}
.title{border-bottom:1px dotted #c7ddc7;padding: 5px 15px 5px;font-size: 16px; font-weight:bold;}
table {border-collapse:collapse;border-spacing:0;}
h1{font-size:18px;text-align:center;border-bottom:#ddd 1px dotted;}
.paginator{width:50%;float:left;}
/* Tables
---------------------------------------------------------------------*/
@ -47,6 +30,24 @@ table.no-style caption {margin-bottom:0;text-align: left;}
td.legendLabel {font-size:11px;padding:0 4px;vertical-align: middle;}
input.q{width:200px;}
#leftPanel{float:left; width:200px;background-color:#edefea;}
#leftPanel .title{border-bottom: #5D657C 1px solid;border-top:#5D657C 1px solid;color:#5D657C;line-height:25px;font-size:14px;padding-left:15px;font-weight:bold;margin-bottom:0px;background-color:#e6edea;}
ul{list-style-type:none;}
.more a:link, .more a:visited{color:Green; text-decoration:none;}
#indexbody{overflow:hidden;_float:right;}
#indexbody ul {/*width:45%;*/float:left;margin:0px 10px;}
li.more{text-align:right;padding-right:20px;}
#rightPanel{float:left;padding-left:15px;}
#message{background-color:#fffbcc;border:1px solid #E6DB55;padding-left:10px;}
.datalist {width:300px;}
.paginationControl{float:right;padding-left:30px;}
.title{border-bottom:1px dotted #c7ddc7;padding: 5px 15px 5px;font-size: 16px; font-weight:bold;}
table{border-collapse:collapse;border-spacing:0;}
h1{font-size:18px;text-align:center;border-bottom:#ddd 1px dotted;}
.paginator{width:50%;float:left;}
#abstract{width:100%;overflow:hidden;}
#abstract p {text-indent:24px;font-size:12px;line-height:24px;}
#abstract p img.thumb{float:right;margin-left:10px;}
@ -82,7 +83,7 @@ input.q{width:200px;}
.wapper ul li a{color:#329ECC;text-decoration:none;border-bottom:1px solid #A1CFD4;margin:0px;}
.wapper ul li a:hover,.wapper ul li a:focus,.wapper ul li a:active{background-color:#E2EFFF;color:#329ECC;border-bottom:1px solid #329ECC;}
#sidebar{margin:0;padding:0;width:220px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;border-radius:5px;}
#sidebar{margin:0;padding:0;width:220px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;border-radius:5px;overflow:hidden;}
#sidebar li{margin:5px 0 5px 30px;}
#sidebar li.title{margin:0;padding:5px 40px;background-color:#ECA965;}
#leftnavi li{margin:5px 0 5px 20px;font-size:9pt;border:1px #93bee2 solid;background-color:#e8f4ff;width:100px;height:22px;padding-left:10px;}

View File

@ -0,0 +1,163 @@
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
font: 12px Arial, Helvetica, sans-serif;
color: #333333;
}
#TB_secondLine {
font: 10px Arial, Helvetica, sans-serif;
color:#666666;
}
#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
position: fixed;
z-index:100;
top: 0px;
left: 0px;
height:100%;
width:100%;
}
.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
background-color:#000;
filter:alpha(opacity=75);
-moz-opacity: 0.75;
opacity: 0.75;
}
* html #TB_overlay { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
color:#000000;
display:none;
border: 4px solid #525252;
text-align:left;
top:50%;
left:50%;
}
* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_window img#TB_Image {
display:block;
margin: 15px 0 0 15px;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
border-top: 1px solid #666;
border-left: 1px solid #666;
}
#TB_caption{
height:25px;
padding:7px 30px 10px 25px;
float:left;
}
#TB_closeWindow{
height:25px;
padding:11px 25px 10px 0;
float:right;
}
#TB_closeAjaxWindow{
padding:7px 10px 5px 0;
margin-bottom:1px;
text-align:right;
float:right;
}
#TB_ajaxWindowTitle{
float:left;
padding:7px 0 5px 10px;
margin-bottom:1px;
}
#TB_title{
background-color:#e8e8e8;
height:27px;
}
#TB_ajaxContent{
clear:both;
padding:2px 15px 15px 15px;
overflow:auto;
text-align:left;
line-height:1.4em;
}
#TB_ajaxContent.TB_modal{
padding:15px;
}
#TB_ajaxContent p{
padding:5px 0px 5px 0px;
}
#TB_load{
position: fixed;
display:none;
height:13px;
width:208px;
z-index:103;
top: 50%;
left: 50%;
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}
* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_HideSelect{
z-index:99;
position:fixed;
top: 0;
left: 0;
background-color:#fff;
border:none;
filter:alpha(opacity=0);
-moz-opacity: 0;
opacity: 0;
height:100%;
width:100%;
}
* html #TB_HideSelect { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_iframeContent{
clear:both;
border:none;
margin-bottom:-1px;
margin-top:1px;
_margin-bottom:1px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

File diff suppressed because one or more lines are too long