ad164f1a357a6bcc5a8d2025bf915ab46a5a821b
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.
6 #colorbox, #cboxLoadedContent
{-webkit-box-sizing: content-box
;-moz-box-sizing: content-box
;box-sizing: content-box
;}
7 #colorbox, #cboxOverlay
, #cboxWrapper
{position:absolute
; top:0; left:0; z-index:4999; overflow:hidden
;}
8 #cboxOverlay{position:fixed
; width:100%; height:100%;}
9 #cboxMiddleLeft, #cboxBottomLeft
{clear:left
;}
10 #cboxContent{position:relative
;}
11 #cboxLoadedContent{overflow:auto
;}
12 #cboxLoadedContent iframe
{display:block
; width:100%; height:100%; border:0;}
14 #cboxLoadingOverlay, #cboxLoadingGraphic
{position:absolute
; top:0; left:0; width:100%;}
15 #cboxPrevious, #cboxNext
, #cboxClose
, #cboxSlideshow
{cursor:pointer
;}
16 .cboxPhoto{float:left
; margin:auto
; border:0; display:block
;}
17 .cboxIframe{width:100%; height:100%; display:block
; border:0;}
20 ColorBox example user style
21 The following rules are ordered and tabbed in a way that represents the
22 order/nesting of the generated HTML, so that the structure easier to understand.
24 #cboxOverlay{background:#000;}
27 #cboxContent{margin-top:20px;}
28 #cboxLoadedContent{background:#000; padding:5px;}
29 #cboxTitle{position:absolute
; top:-21px; left:0; right:0;color:#ccc;background:rgba
(0,0,0,0.6);padding:1px 5px;padding-right: 50px;float: none
!important
;}
30 #cboxCurrent{position:absolute
; top:-20px; right:5px; color:#ccc;}
31 #cboxSlideshow{position:absolute
; top:-20px; right:90px; color:#fff;}
32 #cboxPrevious{position:absolute
; top:50%; left:5px; margin-top:-32px; background:url
(images/controls.png) top left no-repeat
; width:28px; height:65px; text-indent:-9999px;}
33 #cboxPrevious:hover
{background-position:bottom left
;}
34 #cboxNext{position:absolute
; top:50%; right:5px; margin-top:-32px; background:url
(images/controls.png) top right no-repeat
; width:28px; height:65px; text-indent:-9999px;}
35 #cboxNext:hover
{background-position:bottom right
;}
36 #cboxLoadingOverlay{background:#000;}
37 #cboxLoadingGraphic{background:url
(images/loading.gif) center center no-repeat
;}
38 #cboxClose{position:absolute
; top:5px; right:5px; display:block
; background:url
(images/controls.png) top center no-repeat
; width:38px; height:19px; text-indent:-9999px;}
39 #cboxClose:hover
{background-position:bottom center
;}