root / drupal7 / sites / all / modules / colorbox / styles / stockholmsyndrome / colorbox_style.css @ b433176d
1 |
/**
|
---|---|
2 |
* Colorbox Core Style:
|
3 |
* The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
#colorbox,
|
6 |
#cboxOverlay,
|
7 |
#cboxWrapper {
|
8 |
position: absolute; |
9 |
top: 0; |
10 |
left: 0; |
11 |
z-index: 9999; |
12 |
overflow: hidden; |
13 |
} |
14 |
#cboxOverlay {
|
15 |
position: fixed; |
16 |
width: 100%; |
17 |
height: 100%; |
18 |
} |
19 |
#cboxMiddleLeft,
|
20 |
#cboxBottomLeft {
|
21 |
clear: left; |
22 |
} |
23 |
#cboxContent {
|
24 |
position: relative; |
25 |
} |
26 |
#cboxLoadedContent {
|
27 |
overflow: auto; |
28 |
-webkit-overflow-scrolling: touch; |
29 |
} |
30 |
#cboxTitle {
|
31 |
margin: 0; |
32 |
} |
33 |
#cboxLoadingOverlay,
|
34 |
#cboxLoadingGraphic {
|
35 |
position: absolute; |
36 |
top: 0; |
37 |
left: 0; |
38 |
width: 100%; |
39 |
height: 100%; |
40 |
} |
41 |
/**
|
42 |
* These elements are buttons, and may need to have additional
|
43 |
* styles reset to avoid unwanted base styles.
|
44 |
*/
|
45 |
#cboxPrevious,
|
46 |
#cboxNext,
|
47 |
#cboxClose,
|
48 |
#cboxSlideshow {
|
49 |
border: 0; |
50 |
padding: 0; |
51 |
margin: 0; |
52 |
overflow: visible; |
53 |
width: auto; |
54 |
background: none; |
55 |
cursor: pointer; |
56 |
} |
57 |
/**
|
58 |
* Avoid outlines on :active (mouseclick),
|
59 |
* but preserve outlines on :focus (tabbed navigating)
|
60 |
*/
|
61 |
#cboxPrevious:active, |
62 |
#cboxNext:active, |
63 |
#cboxClose:active, |
64 |
#cboxSlideshow:active { |
65 |
outline: 0; |
66 |
} |
67 |
.cboxPhoto {
|
68 |
float: left; |
69 |
margin: auto; |
70 |
border: 0; |
71 |
display: block; |
72 |
max-width: none; |
73 |
} |
74 |
.cboxIframe {
|
75 |
width: 100%; |
76 |
height: 100%; |
77 |
display: block; |
78 |
border: 0; |
79 |
} |
80 |
/* Reset box sizing to content-box if theme is using border-box. */
|
81 |
#colorbox,
|
82 |
#cboxContent,
|
83 |
#cboxLoadedContent {
|
84 |
-moz-box-sizing: content-box; |
85 |
-webkit-box-sizing: content-box; |
86 |
box-sizing: content-box; |
87 |
} |
88 |
|
89 |
/**
|
90 |
* Colorbox module Stockholm syndrome style:
|
91 |
* The styles are ordered & tabbed in a way that represents
|
92 |
* the nesting of the generated HTML.
|
93 |
*/
|
94 |
#cboxOverlay {
|
95 |
background: #000; |
96 |
} |
97 |
|
98 |
#colorbox {
|
99 |
background: #fff url(images/bg_tab.png) center bottom repeat-x; |
100 |
-moz-box-shadow: 3px 3px 16px #333; |
101 |
-webkit-box-shadow: 3px 3px 16px #333; |
102 |
box-shadow: 3px 3px 16px #333; |
103 |
-moz-border-radius-bottomleft: 9px; |
104 |
-moz-border-radius-bottomright: 9px; |
105 |
-webkit-border-bottom-left-radius: 9px; |
106 |
-webkit-border-bottom-right-radius: 9px; |
107 |
border-bottom-left-radius: 9px; |
108 |
border-bottom-right-radius: 9px; |
109 |
outline: 0; |
110 |
} |
111 |
#colorbox,
|
112 |
#colorbox div { |
113 |
overflow: visible; /* Required by the close button. */ |
114 |
} |
115 |
#cboxWrapper {
|
116 |
-moz-border-radius-bottomleft: 9px; |
117 |
-moz-border-radius-bottomright: 9px; |
118 |
-webkit-border-bottom-left-radius: 9px; |
119 |
-webkit-border-bottom-right-radius: 9px; |
120 |
border-bottom-left-radius: 9px; |
121 |
border-bottom-right-radius: 9px; |
122 |
} |
123 |
#cboxTopLeft {
|
124 |
width: 0; |
125 |
height: 0; |
126 |
} |
127 |
#cboxTopCenter {
|
128 |
height: 0; |
129 |
} |
130 |
#cboxTopRight {
|
131 |
width: 0; |
132 |
height: 0; |
133 |
} |
134 |
#cboxBottomLeft {
|
135 |
width: 15px; |
136 |
height: 10px; |
137 |
} |
138 |
#cboxBottomCenter {
|
139 |
height: 10px; |
140 |
} |
141 |
#cboxBottomRight {
|
142 |
width: 15px; |
143 |
height: 10px; |
144 |
} |
145 |
#cboxMiddleLeft {
|
146 |
width: 0; |
147 |
} |
148 |
#cboxMiddleRight {
|
149 |
width: 0; |
150 |
} |
151 |
#cboxContent {
|
152 |
background: #fff; |
153 |
overflow: hidden; |
154 |
margin-bottom: 28px; |
155 |
} |
156 |
#cboxError {
|
157 |
padding: 50px; |
158 |
border: 1px solid #ccc; |
159 |
} |
160 |
/* @codingStandardsIgnoreLine */
|
161 |
#cboxLoadedContent {
|
162 |
} |
163 |
#cboxTitle {
|
164 |
left: 0; |
165 |
height: 38px; |
166 |
color: #313131; |
167 |
padding: 0 140px 0 15px; |
168 |
display: table-cell !important; |
169 |
vertical-align: middle; |
170 |
float: none !important; |
171 |
} |
172 |
#cboxCurrent {
|
173 |
position: absolute; |
174 |
bottom: -26px; |
175 |
right: 80px; |
176 |
color: #313131; |
177 |
border-left: 1px solid #313131; |
178 |
padding: 0 0 0 15px; |
179 |
} |
180 |
/* Slideshow not implemented. */
|
181 |
.cboxSlideshow_on #cboxSlideshow { |
182 |
display: none; |
183 |
} |
184 |
/* @codingStandardsIgnoreLine */
|
185 |
.cboxSlideshow_on #cboxSlideshow:hover { |
186 |
} |
187 |
.cboxSlideshow_off #cboxSlideshow { |
188 |
display: none; |
189 |
} |
190 |
/* @codingStandardsIgnoreLine */
|
191 |
.cboxSlideshow_off #cboxSlideshow:hover { |
192 |
} |
193 |
#cboxPrevious {
|
194 |
position: absolute; |
195 |
bottom: -26px; |
196 |
right: 45px; |
197 |
background: url(images/controls.png) no-repeat 0 -48px; |
198 |
width: 21px; |
199 |
height: 15px; |
200 |
text-indent: -9999px; |
201 |
} |
202 |
#cboxPrevious:hover { |
203 |
background-position: 0 -111px; |
204 |
} |
205 |
#cboxNext {
|
206 |
position: absolute; |
207 |
bottom: -26px; |
208 |
right: 15px; |
209 |
background: url(images/controls.png) no-repeat 0 -29px; |
210 |
width: 21px; |
211 |
height: 15px; |
212 |
text-indent: -9999px; |
213 |
} |
214 |
#cboxNext:hover { |
215 |
background-position: 0 -92px; |
216 |
} |
217 |
#cboxLoadingOverlay {
|
218 |
background: #e6e6e6; |
219 |
} |
220 |
#cboxLoadingGraphic {
|
221 |
background: url(images/loading_animation.gif) no-repeat center center; |
222 |
} |
223 |
#cboxClose {
|
224 |
position: absolute; |
225 |
top: -10px; |
226 |
right: -10px; |
227 |
background: url(images/controls.png) no-repeat 0px 0px; |
228 |
width: 25px; |
229 |
height: 25px; |
230 |
text-indent: -9999px; |
231 |
opacity: 0; |
232 |
} |
233 |
#cboxClose:hover { |
234 |
background-position: 0 -63px; |
235 |
} |