Révision b433176d
Ajouté par Assos Assos il y a environ 4 ans
drupal7/sites/all/modules/colorbox/styles/stockholmsyndrome/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 { |
... | ... | |
68 | 78 |
border: 0; |
69 | 79 |
} |
70 | 80 |
/* Reset box sizing to content-box if theme is using border-box. */ |
71 |
#colorbox, #cboxContent, #cboxLoadedContent { |
|
81 |
#colorbox, |
|
82 |
#cboxContent, |
|
83 |
#cboxLoadedContent { |
|
72 | 84 |
-moz-box-sizing: content-box; |
73 | 85 |
-webkit-box-sizing: content-box; |
74 | 86 |
box-sizing: content-box; |
... | ... | |
96 | 108 |
border-bottom-right-radius: 9px; |
97 | 109 |
outline: 0; |
98 | 110 |
} |
99 |
#colorbox, #colorbox div { |
|
111 |
#colorbox, |
|
112 |
#colorbox div { |
|
100 | 113 |
overflow: visible; /* Required by the close button. */ |
101 | 114 |
} |
102 |
#cboxWrapper { |
|
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 |
} |
|
110 |
#cboxTopLeft { |
|
111 |
width: 0; |
|
112 |
height: 0; |
|
113 |
} |
|
114 |
#cboxTopCenter { |
|
115 |
height: 0; |
|
116 |
} |
|
117 |
#cboxTopRight { |
|
118 |
width: 0; |
|
119 |
height: 0; |
|
120 |
} |
|
121 |
#cboxBottomLeft { |
|
122 |
width: 15px; |
|
123 |
height: 10px; |
|
124 |
} |
|
125 |
#cboxBottomCenter { |
|
126 |
height: 10px; |
|
127 |
} |
|
128 |
#cboxBottomRight { |
|
129 |
width: 15px; |
|
130 |
height: 10px; |
|
131 |
} |
|
132 |
#cboxMiddleLeft { |
|
133 |
width: 0; |
|
134 |
} |
|
135 |
#cboxMiddleRight { |
|
136 |
width: 0; |
|
137 |
} |
|
138 |
#cboxContent { |
|
139 |
background: #fff; |
|
140 |
overflow: hidden; |
|
141 |
margin-bottom: 28px; |
|
142 |
} |
|
143 |
#cboxError { |
|
144 |
padding: 50px; |
|
145 |
border: 1px solid #ccc; |
|
146 |
} |
|
147 |
#cboxLoadedContent { |
|
148 |
} |
|
149 |
#cboxTitle { |
|
150 |
left: 0; |
|
151 |
height: 38px; |
|
152 |
color: #313131; |
|
153 |
padding: 0 140px 0 15px; |
|
154 |
display: table-cell !important; |
|
155 |
vertical-align: middle; |
|
156 |
float: none !important; |
|
157 |
} |
|
158 |
#cboxCurrent { |
|
159 |
position: absolute; |
|
160 |
bottom: -26px; |
|
161 |
right: 80px; |
|
162 |
color: #313131; |
|
163 |
border-left: 1px solid #313131; |
|
164 |
padding: 0 0 0 15px; |
|
165 |
} |
|
166 |
/* Slideshow not implemented. */ |
|
167 |
.cboxSlideshow_on #cboxSlideshow { |
|
168 |
display: none; |
|
169 |
} |
|
170 |
.cboxSlideshow_on #cboxSlideshow:hover { |
|
171 |
} |
|
172 |
.cboxSlideshow_off #cboxSlideshow { |
|
173 |
display: none; |
|
174 |
} |
|
175 |
.cboxSlideshow_off #cboxSlideshow:hover { |
|
176 |
} |
|
177 |
#cboxPrevious { |
|
178 |
position: absolute; |
|
179 |
bottom: -26px; |
|
180 |
right: 45px; |
|
181 |
background: url(images/controls.png) no-repeat 0 -48px; |
|
182 |
width: 21px; |
|
183 |
height: 15px; |
|
184 |
text-indent: -9999px; |
|
185 |
} |
|
186 |
#cboxPrevious:hover { |
|
187 |
background-position: 0 -111px; |
|
188 |
} |
|
189 |
#cboxNext { |
|
190 |
position: absolute; |
|
191 |
bottom: -26px; |
|
192 |
right: 15px; |
|
193 |
background: url(images/controls.png) no-repeat 0 -29px; |
|
194 |
width: 21px; |
|
195 |
height: 15px; |
|
196 |
text-indent: -9999px; |
|
197 |
} |
|
198 |
#cboxNext:hover { |
|
199 |
background-position: 0 -92px; |
|
200 |
} |
|
201 |
#cboxLoadingOverlay { |
|
202 |
background: #e6e6e6; |
|
203 |
} |
|
204 |
#cboxLoadingGraphic { |
|
205 |
background: url(images/loading_animation.gif) no-repeat center center; |
|
206 |
} |
|
207 |
#cboxClose { |
|
208 |
position: absolute; |
|
209 |
top: -10px; |
|
210 |
right: -10px; |
|
211 |
background: url(images/controls.png) no-repeat 0px 0px; |
|
212 |
width: 25px; |
|
213 |
height: 25px; |
|
214 |
text-indent: -9999px; |
|
215 |
opacity: 0; |
|
216 |
} |
|
217 |
#cboxClose:hover { |
|
218 |
background-position: 0 -63px; |
|
219 |
} |
|
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 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules