[4621] | 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; overflow:visible;} |
---|
| 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 | /* |
---|
| 17 | ColorBox example user style |
---|
| 18 | The following rules are ordered and tabbed in a way that represents the |
---|
| 19 | order/nesting of the generated HTML, so that the structure easier to understand. |
---|
| 20 | */ |
---|
| 21 | #cboxOverlay{background:#000;} |
---|
| 22 | |
---|
| 23 | #colorbox{} |
---|
| 24 | #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) 0 0 no-repeat;} |
---|
| 25 | #cboxTopCenter{height:14px; background:url(images/border.png) top left repeat-x;} |
---|
| 26 | #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) -36px 0 no-repeat;} |
---|
| 27 | #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) 0 -32px no-repeat;} |
---|
| 28 | #cboxBottomCenter{height:43px; background:url(images/border.png) bottom left repeat-x;} |
---|
| 29 | #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) -36px -32px no-repeat;} |
---|
| 30 | #cboxMiddleLeft{width:14px; background:url(images/controls.png) -175px 0 repeat-y;} |
---|
| 31 | #cboxMiddleRight{width:14px; background:url(images/controls.png) -211px 0 repeat-y;} |
---|
| 32 | #cboxContent{background:#fff;} |
---|
| 33 | #cboxLoadedContent{margin-bottom:5px;} |
---|
| 34 | #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;} |
---|
| 35 | #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} |
---|
| 36 | #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;} |
---|
| 37 | #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;} |
---|
| 38 | |
---|
| 39 | #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) 0px 0px no-repeat; width:23px; height:23px; text-indent:-9999px;} |
---|
| 40 | #cboxPrevious{left:0px; background-position: -51px -25px;} |
---|
| 41 | #cboxPrevious.hover{background-position:-51px 0px;} |
---|
| 42 | #cboxNext{left:27px; background-position:-75px -25px;} |
---|
| 43 | #cboxNext.hover{background-position:-75px 0px;} |
---|
| 44 | #cboxClose{right:0; background-position:-100px -25px;} |
---|
| 45 | #cboxClose.hover{background-position:-100px 0px;} |
---|
| 46 | |
---|
| 47 | .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;} |
---|
| 48 | .cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0px;} |
---|
| 49 | .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;} |
---|
| 50 | .cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0px;} |
---|
| 51 | |
---|
| 52 | #cboxTitle a {color:#555; border-bottom: 0 none;} |
---|