54829ca00aee4124081d80dba9e8d4091852d4b8
3 The following CSS is consistent between example themes and should not be altered.
5 #colorbox {-webkit-box-sizing: content-box
;-moz-box-sizing: content-box
;box-sizing: content-box
;}
6 #colorbox, #cboxOverlay
, #cboxWrapper
{position:absolute
; top:0; left:0; z-index:9999; overflow:hidden
;}
7 #cboxWrapper {max-width:none
;}
8 #cboxOverlay{position:fixed
; width:100%; height:100%;}
9 #cboxMiddleLeft, #cboxBottomLeft
{clear:left
;}
10 #cboxContent{position:relative
;}
11 #cboxLoadedContent{overflow:auto
; -webkit-overflow-scrolling: touch
;}
13 #cboxLoadingOverlay, #cboxLoadingGraphic
{position:absolute
; top:0; left:0; width:100%; height:100%;}
14 #cboxPrevious, #cboxNext
, #cboxClose
, #cboxSlideshow
{cursor:pointer
;}
15 .cboxPhoto{float:left
; margin:auto
; border:0; display:block
; max-width:none
; -ms-interpolation-mode:bicubic
;}
16 .cboxIframe{width:100%; height:100%; display:block
; border:0; padding:0; margin:0;}
17 #colorbox, #cboxContent
, #cboxLoadedContent
{box-sizing:content-box
; -moz-box-sizing:content-box
; -webkit-box-sizing:content-box
;}
21 Change the following styles to modify the appearance of Colorbox. They are
22 ordered & tabbed in a way that represents the nesting of the generated HTML.
24 #cboxOverlay{background:#fff; opacity: 0.9; filter: alpha
(opacity
= 90);}
26 #cboxTopLeft{width:25px; height:25px; background:url
(images/border1.png) no-repeat
0 0;}
27 #cboxTopCenter{height:25px; background:url
(images/border1.png) repeat-x
0 -50px;}
28 #cboxTopRight{width:25px; height:25px; background:url
(images/border1.png) no-repeat
-25px 0;}
29 #cboxBottomLeft{width:25px; height:25px; background:url
(images/border1.png) no-repeat
0 -25px;}
30 #cboxBottomCenter{height:25px; background:url
(images/border1.png) repeat-x
0 -75px;}
31 #cboxBottomRight{width:25px; height:25px; background:url
(images/border1.png) no-repeat
-25px -25px;}
32 #cboxMiddleLeft{width:25px; background:url
(images/border2.png) repeat-y
0 0;}
33 #cboxMiddleRight{width:25px; background:url
(images/border2.png) repeat-y
-25px 0;}
34 #cboxContent{background:#fff; overflow:hidden
;}
35 .cboxIframe{background:#fff;}
36 #cboxError{padding:50px; border:1px solid
#ccc;}
37 #cboxLoadedContent{margin-bottom:20px;}
38 #cboxTitle{position:absolute
; bottom:0px; left:0; text-align:center
; width:100%; color:#999;}
39 #cboxCurrent{position:absolute
; bottom:0px; left:150px; color:#999;}
40 #cboxLoadingOverlay{background:#fff url
(images/loading.gif) no-repeat
5px 5px;}
42 /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
43 #cboxPrevious, #cboxNext
, #cboxSlideshow
, #cboxClose
{border:0; padding:0; margin:0; overflow:visible
; text-indent:-9999px; width:20px; height:20px; position:absolute
; top:-3px; background:url
(images/controls.png) no-repeat
0 0;}
45 /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
46 #cboxPrevious:active
, #
cboxNext:active
, #
cboxSlideshow:active
, #
cboxClose:active
{outline:0;}
48 #cboxPrevious{background-position:0px 0px; right:44px;}
49 #cboxPrevious:hover
{background-position:0px -25px;}
50 #cboxNext{background-position:-25px 0px; right:22px;}
51 #cboxNext:hover
{background-position:-25px -25px;}
52 #cboxClose{background-position:-50px 0px; right:0;}
53 #cboxClose:hover
{background-position:-50px -25px;}
54 .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
55 .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
56 .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
57 .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
58 .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
61 The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
62 when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
63 See: http://jacklmoore.com/notes/ie-transparency-problems/
66 .cboxIE #cboxTopCenter
,
67 .cboxIE #cboxTopRight
,
68 .cboxIE #cboxBottomLeft
,
69 .cboxIE #cboxBottomCenter
,
70 .cboxIE #cboxBottomRight
,
71 .cboxIE #cboxMiddleLeft
,
72 .cboxIE #cboxMiddleRight {
73 filter: progid:DXImageTransform
.Microsoft
.gradient
(startColorstr
=#00FFFFFF
,endColorstr
=#00FFFFFF
);