Responsive Lightbox & Gallery - Version 1.5.1

Version Description

  • Tweak: Support for multiple custom galleries per page (via gallery-n) in rel
  • Fix: Boolean / subfields bug not saving settings properly
  • Fix: Vimeo videos automatic lightbox not working when query parameters were not set
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Responsive Lightbox & Gallery
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

css/images/bg_fallback.png DELETED
Binary file
css/images/icon_sprite.png DELETED
Binary file
css/images/slider_handles.png DELETED
Binary file
css/images/slider_handles@2x.png DELETED
Binary file
css/images/ui-icons_222222_256x240.png DELETED
Binary file
css/images/ui-icons_454545_256x240.png DELETED
Binary file
css/wp-like-ui-theme.css DELETED
@@ -1,782 +0,0 @@
1
- /*
2
- * jQuery UI CSS Framework 1.8.7
3
- *
4
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
- * Dual licensed under the MIT or GPL Version 2 licenses.
6
- * http://jquery.org/license
7
- *
8
- * http://docs.jquery.com/UI/Theming/API
9
- */
10
-
11
- /* Layout helpers
12
- ----------------------------------*/
13
- .ui-helper-hidden { display: none; }
14
- .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
- .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
- .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
- .ui-helper-clearfix { display: inline-block; }
18
- /* required comment for clearfix to work in Opera \*/
19
- * html .ui-helper-clearfix { height:1%; }
20
- .ui-helper-clearfix { display:block; }
21
- /* end clearfix */
22
- .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
-
24
-
25
- /* Interaction Cues
26
- ----------------------------------*/
27
- .ui-state-disabled { cursor: default !important; }
28
-
29
-
30
- /* Icons
31
- ----------------------------------*/
32
-
33
- /* states and images */
34
- .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
-
36
-
37
- /* Misc visuals
38
- ----------------------------------*/
39
-
40
- /* Overlays */
41
- .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42
-
43
-
44
- /*
45
- * jQuery UI CSS Framework 1.8.7
46
- *
47
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
48
- * Dual licensed under the MIT or GPL Version 2 licenses.
49
- * http://jquery.org/license
50
- *
51
- * http://docs.jquery.com/UI/Theming/API
52
- *
53
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller
54
- */
55
-
56
-
57
- /* Component containers
58
- ----------------------------------*/
59
- .ui-widget { font-family: Arial,sans-serif; font-size: 1.1em; }
60
- .ui-widget .ui-widget { font-size: 1em; }
61
- .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,sans-serif; font-size: 1em; }
62
- .ui-widget-content { border: 1px solid #dfdfdf; background: #ffffff; color: #333333; font-size:12px; }
63
- .ui-widget-content a { color: #333333; }
64
- .ui-widget-header { border: 1px solid #dfdfdf; color: #333333; font-weight: normal; }
65
- .ui-widget-header {
66
- background: #f3f3f3 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
67
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
68
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
69
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
70
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
71
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
72
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
73
- }
74
- .ui-widget-header a { color: #333333; }
75
-
76
- /* Interaction states
77
- ----------------------------------*/
78
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #dfdfdf; font-weight: normal; color: #333333; }
79
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
80
- background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
81
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
82
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
83
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
84
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
85
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
86
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
87
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
88
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
89
- box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
90
- }
91
- .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #333333; text-decoration: none; }
92
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #bbbbbb; font-weight: normal; color: #313131; }
93
- .ui-state-hover a, .ui-state-hover a:hover { color: #313131; text-decoration: none; }
94
- .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
95
- outline: none;
96
- color: #ffffff;
97
- border-color: #21759b #21759b #1e6a8d;
98
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
99
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
100
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
101
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
102
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
103
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
104
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
105
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
106
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
107
- box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
108
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
109
- }
110
- .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #fff; text-decoration: none; }
111
- .ui-widget :active { outline: none; }
112
-
113
- /* Interaction Cues
114
- ----------------------------------*/
115
- .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { border: 1px solid #e6db55; background: #ffffe0; color: #333; }
116
- .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #333; }
117
- .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #cc0000; background: #ffebe8; color: #333; }
118
- .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
119
- .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
120
- .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: normal; }
121
- .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { font-weight: normal; }
122
- .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
123
-
124
- /* Icons
125
- ----------------------------------*/
126
-
127
- /* states and images */
128
- .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
129
- .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
130
- .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
131
- .ui-state-default .ui-icon { background-image: url(images/ui-icons_454545_256x240.png); }
132
- .ui-state-hover .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
133
- .ui-state-focus .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
134
- .ui-state-active .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
135
- .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
136
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon { background: url(images/icon_sprite.png) -16px 0 no-repeat !important; }
137
- .ui-state-highlight .ui-icon, .ui-state-error .ui-icon { margin-top: -1px; }
138
-
139
- /* positioning */
140
- .ui-icon-carat-1-n { background-position: 0 0; }
141
- .ui-icon-carat-1-ne { background-position: -16px 0; }
142
- .ui-icon-carat-1-e { background-position: -32px 0; }
143
- .ui-icon-carat-1-se { background-position: -48px 0; }
144
- .ui-icon-carat-1-s { background-position: -64px 0; }
145
- .ui-icon-carat-1-sw { background-position: -80px 0; }
146
- .ui-icon-carat-1-w { background-position: -96px 0; }
147
- .ui-icon-carat-1-nw { background-position: -112px 0; }
148
- .ui-icon-carat-2-n-s { background-position: -128px 0; }
149
- .ui-icon-carat-2-e-w { background-position: -144px 0; }
150
- .ui-icon-triangle-1-n { background-position: 0 -16px; }
151
- .ui-icon-triangle-1-ne { background-position: -16px -16px; }
152
- .ui-icon-triangle-1-e { background-position: -32px -16px; }
153
- .ui-icon-triangle-1-se { background-position: -48px -16px; }
154
- .ui-icon-triangle-1-s { background-position: -64px -16px; }
155
- .ui-icon-triangle-1-sw { background-position: -80px -16px; }
156
- .ui-icon-triangle-1-w { background-position: -96px -16px; }
157
- .ui-icon-triangle-1-nw { background-position: -112px -16px; }
158
- .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
159
- .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
160
- .ui-icon-arrow-1-n { background-position: 0 -32px; }
161
- .ui-icon-arrow-1-ne { background-position: -16px -32px; }
162
- .ui-icon-arrow-1-e { background-position: -32px -32px; }
163
- .ui-icon-arrow-1-se { background-position: -48px -32px; }
164
- .ui-icon-arrow-1-s { background-position: -64px -32px; }
165
- .ui-icon-arrow-1-sw { background-position: -80px -32px; }
166
- .ui-icon-arrow-1-w { background-position: -96px -32px; }
167
- .ui-icon-arrow-1-nw { background-position: -112px -32px; }
168
- .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
169
- .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
170
- .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
171
- .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
172
- .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
173
- .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
174
- .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
175
- .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
176
- .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
177
- .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
178
- .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
179
- .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
180
- .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
181
- .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
182
- .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
183
- .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
184
- .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
185
- .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
186
- .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
187
- .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
188
- .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
189
- .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
190
- .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
191
- .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
192
- .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
193
- .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
194
- .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
195
- .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
196
- .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
197
- .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
198
- .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
199
- .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
200
- .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
201
- .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
202
- .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
203
- .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
204
- .ui-icon-arrow-4 { background-position: 0 -80px; }
205
- .ui-icon-arrow-4-diag { background-position: -16px -80px; }
206
- .ui-icon-extlink { background-position: -32px -80px; }
207
- .ui-icon-newwin { background-position: -48px -80px; }
208
- .ui-icon-refresh { background-position: -64px -80px; }
209
- .ui-icon-shuffle { background-position: -80px -80px; }
210
- .ui-icon-transfer-e-w { background-position: -96px -80px; }
211
- .ui-icon-transferthick-e-w { background-position: -112px -80px; }
212
- .ui-icon-folder-collapsed { background-position: 0 -96px; }
213
- .ui-icon-folder-open { background-position: -16px -96px; }
214
- .ui-icon-document { background-position: -32px -96px; }
215
- .ui-icon-document-b { background-position: -48px -96px; }
216
- .ui-icon-note { background-position: -64px -96px; }
217
- .ui-icon-mail-closed { background-position: -80px -96px; }
218
- .ui-icon-mail-open { background-position: -96px -96px; }
219
- .ui-icon-suitcase { background-position: -112px -96px; }
220
- .ui-icon-comment { background-position: -128px -96px; }
221
- .ui-icon-person { background-position: -144px -96px; }
222
- .ui-icon-print { background-position: -160px -96px; }
223
- .ui-icon-trash { background-position: -176px -96px; }
224
- .ui-icon-locked { background-position: -192px -96px; }
225
- .ui-icon-unlocked { background-position: -208px -96px; }
226
- .ui-icon-bookmark { background-position: -224px -96px; }
227
- .ui-icon-tag { background-position: -240px -96px; }
228
- .ui-icon-home { background-position: 0 -112px; }
229
- .ui-icon-flag { background-position: -16px -112px; }
230
- .ui-icon-calendar { background-position: -32px -112px; }
231
- .ui-icon-cart { background-position: -48px -112px; }
232
- .ui-icon-pencil { background-position: -64px -112px; }
233
- .ui-icon-clock { background-position: -80px -112px; }
234
- .ui-icon-disk { background-position: -96px -112px; }
235
- .ui-icon-calculator { background-position: -112px -112px; }
236
- .ui-icon-zoomin { background-position: -128px -112px; }
237
- .ui-icon-zoomout { background-position: -144px -112px; }
238
- .ui-icon-search { background-position: -160px -112px; }
239
- .ui-icon-wrench { background-position: -176px -112px; }
240
- .ui-icon-gear { background-position: -192px -112px; }
241
- .ui-icon-heart { background-position: -208px -112px; }
242
- .ui-icon-star { background-position: -224px -112px; }
243
- .ui-icon-link { background-position: -240px -112px; }
244
- .ui-icon-cancel { background-position: 0 -128px; }
245
- .ui-icon-plus { background-position: -16px -128px; }
246
- .ui-icon-plusthick { background-position: -32px -128px; }
247
- .ui-icon-minus { background-position: -48px -128px; }
248
- .ui-icon-minusthick { background-position: -64px -128px; }
249
- .ui-icon-close { background-position: -80px -128px; }
250
- .ui-icon-closethick { background-position: -96px -128px; }
251
- .ui-icon-key { background-position: -112px -128px; }
252
- .ui-icon-lightbulb { background-position: -128px -128px; }
253
- .ui-icon-scissors { background-position: -144px -128px; }
254
- .ui-icon-clipboard { background-position: -160px -128px; }
255
- .ui-icon-copy { background-position: -176px -128px; }
256
- .ui-icon-contact { background-position: -192px -128px; }
257
- .ui-icon-image { background-position: -208px -128px; }
258
- .ui-icon-video { background-position: -224px -128px; }
259
- .ui-icon-script { background-position: -240px -128px; }
260
- .ui-icon-alert { background-position: 0 -144px; }
261
- .ui-icon-info { background: url(images/icon_sprite.png) 0 0 no-repeat !important; }
262
- .ui-icon-notice { background-position: -32px -144px; }
263
- .ui-icon-help { background-position: -48px -144px; }
264
- .ui-icon-check { background-position: -64px -144px; }
265
- .ui-icon-bullet { background-position: -80px -144px; }
266
- .ui-icon-radio-off { background-position: -96px -144px; }
267
- .ui-icon-radio-on { background-position: -112px -144px; }
268
- .ui-icon-pin-w { background-position: -128px -144px; }
269
- .ui-icon-pin-s { background-position: -144px -144px; }
270
- .ui-icon-play { background-position: 0 -160px; }
271
- .ui-icon-pause { background-position: -16px -160px; }
272
- .ui-icon-seek-next { background-position: -32px -160px; }
273
- .ui-icon-seek-prev { background-position: -48px -160px; }
274
- .ui-icon-seek-end { background-position: -64px -160px; }
275
- .ui-icon-seek-start { background-position: -80px -160px; }
276
- /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
277
- .ui-icon-seek-first { background-position: -80px -160px; }
278
- .ui-icon-stop { background-position: -96px -160px; }
279
- .ui-icon-eject { background-position: -112px -160px; }
280
- .ui-icon-volume-off { background-position: -128px -160px; }
281
- .ui-icon-volume-on { background-position: -144px -160px; }
282
- .ui-icon-power { background-position: 0 -176px; }
283
- .ui-icon-signal-diag { background-position: -16px -176px; }
284
- .ui-icon-signal { background-position: -32px -176px; }
285
- .ui-icon-battery-0 { background-position: -48px -176px; }
286
- .ui-icon-battery-1 { background-position: -64px -176px; }
287
- .ui-icon-battery-2 { background-position: -80px -176px; }
288
- .ui-icon-battery-3 { background-position: -96px -176px; }
289
- .ui-icon-circle-plus { background-position: 0 -192px; }
290
- .ui-icon-circle-minus { background-position: -16px -192px; }
291
- .ui-icon-circle-close { background-position: -32px -192px; }
292
- .ui-icon-circle-triangle-e { background-position: -48px -192px; }
293
- .ui-icon-circle-triangle-s { background-position: -64px -192px; }
294
- .ui-icon-circle-triangle-w { background-position: -80px -192px; }
295
- .ui-icon-circle-triangle-n { background-position: -96px -192px; }
296
- .ui-icon-circle-arrow-e { background-position: -112px -192px; }
297
- .ui-icon-circle-arrow-s { background-position: -128px -192px; }
298
- .ui-icon-circle-arrow-w { background-position: -144px -192px; }
299
- .ui-icon-circle-arrow-n { background-position: -160px -192px; }
300
- .ui-icon-circle-zoomin { background-position: -176px -192px; }
301
- .ui-icon-circle-zoomout { background-position: -192px -192px; }
302
- .ui-icon-circle-check { background-position: -208px -192px; }
303
- .ui-icon-circlesmall-plus { background-position: 0 -208px; }
304
- .ui-icon-circlesmall-minus { background-position: -16px -208px; }
305
- .ui-icon-circlesmall-close { background-position: -32px -208px; }
306
- .ui-icon-squaresmall-plus { background-position: -48px -208px; }
307
- .ui-icon-squaresmall-minus { background-position: -64px -208px; }
308
- .ui-icon-squaresmall-close { background-position: -80px -208px; }
309
- .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
310
- .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
311
- .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
312
- .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
313
- .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
314
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
315
-
316
-
317
- /* Misc visuals
318
- ----------------------------------*/
319
-
320
- /* Corner radius */
321
- .ui-corner-tl { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; }
322
- .ui-corner-tr { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
323
- .ui-corner-bl { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
324
- .ui-corner-br { -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
325
- .ui-corner-top { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
326
- .ui-corner-bottom { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
327
- .ui-corner-right { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
328
- .ui-corner-left { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
329
- .ui-corner-all { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
330
-
331
- /* Overlays */
332
- .ui-widget-overlay { background: #262b33; opacity: .70;filter:Alpha(Opacity=70); }
333
- .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #000000; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
334
- * jQuery UI Resizable 1.8.7
335
- *
336
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
337
- * Dual licensed under the MIT or GPL Version 2 licenses.
338
- * http://jquery.org/license
339
- *
340
- * http://docs.jquery.com/UI/Resizable#theming
341
- */
342
- .ui-resizable { position: relative;}
343
- .ui-resizable-handle { position: absolute; font-size: 0.1px; z-index: 999; display: block;}
344
- .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
345
- .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
346
- .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
347
- .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
348
- .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
349
- .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
350
- .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
351
- .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
352
- .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
353
- * jQuery UI Selectable 1.8.7
354
- *
355
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
356
- * Dual licensed under the MIT or GPL Version 2 licenses.
357
- * http://jquery.org/license
358
- *
359
- * http://docs.jquery.com/UI/Selectable#theming
360
- */
361
- .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
362
- /*
363
- * jQuery UI Accordion 1.8.7
364
- *
365
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
366
- * Dual licensed under the MIT or GPL Version 2 licenses.
367
- * http://jquery.org/license
368
- *
369
- * http://docs.jquery.com/UI/Accordion#theming
370
- */
371
- /* IE/Win - Fix animation bug - #4615 */
372
- .ui-accordion { width: 100%; }
373
- .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 0.2em; zoom: 1; height:30px; line-height:30px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
374
- .ui-accordion .ui-accordion-header.ui-state-active { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
375
- .ui-accordion .ui-accordion-content { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
376
- .ui-accordion .ui-accordion-li-fix { display: inline; }
377
- .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
378
- .ui-accordion .ui-accordion-header a { display: block; font-size: 12px; font-weight: normal; padding: 0 .5em 0 1em; }
379
- .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
380
- .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; display:none; }
381
- .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; display: none; zoom: 1; }
382
- .ui-accordion .ui-accordion-content-active { display: block; }/*
383
- * jQuery UI Autocomplete 1.8.7
384
- *
385
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
386
- * Dual licensed under the MIT or GPL Version 2 licenses.
387
- * http://jquery.org/license
388
- *
389
- * http://docs.jquery.com/UI/Autocomplete#theming
390
- */
391
- .ui-autocomplete {
392
- position: absolute; cursor: default; z-index: 3;
393
- -moz-border-radius: 0;
394
- -webkit-border-radius: 0;
395
- border-radius: 0;
396
- -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
397
- -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
398
- box-shadow: 0 1px 5px rgba(0,0,0,0.3);
399
- }
400
-
401
- /* workarounds */
402
- * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
403
-
404
- /*
405
- * jQuery UI Menu 1.8.7
406
- *
407
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
408
- * Dual licensed under the MIT or GPL Version 2 licenses.
409
- * http://jquery.org/license
410
- *
411
- * http://docs.jquery.com/UI/Menu#theming
412
- */
413
- .ui-menu {
414
- list-style:none;
415
- padding: 2px;
416
- margin: 0;
417
- display:block;
418
- float: left;
419
- }
420
- .ui-menu .ui-menu {
421
- margin-top: -3px;
422
- }
423
- .ui-menu .ui-menu-item {
424
- margin:0;
425
- padding: 0;
426
- zoom: 1;
427
- float: left;
428
- clear: left;
429
- width: 100%;
430
- }
431
- .ui-menu .ui-menu-item a {
432
- text-decoration:none;
433
- display:block;
434
- padding:.2em .4em;
435
- line-height:1.5;
436
- zoom:1;
437
- }
438
- .ui-menu .ui-menu-item a.ui-state-hover,
439
- .ui-menu .ui-menu-item a.ui-state-active {
440
- font-weight: normal;
441
- margin: -1px;
442
- background: #5f83b9;
443
- color: #FFFFFF;
444
- text-shadow: 0px 1px 1px #234386;
445
- border-color: #466086;
446
- -moz-border-radius: 0;
447
- -webkit-border-radius: 0;
448
- border-radius: 0;
449
- }
450
- /*
451
- * jQuery UI Button 1.8.7
452
- *
453
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
454
- * Dual licensed under the MIT or GPL Version 2 licenses.
455
- * http://jquery.org/license
456
- *
457
- * http://docs.jquery.com/UI/Button#theming
458
- */
459
- .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; -webkit-user-select: none; -moz-user-select: none; user-select: none; } /* the overflow property removes extra width in IE */
460
- .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
461
- button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
462
- .ui-button-icons-only { width: 3.4em; }
463
- button.ui-button-icons-only { width: 3.7em; }
464
-
465
- /* button animation properties */
466
- .ui-button {
467
- -webkit-transition: -webkit-box-shadow 0.25s ease-in-out;
468
- -moz-transition: -moz-box-shadow 0.25s ease-in-out;
469
- -o-transition: -o-box-shadow 0.25s ease-in-out;
470
- }
471
-
472
- /*states*/
473
- .ui-button.ui-state-hover {
474
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
475
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
476
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
477
- }
478
-
479
- /*button text element */
480
- .ui-button .ui-button-text { display: block; line-height: 23px; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
481
- .ui-button.ui-state-active .ui-button-text { display: block; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); border: 1px solid #21759B #21759B #1E6A8D; }
482
- .ui-button-text-only .ui-button-text { padding: 0 1em; }
483
- .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
484
- .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 1em 0 2.1em; }
485
- .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 2.1em .0 1em; }
486
- .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
487
- /* no icon support for input elements, provide padding by default */
488
- input.ui-button { font-size: 12px; font-weight: normal; padding: 0 1em !important; height: 30px; line-height:30px; }
489
- /*remove submit button internal padding in Firefox*/
490
- input.ui-button::-moz-focus-inner {
491
- border: 0;
492
- padding: 0;
493
- }
494
- /* fix webkits handling of the box model */
495
- @media screen and (-webkit-min-device-pixel-ratio:0) {
496
- input.ui-button {
497
- height: 30px !important;
498
- vertical-align: bottom;
499
- }
500
- }
501
-
502
- /*button icon element(s) */
503
- .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
504
- .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
505
- .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
506
- .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
507
- .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
508
-
509
- /*button sets*/
510
- .ui-buttonset { margin-right: 7px; }
511
- .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
512
- .ui-buttonset .ui-button.ui-state-active { color: #ffffff; border-color: #21759B #21759B #1E6A8D; }
513
- .ui-buttonset .ui-button.ui-state-active {
514
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
515
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
516
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
517
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
518
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
519
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
520
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
521
- -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
522
- -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
523
- box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
524
- }
525
-
526
- /* workarounds */
527
- button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
528
- /*
529
- * jQuery UI Dialog 1.8.7
530
- *
531
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
532
- * Dual licensed under the MIT or GPL Version 2 licenses.
533
- * http://jquery.org/license
534
- *
535
- * http://docs.jquery.com/UI/Dialog#theming
536
- */
537
- .ui-dialog { position: absolute; padding: 0; width: 300px; overflow: hidden; }
538
- .ui-dialog {
539
- -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
540
- -moz-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
541
- box-shadow: 0 2px 12px rgba(0,0,0,0.6);
542
- outline:none;
543
- }
544
- .ui-dialog .ui-dialog-titlebar { padding: 0.7em 1em 0.6em 1em; position: relative; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
545
- .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
546
- .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .8em; top: 60%; width: 16px; margin: -10px 0 0 0; padding: 0; height: 16px; overflow:hidden; border:none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
547
- .ui-dialog .ui-dialog-titlebar-close span { display: block; background: url(images/icon_sprite.png) 0 -16px no-repeat; top:0; left:0; margin:0; }
548
- .ui-dialog .ui-dialog-titlebar-close span.ui-button-text { display:none; }
549
- .ui-dialog .ui-dialog-titlebar-close:hover span { background-position: -16px -16px; }
550
- .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; border:none; background:none; }
551
- .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
552
- .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
553
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
554
- .ui-dialog .ui-dialog-buttonpane button {
555
- margin: .5em .4em .5em 0;
556
- cursor: pointer;
557
- outline: none;
558
- color: #ffffff;
559
- border-color: #21759b #21759b #1e6a8d;
560
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
561
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
562
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
563
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
564
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
565
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
566
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
567
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
568
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
569
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
570
- }
571
- .ui-dialog .ui-dialog-buttonpane .ui-button-text {
572
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
573
- }
574
- .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
575
- .ui-draggable .ui-dialog-titlebar { cursor: move; }
576
- /*
577
- * jQuery UI Slider 1.8.16
578
- *
579
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
580
- * Dual licensed under the MIT or GPL Version 2 licenses.
581
- * http://jquery.org/license
582
- *
583
- * http://docs.jquery.com/UI/Slider#theming
584
- */
585
- .ui-slider { position: relative; text-align: left; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; display: inline-block; *display: inline !important; *zoom: 1; }
586
- .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 17px; height: 21px; cursor: default; background: url(images/slider_handles.png) 0 0 no-repeat; outline: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border: none; }
587
- .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; }
588
- .ui-slider .ui-slider-handle.ui-state-active { background-position: -17px 0; }
589
-
590
- .ui-slider-horizontal { height: 7px; }
591
- .ui-slider-horizontal .ui-slider-handle { top: -5px; margin-left: -.6em; }
592
- .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
593
- .ui-slider-horizontal .ui-slider-range-min { left: 0; }
594
- .ui-slider-horizontal .ui-slider-range-max { right: 0; }
595
-
596
- .ui-slider-vertical { width: 7px; height: 100px; }
597
- .ui-slider-vertical .ui-slider-handle { left: -.4em; margin-left: 0; margin-bottom: -.6em; }
598
- .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
599
- .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
600
- .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
601
- * jQuery UI Tabs 1.8.7
602
- *
603
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
604
- * Dual licensed under the MIT or GPL Version 2 licenses.
605
- * http://jquery.org/license
606
- *
607
- * http://docs.jquery.com/UI/Tabs#theming
608
- */
609
- .ui-tabs { position: relative; zoom: 1; border: 0; background: transparent; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
610
- .ui-tabs .ui-tabs-nav { margin: 0; padding: 0; background: transparent; border-width: 0 0 1px 0; }
611
- .ui-tabs .ui-tabs-nav {
612
- -moz-border-radius: 0;
613
- -webkit-border-radius: 0;
614
- border-radius: 0;
615
- }
616
- .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset; -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;}
617
- .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; font-size: 12px; font-weight: normal; outline: none; }
618
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; background: #fff; border-color: #dfdfdf; }
619
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; outline: none; color:#333; }
620
- .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
621
- .ui-tabs .ui-tabs-panel { display: block; border-width: 0 1px 1px 1px; padding: 1em 1.4em; background: none; }
622
- .ui-tabs .ui-tabs-panel { background: #FFF;
623
- -moz-border-radius: 0;
624
- -webkit-border-radius: 0;
625
- border-radius: 0;
626
- }
627
- .ui-tabs .ui-tabs-hide { display: none !important; }
628
- /*
629
- * jQuery UI Datepicker 1.8.7
630
- *
631
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
632
- * Dual licensed under the MIT or GPL Version 2 licenses.
633
- * http://jquery.org/license
634
- *
635
- * http://docs.jquery.com/UI/Datepicker#theming
636
- */
637
- .ui-datepicker { width: 17em; padding: 0; display: none; border-color: #DDDDDD; }
638
- .ui-datepicker {
639
- -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
640
- -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
641
- box-shadow: 0 4px 8px rgba(0,0,0,0.5);
642
- }
643
- .ui-datepicker .ui-datepicker-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
644
- .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 6px; width: 1.8em; height: 1.8em; }
645
- .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { border: 1px none; }
646
- .ui-datepicker .ui-datepicker-prev { left:2px; }
647
- .ui-datepicker .ui-datepicker-next { right:2px; }
648
- .ui-datepicker .ui-datepicker-prev span { background-position: 0px -32px !important; }
649
- .ui-datepicker .ui-datepicker-next span { background-position: -16px -32px !important; }
650
- .ui-datepicker .ui-datepicker-prev-hover span { background-position: 0px -48px !important; }
651
- .ui-datepicker .ui-datepicker-next-hover span { background-position: -16px -48px !important; }
652
- .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; background: url(images/icon_sprite.png) no-repeat; }
653
- .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
654
- .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
655
- .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
656
- .ui-datepicker select.ui-datepicker-month,
657
- .ui-datepicker select.ui-datepicker-year { width: 49%;}
658
- .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; background:#fff; }
659
- .ui-datepicker.ui-widget-content { background:#fff; }
660
- .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: normal; border: 0; }
661
- .ui-datepicker td { border: 0; padding: 1px; }
662
- .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
663
- .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
664
- .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; width:auto; overflow:visible; height:25px; line-height:22px; padding: 0 10px 1px; }
665
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
666
- .ui-datepicker table .ui-state-highlight { }
667
- .ui-datepicker table .ui-state-hover {
668
- border: 1px solid #dfdfdf;
669
- background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
670
- background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
671
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
672
- background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
673
- background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
674
- background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
675
- background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
676
- -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
677
- -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
678
- box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
679
- }
680
- .ui-datepicker-calendar .ui-state-default { background:none; border-color:#fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
681
- .ui-datepicker-calendar .ui-state-active, .ui-datepicker-calendar .ui-state-active.ui-state-hover {
682
- outline: none;
683
- color: #ffffff;
684
- border-color: #21759b #21759b #1e6a8d;
685
- background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
686
- background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
687
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
688
- background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
689
- background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
690
- background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
691
- background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
692
- -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
693
- -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
694
- box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
695
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
696
- font-weight: normal;
697
- }
698
-
699
- /* with multiple calendars */
700
- .ui-datepicker.ui-datepicker-multi { width:auto; }
701
- .ui-datepicker-multi .ui-datepicker-group { float:left; }
702
- .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
703
- .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
704
- .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
705
- .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
706
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
707
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
708
- .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
709
- .ui-datepicker-row-break { clear:both; width:100%; }
710
-
711
- /* RTL support */
712
- .ui-datepicker-rtl { direction: rtl; }
713
- .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
714
- .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
715
- .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
716
- .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
717
- .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
718
- .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
719
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
720
- .ui-datepicker-rtl .ui-datepicker-group { float:right; }
721
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
722
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
723
-
724
- /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
725
- .ui-datepicker-cover {
726
- display: none; /*sorry for IE5*/
727
- display/**/: block; /*sorry for IE5*/
728
- position: absolute; /*must have*/
729
- z-index: -1; /*must have*/
730
- filter: mask(); /*must have*/
731
- top: -4px; /*must have*/
732
- left: -4px; /*must have*/
733
- width: 200px; /*must have*/
734
- height: 200px; /*must have*/
735
- }
736
- /*
737
- * jQuery UI Progressbar 1.8.16
738
- *
739
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
740
- * Dual licensed under the MIT or GPL Version 2 licenses.
741
- * http://jquery.org/license
742
- *
743
- * http://docs.jquery.com/UI/Progressbar#theming
744
- */
745
- .ui-progressbar { height: 10px; text-align: left; border: 0 none; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset;
746
- }
747
- .ui-progressbar .ui-progressbar-value { margin: -1px; height:100%; border: 0 none; }
748
- .ui-progressbar .ui-progressbar-value { background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset;
749
- }
750
-
751
- /* Extra Input Field Styling */
752
- .ui-form textarea, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]) {
753
- color:#333;
754
- padding: 3px;
755
- -webkit-border-radius: 2px;
756
- -moz-border-radius: 2px;
757
- border-radius: 2px;
758
- border: 1px solid #dfdfdf;
759
- outline: none;
760
- -webkit-transition: all 0.25s ease-in-out;
761
- -moz-transition: all 0.25 ease-in-out;
762
- -o-transition: all 0.25s ease-in-out;
763
- -moz-box-sizing: border-box;
764
- font-family:Arial, Helvetica, sans-serif;
765
- font-size:12px;
766
- }
767
- .ui-form textarea:hover, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):hover {
768
- border: 1px solid #dfdfdf;
769
- }
770
- .ui-form textarea:focus, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus {
771
- border: 1px solid #aaa;
772
- -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
773
- -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
774
- box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
775
- }
776
-
777
- /* Time picker Addon */
778
- .ui-timepicker-div .ui-widget-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
779
- .ui-timepicker-div dl { padding:0 7px; }
780
- .ui-timepicker-div dl { border-collapse: collapse; font-size: 0.9em; }
781
- .ui_tpicker_hour_slider, .ui_tpicker_minute_slider { width:100%;}
782
- .ui-timepicker-div .ui-slider .ui-slider-handle { background: url("images/slider_handles.png") no-repeat scroll 0 0 transparent; border:none; }
includes/class-frontend.php CHANGED
@@ -50,7 +50,7 @@ class Responsive_Lightbox_Frontend {
50
* @return mixed
51
*/
52
public function add_videos_lightbox_selector( $content ) {
53
- preg_match_all( '/<a(.*?)href=(?:\'|")((?:(?:http|https):\/\/)?(?:www\.)?(((?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/watch\?.+&v=))([\w-]{11})(?:.+))|(vimeo\.com\/[0-9]{8,})))(?:\'|")(.*?)>/i', $content, $links );
54
55
if ( isset( $links[0] ) ) {
56
foreach ( $links[0] as $id => $link ) {
@@ -69,8 +69,13 @@ class Responsive_Lightbox_Frontend {
69
} else
70
$content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . $this->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
71
}
72
- } else
73
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '"' . $links[6][$id] . ' rel="' . $this->options['settings']['selector'] . '-video-' . $id . '">', $content );
74
}
75
}
76
@@ -176,9 +181,9 @@ class Responsive_Lightbox_Frontend {
176
}
177
178
if ( preg_match( '/<a.*?rel=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
179
- $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . $this->options['settings']['selector'] . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
180
} else {
181
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' rel="' . $this->options['settings']['selector'] . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . '>', $content );
182
}
183
}
184
}
50
* @return mixed
51
*/
52
public function add_videos_lightbox_selector( $content ) {
53
+ preg_match_all( '/<a(.*?)href=(?:\'|")((?:(?:http|https):\/\/)?(?:www\.)?(((?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/watch\?.+&v=))([\w-]{11})(?:.+))|(vimeo\.com\/[0-9]*)))(?:\'|")(.*?)>/i', $content, $links );
54
55
if ( isset( $links[0] ) ) {
56
foreach ( $links[0] as $id => $link ) {
69
} else
70
$content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . $this->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
71
}
72
+ } else {
73
+ // swipebox video fix
74
+ if ( $this->options['settings']['script'] === 'swipebox' && strpos( $links[2][$id], 'vimeo') !== false ) {
75
+ $links[2][$id] = $links[2][$id] . '?width=' . $this->options['configuration']['swipebox']['video_max_width'];
76
+ }
77
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '" rel="' . $this->options['settings']['selector'] . '-video-' . $id . '">', $content );
78
+ }
79
}
80
}
81
181
}
182
183
if ( preg_match( '/<a.*?rel=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
184
+ $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
185
} else {
186
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . '>', $content );
187
}
188
}
189
}
includes/class-settings.php CHANGED
@@ -986,7 +986,7 @@ class Responsive_Lightbox_Settings {
986
987
case ( 'boolean' ) :
988
989
- $html .= '<label class="cb-checkbox"><input id="' . $args['id'] . '" type="checkbox" name="' . $args['name'] . '" value="1" ' . checked( true, (bool) $args['value'], false ) . ' />' . $args['label'] . '</label>';
990
break;
991
992
case ( 'radio' ) :
@@ -1164,39 +1164,45 @@ class Responsive_Lightbox_Settings {
1164
if ( $this->settings[$setting_id]['fields'] ) {
1165
1166
foreach ( $this->settings[$setting_id]['fields'] as $field_id => $field ) {
1167
-
1168
if ( $field['type'] === 'multiple' ) {
1169
1170
if ( $field['fields'] ) {
1171
1172
foreach ( $field['fields'] as $subfield_id => $subfield ) {
1173
1174
- switch ( $subfield['type'] ) {
1175
- case 'boolean' :
1176
- $input[$subfield_id] = isset( $input[$subfield_id] );
1177
- break;
1178
-
1179
- default :
1180
- $input[$subfield_id] = isset( $input[$subfield_id] ) ? $this->sanitize_field( $input[$subfield_id], $subfield['type'] ) : $this->defaults[$setting_id][$field_id][$subfield_id];
1181
- break;
1182
- }
1183
1184
}
1185
1186
}
1187
1188
} else {
1189
1190
- switch ( $field['type'] ) {
1191
- case 'boolean' :
1192
- $input[$field_id] = isset( $input[$field_id] );
1193
- break;
1194
-
1195
- default :
1196
- $input[$field_id] = isset( $input[$field_id] ) ? $this->sanitize_field( $input[$field_id], $field['type'] ) : $this->defaults[$setting_id][$field_id];
1197
- break;
1198
- }
1199
1200
}
1201
}
1202
@@ -1220,10 +1226,6 @@ class Responsive_Lightbox_Settings {
1220
add_settings_error( 'reset' . '_' . $this->settings[$setting_id]['prefix'] . '_' . $setting_id, 'settings_restored', __( 'Settings restored to defaults.', 'responsive-lightbox' ), 'updated' );
1221
1222
}
1223
-
1224
- // echo '<pre>'; print_r($this->settings[$setting_id]['prefix']); echo '</pre>';
1225
- // echo '<pre>'; print_r($input); echo '</pre>';
1226
- // echo '<pre>'; print_r($_POST); echo '</pre>';
1227
1228
return $input;
1229
}
986
987
case ( 'boolean' ) :
988
989
+ $html .= '<label class="cb-checkbox"><input id="' . $args['id'] . '" type="checkbox" name="' . $args['name'] . '" value="1" ' . checked( (bool) $args['value'], true, false ) . ' />' . $args['label'] . '</label>';
990
break;
991
992
case ( 'radio' ) :
1164
if ( $this->settings[$setting_id]['fields'] ) {
1165
1166
foreach ( $this->settings[$setting_id]['fields'] as $field_id => $field ) {
1167
+
1168
if ( $field['type'] === 'multiple' ) {
1169
1170
if ( $field['fields'] ) {
1171
1172
foreach ( $field['fields'] as $subfield_id => $subfield ) {
1173
1174
+ // if subfield has parent
1175
+ if ( ! empty( $this->settings[$setting_id]['fields'][$subfield_id]['parent'] ) ) {
1176
+
1177
+ $field_parent = $this->settings[$setting_id]['fields'][$subfield_id]['parent'];
1178
+
1179
+ $input[$field_parent][$zubfield_id] = isset( $input[$field_parent][$subfield_id] ) ? $this->sanitize_field( $input[$field_parent][$subfield_id], $field['type'] ) : ( $field['type'] === 'boolean' ? false : $this->defaults[$setting_id][$field_parent][$subfield_id] );
1180
+
1181
+ } else {
1182
+
1183
+ $input[$subfield_id] = isset( $input[$subfield_id] ) ? $this->sanitize_field( $input[$subfield_id], $subfield['type'] ) : ( $subfield['type'] === 'boolean' ? false : $this->defaults[$setting_id][$field_id][$subfield_id] );
1184
1185
+ }
1186
+
1187
}
1188
1189
}
1190
1191
} else {
1192
1193
+ // if field has parent
1194
+ if ( ! empty( $this->settings[$setting_id]['fields'][$field_id]['parent'] ) ) {
1195
+
1196
+ $field_parent = $this->settings[$setting_id]['fields'][$field_id]['parent'];
1197
+
1198
+ $input[$field_parent][$field_id] = isset( $input[$field_parent][$field_id] ) ? $this->sanitize_field( $input[$field_parent][$field_id], $field['type'] ) : ( $field['type'] === 'boolean' ? false : $this->defaults[$setting_id][$field_parent][$field_id] );
1199
+
1200
+ } else {
1201
+
1202
+ $input[$field_id] = isset( $input[$field_id] ) ? $this->sanitize_field( $input[$field_id], $field['type'] ) : ( $field['type'] === 'boolean' ? false : $this->defaults[$setting_id][$field_id] );
1203
1204
+ }
1205
+
1206
}
1207
}
1208
1226
add_settings_error( 'reset' . '_' . $this->settings[$setting_id]['prefix'] . '_' . $setting_id, 'settings_restored', __( 'Settings restored to defaults.', 'responsive-lightbox' ), 'updated' );
1227
1228
}
1229
1230
return $input;
1231
}
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
4
Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
Requires at least: 4.0
6
Tested up to: 4.2.2
7
- Stable tag: 1.5.0
8
License: MIT License
9
License URI: http://opensource.org/licenses/MIT
10
@@ -67,6 +67,11 @@ No questions yet.
67
68
== Changelog ==
69
70
= 1.5.0 =
71
* New: Revamped User Interface
72
* New: Option to force lightbox for custom WP gallery replacements like Jetpack tiled galleries
@@ -203,6 +208,6 @@ Initial release
203
204
== Upgrade Notice ==
205
206
- = 1.5.0 =
207
- * New: Revamped User Interface
208
- * New: Option to force lightbox for custom WP gallery replacements like Jetpack tiled galleries
4
Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
Requires at least: 4.0
6
Tested up to: 4.2.2
7
+ Stable tag: 1.5.1
8
License: MIT License
9
License URI: http://opensource.org/licenses/MIT
10
67
68
== Changelog ==
69
70
+ = 1.5.1 =
71
+ * Tweak: Support for multiple custom galleries per page (via gallery-n) in rel
72
+ * Fix: Boolean / subfields bug not saving settings properly
73
+ * Fix: Vimeo videos automatic lightbox not working when query parameters were not set
74
+
75
= 1.5.0 =
76
* New: Revamped User Interface
77
* New: Option to force lightbox for custom WP gallery replacements like Jetpack tiled galleries
208
209
== Upgrade Notice ==
210
211
+ = 1.5.1 =
212
+ * Tweak: Support for multiple custom galleries per page (via gallery-n) in rel
213
+ * Fix: Boolean / subfields bug not saving settings properly
responsive-lightbox.php CHANGED
@@ -2,7 +2,7 @@
2
/*
3
Plugin Name: Responsive Lightbox
4
Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
- Version: 1.5.0
6
Author: dFactory
7
Author URI: http://www.dfactory.eu/
8
Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -36,7 +36,7 @@ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-settings.php' );
36
* Responsive Lightbox class.
37
*
38
* @class Responsive_Lightbox
39
- * @version 1.5.0
40
*/
41
class Responsive_Lightbox {
42
@@ -131,7 +131,7 @@ class Responsive_Lightbox {
131
'quit_on_document_click' => true
132
)
133
),
134
- 'version' => '1.5.0'
135
);
136
public $options = array();
137
private static $_instance;
@@ -511,7 +511,7 @@ class Responsive_Lightbox {
511
* Helper: convert value to boolean
512
*/
513
private function get_boolean_value( $option ) {
514
- return ( $option === true ? 1 : 0 );
515
}
516
517
}
2
/*
3
Plugin Name: Responsive Lightbox
4
Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
+ Version: 1.5.1
6
Author: dFactory
7
Author URI: http://www.dfactory.eu/
8
Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
36
* Responsive Lightbox class.
37
*
38
* @class Responsive_Lightbox
39
+ * @version 1.5.1
40
*/
41
class Responsive_Lightbox {
42
131
'quit_on_document_click' => true
132
)
133
),
134
+ 'version' => '1.5.1'
135
);
136
public $options = array();
137
private static $_instance;
511
* Helper: convert value to boolean
512
*/
513
private function get_boolean_value( $option ) {
514
+ return ( $option == true ? 1 : 0 );
515
}
516
517
}