You are here

colorbox.css in Media Browser Plus 7

Same filename and directory in other branches
  1. 7.2 css/colorbox.css
/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

/*
    ColorBox example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay{background:#000;}

#colorbox{}
    #cboxContent{margin-top:20px;}
        #cboxLoadedContent{background:#000; padding:5px;}
        #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(../images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(../images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
        #cboxNext.hover{background-position:bottom right;}
        #cboxLoadingOverlay{background:#fff;}
        #cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat center center;}
        #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(../images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
        #cboxClose.hover{background-position:bottom center;}

File

css/colorbox.css
View source
  1. /*
  2. ColorBox Core Style
  3. The following rules are the styles that are consistant between themes.
  4. Avoid changing this area to maintain compatability with future versions of ColorBox.
  5. */
  6. #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
  7. #cboxOverlay{position:fixed; width:100%; height:100%;}
  8. #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
  9. #cboxContent{position:relative;}
  10. #cboxLoadedContent{overflow:auto;}
  11. #cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
  12. #cboxTitle{margin:0;}
  13. #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
  14. #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
  15. /*
  16. ColorBox example user style
  17. The following rules are ordered and tabbed in a way that represents the
  18. order/nesting of the generated HTML, so that the structure easier to understand.
  19. */
  20. #cboxOverlay{background:#000;}
  21. #colorbox{}
  22. #cboxContent{margin-top:20px;}
  23. #cboxLoadedContent{background:#000; padding:5px;}
  24. #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
  25. #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
  26. #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
  27. #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(../images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
  28. #cboxPrevious.hover{background-position:bottom left;}
  29. #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(../images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
  30. #cboxNext.hover{background-position:bottom right;}
  31. #cboxLoadingOverlay{background:#fff;}
  32. #cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat center center;}
  33. #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(../images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
  34. #cboxClose.hover{background-position:bottom center;}