1
|
/**
|
2
|
* SqueezeBox - Expandable Lightbox
|
3
|
*
|
4
|
* Allows to open various content as modal,
|
5
|
* centered and animated box.
|
6
|
*
|
7
|
* @version 1.1 rc4
|
8
|
*
|
9
|
* @license MIT-style license
|
10
|
* @author Harald Kirschner <mail [at] digitarald.de>
|
11
|
* @copyright Author
|
12
|
*/
|
13
|
|
14
|
#sbox-overlay {
|
15
|
position: absolute;
|
16
|
background-color: #000;
|
17
|
left: 0px;
|
18
|
top: 0px;
|
19
|
zoom: 1;
|
20
|
}
|
21
|
|
22
|
#sbox-window {
|
23
|
position: absolute;
|
24
|
background-color: #fff;
|
25
|
text-align: left;
|
26
|
overflow: visible;
|
27
|
padding: 10px;
|
28
|
/* invalid values, but looks smoother! */
|
29
|
-moz-border-radius: 3px;
|
30
|
-webkit-border-radius: 3px;
|
31
|
}
|
32
|
|
33
|
#sbox-btn-close {
|
34
|
position: absolute;
|
35
|
width: 30px;
|
36
|
height: 30px;
|
37
|
right: -15px;
|
38
|
top: -15px;
|
39
|
background: url(../images/SqueezeBox/closebox.png) no-repeat center;
|
40
|
border: none;
|
41
|
}
|
42
|
|
43
|
.sbox-window-ie6 #sbox-btn-close {
|
44
|
background-image: url(../images/SqueezeBox/closebox.gif);
|
45
|
}
|
46
|
|
47
|
.sbox-loading #sbox-content {
|
48
|
background-image: url(../images/SqueezeBox/spinner.gif);
|
49
|
background-repeat: no-repeat;
|
50
|
background-position: center;
|
51
|
}
|
52
|
|
53
|
#sbox-content {
|
54
|
clear: both;
|
55
|
overflow: auto;
|
56
|
background-color: #fff;
|
57
|
height: 100%;
|
58
|
width: 100%;
|
59
|
}
|
60
|
|
61
|
.sbox-content-image#sbox-content {
|
62
|
overflow: visible;
|
63
|
}
|
64
|
|
65
|
#sbox-image {
|
66
|
display: block;
|
67
|
}
|
68
|
|
69
|
.sbox-content-image img {
|
70
|
display: block;
|
71
|
width: 100%;
|
72
|
height: 100%;
|
73
|
}
|
74
|
|
75
|
.sbox-content-iframe#sbox-content {
|
76
|
overflow: visible;
|
77
|
}
|
78
|
|
79
|
/* Hides scrollbars */
|
80
|
.body-overlayed {
|
81
|
overflow: hidden;
|
82
|
}
|
83
|
|
84
|
/* Hides flash (Firefox problem) and selects (IE) */
|
85
|
.body-overlayed embed, .body-overlayed object, .body-overlayed select {
|
86
|
visibility: hidden;
|
87
|
}
|
88
|
|
89
|
#sbox-window embed, #sbox-window object, #sbox-window select {
|
90
|
visibility: visible;
|
91
|
}
|
92
|
|
93
|
/* Shadows */
|
94
|
.sbox-bg {
|
95
|
position: absolute;
|
96
|
width: 33px;
|
97
|
height: 40px;
|
98
|
}
|
99
|
|
100
|
.sbox-bg-n {
|
101
|
left: 0;
|
102
|
top: -40px;
|
103
|
width: 100%;
|
104
|
background: url(../images/SqueezeBox/bg_n.png) repeat-x;
|
105
|
}
|
106
|
|
107
|
.sbox-bg-ne {
|
108
|
right: -33px;
|
109
|
top: -40px;
|
110
|
background: url(../images/SqueezeBox/bg_ne.png) no-repeat;
|
111
|
}
|
112
|
|
113
|
.sbox-bg-e {
|
114
|
right: -33px;
|
115
|
top: 0;
|
116
|
height: 100%;
|
117
|
background: url(../images/SqueezeBox/bg_e.png) repeat-y;
|
118
|
}
|
119
|
|
120
|
.sbox-bg-se {
|
121
|
right: -33px;
|
122
|
bottom: -40px;
|
123
|
background: url(../images/SqueezeBox/bg_se.png) no-repeat;
|
124
|
}
|
125
|
|
126
|
.sbox-bg-s {
|
127
|
left: 0;
|
128
|
bottom: -40px;
|
129
|
width: 100%;
|
130
|
background: url(../images/SqueezeBox/bg_s.png) repeat-x;
|
131
|
}
|
132
|
|
133
|
.sbox-bg-sw {
|
134
|
left: -33px;
|
135
|
bottom: -40px;
|
136
|
background: url(../images/SqueezeBox/bg_sw.png) no-repeat;
|
137
|
}
|
138
|
|
139
|
.sbox-bg-w {
|
140
|
left: -33px;
|
141
|
top: 0;
|
142
|
height: 100%;
|
143
|
background: url(../images/SqueezeBox/bg_w.png) repeat-y;
|
144
|
}
|
145
|
|
146
|
.sbox-bg-nw {
|
147
|
left: -33px;
|
148
|
top: -40px;
|
149
|
background: url(../images/SqueezeBox/bg_nw.png) no-repeat;
|
150
|
}
|
151
|
|