15
15
.cboxIframe {width : 100% ; height : 100% ; display : block; border : 0 ; padding : 0 ; margin : 0 ;}
16
16
# colorbox , # cboxContent , # cboxLoadedContent {box-sizing : content-box; -moz-box-sizing : content-box; -webkit-box-sizing : content-box;}
17
17
18
- /*
18
+ /*
19
19
User Style:
20
20
Change the following styles to modify the appearance of Colorbox. They are
21
21
ordered & tabbed in a way that represents the nesting of the generated HTML.
22
22
*/
23
- # cboxOverlay {background : url (images /overlay.png) repeat 0 0 ;}
23
+ # cboxOverlay {background : url (colorbox /overlay.png) repeat 0 0 ;}
24
24
# colorbox {outline : 0 ;}
25
- # cboxTopLeft {width : 21px ; height : 21px ; background : url (images /controls.png) no-repeat -101px 0 ;}
26
- # cboxTopRight {width : 21px ; height : 21px ; background : url (images /controls.png) no-repeat -130px 0 ;}
27
- # cboxBottomLeft {width : 21px ; height : 21px ; background : url (images /controls.png) no-repeat -101px -29px ;}
28
- # cboxBottomRight {width : 21px ; height : 21px ; background : url (images /controls.png) no-repeat -130px -29px ;}
29
- # cboxMiddleLeft {width : 21px ; background : url (images /controls.png) left top repeat-y;}
30
- # cboxMiddleRight {width : 21px ; background : url (images /controls.png) right top repeat-y;}
31
- # cboxTopCenter {height : 21px ; background : url (images /border.png) 0 0 repeat-x;}
32
- # cboxBottomCenter {height : 21px ; background : url (images /border.png) 0 -29px repeat-x;}
25
+ # cboxTopLeft {width : 21px ; height : 21px ; background : url (colorbox /controls.png) no-repeat -101px 0 ;}
26
+ # cboxTopRight {width : 21px ; height : 21px ; background : url (colorbox /controls.png) no-repeat -130px 0 ;}
27
+ # cboxBottomLeft {width : 21px ; height : 21px ; background : url (colorbox /controls.png) no-repeat -101px -29px ;}
28
+ # cboxBottomRight {width : 21px ; height : 21px ; background : url (colorbox /controls.png) no-repeat -130px -29px ;}
29
+ # cboxMiddleLeft {width : 21px ; background : url (colorbox /controls.png) left top repeat-y;}
30
+ # cboxMiddleRight {width : 21px ; background : url (colorbox /controls.png) right top repeat-y;}
31
+ # cboxTopCenter {height : 21px ; background : url (colorbox /border.png) 0 0 repeat-x;}
32
+ # cboxBottomCenter {height : 21px ; background : url (colorbox /border.png) 0 -29px repeat-x;}
33
33
# cboxContent {background : # fff ; overflow : hidden;}
34
34
.cboxIframe {background : # fff ;}
35
35
# cboxError {padding : 50px ; border : 1px solid # ccc ;}
36
36
# cboxLoadedContent {margin-bottom : 28px ;}
37
37
# cboxTitle {position : absolute; bottom : 4px ; left : 0 ; text-align : center; width : 100% ; color : # 949494 ;}
38
38
# cboxCurrent {position : absolute; bottom : 4px ; left : 58px ; color : # 949494 ;}
39
- # cboxLoadingOverlay {background : url (images /loading_background.png) no-repeat center center;}
40
- # cboxLoadingGraphic {background : url (images /loading.gif) no-repeat center center;}
39
+ # cboxLoadingOverlay {background : url (colorbox /loading_background.png) no-repeat center center;}
40
+ # cboxLoadingGraphic {background : url (colorbox /loading.gif) no-repeat center center;}
41
41
42
42
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
43
43
# cboxPrevious , # cboxNext , # cboxSlideshow , # cboxClose {border : 0 ; padding : 0 ; margin : 0 ; overflow : visible; width : auto; background : none; }
44
-
44
+
45
45
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
46
46
# cboxPrevious : active , # cboxNext : active , # cboxSlideshow : active , # cboxClose : active {outline : 0 ;}
47
47
48
48
# cboxSlideshow {position : absolute; bottom : 4px ; right : 30px ; color : # 0092ef ;}
49
- # cboxPrevious {position : absolute; bottom : 0 ; left : 0 ; background : url (images /controls.png) no-repeat -75px 0 ; width : 25px ; height : 25px ; text-indent : -9999px ;}
49
+ # cboxPrevious {position : absolute; bottom : 0 ; left : 0 ; background : url (colorbox /controls.png) no-repeat -75px 0 ; width : 25px ; height : 25px ; text-indent : -9999px ;}
50
50
# cboxPrevious : hover {background-position : -75px -25px ;}
51
- # cboxNext {position : absolute; bottom : 0 ; left : 27px ; background : url (images /controls.png) no-repeat -50px 0 ; width : 25px ; height : 25px ; text-indent : -9999px ;}
51
+ # cboxNext {position : absolute; bottom : 0 ; left : 27px ; background : url (colorbox /controls.png) no-repeat -50px 0 ; width : 25px ; height : 25px ; text-indent : -9999px ;}
52
52
# cboxNext : hover {background-position : -50px -25px ;}
53
- # cboxClose {position : absolute; bottom : 0 ; right : 0 ; background : url (images /controls.png) no-repeat -25px 0 ; width : 25px ; height : 25px ; text-indent : -9999px ;}
53
+ # cboxClose {position : absolute; bottom : 0 ; right : 0 ; background : url (colorbox /controls.png) no-repeat -25px 0 ; width : 25px ; height : 25px ; text-indent : -9999px ;}
54
54
# cboxClose : hover {background-position : -25px -25px ;}
55
55
56
56
/*
67
67
.cboxIE # cboxMiddleLeft ,
68
68
.cboxIE # cboxMiddleRight {
69
69
filter : progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF);
70
- }
70
+ }
0 commit comments