Projet

Général

Profil

Paste
Télécharger (3,47 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / lightbox2 / css / lightbox_alt.css @ 87dbc3bf

1
/* $Id: lightbox_alt.css,v 1.1.4.22 2010/09/22 10:47:15 snpower Exp $ */
2
/**
3
 * Based on a design created by Nicolas Borda:
4
 * http://www.ipwa.net/assets/myslimbox/
5
 */
6

    
7
#lightbox {
8
  position: absolute;
9
  top: 40px;
10
  left: 0;
11
  width: 100%;
12
  z-index: 100;
13
  text-align: center;
14
  line-height: 0;
15
}
16

    
17
#lightbox a img {
18
  border: none;
19
}
20

    
21
#outerImageContainer {
22
  position: relative;
23
  background-color: #fff;
24
  width: 250px;
25
  height: 250px;
26
  margin: 0 auto;
27
  min-width: 240px;
28
  overflow: hidden;
29
}
30

    
31
#imageContainer, #frameContainer, #modalContainer {
32
  padding: 10px;
33
}
34

    
35
#modalContainer {
36
  line-height: 1em;
37
  overflow: auto;
38
}
39

    
40
#loading {
41
  height: 25%;
42
  width: 100%;
43
  text-align: center;
44
  line-height: 0;
45
  position: absolute;
46
  top: 40%;
47
  left: 45%;
48
  *left: 0%;
49
}
50

    
51
#hoverNav {
52
  z-index: 10;
53
}
54

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

    
59
#hoverNav a {
60
  outline: none;
61
}
62

    
63
#prevLink, #nextLink {
64
  width: 45px;
65
  height: 45px;
66
  display: block;
67
}
68

    
69
#prevLink {
70
  left: 0;
71
  float: left;
72
  background: url(../images/prev_alt.gif) left 15% no-repeat;
73
}
74

    
75
#nextLink {
76
  right: 0;
77
  float: right;
78
  background: url(../images/next_alt.gif) right 15% no-repeat;
79
}
80

    
81
#prevLink:hover, #prevLink:visited:hover {
82
  background-position: right 15%;
83
}
84

    
85
#nextLink:hover, #nextLink:visited:hover {
86
  background-position: left 15%;
87
}
88

    
89
#imageDataContainer {
90
  font: 10px Verdana, Helvetica, sans-serif;
91
  background-color: #fff;
92
  margin: 0 auto;
93
  line-height: 1.4em;
94
  min-width: 240px;
95
}
96

    
97
#imageData {
98
  padding: 0 10px;
99
}
100

    
101
#imageData #imageDetails {
102
  width: 70%;
103
  margin-right: auto;
104
  margin-left: auto;
105
  text-align: center;
106
}
107

    
108
#imageData #caption {
109
  font-weight: bold;
110
}
111

    
112
#imageData #numberDisplay {
113
  display: block;
114
  padding-bottom: 1.0em;
115
}
116

    
117
#imageData #lightbox2-node-link-text {
118
  display: block;
119
  padding-bottom: 1.0em;
120
}
121

    
122
#lightbox2-overlay {
123
  position: absolute;
124
  top: 0;
125
  left: 0;
126
  z-index: 90;
127
  width: 100%;
128
  height: 500px;
129
  background-color: #000;
130
}
131

    
132
#overlay_default {
133
  opacity: 0.6;
134
}
135

    
136
#overlay_macff2 {
137
  background: transparent url(../images/overlay.png) repeat;
138
}
139

    
140

    
141
.clearfix:after {
142
  content: ".";
143
  display: block;
144
  height: 0;
145
  clear: both;
146
  visibility: hidden;
147
}
148

    
149
* html>body .clearfix {
150
  display: inline;
151
  width: 100%;
152
}
153

    
154
* html .clearfix {
155
  /* Hides from IE-mac \*/
156
  height: 1%;
157
  /* End hide from IE-mac */
158
}
159

    
160

    
161
/* Image location mod */
162
#bottomNavClose {
163
  display: block;
164
  z-index: 200;
165
  background: url(../images/close.gif) left no-repeat;
166
  position: absolute;
167
  top: 0px;
168
  right: 0px;
169
  height: 26px;
170
  width: 26px;
171
}
172

    
173
#bottomNavClose:hover {
174
  background-position: right;
175
}
176

    
177
#loadingLink {
178
  display: block;
179
  background: url(../images/loading.gif) no-repeat;
180
  width: 32px;
181
  height: 32px;
182
}
183

    
184
#bottomNavZoom {
185
  display: block;
186
  background: url(../images/expand.gif) no-repeat;
187
  width: 34px;
188
  height: 34px;
189
  position: absolute;
190
  bottom: 25px;
191
  right: 5px;
192
}
193

    
194
#bottomNavZoomOut {
195
  display: block;
196
  background: url(../images/contract.gif) no-repeat;
197
  width: 34px;
198
  height: 34px;
199
  position: absolute;
200
  bottom: 25px;
201
  right: 5px;
202
}
203

    
204
#lightshowPlay {
205
  background: url(../images/play.png) no-repeat;
206
  display: block;
207
  margin-right: auto;
208
  margin-left: auto;
209
  margin-bottom: 5px;
210
  height: 20px;
211
  width: 20px;
212
}
213

    
214
#lightshowPause {
215
  background: url(../images/pause.png) no-repeat;
216
  display: block;
217
  margin-right: auto;
218
  margin-left: auto;
219
  margin-bottom: 5px;
220
  height: 20px;
221
  width: 20px;
222
}
223

    
224
.lightbox_hide_image {
225
  display: none;
226
}
227

    
228
#lightboxImage {
229
  -ms-interpolation-mode: bicubic;
230
}