merge to trunk r1517.
This commit is contained in:
parent
d9af778c9a
commit
425a164489
|
@ -327,4 +327,48 @@ fieldset small {
|
||||||
-webkit-box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
|
-webkit-box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
|
||||||
box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
|
box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
|
||||||
}
|
}
|
||||||
|
.btn-green {
|
||||||
|
color: #fff !important;
|
||||||
|
text-shadow: 0 1px 1px rgba(0,0,0,0.25);
|
||||||
|
border:1px solid #749217 !important;
|
||||||
|
background-color: #6AB620 !important;
|
||||||
|
}
|
||||||
|
.btn-green:hover, .btn-green:focus, .btn-green:active {
|
||||||
|
-moz-box-shadow:0 0 5px rgba(116, 146, 23, 0.9);
|
||||||
|
-webkit-box-shadow: 0 0 5px rgba(116, 146, 23, 0.9);
|
||||||
|
box-shadow: 0 0 5px rgba(116, 146, 23, 0.9);
|
||||||
|
border:1px solid #749217 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-blue {
|
||||||
|
color: #fff !important;
|
||||||
|
text-shadow: 0 1px 1px rgba(0,0,0,0.25);
|
||||||
|
border:1px solid #2D69AC !important;
|
||||||
|
background-color: #3C6ED1 !important;
|
||||||
|
}
|
||||||
|
.btn-blue:hover, .btn-blue:focus, .btn-blue:active {
|
||||||
|
-moz-box-shadow:0 0 5px rgba(71, 131, 243, 0.9);
|
||||||
|
-webkit-box-shadow:0 0 5px rgba(71, 131, 243, 0.9);
|
||||||
|
box-shadow: 0 0 5px rgba(71, 131, 243, 0.9);
|
||||||
|
border:1px solid #2D69AC !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-red {
|
||||||
|
color: #fff !important;
|
||||||
|
text-shadow: 0 1px 1px rgba(0,0,0,0.25);
|
||||||
|
border:1px solid #AE2B2B !important;
|
||||||
|
background-color: #D22A2A !important;
|
||||||
|
background-image:none;
|
||||||
|
}
|
||||||
|
.btn-red:hover, .btn-red:focus, .btn-red:active {
|
||||||
|
-moz-box-shadow:0 0 5px rgba(174, 43, 43, 0.9);
|
||||||
|
-webkit-box-shadow:0 0 5px rgba(174, 43, 43, 0.9);
|
||||||
|
box-shadow: 0 0 5px rgba(174, 43, 43, 0.9);
|
||||||
|
border:1px solid #AE2B2B !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-special {
|
||||||
|
font-size:110%;
|
||||||
|
width: 210px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,123 +1,157 @@
|
||||||
@import "menuTab.css";
|
*{padding:0px;margin:0px;}
|
||||||
body
|
html {background:#FFF;}
|
||||||
{
|
body {font:13px Arial, Serif, Verdana,Tahoma, Geneva, sans-serif;}
|
||||||
font-family: Arial, Serif, Verdana;
|
a {text-decoration:none;cursor:hand;}
|
||||||
font-size:13px;
|
ol,ul,li,ul li{list-style:none;}
|
||||||
margin-top:0px;
|
input,select,button{font:12px Tahoma, Geneva, sans-serif;vertical-align:middle;}
|
||||||
margin-left:0px;
|
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
|
||||||
padding:0px; border:0; height:100%;
|
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0px;padding:0px;}
|
||||||
line-height:normal !important;
|
fieldset,img{border:none;}
|
||||||
}
|
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
|
||||||
|
caption,th{text-align:left;}
|
||||||
|
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
|
||||||
|
|
||||||
a,a:visited
|
body {width:100%;}
|
||||||
{
|
a,a:visited{color:Blue;}
|
||||||
color:Blue;
|
a:hover{color:Red;}
|
||||||
}
|
|
||||||
a:hover
|
|
||||||
{
|
|
||||||
color:Red;
|
|
||||||
}
|
|
||||||
#divMaster
|
|
||||||
{
|
|
||||||
font-size:13px;
|
|
||||||
|
|
||||||
}
|
/* New Link Style
|
||||||
|
a{color:#329ECC;text-decoration:none;border-bottom:1px solid #A1CFD4;margin:0px;}
|
||||||
|
a:hover,a:focus,a:active{background-color:#E2EFFF;color:#329ECC;border-bottom:1px solid #329ECC;}
|
||||||
|
*/
|
||||||
|
.center{width:1000px;margin:0 auto;}
|
||||||
|
|
||||||
|
#divMaster{font-size:13px;}
|
||||||
/*divHeader style*/
|
/*divHeader style*/
|
||||||
#divHeader
|
#divHeader{width:100%;background: url(../images/headerBk.jpg) repeat-x;}
|
||||||
{
|
#divHeader a{color: #000066;text-decoration:none;}
|
||||||
text-align:right;
|
#divHeader a:hover{color:Red;}
|
||||||
margin-right:20px;
|
|
||||||
}
|
|
||||||
#divHeader a
|
|
||||||
{
|
|
||||||
color: #000066;
|
|
||||||
text-decoration:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#divHeader a:hover
|
#divHeader .Login_Name{background: url(../images/arrow.gif) no-repeat center right;padding-right: 15px;font-family: Courier, Tahoma;}
|
||||||
{
|
|
||||||
color:Red;
|
|
||||||
}
|
|
||||||
|
|
||||||
#divHeader .Login_Name
|
|
||||||
{
|
|
||||||
background: url(../images/arrow.gif) no-repeat center right;
|
|
||||||
padding-right: 15px;
|
|
||||||
font-family: Courier, Tahoma;
|
|
||||||
}
|
|
||||||
/*End divHeader style*/
|
/*End divHeader style*/
|
||||||
#divLogo
|
#divLogo{width:740px; margin:0 auto;}
|
||||||
{
|
#divLogo img{border:0;}
|
||||||
border-top: black solid 1px;
|
#divBreadCrumb{padding:5px 2px 5px;background: #ddd;font-size:13px;}
|
||||||
background: url(../images/headerBk.jpg) repeat-x;
|
#divBreadCrumb a{color:Black;text-decoration:underline;}
|
||||||
}
|
#divContent{font-size:13px;margin:5px 5px 2px 5px;padding:0px 10px 0px 10px;text-align:left;clear:both;position:relative;}
|
||||||
#divLogo img
|
|
||||||
{
|
|
||||||
border:0;
|
|
||||||
}
|
|
||||||
#divBreadCrumb
|
|
||||||
{
|
|
||||||
padding:5px 2px 5px;
|
|
||||||
background: #ddd;
|
|
||||||
font-size:13px;
|
|
||||||
}
|
|
||||||
#divBreadCrumb a
|
|
||||||
{
|
|
||||||
color:Black;
|
|
||||||
}
|
|
||||||
#divContent
|
|
||||||
{
|
|
||||||
font-size:13px;
|
|
||||||
margin:5px 5px 2px 5px;
|
|
||||||
padding:0px 10px 0px 10px;
|
|
||||||
/*width:100%;*/
|
|
||||||
text-align:left;
|
|
||||||
clear:both;
|
|
||||||
position:relative;
|
|
||||||
}
|
|
||||||
/*divFooter styles*/
|
/*divFooter styles*/
|
||||||
#divFooter
|
#divFooter{background-color:#bf5008;color:White;padding: 5px 15px 5px;font-size:12px;text-align:center;}
|
||||||
{
|
#divFooter a:link,#divFooter a:visited,#divFooter a:active{color:White;text-decoration:none;font-family:Arial, Serif;}
|
||||||
/*background-color:#666;*/
|
#divFooter a:hover{text-decoration:underline;}
|
||||||
background-color:#bf5008;
|
|
||||||
color:White;
|
|
||||||
padding: 5px 15px 5px;
|
|
||||||
font-size:12px;
|
|
||||||
}
|
|
||||||
#divFooter a:link,
|
|
||||||
#divFooter a:visited,
|
|
||||||
#divFooter a:active
|
|
||||||
{
|
|
||||||
color:White;
|
|
||||||
text-decoration:none;
|
|
||||||
font-family:Arial, Serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
#divFooter a:hover
|
|
||||||
{
|
|
||||||
text-decoration:underline;
|
|
||||||
}
|
|
||||||
/*End divFooter styles*/
|
/*End divFooter styles*/
|
||||||
|
|
||||||
.clearLine
|
/*- Menu Tabs--------------------------- */
|
||||||
{
|
|
||||||
clear:both;
|
.nav{border-top:#5D657C 1px solid;border-bottom:#5D657C 1px solid;width:100%;overflow:hidden;height:39px;}
|
||||||
|
#divNavi {font-size:14px;line-height:normal;overflow:hidden;width:680px;margin:0 auto;}
|
||||||
|
#divNavi ul {margin:0;padding:10px 10px 0 0px;list-style:none;overflow:hidden;}
|
||||||
|
#divNavi li {display:inline;margin:0;padding:0;}
|
||||||
|
#divNavi a {
|
||||||
|
float:left;
|
||||||
|
background:url("../images/tableftG.gif") no-repeat left top;
|
||||||
|
margin:0;
|
||||||
|
padding:0 0 0 4px;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
#divNavi a span {
|
||||||
|
float:left;
|
||||||
|
display:block;
|
||||||
|
background:url("../images/tabrightG.gif") no-repeat right top;
|
||||||
|
padding:5px 15px 4px 6px;
|
||||||
|
color:black;
|
||||||
|
}
|
||||||
|
/* Commented Backslash Hack hides rule from IE5-Mac \*/
|
||||||
|
#divNavi a span {float:none;}
|
||||||
|
/* End IE5-Mac hack */
|
||||||
|
#divNavi a:hover span {
|
||||||
|
color:black;
|
||||||
|
}
|
||||||
|
#divNavi a:hover {
|
||||||
|
background-position:0% -42px;
|
||||||
|
}
|
||||||
|
#divNavi a:hover span {
|
||||||
|
background-position:100% -42px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#divNavi .current a {
|
||||||
|
background-position:0% -42px;
|
||||||
|
}
|
||||||
|
#divNavi .current a span {
|
||||||
|
background-position:100% -42px;
|
||||||
|
}
|
||||||
|
#userNavi {float:right;margin:0;font-size:12px;padding-left:12px;background:url("../images/user.gif") no-repeat left bottom; position:relative;right:0px;top:-14px;}
|
||||||
|
#userNavi a{background-image:none;}
|
||||||
|
#userNavi img { border:0;margin:0;padding:0;height:15px;}
|
||||||
|
|
||||||
|
/* paginationControl
|
||||||
|
---------------------------------------------------------------------*/
|
||||||
|
.paginator{width:100%;overflow:hidden;}
|
||||||
|
.paginationControl{float:left;padding-left:30px;margin:10px auto;}
|
||||||
|
.paginationControl A {border:#9aafe5 1px solid;padding:2px 5px;color:#2e6ab1;margin-right:2px;TEXT-DECORATION:none}
|
||||||
|
.paginationControl A:hover {border:#2b66a5 1px solid;COLOR: #000;BACKGROUND-COLOR:lightyellow}
|
||||||
|
.paginationControl A:active {border:#2b66a5 1px solid;COLOR: #000;BACKGROUND-COLOR:lightyellow}
|
||||||
|
.paginationControl SPAN.current {border:navy 1px solid;margin-right:2px;padding:2px 5px;FONT-WEIGHT: bold;COLOR: #fff;BACKGROUND-COLOR: #2e6ab1}
|
||||||
|
.paginationControl SPAN.disabled {border:#929292 1px solid;padding:2px 5px;COLOR: #929292; MARGIN-RIGHT: 2px;}
|
||||||
|
|
||||||
|
/* Forms
|
||||||
|
---------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
form {overflow:auto;}
|
||||||
|
input:focus,textarea:focus,select:focus {outline-width:0;}
|
||||||
|
input[type="text"],input[type="password"],input[type="select"],input[type="search"],input[type="file"],textarea,select {
|
||||||
|
border-color:#C4C4C4 #E9E9E9 #E9E9E9 #C4C4C4;border-style:solid;border-width:1px;padding:4px;color:#777;}
|
||||||
|
textarea {line-height:18px;overflow:auto;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
|
||||||
|
textarea.small {height:5.5em;}
|
||||||
|
textarea.medium {height:10em;}
|
||||||
|
textarea.large {height:20em;}
|
||||||
|
input.half,select.half,textarea.half {width:50%;}
|
||||||
|
input.full,select.full,textarea.full {width:97%;}
|
||||||
|
input[type="submit"],input[type="reset"],input[type="button"] {margin-bottom:0;}
|
||||||
|
input:focus,textarea:focus {
|
||||||
|
-moz-box-shadow:0 1px 1px rgba(196,196,196,0.5);
|
||||||
|
-webkit-box-shadow:0 1px 1px rgba(196,196,196,0.5);
|
||||||
|
box-shadow:0 1px 1px rgba(196,196,196,0.5);
|
||||||
|
-webkit-focus-ring-color:none;
|
||||||
|
border-color:#c4c4c4;
|
||||||
|
background-color:#FFFFF0;
|
||||||
|
}
|
||||||
|
fieldset {border:0 none;border-top:1px solid #ddd;margin:10px 0;padding:10px 0;position:relative;}
|
||||||
|
legend {background:#fff;color:#93BB3A;font-weight:bold; padding:0 6px 0 0;}
|
||||||
|
label {font-size:11px;text-transform:uppercase;font-weight:bold;}
|
||||||
|
label.required:before {content:"*";color:red;font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif;}
|
||||||
|
label.ok {background:url("../img/valid.gif") no-repeat;padding-left:16px;}
|
||||||
|
label.error {color:#d00;text-transform:none;margin-left:6px;}
|
||||||
|
label.choice {vertical-align:middle;font-weight:normal;text-transform:none;}
|
||||||
|
fieldset small {color:#999;font-size:11px;display: block;}
|
||||||
|
input[type="submit"],.btn {display: inline-block;padding: 5px 10px;color: #777 !important;text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: Tahoma, Arial, sans-serif;
|
||||||
|
-moz-border-radius: 4px;
|
||||||
|
-webkit-border-radius: 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
text-shadow: 0 1px 1px rgba(255,255,255,0.9);
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
border:1px solid #ccc !important;
|
||||||
|
background:#fff url("../images/btn-overlay.png") repeat-x !important;
|
||||||
|
}
|
||||||
|
input[type="submit"]:hover,.btn:hover, .btn:focus, .btn:active {
|
||||||
|
outline:medium none;
|
||||||
|
border:1px solid #329ECC !important;
|
||||||
|
opacity:0.9;
|
||||||
|
-khtml-opacity: .9;
|
||||||
|
-moz-opacity: 0.9;
|
||||||
|
-moz-box-shadow:0 0 5px rgba(82, 168, 236, 0.5);
|
||||||
|
-webkit-box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
|
||||||
|
box-shadow: 0 0 5px rgba(82, 168, 236, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1{font-size: 20px;}
|
.clearLine{clear:both;}
|
||||||
h2
|
|
||||||
{
|
h1{font:22px bold Verdana, Sans-Serif;}
|
||||||
font-family: 黑体, Verdana, Sans-Serif;
|
h2{font:18px bold Verdana, Sans-Serif;}
|
||||||
font-size: 16px;
|
p,li{line-height: 20px;}
|
||||||
}
|
|
||||||
p
|
|
||||||
{
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
li
|
|
||||||
{
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.LeftMargin
|
.LeftMargin
|
||||||
{
|
{
|
||||||
|
@ -127,3 +161,6 @@ li
|
||||||
{
|
{
|
||||||
margin-left: 15%;
|
margin-left: 15%;
|
||||||
}
|
}
|
||||||
|
#heiheLogo{width:740px; margin:0 auto;}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#rightbar{float:right;width:300px;border-left:2px solid #ddd;background:#ddd;margin:-12px 0 0;position:relative;}
|
#rightbar{float:right;width:300px;border-left:2px solid #ddd;background:#ddd;position:relative;}
|
||||||
h1{font-size:18px;text-align:center;border-bottom:#ddd 1px dotted;}
|
h1{text-align:center;border-bottom:#ddd 1px dotted;}
|
||||||
hr{border:#ccc 1px dotted;padding:0;}
|
hr{border:#ccc 1px dotted;padding:0;}
|
||||||
#rightbar hr{border:#3C55C4 1px dotted;overflow:hidden;padding:0;}
|
#rightbar hr{border:#3C55C4 1px dotted;overflow:hidden;padding:0;}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ li {white-space:nowrap;}
|
||||||
#cite ol{text-indent:0em;}
|
#cite ol{text-indent:0em;}
|
||||||
#cite ul li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;float:left;list-style-type:none;margin:0;margin-left:15px;*padding-right:12px;text-indent:0;}
|
#cite ul li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;float:left;list-style-type:none;margin:0;margin-left:15px;*padding-right:12px;text-indent:0;}
|
||||||
/*ie7-hack*/
|
/*ie7-hack*/
|
||||||
#cite ol li{text-indent:0em;white-space:normal;*margin-right:15px;}
|
#cite ol li{margin-left:2em;list-style:decimal;text-indent:0em;white-space:normal;*margin-right:15px;}
|
||||||
#right h2 {margin:0;padding:5px 0 5px 15px;}
|
#right h2 {margin:0;padding:5px 0 5px 15px;}
|
||||||
#authors {margin:0;text-align:left;width:300px;}
|
#authors {margin:0;text-align:left;width:300px;}
|
||||||
#authors ul {margin:0;padding:0;}
|
#authors ul {margin:0;padding:0;}
|
||||||
|
@ -105,3 +105,7 @@ img{border:0px;}
|
||||||
#todownload input{width:300px;}
|
#todownload input{width:300px;}
|
||||||
#todownload textarea{width:400px;height:200px;}
|
#todownload textarea{width:400px;height:200px;}
|
||||||
#todownload input.btn{width:100px;}
|
#todownload input.btn{width:100px;}
|
||||||
|
#abstract p { line-height: 24px; margin: 10px 0;}
|
||||||
|
ol li{margin-left:20px;list-style:decimal;}
|
||||||
|
#file-list li{list-style:none;}
|
||||||
|
h2 {margin-top:10px;}
|
|
@ -1,3 +1,4 @@
|
||||||
|
#index{width:1000px;margin:0 auto;}
|
||||||
#leftPanel{float:left; width:200px;margin-left:5px;}
|
#leftPanel{float:left; width:200px;margin-left:5px;}
|
||||||
#leftPanel .title
|
#leftPanel .title
|
||||||
{
|
{
|
||||||
|
@ -150,11 +151,13 @@ margin-left: 45px;
|
||||||
/*数据服务段结束*/
|
/*数据服务段结束*/
|
||||||
|
|
||||||
|
|
||||||
#dataLink {padding:10px;}
|
#dataLink {margin:10px 0;}
|
||||||
|
#dataLink .search{width:auto;}
|
||||||
|
#dataLink ul{padding:5px 0;}
|
||||||
#rightPanel #dataLink a{font-weight: bold;}
|
#rightPanel #dataLink a{font-weight: bold;}
|
||||||
|
|
||||||
/*数据CD开始*/
|
/*数据CD开始*/
|
||||||
#itemCd{ margin-top: 10px; border-bottom:1px dotted gray;}
|
#itemCd{ margin-top: 10px; border-bottom:1px dotted gray; overflow:hidden;}
|
||||||
#itemCd img { margin-top:-10px;margin-left:-5px;width:100px;height:100px;border-width:1px;border-style:solid;}
|
#itemCd img { margin-top:-10px;margin-left:-5px;width:100px;height:100px;border-width:1px;border-style:solid;}
|
||||||
#itemCd #image{float: left; width: 110px; height: 105px;}
|
#itemCd #image{float: left; width: 110px; height: 105px;}
|
||||||
#itemCd #title{font-size: 105%; font-weight: bold; font-family: Tahoma; }
|
#itemCd #title{font-size: 105%; font-weight: bold; font-family: Tahoma; }
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
background-color: #e6edea;
|
background-color: #e6edea;
|
||||||
}
|
}
|
||||||
ul {list-style-type: none; }
|
ul {list-style-type: none; }
|
||||||
#leftPanel ul, #rightPanel ul {margin-left: 10px;padding-left: 0px;overflow:hidden;width:45%;float:left;}
|
|
||||||
#leftPanel .item{line-height: 25px;}
|
|
||||||
.more a:link, .more a:visited{color:Green; text-decoration:none;}
|
.more a:link, .more a:visited{color:Green; text-decoration:none;}
|
||||||
|
#indexbody{width:100%;}
|
||||||
|
#indexbody ul {/*width:45%;*/float:left;margin:0px 10px;}
|
||||||
li.more{text-align:right;padding-right:20px;}
|
li.more{text-align:right;padding-right:20px;}
|
||||||
#rightPanel{float:left;padding-left: 15px;}
|
#rightPanel{float:left;padding-left:15px;}
|
||||||
#message{background-color:#fffbcc;border:1px solid #E6DB55;padding-left:10px;}
|
#message{background-color:#fffbcc;border:1px solid #E6DB55;padding-left:10px;}
|
||||||
.datalist {width:300px;}
|
.datalist {width:300px;}
|
||||||
.paginationControl{float:right;padding-left:30px;}
|
.paginationControl{float:right;padding-left:30px;}
|
||||||
|
@ -110,42 +110,17 @@ input.q{width:200px;}
|
||||||
/* Forms
|
/* Forms
|
||||||
---------------------------------------------------------------------*/
|
---------------------------------------------------------------------*/
|
||||||
|
|
||||||
form {
|
form {overflow:auto;}
|
||||||
overflow:auto;
|
input:focus,textarea:focus,select:focus {outline-width:0;}
|
||||||
}
|
|
||||||
input:focus,textarea:focus,select:focus {
|
|
||||||
outline-width:0; /* No outline border for Safary */
|
|
||||||
}
|
|
||||||
input[type="text"],input[type="password"],input[type="select"],input[type="search"],input[type="file"],textarea,select {
|
input[type="text"],input[type="password"],input[type="select"],input[type="search"],input[type="file"],textarea,select {
|
||||||
border-color:#C4C4C4 #E9E9E9 #E9E9E9 #C4C4C4;
|
border-color:#C4C4C4 #E9E9E9 #E9E9E9 #C4C4C4;border-style:solid;border-width:1px;padding:4px;color:#777;}
|
||||||
border-style:solid;
|
textarea {line-height:18px;overflow:auto;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
|
||||||
border-width:1px;
|
textarea.small {height:5.5em;}
|
||||||
padding:4px;
|
textarea.medium {height:10em;}
|
||||||
color:#777;
|
textarea.large {height:20em;}
|
||||||
}
|
input.half,select.half,textarea.half {width:50%;}
|
||||||
textarea {
|
input.full,select.full,textarea.full {width:97%;}
|
||||||
line-height:18px;
|
input[type="submit"],input[type="reset"],input[type="button"] {margin-bottom:0;}
|
||||||
overflow:auto;
|
|
||||||
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
||||||
}
|
|
||||||
textarea.small {
|
|
||||||
height:5.5em;
|
|
||||||
}
|
|
||||||
textarea.medium {
|
|
||||||
height:10em;
|
|
||||||
}
|
|
||||||
textarea.large {
|
|
||||||
height:20em;
|
|
||||||
}
|
|
||||||
input.half,select.half,textarea.half {
|
|
||||||
width:50%;
|
|
||||||
}
|
|
||||||
input.full,select.full,textarea.full {
|
|
||||||
width:97%;
|
|
||||||
}
|
|
||||||
input[type="submit"],input[type="reset"],input[type="button"] {
|
|
||||||
margin-bottom:0;
|
|
||||||
}
|
|
||||||
input:focus,textarea:focus {
|
input:focus,textarea:focus {
|
||||||
-moz-box-shadow:0 1px 1px rgba(196,196,196,0.5);
|
-moz-box-shadow:0 1px 1px rgba(196,196,196,0.5);
|
||||||
-webkit-box-shadow:0 1px 1px rgba(196,196,196,0.5);
|
-webkit-box-shadow:0 1px 1px rgba(196,196,196,0.5);
|
||||||
|
@ -154,53 +129,15 @@ input:focus,textarea:focus {
|
||||||
border-color:#c4c4c4;
|
border-color:#c4c4c4;
|
||||||
background-color:#FFFFF0;
|
background-color:#FFFFF0;
|
||||||
}
|
}
|
||||||
fieldset {
|
fieldset {border:0 none;border-top:1px solid #ddd;margin:10px 0;padding:10px 0;position:relative;}
|
||||||
border:0 none;
|
legend {background:#fff;color:#93BB3A;font-weight:bold; padding:0 6px 0 0;}
|
||||||
border-top:1px solid #ddd;
|
label {font-size:11px;text-transform:uppercase;font-weight:bold;}
|
||||||
margin:10px 0;
|
label.required:before {content:"*";color:red;font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif;}
|
||||||
padding:10px 0;
|
label.ok {background:url("../img/valid.gif") no-repeat;padding-left:16px;}
|
||||||
position:relative;
|
label.error {color:#d00;text-transform:none;margin-left:6px;}
|
||||||
}
|
label.choice {vertical-align:middle;font-weight:normal;text-transform:none;}
|
||||||
legend {
|
fieldset small {color:#999;font-size:11px;display: block;}
|
||||||
background:#fff;
|
.btn {display: inline-block;padding: 5px 10px;color: #777 !important;text-decoration: none;
|
||||||
color:#93BB3A;
|
|
||||||
font-weight:bold;
|
|
||||||
padding:0 6px 0 0;
|
|
||||||
}
|
|
||||||
label {
|
|
||||||
font-size:11px;
|
|
||||||
text-transform:uppercase;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
label.required:before {
|
|
||||||
content:"*";
|
|
||||||
color:red;
|
|
||||||
font-family:"Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
|
|
||||||
}
|
|
||||||
label.ok {
|
|
||||||
background:url("../img/valid.gif") no-repeat;
|
|
||||||
padding-left:16px;
|
|
||||||
}
|
|
||||||
label.error {
|
|
||||||
color:#d00;
|
|
||||||
text-transform:none;
|
|
||||||
margin-left:6px;
|
|
||||||
}
|
|
||||||
label.choice {
|
|
||||||
vertical-align:middle;
|
|
||||||
font-weight:normal;
|
|
||||||
text-transform:none;
|
|
||||||
}
|
|
||||||
fieldset small {
|
|
||||||
color:#999;
|
|
||||||
font-size:11px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.btn {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 5px 10px;
|
|
||||||
color: #777 !important;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-family: Tahoma, Arial, sans-serif;
|
font-family: Tahoma, Arial, sans-serif;
|
||||||
|
@ -229,7 +166,7 @@ fieldset small {
|
||||||
#abstract p {text-indent:24px;font-size:12px;line-height:24px;}
|
#abstract p {text-indent:24px;font-size:12px;line-height:24px;}
|
||||||
#abstract p img.thumb{float:left;margin-right:10px;}
|
#abstract p img.thumb{float:left;margin-right:10px;}
|
||||||
|
|
||||||
.reviewlist {width:90%;overflow:hidden;margin:0 auto; float:left;}
|
.reviewlist {width:100%;overflow:hidden;margin:0 auto; float:left;}
|
||||||
|
|
||||||
.reviewlist li:nth-child(even) {
|
.reviewlist li:nth-child(even) {
|
||||||
}
|
}
|
||||||
|
@ -244,3 +181,37 @@ fieldset small {
|
||||||
.reviewitem .itemcontent{width:100%;float:none;overflow:hidden;min-height:60px;}
|
.reviewitem .itemcontent{width:100%;float:none;overflow:hidden;min-height:60px;}
|
||||||
.reviewitem .itemcontent p{width:100%;text-indent:24px;line-height:18px;margin:9px 0; overflow:hidden;}
|
.reviewitem .itemcontent p{width:100%;text-indent:24px;line-height:18px;margin:9px 0; overflow:hidden;}
|
||||||
|
|
||||||
|
.pagenavi{width:100%;overflow:hidden;}
|
||||||
|
|
||||||
|
|
||||||
|
#myreview{width:100%;}
|
||||||
|
.wapper{overflow:hidden;padding:0px;width:100%;}
|
||||||
|
.wapper ul{width:100%;overflow:hidden;}
|
||||||
|
#container{overflow:hidden;}
|
||||||
|
.wapper ul li{overflow:hidden;width:190px;float:left;padding:5px;margin:5px 0;border:1px solid #eff9fc;border-radius:5px;}
|
||||||
|
.wapper ul li.hover{background:#eff9fc;}
|
||||||
|
.thumb{border:1px solid #ccc;padding:2px;}
|
||||||
|
|
||||||
|
.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;}
|
||||||
|
#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;
|
||||||
|
}
|
||||||
|
form#search {margin-left:20px;margin-bottom:5px;}
|
||||||
|
#mdlist{width:100%;}
|
||||||
|
.thumbmd{float:left;height:300px;margin-left:10px;overflow:hidden;}
|
||||||
|
.thumbtitle{width:200px;margin-top:10px;padding-top:10px;}
|
||||||
|
.thumbimg img{height:180px;overflow:hidden;}
|
||||||
|
hr{border: none 0;border-bottom:1px dashed #ccc;height: 1px;margin:0;padding:5px 0 5px 0;overflow:hidden;}
|
||||||
|
.clear{clear:both;}
|
||||||
|
.PageNavigation{text-indent: 5em;}
|
|
@ -1,12 +1,12 @@
|
||||||
#metacontent{clear:left;margin-left:10px;}
|
#metacontent{clear:left;margin-left:10px;}
|
||||||
hr{clear:left;border: none 0;border-bottom:1px dashed #ccc;height: 1px;}
|
hr{clear:left;border: none 0;border-bottom:1px dashed #ccc;height: 1px;}
|
||||||
#leftnav{margin-bottom:10px;clear:left;}
|
#leftnav{margin-bottom:10px;clear:left;}
|
||||||
#metacontent{float:left;}
|
/*#metacontent{float:left;}*/
|
||||||
#features, #leftContainer{width:48%;float:left;margin-right:2%;clear:left;margin-bottom:10px;margin-left:10px;}
|
#features, #leftContainer{width:48%;float:left;margin-right:2%;clear:left;margin-bottom:10px;margin-left:10px;}
|
||||||
#latest, #services{width:48%;float:left;margin-bottom:10px;font-size:13px;}
|
#latest, #services{width:48%;float:left;margin-bottom:10px;font-size:13px;}
|
||||||
#leftContainer{margin-top:5px;}
|
#leftContainer{margin-top:5px;}
|
||||||
/*latest*/
|
/*latest*/
|
||||||
#latest .title{border-bottom:1px dotted #c7ddc7;padding: 5px 15px 5px;font-size: 16px; font-weight:bold;}
|
#latest .title{border-bottom:1px dotted #c7ddc7;padding: 5px 15px 5px;font-size: 16px; font-weight:bold;overflow:hidden;}
|
||||||
#latest .more a{color:Green; padding-right: 20px; background:url(../images/arrow.gif) no-repeat right center;}
|
#latest .more a{color:Green; padding-right: 20px; background:url(../images/arrow.gif) no-repeat right center;}
|
||||||
#latest ul {width:100%;margin:0px;padding:0px;overflow:hidden;word-wrap: break-word;}
|
#latest ul {width:100%;margin:0px;padding:0px;overflow:hidden;word-wrap: break-word;}
|
||||||
#latest ul li{margin:0px;padding:0px;width:auto;}
|
#latest ul li{margin:0px;padding:0px;width:auto;}
|
||||||
|
@ -18,9 +18,8 @@ hr{clear:left;border: none 0;border-bottom:1px dashed #ccc;height: 1px;}
|
||||||
#features .more a{color:Green; padding-right: 20px; background:url(../images/arrow.gif) no-repeat right center;}
|
#features .more a{color:Green; padding-right: 20px; background:url(../images/arrow.gif) no-repeat right center;}
|
||||||
|
|
||||||
/*data_links*/
|
/*data_links*/
|
||||||
#links .title{background:#c7ddc7; padding: 5px 15px 5px;font-size: 16px; font-weight:bold;}
|
#links .title{background:#c7ddc7; padding: 5px 15px 5px;font-size: 16px; font-weight:bold;overflow:hidden;}
|
||||||
#links h3{clear:both;color: rgb(153, 0, 51);font-size: 14px;
|
#links h3{clear:both;color:rgb(153, 0, 51);font-size:14px;background: url(/images/arrow_red_10x10.gif) no-repeat left center;padding-left:13px;margin:7px 0;}
|
||||||
background: url(/images/arrow_red_10x10.gif) no-repeat left top; padding-left: 13px;}
|
|
||||||
#links ul{margin:0px; padding-left:10px;clear:left;}
|
#links ul{margin:0px; padding-left:10px;clear:left;}
|
||||||
#links ul li{float:left;margin-left:5px;}
|
#links ul li{float:left;margin-left:5px;}
|
||||||
#links ul li a{color:Navy; text-decoration:none;}
|
#links ul li a{color:Navy; text-decoration:none;}
|
||||||
|
@ -52,7 +51,7 @@ dd,dt{float:left;margin:0;}
|
||||||
form{margin:0px;display:inline;}
|
form{margin:0px;display:inline;}
|
||||||
#links dd {padding-bottom:5px;margin-left:5px;margin-top:-5px;}
|
#links dd {padding-bottom:5px;margin-left:5px;margin-top:-5px;}
|
||||||
.note{font-size:10px;color:gray;}
|
.note{font-size:10px;color:gray;}
|
||||||
#keyword fieldset {border:dotted 1px;border-bottom:0;}
|
|
||||||
|
|
||||||
li {white-space:nowrap;}
|
li {white-space:nowrap;}
|
||||||
#series fieldset {border-bottom:0;}
|
#series fieldset {border-bottom:0;}
|
||||||
|
@ -68,7 +67,7 @@ legend { background:#fff;}
|
||||||
/*
|
/*
|
||||||
* mditem
|
* mditem
|
||||||
*/
|
*/
|
||||||
.mditem {width:100%;overflow:hidden;border-bottom:1px dashed #ccc;}
|
.mditem {width:100%;overflow:hidden;border-bottom:1px dashed #ccc;padding:5px 0;}
|
||||||
.mditem h2{text-indent:24px;}
|
.mditem h2{text-indent:24px;}
|
||||||
.mditem p{text-indent:24px;font-size:12px;}
|
.mditem p{text-indent:24px;font-size:12px;}
|
||||||
|
|
||||||
|
@ -76,7 +75,7 @@ legend { background:#fff;}
|
||||||
/*
|
/*
|
||||||
* paginationControl
|
* paginationControl
|
||||||
*/
|
*/
|
||||||
.PageNavigation{float:left;margin-left:200px;padding-left:30px;}
|
.PageNavigation{float:left;margin-left:200px;padding-left:30px;}
|
||||||
.paginationControl{float:right;padding-left:30px;margin:10px auto;}
|
.paginationControl{float:right;padding-left:30px;margin:10px auto;}
|
||||||
.paginationControl A {border:#9aafe5 1px solid;padding:2px 5px;color:#2e6ab1;margin-right:2px;TEXT-DECORATION:none}
|
.paginationControl A {border:#9aafe5 1px solid;padding:2px 5px;color:#2e6ab1;margin-right:2px;TEXT-DECORATION:none}
|
||||||
.paginationControl A:hover {border:#2b66a5 1px solid;COLOR: #000;BACKGROUND-COLOR:lightyellow}
|
.paginationControl A:hover {border:#2b66a5 1px solid;COLOR: #000;BACKGROUND-COLOR:lightyellow}
|
||||||
|
|
|
@ -23,6 +23,6 @@
|
||||||
clear:both;
|
clear:both;
|
||||||
background:#eee;
|
background:#eee;
|
||||||
padding:10px;
|
padding:10px;
|
||||||
|
width:90%;
|
||||||
}
|
}
|
||||||
#help ul li {white-space:normal;}
|
#help ul li {white-space:normal;}
|
||||||
#advancesearch{float:left;}
|
|
|
@ -1,12 +1,10 @@
|
||||||
body{margin:0;height:100%;}
|
|
||||||
html{height:100%;}
|
|
||||||
#divContent{margin:0 auto;padding:0;}
|
#divContent{margin:0 auto;padding:0;}
|
||||||
/* water */
|
/* water */
|
||||||
#sidebar{margin:0;padding:0;width:220px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;}
|
#sidebar{margin:0;padding:0;width:220px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;}
|
||||||
#right{margin:0;padding:0;border-left:2px solid #ddd;margin-left:220px;}
|
#right{margin:0;padding:0;border-left:2px solid #ddd;margin-left:220px;}
|
||||||
#leftnavi{margin:0;padding:0;}
|
#leftnavi{margin:0;padding:0;}
|
||||||
#leftnavi input{margin-left:5px;width:210px;border:1px solid #006;background: #ffc;}
|
#leftnavi input{margin-left:5px;width:200px;border:1px solid #006;background: #ffc;}
|
||||||
#intro {margin:0;padding:0;padding-left:5px;}
|
#intro {margin-top:10px;padding:0;padding-left:5px;}
|
||||||
#intro p{text-indent:2em;}
|
#intro p{text-indent:2em;}
|
||||||
#intro img{padding:5px;}
|
#intro img{padding:5px;}
|
||||||
#intro h1{text-indent:2em;font-size:24px;}
|
#intro h1{text-indent:2em;font-size:24px;}
|
||||||
|
@ -28,11 +26,11 @@ li {white-space:nowrap;}
|
||||||
#links ul li a{color:Navy; text-decoration:none;}
|
#links ul li a{color:Navy; text-decoration:none;}
|
||||||
#links ul li a:hover{color:Red;text-decoration:underline;}
|
#links ul li a:hover{color:Red;text-decoration:underline;}
|
||||||
#links fieldset {border:dotted 1px;border-bottom:0;border-left:0;border-right:0;}
|
#links fieldset {border:dotted 1px;border-bottom:0;border-left:0;border-right:0;}
|
||||||
ul{list-style-type: none;}
|
ul{list-style-type: none;margin:2px 5px 2px 20px;}
|
||||||
/* used in search*/
|
/* used in search*/
|
||||||
.mditem{clear:left;text-indext:2em;padding:5px;}
|
.mditem{clear:left;text-indext:2em;padding:5px;}
|
||||||
.mditem hr{clear:both;padding:0;}
|
.mditem hr{clear:both;padding:0;}
|
||||||
.thumb {float:left;padding-right:5px;}
|
.thumb {float:left;padding-right:5px;height:220px;overflow:hidden;margin-left:5px;}
|
||||||
|
|
||||||
#search{}
|
#search{}
|
||||||
.float{float:left;}
|
.float{float:left;}
|
||||||
|
@ -93,3 +91,6 @@ dd,dt{float:left;margin:0;}
|
||||||
#detailxml .item{clear:left;margin-left:20px;}
|
#detailxml .item{clear:left;margin-left:20px;}
|
||||||
#detailxml .item p{padding-left:20px;}
|
#detailxml .item p{padding-left:20px;}
|
||||||
legend {margin-left:30px;background:#fff;}
|
legend {margin-left:30px;background:#fff;}
|
||||||
|
.strong {font:20px bold;color:red;}
|
||||||
|
.thumbtitle{width:210px;margin-top:10px;padding-top:10px;}
|
||||||
|
ol,ol li{list-style:decimal;margin-left:20px;}
|
|
@ -1,6 +1,6 @@
|
||||||
#left{margin-right:310px;}
|
#left{margin-right:310px;}
|
||||||
#right{float:right;width:300px;border-left:2px solid #ddd;background:#ddd;margin:0;position:relative;}
|
#right{float:right;width:300px;border-left:2px solid #ddd;background:#ddd;margin:0;position:relative;}
|
||||||
h1{font-size:18px;text-align:center;border-bottom:#ddd 1px dotted;}
|
h1{text-align:center;border-bottom:#ddd 1px dotted;}
|
||||||
hr{clear:left;border:#ccc 1px dotted;overflow:hidden;}
|
hr{clear:left;border:#ccc 1px dotted;overflow:hidden;}
|
||||||
#right hr{border:#3C55C4 1px dotted;overflow:hidden;}
|
#right hr{border:#3C55C4 1px dotted;overflow:hidden;}
|
||||||
li {white-space:nowrap;}
|
li {white-space:nowrap;}
|
||||||
|
@ -26,12 +26,12 @@ li {white-space:nowrap;}
|
||||||
#filesize,#downtimes,#viewtimes {text-align:left;width:140px;}
|
#filesize,#downtimes,#viewtimes {text-align:left;width:140px;}
|
||||||
#datatype,#projection,#fileformat,#datatimes {text-align:left;width:290px;}
|
#datatype,#projection,#fileformat,#datatimes {text-align:left;width:290px;}
|
||||||
#cite{float:left;text-indent:2em;}
|
#cite{float:left;text-indent:2em;}
|
||||||
#cite p{width:98%;}
|
#cite p{width:98%;line-height:24px;margin:10px 0;}
|
||||||
#cite ul{text-indent:0em;margin:0;}
|
#cite ul{text-indent:0em;margin:0;}
|
||||||
#cite ol{text-indent:0em;clear:both;}
|
#cite ol{text-indent:0em;clear:both;}
|
||||||
#cite ul li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;float:left;list-style-type:none;margin:0;margin-left:15px;*padding-right:12px;}
|
#cite ul li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;float:left;list-style-type:none;margin:0;margin-left:15px;*padding-right:12px;line-height:24px;}
|
||||||
/*ie7-hack*/
|
/*ie7-hack*/
|
||||||
#cite ol li{text-indent:0em;clear:both;white-space:normal;*margin-right:15px;}
|
#cite ol li{margin-left:2em;list-style:decimal;text-indent:0em;clear:both;white-space:normal;*margin-right:15px;}
|
||||||
#right h2 {margin:0;padding:5px 0 5px 15px;}
|
#right h2 {margin:0;padding:5px 0 5px 15px;}
|
||||||
h2{clear:both;}
|
h2{clear:both;}
|
||||||
#authors {margin:0;text-align:left;width:300px;}
|
#authors {margin:0;text-align:left;width:300px;}
|
||||||
|
@ -42,16 +42,17 @@ h2{clear:both;}
|
||||||
|
|
||||||
#abstract{text-indent:2em;}
|
#abstract{text-indent:2em;}
|
||||||
#abstract a{background: url(/images/extlink.gif) no-repeat left center;padding-left:12px;}
|
#abstract a{background: url(/images/extlink.gif) no-repeat left center;padding-left:12px;}
|
||||||
|
#abstract p{line-height:24px;margin:10px 0;}
|
||||||
#abstract table,#abstract th,#abstract td{border:1px solid #ccc;border-style:inset;}
|
#abstract table,#abstract th,#abstract td{border:1px solid #ccc;border-style:inset;}
|
||||||
#related,#literature{float:left;text-indent:2em; width:50%;white-space:normal;word-break:break-word;overflow:hidden;}
|
#related,#literature{float:left; width:50%;white-space:normal;word-break:break-word;overflow:hidden;}
|
||||||
#related ul,#literature ul{list-style-type:decimal;list-style-position:inside;}
|
#related ul,#literature ul{list-style-type:decimal;padding-left:30px;}
|
||||||
#related li,#literature li{margin-left:-30px;}
|
#related li,#literature li{margin-left:0px;line-height:24px;list-style-type:decimal;}
|
||||||
|
|
||||||
label{float:left;text-align:right;width:100px;padding-right:20px;}
|
label{float:left;text-align:right;width:100px;padding-right:20px;}
|
||||||
label.required { background:url(/images/req-asterisk.gif) right; background-repeat: no-repeat;}
|
label.required { background:url(/images/req-asterisk.gif) right; background-repeat: no-repeat;}
|
||||||
#allcomments li{display:block;border:1px solid #aaa;white-space:wrap;width:100%;}
|
#allcomments li{display:block;border:1px solid #aaa;white-space:wrap;width:100%;overflow:hidden;}
|
||||||
#allcomments span {background:#dfdfdf;display:block;padding-left:10px;}
|
#allcomments span.title {background:#dfdfdf;display:block;padding-left:10px;line-height:20px;}
|
||||||
.comment-content{display:block;border:1px solid #aaa;text-indent:2em;width:98%;}
|
.comment-content{display:block;border:1px solid #aaa;text-indent:2em;width:98%;margin:5px 0 0 0;}
|
||||||
|
|
||||||
.thumb {float:left;width:250px;height:200px;}
|
.thumb {float:left;width:250px;height:200px;}
|
||||||
|
|
||||||
|
@ -104,3 +105,7 @@ img{border:0px;}
|
||||||
#todownload input{width:300px;}
|
#todownload input{width:300px;}
|
||||||
#todownload textarea{width:400px;height:200px;}
|
#todownload textarea{width:400px;height:200px;}
|
||||||
#todownload input.btn{width:100px;}
|
#todownload input.btn{width:100px;}
|
||||||
|
.strong {font:20px bold;color:red;}
|
||||||
|
ol li{margin-left:20px;list-style:decimal;}
|
||||||
|
#file-list li{list-style:none;}
|
||||||
|
h2 {margin-top:10px;}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
|
@ -3,6 +3,7 @@ function extractPageName(hrefString)
|
||||||
var arr = hrefString.split('/');
|
var arr = hrefString.split('/');
|
||||||
var result=(arr.length<3) ? hrefString : arr[3].toLowerCase();
|
var result=(arr.length<3) ? hrefString : arr[3].toLowerCase();
|
||||||
if (result=='water') result='data';
|
if (result=='water') result='data';
|
||||||
|
if (result=='heihe') result='data';
|
||||||
if (result=='admin' && arr.length>=4) result+="/"+arr[4];
|
if (result=='admin' && arr.length>=4) result+="/"+arr[4];
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,82 @@
|
||||||
|
function fnCreate(src){
|
||||||
|
|
||||||
|
/* 要创建的div的classname */
|
||||||
|
var ClassName = "thumbviewbox";
|
||||||
|
|
||||||
|
if(src == '')
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 优先创建图片,如果图片没有加载成功,回调自己 */
|
||||||
|
var img = document.createElement('img');
|
||||||
|
img.setAttribute('src',src);
|
||||||
|
var imgwd = img.width;
|
||||||
|
var imghg = img.height;
|
||||||
|
|
||||||
|
if(imgwd<1)
|
||||||
|
{
|
||||||
|
var timer = setTimeout("fnCreate('"+src+"')",100);
|
||||||
|
return false;
|
||||||
|
}else{
|
||||||
|
clearInterval(timer);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 清除已经弹出的窗口,防止冒泡 */
|
||||||
|
em = document.getElementsByClassName(ClassName)
|
||||||
|
|
||||||
|
for(var i=em.length-1; i>=0; i--){
|
||||||
|
var p = em[i];
|
||||||
|
p.parentNode.removeChild(p);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 各项参数 */
|
||||||
|
var htmlWidth = window.innerWidth; //可见区域宽度
|
||||||
|
var htmlHeight = window.innerHeight; //可见区域高度
|
||||||
|
var divleft = 0; //将要创建的div的左边距
|
||||||
|
var divtop =0; //将要创建的div的右边距
|
||||||
|
var closefunction = 'em=document.getElementsByClassName("'+ClassName+'");for(var i=em.length-1;i>=0;i--){var p=em[i];p.parentNode.removeChild(p);}'; //关闭div的代码
|
||||||
|
|
||||||
|
img.setAttribute('onclick',closefunction);
|
||||||
|
|
||||||
|
/* 计算通过图片计算div应该在的位置,保证弹窗在页面中央 */
|
||||||
|
if(imgwd>htmlWidth*0.8)
|
||||||
|
{
|
||||||
|
img.setAttribute('width',htmlWidth*0.8);
|
||||||
|
divleft=htmlWidth*0.1;
|
||||||
|
if(imghg>htmlHeight*0.8)
|
||||||
|
{
|
||||||
|
divtop = htmlHeight*0.1;
|
||||||
|
}else{
|
||||||
|
divtop = (htmlHeight-imgwd)/2;
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
img.setAttribute('width',imgwd);
|
||||||
|
divleft= (htmlWidth-imgwd)/2;
|
||||||
|
if(imghg>htmlHeight*0.8)
|
||||||
|
{
|
||||||
|
divtop = htmlHeight*0.1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
divtop = (htmlHeight-imgwd)/2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 创建关闭按钮 */
|
||||||
|
var closebtn = document.createElement('a');
|
||||||
|
closebtn.setAttribute('class','close');
|
||||||
|
closebtn.setAttribute('href','javascript:;');
|
||||||
|
closebtn.setAttribute('style','position:absolute;top:-20px;right:-5px;cursor:pointer;background:#444;color:#FFF;');
|
||||||
|
closebtn.innerHTML = '[close/关闭]';
|
||||||
|
closebtn.setAttribute('onclick',closefunction);
|
||||||
|
|
||||||
|
/* 创建弹窗 */
|
||||||
|
var element = document.createElement('div');
|
||||||
|
element.appendChild(img);
|
||||||
|
element.appendChild(closebtn);
|
||||||
|
element.setAttribute('class',ClassName);
|
||||||
|
element.setAttribute('style','border:5px solid #444;position:absolute;top:'+Math.round(divtop)+'px;left:'+Math.round(divleft)+'px;border-radius:5px;background:#FFF');
|
||||||
|
|
||||||
|
document.body.appendChild(element);
|
||||||
|
}
|
Loading…
Reference in New Issue