lightbox.css 2.9 KB

1234567891011121314151617181920212223242526
  1. body:after{content:url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);display:none}
  2. .lightboxOverlay{position:absolute;top:0;left:0;z-index:9999;background-color:black;filter:alpha(opacity=80);opacity:.8;display:none}
  3. .lightbox{position:absolute;left:0;width:100%;z-index:10000;text-align:center;line-height:0;font-weight:normal}
  4. .lightbox .lb-image{display:block;height:auto;max-width:inherit;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px}
  5. .lightbox a img{border:0}
  6. .lb-outerContainer{position:relative;background-color:white;*zoom:1;width:250px;height:250px;margin:0 auto;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}
  7. .lb-outerContainer:after{content:"";display:table;clear:both}
  8. .lb-container{padding:4px}
  9. .lb-loader{position:absolute;top:43%;left:0;height:25%;width:100%;text-align:center;line-height:0}
  10. .lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url(../images/loading.gif) no-repeat}
  11. .lb-nav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10}
  12. .lb-container>.nav{left:0}
  13. .lb-nav a{outline:0;background-image:url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==')}
  14. .lb-prev,.lb-next{height:100%;cursor:pointer;display:block}
  15. .lb-nav a.lb-prev{width:34%;left:0;float:left;background:url(../images/prev.png) left 48% no-repeat;filter:alpha(opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}
  16. .lb-nav a.lb-prev:hover{filter:alpha(opacity=100);opacity:1}
  17. .lb-nav a.lb-next{width:64%;right:0;float:right;background:url(../images/next.png) right 48% no-repeat;filter:alpha(opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}
  18. .lb-nav a.lb-next:hover{filter:alpha(opacity=100);opacity:1}
  19. .lb-dataContainer{margin:0 auto;padding-top:5px;*zoom:1;width:100%;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px}
  20. .lb-dataContainer:after{content:"";display:table;clear:both}
  21. .lb-data{padding:0 4px;color:#ccc}
  22. .lb-data .lb-details{width:85%;float:left;text-align:left;line-height:1.1em}
  23. .lb-data .lb-caption{font-size:13px;font-weight:bold;line-height:1em}
  24. .lb-data .lb-number{display:block;clear:left;padding-bottom:1em;font-size:12px;color:#999}
  25. .lb-data .lb-close{display:block;float:right;width:30px;height:30px;background:url(../images/close.png) top right no-repeat;text-align:right;outline:0;filter:alpha(opacity=70);opacity:.7;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}
  26. .lb-data .lb-close:hover{cursor:pointer;filter:alpha(opacity=100);opacity:1}