|
|
Line 1: |
Line 1: |
− | @charset "utf-8";
| + | *{ margin:0; padding:0; box-sizing:border-box;} |
− | #vlightbox{width:680px;height:355px;margin:0 auto;}
| + | html{ font-size:62.5%;} |
− | #vlightbox span{display:block;}
| + | li{ list-style:none;} |
− | #vlightbox a{display:block;float:left;width:310px;height:155px;margin:3px 1px;padding:6px;border:solid 1px #b8b8b8;
| + | img{ border:none 0; } |
− | background-color:#f4f5f5;opacity:0.87;}
| + | a{ text-decoration:none; display:inline-block; /*color:#333;*/ } |
− | #vlightbox a img{display:block;border:none;margin:0px;}
| + | .clear { clear:both;} |
− | #vlightbox a:hover{opacity:1;}
| + | .clearfix:after{ content:" "; height:0; display:block; visibility:hidden; clear:both; } |
− | #vlightbox a.vlightbox_hidden{display:none;}
| + | .auto{ margin:0 auto;} |
− | #vlightbox a img{border:medium none;margin:0 auto;width:310px;height:155px;}
| + | label,input,img{ vertical-align:middle;} |
| + | .left{ float:left;}.right{ float:right;} |
| | | |
| + | body{ font-family:"微软雅黑","黑体"; font-size:1.4rem; color:#333; /*background:rgba(0,153,255,.4);*/ } |
| | | |
| | | |
− | | + | #YLimgwrap{ position:fixed; left:0; top:0; right:0; bottom:0; background:rgba(0,0,0,.6); z-index:3000; display:none; } |
− | #overlay{ | + | #YLimgcon{ display:inline-block; padding:10px; position:absolute; background:#fff; } |
− | position:absolute;
| + | #YLimgcon:hover{ cursor:move; } |
− | top:0;
| + | #YLimgcon h4{ box-sizing:border-box; height:25px; line-height:20px; padding:0 0 5px; font-size:16px; font-weight:normal; /*background:#6CF*/} |
− | left:0;
| + | #YLimgcon h4 a{ float:right; display:inline-block; width:20px; height:20px; text-align:center; margin-left:6px; overflow:hidden; cursor:pointer; background-image:url(../img/imgzoom_tb.gif); background-repeat:no-repeat; border-radius:3px; } |
− | z-index:1090;
| + | #YLimgcon h4 .YLt_close{ background-position:right top; } |
− | width:100%;
| + | #YLimgcon h4 .YLt_close:hover{ background-position:right bottom; } |
− | height:auto;
| + | #YLimgcon h4 .YLt_size{ background-position:-38px top;} |
− | background-color:#131313;
| + | #YLimgcon h4 .YLt_size:hover{ background-position:-38px bottom; } |
− | }
| + | #YLimgcon .prev,#YLimgcon .next{ display:inline-block; width:40px; height:40px; position:absolute; top:50%; overflow:hidden; margin-top:-20px; display:none; } |
− | | + | #YLimgcon .prev{ left:0; background:url(../img/ico_direction.png) left no-repeat; } |
− | #lightbox{
| + | #YLimgcon .next{ right:0; background:url(../img/ico_direction.png) right no-repeat; } |
− | position:absolute;
| + | |
− | top:20px;
| + | |
− | left:0;
| + | |
− | width:100%;
| + | |
− | z-index:1100;
| + | |
− | text-align:center;
| + | |
− | color:white;
| + | |
− | line-height:0;
| + | |
− | }
| + | |
− | | + | |
− | #lightbox a, #lightbox a:hover {
| + | |
− | border-bottom:none;
| + | |
− | color:white;
| + | |
− | text-decoration:underline;
| + | |
− | }
| + | |
− | | + | |
− | #lightbox a img{ border:none; }
| + | |
− | | + | |
− | #outerImageContainer{
| + | |
− | width:auto;
| + | |
− | height:auto; /* without this line error in IE8 detected */
| + | |
− | margin:0 auto;
| + | |
− | position:relative;
| + | |
− | }
| + | |
− | | + | |
− | #lightboxImage{
| + | |
− | width:100%;
| + | |
− | height:100%;
| + | |
− | }
| + | |
− | | + | |
− | #imageContainer{
| + | |
− | width:50px;
| + | |
− | height:50px;
| + | |
− | margin:0 auto;
| + | |
− | overflow:hidden;
| + | |
− | position:relative;
| + | |
− | font-size:0;/* ie fix - big info bar*/
| + | |
− | }
| + | |
− | | + | |
− | #loading{
| + | |
− | position:absolute;
| + | |
− | top:40%;
| + | |
− | left:0;
| + | |
− | height:25%;
| + | |
− | width:100%;
| + | |
− | text-align:center;
| + | |
− | font-size:10px;
| + | |
− | z-index:1;
| + | |
− | }
| + | |
− | #loadingLink {
| + | |
− | display:block;
| + | |
− | margin:0 auto;
| + | |
− | padding:0;
| + | |
− | width:60%;
| + | |
− | height:32px;
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/3/36/T--Tianjin--loading2.gif) center center no-repeat;
| + | |
− | text-indent:-9999px;
| + | |
− | }
| + | |
− | #hoverNav{
| + | |
− | position:absolute;
| + | |
− | top:0;
| + | |
− | left:0;
| + | |
− | height:100%;
| + | |
− | width:100%;
| + | |
− | z-index:10;
| + | |
− | }
| + | |
− | #imageContainer>#hoverNav{ left:0;}
| + | |
− | #hoverNav a{ outline:none;}
| + | |
− | | + | |
− | #prevLinkImg, #nextLinkImg{ | + | |
− | width:49%;
| + | |
− | height:100%;
| + | |
− | background-image:url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */
| + | |
− | display:block;
| + | |
− | text-indent:-9999px;
| + | |
− | }
| + | |
− | #prevLinkImg { left:0; float:left;}
| + | |
− | #nextLinkImg { right:0; float:right;} | + | |
− | #prevLinkImg:hover, #prevLinkImg:visited:hover { | + | |
− | background:url(https://static.igem.org/mediawiki/2016/1/10/T--Tianjin--prev.png) 5% center no-repeat;
| + | |
− | _background-image:url(https://static.igem.org/mediawiki/2016/1/10/T--Tianjin--prev.png)
| + | |
− | } | + | |
− | #nextLinkImg:hover, #nextLinkImg:visited:hover { | + | |
− | background:url(https://static.igem.org/mediawiki/2016/5/5e/T--Tianjin--next.png) 97% center no-repeat;
| + | |
− | _background-image:url(https://static.igem.org/mediawiki/2016/5/5e/T--Tianjin--next.png)
| + | |
− | }
| + | |
− | | + | |
− | #imageDataContainer{
| + | |
− | font:10px Verdana, Helvetica, sans-serif;
| + | |
− | font-family:" Trebuchet MS",tahoma,verdana,arial,sans-serif;
| + | |
− | font-size:13px;
| + | |
− | width:100%;
| + | |
− | }
| + | |
− | | + | |
− | #imageData{
| + | |
− | overflow:hidden;
| + | |
− | width:100%;
| + | |
− | }
| + | |
− | #imageDetails{ width:70%; float:left; text-align:left; padding:10px 10px 0 0;}
| + | |
− | #caption{ font-weight:bold; display:block;}
| + | |
− | #numberDisplay{ display:block; float:left; padding:9px 10px 0 0;} | + | |
− | #detailsNav{display:block; float:left; padding:0; }
| + | |
− | #prevLinkDetails, #nextLinkDetails, #slideShowControl{ background-repeat:no-repeat; outline-style:none; display:block; float:left;}
| + | |
− | #prevLinkDetails {
| + | |
− | margin:2px; width:32px;height:32px; background-position:left 100%;
| + | |
− | background-image:url(https://static.igem.org/mediawiki/2016/1/12/T--Tianjin--navigation.png);
| + | |
− | _background:none;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/1/10/T--Tianjin--prev-32grey.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #prevLinkDetails:hover {
| + | |
− | background-position:0 0;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/0/08/T--Tianjin--prev-32color.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | | + | |
− | #nextLinkDetails {
| + | |
− | margin:2px; width:32px;height:32px; background-position:right 100%;
| + | |
− | background-image:url(https://static.igem.org/mediawiki/2016/1/12/T--Tianjin--navigation.png);
| + | |
− | _background:none;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/7/75/T--Tianjin--next32-grey.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #nextLinkDetails:hover {
| + | |
− | background-position:100% 0;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/3/39/T--Tianjin--next32-color.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #slideShowControl{
| + | |
− | display:block;
| + | |
− | width:32px;
| + | |
− | height:32px;
| + | |
− | float:left;
| + | |
− | margin:2px;
| + | |
− | background-image:url(https://static.igem.org/mediawiki/2016/1/12/T--Tianjin--navigation.png);
| + | |
− | background-position:-32px 100%;
| + | |
− | background-repeat:no-repeat;
| + | |
− | _background:none;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/a/a1/T--Tianjin--start32grey.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #slideShowControl:hover{
| + | |
− | background-position:-32px 0;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/d/d6/T--Tianjin--start32color.png', sizingMethod='scale');
| + | |
− | } | + | |
− | #slideShowControl.started{ | + | |
− | background-position:-64px 100%;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/e/e0/T--Tianjin--pause32grey.png', sizingMethod='scale');
| + | |
− | } | + | |
− | #slideShowControl.started:hover{ | + | |
− | background-position:-64px 0;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/c/c5/T--Tianjin--pause32color.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | | + | |
− | #close{
| + | |
− | padding:16px 0 0;
| + | |
− | float:right;
| + | |
− | } | + | |
− | #closeLink { | + | |
− | display:block;
| + | |
− | outline-style:none;
| + | |
− | margin:0;
| + | |
− | padding:0;
| + | |
− | text-decoration:none;
| + | |
− | width:48px;
| + | |
− | height:48px;
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/2/2d/T--Tianjin--close.png) no-repeat 0 100%;
| + | |
− | _background:none;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/4/47/T--Tianjin--cancel48grey.png', sizingMethod='scale');
| + | |
− | } | + | |
− | #closeLink:hover{ | + | |
− | background-position:0 0;
| + | |
− | filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/5/54/T--Tianjin--cancel48color.png', sizingMethod='scale');
| + | |
− | } | + | |
− | | + | |
− | .clearfix:after { content:"."; display:block; height:0; clear:both; visibility:hidden;} | + | |
− | * html>body .clearfix {display:inline-block; width:100%;}
| + | |
− | | + | |
− | * html .clearfix {
| + | |
− | /* Hides from IE-mac \*/
| + | |
− | height:1%;
| + | |
− | /* End hide from IE-mac */
| + | |
− | }
| + | |
− | | + | |
− | #outerImageFrame{
| + | |
− | height:100%;
| + | |
− | width:100%;
| + | |
− | position:absolute;
| + | |
− | }
| + | |
− | | + | |
− | #outerImageContainer{
| + | |
− | overflow:visible;
| + | |
− | }
| + | |
− | #outerImageContainer td{
| + | |
− | text-align:center;
| + | |
− | padding:0;
| + | |
− | }
| + | |
− | | + | |
− | #lightboxFrameBody{
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/4/4b/T--Tianjin--back_info.png);
| + | |
− | _background:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/4/4b/T--Tianjin--back_info.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | | + | |
− | #outerImageContainer td{
| + | |
− | font-size:0;
| + | |
− | }
| + | |
− | /* frame style */
| + | |
− | #outerImageContainer td.tl, #outerImageContainer td.br{
| + | |
− | height:19px;
| + | |
− | width:19px;
| + | |
− | }
| + | |
− | | + | |
− | #outerImageContainer td.tl{
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a3/T--Tianjin--back_corvers.png) 0 0;
| + | |
− | _background-image:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/2/27/T--Tianjin--back_lt.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #outerImageContainer td.tc{
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a8/T--Tianjin--back_tb.png) 50% 0;
| + | |
− | _background:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/9/9d/T--Tianjin--back_ct.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #outerImageContainer td.tr{
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a3/T--Tianjin--back_corvers.png) 100% 0;
| + | |
− | _background-image:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/1/1d/T--Tianjin--back_rt.png', sizingMethod='scale');
| + | |
− | } | + | |
− | #outerImageContainer td.ml{ | + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a2/T--Tianjin--back_lr.png) 0 50%;
| + | |
− | _background-image:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/8/82/T--Tianjin--back_lc.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #outerImageContainer td.mr{
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a2/T--Tianjin--back_lr.png) 100% 50%;
| + | |
− | _background-image:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/a/a6/T--Tianjin--back_rc.png', sizingMethod='scale');
| + | |
− | } | + | |
− | #outerImageContainer td.bl{ | + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a3/T--Tianjin--back_corvers.png) 0 100%;
| + | |
− | _background-image:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/3/3b/T--Tianjin--back_lb.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #outerImageContainer td.bc{
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a8/T--Tianjin--back_tb.png) 50% 100%;
| + | |
− | _background-image:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/0/0d/T--Tianjin--back_cb.png', sizingMethod='scale');
| + | |
− | }
| + | |
− | #outerImageContainer td.br{
| + | |
− | background:url(https://static.igem.org/mediawiki/2016/a/a3/T--Tianjin--back_corvers.png) 100% 100%;
| + | |
− | _background-image:none;
| + | |
− | _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://static.igem.org/mediawiki/2016/7/75/T--Tianjin--back_rb.png', sizingMethod='scale');
| + | |
− | } | + | |
html{ font-size:62.5%;}
li{ list-style:none;}
img{ border:none 0; }
a{ text-decoration:none; display:inline-block; /*color:#333;*/ }
.clear { clear:both;}
.clearfix:after{ content:" "; height:0; display:block; visibility:hidden; clear:both; }
.auto{ margin:0 auto;}
label,input,img{ vertical-align:middle;}
.left{ float:left;}.right{ float:right;}
body{ font-family:"微软雅黑","黑体"; font-size:1.4rem; color:#333; /*background:rgba(0,153,255,.4);*/ }