Projet

Général

Profil

Paste
Télécharger (4,87 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / lightbox2 / css / lightbox.css @ f0456308

1
/* $Id: lightbox.css,v 1.1.4.28 2010/09/22 10:47:15 snpower Exp $ */
2
#lightbox {
3
  position: absolute;
4
  top: 40px;
5
  left: 0;
6
  width: 100%;
7
  z-index: 100;
8
  text-align: center;
9
  line-height: 0;
10
}
11

    
12
#lightbox a img {
13
  border: none;
14
}
15

    
16
#outerImageContainer {
17
  position: relative;
18
  background-color: #fff;
19
  width: 250px;
20
  height: 250px;
21
  margin: 0 auto;
22
  min-width: 240px;
23
  overflow: hidden;
24
}
25

    
26
#imageContainer, #frameContainer, #modalContainer {
27
  padding: 10px;
28
}
29

    
30
#modalContainer {
31
  line-height: 1em;
32
  overflow: auto;
33
}
34

    
35
#loading {
36
  height: 25%;
37
  width: 100%;
38
  text-align: center;
39
  line-height: 0;
40
  position: absolute;
41
  top: 40%;
42
  left: 45%;
43
  /* left: 0%; */
44
}
45

    
46
#hoverNav {
47
  position: absolute;
48
  top: 0;
49
  left: 0;
50
  height: 100%;
51
  width: 100%;
52
  z-index: 10;
53
}
54

    
55
#imageContainer>#hoverNav {
56
  left: 0;
57
}
58

    
59
#frameHoverNav {
60
  z-index: 10;
61
  margin-left: auto;
62
  margin-right: auto;
63
  width: 20%;
64
  position: absolute;
65
  bottom: 0px;
66
  height: 45px;
67
}
68

    
69
#imageData>#frameHoverNav {
70
  left: 0;
71
}
72

    
73
#hoverNav a, #frameHoverNav a {
74
  outline: none;
75
}
76

    
77
#prevLink, #nextLink {
78
  width: 49%;
79
  height: 100%;
80
  background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
81
  display: block;
82
}
83

    
84
#prevLink, #framePrevLink {
85
  left: 0;
86
  float: left;
87
}
88

    
89
#nextLink, #frameNextLink {
90
  right: 0;
91
  float: right;
92
}
93

    
94
#prevLink:hover, #prevLink:visited:hover, #prevLink.force_show_nav, #framePrevLink {
95
  background: url(../images/prev.gif) left 15% no-repeat;
96
}
97

    
98
#nextLink:hover, #nextLink:visited:hover, #nextLink.force_show_nav, #frameNextLink {
99
  background: url(../images/next.gif) right 15% no-repeat;
100
}
101

    
102
#prevLink:hover.force_show_nav, #prevLink:visited:hover.force_show_nav,
103
#framePrevLink:hover, #framePrevLink:visited:hover {
104
  background: url(../images/prev_hover.gif) left 15% no-repeat;
105
}
106

    
107
#nextLink:hover.force_show_nav, #nextLink:visited:hover.force_show_nav,
108
#frameNextLink:hover, #frameNextLink:visited:hover {
109
  background: url(../images/next_hover.gif) right 15% no-repeat;
110
}
111

    
112
#framePrevLink, #frameNextLink {
113
  width: 45px;
114
  height: 45px;
115
  display: block;
116
  position: absolute;
117
  bottom: 0px;
118
}
119

    
120
#imageDataContainer {
121
  font: 10px Verdana, Helvetica, sans-serif;
122
  background-color: #fff;
123
  margin: 0 auto;
124
  line-height: 1.4em;
125
  min-width: 240px;
126
}
127

    
128
#imageData {
129
  padding: 0 10px;
130
}
131

    
132
#imageData #imageDetails {
133
  width: 70%;
134
  float: left;
135
  text-align: left;
136
}
137

    
138
#imageData #caption {
139
  font-weight: bold;
140
}
141

    
142
#imageData #numberDisplay {
143
  display: block;
144
  clear: left;
145
  padding-bottom: 1.0em;
146
}
147

    
148
#imageData #lightbox2-node-link-text {
149
  display: block;
150
  padding-bottom: 1.0em;
151
}
152

    
153
#imageData #bottomNav {
154
  height: 66px;
155
}
156
.lightbox2-alt-layout #imageData #bottomNav,
157
.lightbox2-alt-layout-data #bottomNav {
158
  margin-bottom: 60px;
159
}
160

    
161
#lightbox2-overlay {
162
  position: absolute;
163
  top: 0;
164
  left: 0;
165
  z-index: 90;
166
  width: 100%;
167
  height: 500px;
168
  background-color: #000;
169
}
170

    
171
#overlay_default {
172
  opacity: 0.6;
173
}
174

    
175
#overlay_macff2 {
176
  background: transparent url(../images/overlay.png) repeat;
177
}
178

    
179
.clearfix:after {
180
  content: ".";
181
  display: block;
182
  height: 0;
183
  clear: both;
184
  visibility: hidden;
185
}
186

    
187
* html>body .clearfix {
188
  display: inline;
189
  width: 100%;
190
}
191

    
192
* html .clearfix {
193
  /* Hides from IE-mac \*/
194
  height: 1%;
195
  /* End hide from IE-mac */
196
}
197

    
198

    
199
/* Image location mod */
200
#bottomNavClose {
201
  display: block;
202
  background: url(../images/close.gif) left no-repeat;
203
  margin-top: 33px;
204
  float: right;
205
  padding-top: 0.7em;
206
  height: 26px;
207
  width: 26px;
208
}
209

    
210
#bottomNavClose:hover {
211
  background-position: right;
212
}
213

    
214
#loadingLink {
215
  display: block;
216
  background: url(../images/loading.gif) no-repeat;
217
  width: 32px;
218
  height: 32px;
219
}
220

    
221
#bottomNavZoom {
222
  display: none;
223
  background: url(../images/expand.gif) no-repeat;
224
  width: 34px;
225
  height: 34px;
226
  position: relative;
227
  left: 30px;
228
  float: right;
229
}
230

    
231
#bottomNavZoomOut {
232
  display: none;
233
  background: url(../images/contract.gif) no-repeat;
234
  width: 34px;
235
  height: 34px;
236
  position: relative;
237
  left: 30px;
238
  float: right;
239
}
240

    
241
#lightshowPlay {
242
  margin-top: 42px;
243
  float: right;
244
  margin-right: 5px;
245
  margin-bottom: 1px;
246
  height: 20px;
247
  width: 20px;
248
  background: url(../images/play.png) no-repeat;
249
}
250

    
251
#lightshowPause {
252
  margin-top: 42px;
253
  float: right;
254
  margin-right: 5px;
255
  margin-bottom: 1px;
256
  height: 20px;
257
  width: 20px;
258
  background: url(../images/pause.png) no-repeat;
259
}
260

    
261
.lightbox2-alt-layout-data #bottomNavClose,
262
.lightbox2-alt-layout #bottomNavClose {
263
  margin-top: 93px;
264
}
265
.lightbox2-alt-layout-data #bottomNavZoom,
266
.lightbox2-alt-layout-data #bottomNavZoomOut,
267
.lightbox2-alt-layout #bottomNavZoom,
268
.lightbox2-alt-layout #bottomNavZoomOut {
269
  margin-top: 93px;
270
}
271
.lightbox2-alt-layout-data #lightshowPlay,
272
.lightbox2-alt-layout-data #lightshowPause,
273
.lightbox2-alt-layout #lightshowPlay,
274
.lightbox2-alt-layout #lightshowPause {
275
  margin-top: 102px;
276
}
277

    
278
.lightbox_hide_image {
279
  display: none;
280
}
281

    
282
#lightboxImage {
283
  -ms-interpolation-mode: bicubic;
284
}