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