Version Description
Download this release
Release Info
Developer | chrisakelley |
Plugin | Photo Gallery by Envira – Responsive Image Gallery for WordPress |
Version | 1.5.9.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.6.2 to 1.5.9.4
- assets/css/admin.css +1 -599
- assets/css/fancybox.css +6 -0
- assets/scss/admin.scss +20 -1
- envira-gallery-lite.php +2 -2
- includes/global/shortcode.php +33 -8
- readme.txt +13 -2
assets/css/admin.css
CHANGED
@@ -1,599 +1 @@
|
|
1 |
-
/* ==========================================================================
|
2 |
-
admin.css loads on all Envira Administration Screens:
|
3 |
-
- WP_List_Tables
|
4 |
-
- Add New
|
5 |
-
- Albums
|
6 |
-
- Settings
|
7 |
-
- NextGEN Import
|
8 |
-
|
9 |
-
Any styles that will be used by all of the above (or are useful to be included
|
10 |
-
for future use) should be added to this file:
|
11 |
-
- Header and Logo
|
12 |
-
- WordPress Red Button
|
13 |
-
========================================================================== */
|
14 |
-
/* ==========================================================================
|
15 |
-
Imports
|
16 |
-
========================================================================== */
|
17 |
-
/* ==========================================================================
|
18 |
-
Variables SCSS
|
19 |
-
========================================================================== */
|
20 |
-
/* ==========================================================================
|
21 |
-
Mixins
|
22 |
-
========================================================================== */
|
23 |
-
/**
|
24 |
-
* Media Query
|
25 |
-
*/
|
26 |
-
/**
|
27 |
-
* Border-Radius
|
28 |
-
*/
|
29 |
-
body.post-type-envira,
|
30 |
-
body.post-type-envira_album {
|
31 |
-
/**
|
32 |
-
* Subheading
|
33 |
-
*/
|
34 |
-
/**
|
35 |
-
* Wrapper
|
36 |
-
*/
|
37 |
-
/* ==========================================================================
|
38 |
-
Button Styles
|
39 |
-
========================================================================== */
|
40 |
-
/* ==========================================================================
|
41 |
-
Thickbox (used for choosing a Default Gallery/Album)
|
42 |
-
========================================================================== */ }
|
43 |
-
body.post-type-envira #wpcontent,
|
44 |
-
body.post-type-envira_album #wpcontent {
|
45 |
-
padding-left: 0; }
|
46 |
-
body.post-type-envira .update-nag,
|
47 |
-
body.post-type-envira_album .update-nag {
|
48 |
-
margin-left: 20px;
|
49 |
-
margin-bottom: 20px; }
|
50 |
-
body.post-type-envira .subheading,
|
51 |
-
body.post-type-envira_album .subheading {
|
52 |
-
background-color: #ffffff;
|
53 |
-
height: 45px;
|
54 |
-
margin-left: -20px; }
|
55 |
-
@media (min-width: 600px) and (max-width: 767px) {
|
56 |
-
body.post-type-envira .subheading,
|
57 |
-
body.post-type-envira_album .subheading {
|
58 |
-
height: auto;
|
59 |
-
padding-bottom: 20px; } }
|
60 |
-
body.post-type-envira .subheading h1,
|
61 |
-
body.post-type-envira_album .subheading h1 {
|
62 |
-
font-size: 20px;
|
63 |
-
font-weight: 400;
|
64 |
-
line-height: 45px;
|
65 |
-
margin: 0 0 0 20px;
|
66 |
-
padding-left: 20px; }
|
67 |
-
body.post-type-envira div.wrap,
|
68 |
-
body.post-type-envira_album div.wrap {
|
69 |
-
margin: 0;
|
70 |
-
/**
|
71 |
-
* Page Title Action (i.e. Add New)
|
72 |
-
*/
|
73 |
-
/**
|
74 |
-
* Screen Title
|
75 |
-
* - h1 used from WordPress 4.3+
|
76 |
-
* - h2 used in WordPress 4.2-
|
77 |
-
*/
|
78 |
-
/**
|
79 |
-
* Tab Panels
|
80 |
-
* - By default, they're hidden and the .envira-active class displays them
|
81 |
-
*/
|
82 |
-
/**
|
83 |
-
* Code Snippets
|
84 |
-
*/ }
|
85 |
-
body.post-type-envira div.wrap a.page-title-action,
|
86 |
-
body.post-type-envira_album div.wrap a.page-title-action {
|
87 |
-
position: relative;
|
88 |
-
top: -55px;
|
89 |
-
left: 185px;
|
90 |
-
/* display: none; */
|
91 |
-
/* Trying To Prevent The "Shift" Upload Page Load Before JS can move the button */
|
92 |
-
/* margin-left: 10px; */
|
93 |
-
/* Change WordPress 4.7 */ }
|
94 |
-
body.post-type-envira div.wrap a.page-title-action:hover,
|
95 |
-
body.post-type-envira_album div.wrap a.page-title-action:hover {
|
96 |
-
background: #95dc5e;
|
97 |
-
border-color: #95dc5e;
|
98 |
-
color: #ffffff; }
|
99 |
-
body.post-type-envira div.wrap > h1,
|
100 |
-
body.post-type-envira div.wrap > h2,
|
101 |
-
body.post-type-envira_album div.wrap > h1,
|
102 |
-
body.post-type-envira_album div.wrap > h2 {
|
103 |
-
margin: 0 0 20px 0;
|
104 |
-
padding: 15px 0 10px;
|
105 |
-
background: #ffffff;
|
106 |
-
font-weight: 600;
|
107 |
-
font-size: 20px;
|
108 |
-
width: 100%;
|
109 |
-
text-indent: 20px;
|
110 |
-
/**
|
111 |
-
* Page Title Action (i.e. Add New)
|
112 |
-
*/
|
113 |
-
/**
|
114 |
-
* Subtitle (search results title)
|
115 |
-
*/ }
|
116 |
-
body.post-type-envira div.wrap > h1 a.page-title-action,
|
117 |
-
body.post-type-envira div.wrap > h2 a.page-title-action,
|
118 |
-
body.post-type-envira_album div.wrap > h1 a.page-title-action,
|
119 |
-
body.post-type-envira_album div.wrap > h2 a.page-title-action {
|
120 |
-
top: -3px;
|
121 |
-
left: auto;
|
122 |
-
/* display: none; */
|
123 |
-
/* Trying To Prevent The "Shift" Upload Page Load Before JS can move the button */
|
124 |
-
/* margin-left: 10px; */
|
125 |
-
/* Change WordPress 4.7 */ }
|
126 |
-
body.post-type-envira div.wrap > h1 a.page-title-action:hover,
|
127 |
-
body.post-type-envira div.wrap > h2 a.page-title-action:hover,
|
128 |
-
body.post-type-envira_album div.wrap > h1 a.page-title-action:hover,
|
129 |
-
body.post-type-envira_album div.wrap > h2 a.page-title-action:hover {
|
130 |
-
background: #95dc5e;
|
131 |
-
border-color: #95dc5e;
|
132 |
-
color: #ffffff; }
|
133 |
-
body.post-type-envira div.wrap > h1 span.subtitle,
|
134 |
-
body.post-type-envira div.wrap > h2 span.subtitle,
|
135 |
-
body.post-type-envira_album div.wrap > h1 span.subtitle,
|
136 |
-
body.post-type-envira_album div.wrap > h2 span.subtitle {
|
137 |
-
float: right; }
|
138 |
-
body.post-type-envira div.wrap .envira-tab,
|
139 |
-
body.post-type-envira_album div.wrap .envira-tab {
|
140 |
-
display: none;
|
141 |
-
/**
|
142 |
-
* Active Tab
|
143 |
-
*/ }
|
144 |
-
body.post-type-envira div.wrap .envira-tab.envira-active,
|
145 |
-
body.post-type-envira_album div.wrap .envira-tab.envira-active {
|
146 |
-
display: block; }
|
147 |
-
body.post-type-envira div.wrap div.envira-code,
|
148 |
-
body.post-type-envira_album div.wrap div.envira-code {
|
149 |
-
position: relative;
|
150 |
-
margin: 0 0 10px 0;
|
151 |
-
/**
|
152 |
-
* Clearfix
|
153 |
-
*/
|
154 |
-
/**
|
155 |
-
* Copy to Clipboard
|
156 |
-
*/ }
|
157 |
-
body.post-type-envira div.wrap div.envira-code:after,
|
158 |
-
body.post-type-envira_album div.wrap div.envira-code:after {
|
159 |
-
content: "";
|
160 |
-
display: table;
|
161 |
-
clear: both; }
|
162 |
-
body.post-type-envira div.wrap div.envira-code code,
|
163 |
-
body.post-type-envira_album div.wrap div.envira-code code {
|
164 |
-
display: block;
|
165 |
-
font-size: 11px;
|
166 |
-
padding: 5px 20px 5px 5px; }
|
167 |
-
body.post-type-envira div.wrap div.envira-code a.envira-clipboard,
|
168 |
-
body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard {
|
169 |
-
position: absolute;
|
170 |
-
top: 5px;
|
171 |
-
right: 5px;
|
172 |
-
color: #23282d; }
|
173 |
-
body.post-type-envira div.wrap div.envira-code a.envira-clipboard span,
|
174 |
-
body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard span {
|
175 |
-
display: block;
|
176 |
-
text-indent: -9999px; }
|
177 |
-
body.post-type-envira .button,
|
178 |
-
body.post-type-envira_album .button {
|
179 |
-
-webkit-border-radius: 2px;
|
180 |
-
-moz-border-radius: 2px;
|
181 |
-
-o-border-radius: 2px;
|
182 |
-
border-radius: 2px;
|
183 |
-
padding: 0 16px 1px;
|
184 |
-
height: 33px;
|
185 |
-
line-height: 30px;
|
186 |
-
text-decoration: none;
|
187 |
-
text-shadow: none;
|
188 |
-
font-weight: 600;
|
189 |
-
-webkit-box-shadow: none;
|
190 |
-
box-shadow: none;
|
191 |
-
/**
|
192 |
-
* Small
|
193 |
-
*/
|
194 |
-
/**
|
195 |
-
* Extra Large
|
196 |
-
* (.button-large is used on publish actions in WordPress, so we don't want to affect that)
|
197 |
-
*/
|
198 |
-
/**
|
199 |
-
* Screen Options
|
200 |
-
* - Don't set a height
|
201 |
-
*/
|
202 |
-
/**
|
203 |
-
* Green Button
|
204 |
-
* - Replaces WordPress' default primary button style
|
205 |
-
*/
|
206 |
-
/**
|
207 |
-
* Red Button
|
208 |
-
*/ }
|
209 |
-
body.post-type-envira .button.button-small,
|
210 |
-
body.post-type-envira_album .button.button-small {
|
211 |
-
padding: 0 8px 1px;
|
212 |
-
line-height: 22px;
|
213 |
-
height: 24px; }
|
214 |
-
body.post-type-envira .button.button-x-large,
|
215 |
-
body.post-type-envira_album .button.button-x-large {
|
216 |
-
padding: 0 32px 1px;
|
217 |
-
line-height: 48px;
|
218 |
-
height: 50px;
|
219 |
-
font-size: 18px;
|
220 |
-
text-transform: uppercase; }
|
221 |
-
@media (min-width: 600px) and (max-width: 767px) {
|
222 |
-
body.post-type-envira .button,
|
223 |
-
body.post-type-envira_album .button {
|
224 |
-
margin-top: 10px; } }
|
225 |
-
body.post-type-envira .button.show-settings,
|
226 |
-
body.post-type-envira_album .button.show-settings {
|
227 |
-
height: auto; }
|
228 |
-
body.post-type-envira .button.button-primary,
|
229 |
-
body.post-type-envira_album .button.button-primary {
|
230 |
-
background: #7cc048;
|
231 |
-
border-color: #7cc048;
|
232 |
-
-webkit-box-shadow: none;
|
233 |
-
box-shadow: none;
|
234 |
-
color: #ffffff; }
|
235 |
-
body.post-type-envira .button.button-primary:hover,
|
236 |
-
body.post-type-envira_album .button.button-primary:hover {
|
237 |
-
background: #95dc5e;
|
238 |
-
border-color: #95dc5e;
|
239 |
-
color: #ffffff; }
|
240 |
-
body.post-type-envira .button.button-danger,
|
241 |
-
body.post-type-envira_album .button.button-danger {
|
242 |
-
background: #e02626;
|
243 |
-
border-color: #e02626;
|
244 |
-
-webkit-box-shadow: none;
|
245 |
-
box-shadow: none;
|
246 |
-
color: #ffffff; }
|
247 |
-
body.post-type-envira .button.button-danger:hover,
|
248 |
-
body.post-type-envira_album .button.button-danger:hover {
|
249 |
-
background: #f85959;
|
250 |
-
border-color: #f85959;
|
251 |
-
color: #ffffff; }
|
252 |
-
body.post-type-envira div#TB_window div.wrap,
|
253 |
-
body.post-type-envira_album div#TB_window div.wrap {
|
254 |
-
margin: 10px 20px 0 2px; }
|
255 |
-
|
256 |
-
/* ==========================================================================
|
257 |
-
Header
|
258 |
-
========================================================================== */
|
259 |
-
#envira-header-temp {
|
260 |
-
position: relative; }
|
261 |
-
|
262 |
-
#envira-header {
|
263 |
-
background-color: #7cc048;
|
264 |
-
height: 120px; }
|
265 |
-
@media (max-width: 599px) {
|
266 |
-
#envira-header {
|
267 |
-
padding-top: 46px; } }
|
268 |
-
#envira-header h1.envira-logo {
|
269 |
-
margin: 0;
|
270 |
-
line-height: 120px;
|
271 |
-
margin-left: 20px; }
|
272 |
-
#envira-header h1.envira-logo img {
|
273 |
-
/**
|
274 |
-
* Image width and height (image is 2x so this ensures it displays correctly)
|
275 |
-
*/
|
276 |
-
max-width: 339px;
|
277 |
-
height: auto;
|
278 |
-
width: 90%;
|
279 |
-
/**
|
280 |
-
* Responsive - ensure the logo doesn't exceed the header dimensions
|
281 |
-
*/ }
|
282 |
-
@media (min-width: 600px) and (max-width: 767px) {
|
283 |
-
#envira-header h1.envira-logo img {
|
284 |
-
width: 90%; } }
|
285 |
-
|
286 |
-
@media (max-width: 599px) {
|
287 |
-
#wpbody {
|
288 |
-
padding-top: 0; } }
|
289 |
-
|
290 |
-
body.post-type-envira_album div.wrap {
|
291 |
-
/**
|
292 |
-
* Page Title Action (i.e. Add New)
|
293 |
-
*/ }
|
294 |
-
body.post-type-envira_album div.wrap a.page-title-action {
|
295 |
-
left: 180px !important; }
|
296 |
-
body.post-type-envira_album div.wrap > h1 a.page-title-action,
|
297 |
-
body.post-type-envira_album div.wrap > h2 a.page-title-action {
|
298 |
-
top: -3px !important;
|
299 |
-
left: auto !important; }
|
300 |
-
|
301 |
-
body.post-php.post-type-envira_album div.wrap {
|
302 |
-
/**
|
303 |
-
* Page Title Action (i.e. Add New)
|
304 |
-
*/ }
|
305 |
-
body.post-php.post-type-envira_album div.wrap a.page-title-action {
|
306 |
-
left: 200px !important; }
|
307 |
-
body.post-php.post-type-envira_album div.wrap > h1 a.page-title-action,
|
308 |
-
body.post-php.post-type-envira_album div.wrap > h2 a.page-title-action {
|
309 |
-
top: -3px !important;
|
310 |
-
left: auto !important; }
|
311 |
-
|
312 |
-
body.post-php.post-type-envira div.wrap {
|
313 |
-
/**
|
314 |
-
* Page Title Action (i.e. Add New)
|
315 |
-
*/ }
|
316 |
-
body.post-php.post-type-envira div.wrap a.page-title-action {
|
317 |
-
left: 215px !important; }
|
318 |
-
body.post-php.post-type-envira div.wrap > h1 a.page-title-action,
|
319 |
-
body.post-php.post-type-envira div.wrap > h2 a.page-title-action {
|
320 |
-
top: -3px !important;
|
321 |
-
left: auto !important; }
|
322 |
-
|
323 |
-
/* ==========================================================================
|
324 |
-
Inline Notices
|
325 |
-
- These are Envira-specific notices with custom styling for e.g. Instagram oAuth,
|
326 |
-
upgrade / upsells.
|
327 |
-
========================================================================== */
|
328 |
-
.envira-notice {
|
329 |
-
position: relative;
|
330 |
-
margin: 0 0 20px 0;
|
331 |
-
padding: 20px;
|
332 |
-
-webkit-border-radius: 2px;
|
333 |
-
-moz-border-radius: 2px;
|
334 |
-
-o-border-radius: 2px;
|
335 |
-
border-radius: 2px;
|
336 |
-
/**
|
337 |
-
* Heading
|
338 |
-
*/
|
339 |
-
/**
|
340 |
-
* Close Button
|
341 |
-
*/
|
342 |
-
/**
|
343 |
-
* Success
|
344 |
-
*/
|
345 |
-
/**
|
346 |
-
* Warning
|
347 |
-
*/
|
348 |
-
/**
|
349 |
-
* Error
|
350 |
-
*/ }
|
351 |
-
.envira-notice p.envira-intro {
|
352 |
-
border: none !important;
|
353 |
-
margin: 0 0 20px 0 !important;
|
354 |
-
padding: 0 !important; }
|
355 |
-
.envira-notice .notice-dismiss {
|
356 |
-
top: 10px;
|
357 |
-
right: 10px;
|
358 |
-
color: #ffffff; }
|
359 |
-
.envira-notice .notice-dismiss:before {
|
360 |
-
color: #ffffff;
|
361 |
-
width: 26px;
|
362 |
-
height: 26px;
|
363 |
-
font-size: 22px; }
|
364 |
-
.envira-notice.success {
|
365 |
-
background: #7cc048;
|
366 |
-
color: #ffffff;
|
367 |
-
border: none;
|
368 |
-
/**
|
369 |
-
* Button background color needs to be adjusted so it displays over the green background
|
370 |
-
* of the success message
|
371 |
-
*/ }
|
372 |
-
.envira-notice.success .button.button-primary {
|
373 |
-
background-color: #95dc5e;
|
374 |
-
border-color: #95dc5e; }
|
375 |
-
.envira-notice.warning {
|
376 |
-
background: #fcf8e3;
|
377 |
-
border: 1px solid #faebcc; }
|
378 |
-
.envira-notice.warning .notice-dismiss {
|
379 |
-
color: #000000; }
|
380 |
-
.envira-notice.warning .notice-dismiss:before {
|
381 |
-
color: #000000; }
|
382 |
-
.envira-notice.error {
|
383 |
-
border-top: 1px solid #dc3232;
|
384 |
-
border-right: 1px solid #dc3232;
|
385 |
-
border-bottom: 1px solid #dc3232; }
|
386 |
-
|
387 |
-
/* ==========================================================================
|
388 |
-
Table, Add, Edit Screens
|
389 |
-
========================================================================== */
|
390 |
-
body.post-type-envira.edit-php div.wrap,
|
391 |
-
body.post-type-envira.post-new-php div.wrap,
|
392 |
-
body.post-type-envira.post-php div.wrap,
|
393 |
-
body.post-type-envira_album.edit-php div.wrap,
|
394 |
-
body.post-type-envira_album.post-new-php div.wrap,
|
395 |
-
body.post-type-envira_album.post-php div.wrap {
|
396 |
-
/**
|
397 |
-
* Remove the margin on the wrapper
|
398 |
-
*/
|
399 |
-
margin: 0;
|
400 |
-
/**
|
401 |
-
* Add margin to notices
|
402 |
-
*/ }
|
403 |
-
body.post-type-envira.edit-php div.wrap > div.error,
|
404 |
-
body.post-type-envira.edit-php div.wrap > div.notice,
|
405 |
-
body.post-type-envira.edit-php div.wrap > div.updated,
|
406 |
-
body.post-type-envira.post-new-php div.wrap > div.error,
|
407 |
-
body.post-type-envira.post-new-php div.wrap > div.notice,
|
408 |
-
body.post-type-envira.post-new-php div.wrap > div.updated,
|
409 |
-
body.post-type-envira.post-php div.wrap > div.error,
|
410 |
-
body.post-type-envira.post-php div.wrap > div.notice,
|
411 |
-
body.post-type-envira.post-php div.wrap > div.updated,
|
412 |
-
body.post-type-envira_album.edit-php div.wrap > div.error,
|
413 |
-
body.post-type-envira_album.edit-php div.wrap > div.notice,
|
414 |
-
body.post-type-envira_album.edit-php div.wrap > div.updated,
|
415 |
-
body.post-type-envira_album.post-new-php div.wrap > div.error,
|
416 |
-
body.post-type-envira_album.post-new-php div.wrap > div.notice,
|
417 |
-
body.post-type-envira_album.post-new-php div.wrap > div.updated,
|
418 |
-
body.post-type-envira_album.post-php div.wrap > div.error,
|
419 |
-
body.post-type-envira_album.post-php div.wrap > div.notice,
|
420 |
-
body.post-type-envira_album.post-php div.wrap > div.updated {
|
421 |
-
margin-left: 20px;
|
422 |
-
margin-right: 20px; }
|
423 |
-
|
424 |
-
/* ==========================================================================
|
425 |
-
Taxonomy Screens
|
426 |
-
========================================================================== */
|
427 |
-
body.post-type-envira.edit-tags-php div.wrap,
|
428 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap {
|
429 |
-
margin: 0;
|
430 |
-
/**
|
431 |
-
* Add margin to notices
|
432 |
-
*/
|
433 |
-
/**
|
434 |
-
* Reduce our global custom button sizes so they align with inputs
|
435 |
-
*/ }
|
436 |
-
body.post-type-envira.edit-tags-php div.wrap > div.error,
|
437 |
-
body.post-type-envira.edit-tags-php div.wrap > div.notice,
|
438 |
-
body.post-type-envira.edit-tags-php div.wrap > div.updated,
|
439 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap > div.error,
|
440 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap > div.notice,
|
441 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap > div.updated {
|
442 |
-
margin-left: 20px;
|
443 |
-
margin-right: 20px; }
|
444 |
-
body.post-type-envira.edit-tags-php div.wrap form.search-form,
|
445 |
-
body.post-type-envira.edit-tags-php div.wrap form#edittag,
|
446 |
-
body.post-type-envira.edit-tags-php div.wrap #col-container,
|
447 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap form.search-form,
|
448 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap form#edittag,
|
449 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap #col-container {
|
450 |
-
/**
|
451 |
-
* Re-establish the left and right margins, so there's spacing between the Admin Menu
|
452 |
-
* and the content
|
453 |
-
*/
|
454 |
-
margin: 0 20px; }
|
455 |
-
body.post-type-envira.edit-tags-php div.wrap .button,
|
456 |
-
body.post-type-envira.taxonomy-envira-tag div.wrap .button {
|
457 |
-
height: 28px;
|
458 |
-
line-height: 26px; }
|
459 |
-
|
460 |
-
/* ==========================================================================
|
461 |
-
Third Party Screens
|
462 |
-
========================================================================== */
|
463 |
-
body.post-type-envira div.wrap {
|
464 |
-
/**
|
465 |
-
* Re-establish the left and right margins, so there's spacing between the Admin Menu
|
466 |
-
* and the content for any third party plugins which add sections / pages within Envira
|
467 |
-
*/
|
468 |
-
margin: 0 20px; }
|
469 |
-
|
470 |
-
/* ==========================================================================
|
471 |
-
Gallery / Album Selection Media Modal
|
472 |
-
========================================================================== */
|
473 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor {
|
474 |
-
/**
|
475 |
-
* Error
|
476 |
-
* - Position below the search bar
|
477 |
-
*/
|
478 |
-
/**
|
479 |
-
* Grid
|
480 |
-
*/
|
481 |
-
/**
|
482 |
-
* Sidebar
|
483 |
-
*/ }
|
484 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.envira-gallery-error {
|
485 |
-
position: absolute;
|
486 |
-
top: 50px;
|
487 |
-
left: 0;
|
488 |
-
right: 300px; }
|
489 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment {
|
490 |
-
width: 20%; }
|
491 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail {
|
492 |
-
/**
|
493 |
-
* Thumbnail Image
|
494 |
-
*/
|
495 |
-
/**
|
496 |
-
* Title
|
497 |
-
*/
|
498 |
-
/**
|
499 |
-
* Shortcode
|
500 |
-
*/ }
|
501 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail img {
|
502 |
-
position: absolute;
|
503 |
-
z-index: 1;
|
504 |
-
top: 0;
|
505 |
-
left: 0;
|
506 |
-
width: 100%;
|
507 |
-
height: 100%;
|
508 |
-
opacity: 0.2; }
|
509 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong {
|
510 |
-
position: absolute;
|
511 |
-
z-index: 2;
|
512 |
-
height: 50%;
|
513 |
-
top: 0;
|
514 |
-
left: 0;
|
515 |
-
right: 0;
|
516 |
-
padding: 10px;
|
517 |
-
text-align: center;
|
518 |
-
overflow: hidden;
|
519 |
-
-webkit-box-sizing: border-box;
|
520 |
-
-moz-box-sizing: border-box;
|
521 |
-
box-sizing: border-box;
|
522 |
-
vertical-align: bottom;
|
523 |
-
background: rgba(0, 0, 0, 0.07);
|
524 |
-
text-shadow: 1px 1px #ddd; }
|
525 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong span {
|
526 |
-
display: block;
|
527 |
-
position: absolute;
|
528 |
-
bottom: 10px;
|
529 |
-
left: 0;
|
530 |
-
right: 0;
|
531 |
-
padding: 0 10px;
|
532 |
-
text-align: center; }
|
533 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail code {
|
534 |
-
position: absolute;
|
535 |
-
z-index: 2;
|
536 |
-
height: 50%;
|
537 |
-
bottom: 0;
|
538 |
-
left: 0;
|
539 |
-
right: 0;
|
540 |
-
padding: 10px;
|
541 |
-
text-align: center;
|
542 |
-
-webkit-box-sizing: border-box;
|
543 |
-
-moz-box-sizing: border-box;
|
544 |
-
box-sizing: border-box;
|
545 |
-
vertical-align: middle;
|
546 |
-
text-shadow: 1px 1px #ddd; }
|
547 |
-
.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.media-sidebar div.settings .name {
|
548 |
-
text-align: left; }
|
549 |
-
|
550 |
-
/* ==========================================================================
|
551 |
-
Responsive
|
552 |
-
========================================================================== */
|
553 |
-
@media screen and (max-width: 640px) {
|
554 |
-
body.post-type-envira,
|
555 |
-
body.post-type-envira_album {
|
556 |
-
/**
|
557 |
-
* Wrapper
|
558 |
-
*/ }
|
559 |
-
body.post-type-envira div.wrap,
|
560 |
-
body.post-type-envira_album div.wrap {
|
561 |
-
/**
|
562 |
-
* Screen Title
|
563 |
-
*/ }
|
564 |
-
body.post-type-envira div.wrap h1,
|
565 |
-
body.post-type-envira_album div.wrap h1 {
|
566 |
-
/**
|
567 |
-
* Allow space for the "Search results for..." text to display, when searching
|
568 |
-
*/
|
569 |
-
padding-bottom: 40px;
|
570 |
-
/**
|
571 |
-
* Subtitle (search results title)
|
572 |
-
*/ }
|
573 |
-
body.post-type-envira div.wrap h1 span.subtitle,
|
574 |
-
body.post-type-envira_album div.wrap h1 span.subtitle {
|
575 |
-
clear: both;
|
576 |
-
width: 100%;
|
577 |
-
padding: 0; } }
|
578 |
-
@media screen and (max-width: 340px) {
|
579 |
-
body.post-type-envira,
|
580 |
-
body.post-type-envira_album {
|
581 |
-
/**
|
582 |
-
* Wrapper
|
583 |
-
*/ }
|
584 |
-
body.post-type-envira div.wrap,
|
585 |
-
body.post-type-envira_album div.wrap {
|
586 |
-
/**
|
587 |
-
* Screen Title
|
588 |
-
*/ }
|
589 |
-
body.post-type-envira div.wrap h1,
|
590 |
-
body.post-type-envira_album div.wrap h1 {
|
591 |
-
text-align: center;
|
592 |
-
/**
|
593 |
-
* Page Title Action (i.e. Add New)
|
594 |
-
*/ }
|
595 |
-
body.post-type-envira div.wrap h1 a.page-title-action,
|
596 |
-
body.post-type-envira_album div.wrap h1 a.page-title-action {
|
597 |
-
display: block;
|
598 |
-
text-align: center;
|
599 |
-
margin: 10px 0 0 0; } }
|
1 |
+
body.post-type-envira #wpcontent,body.post-type-envira_album #wpcontent{padding-left:0}body.post-type-envira .update-nag,body.post-type-envira_album .update-nag{margin-left:20px;margin-bottom:20px}body.post-type-envira .subheading,body.post-type-envira_album .subheading{background-color:#fff;height:45px;margin-left:-20px}@media (min-width: 600px) and (max-width: 767px){body.post-type-envira .subheading,body.post-type-envira_album .subheading{height:auto;padding-bottom:20px}}body.post-type-envira .subheading h1,body.post-type-envira_album .subheading h1{font-size:20px;font-weight:400;line-height:45px;margin:0 0 0 20px;padding-left:20px}body.post-type-envira div.wrap,body.post-type-envira_album div.wrap{margin:0}body.post-type-envira div.wrap a.page-title-action,body.post-type-envira_album div.wrap a.page-title-action{position:relative;top:-55px;left:185px}body.post-type-envira div.wrap a.page-title-action:hover,body.post-type-envira_album div.wrap a.page-title-action:hover{background:#95dc5e;border-color:#95dc5e;color:#fff}body.post-type-envira div.wrap>h1,body.post-type-envira div.wrap>h2,body.post-type-envira_album div.wrap>h1,body.post-type-envira_album div.wrap>h2{margin:0 0 20px 0;padding:15px 0 10px;background:#fff;font-weight:600;font-size:20px;width:100%;text-indent:20px}body.post-type-envira div.wrap>h1 a.page-title-action,body.post-type-envira div.wrap>h2 a.page-title-action,body.post-type-envira_album div.wrap>h1 a.page-title-action,body.post-type-envira_album div.wrap>h2 a.page-title-action{top:-3px;left:auto}body.post-type-envira div.wrap>h1 a.page-title-action:hover,body.post-type-envira div.wrap>h2 a.page-title-action:hover,body.post-type-envira_album div.wrap>h1 a.page-title-action:hover,body.post-type-envira_album div.wrap>h2 a.page-title-action:hover{background:#95dc5e;border-color:#95dc5e;color:#fff}body.post-type-envira div.wrap>h1 span.subtitle,body.post-type-envira div.wrap>h2 span.subtitle,body.post-type-envira_album div.wrap>h1 span.subtitle,body.post-type-envira_album div.wrap>h2 span.subtitle{float:right}body.post-type-envira div.wrap .envira-tab,body.post-type-envira_album div.wrap .envira-tab{display:none}body.post-type-envira div.wrap .envira-tab.envira-active,body.post-type-envira_album div.wrap .envira-tab.envira-active{display:block}body.post-type-envira div.wrap div.envira-code,body.post-type-envira_album div.wrap div.envira-code{position:relative;margin:0 0 10px 0}body.post-type-envira div.wrap div.envira-code:after,body.post-type-envira_album div.wrap div.envira-code:after{content:"";display:table;clear:both}body.post-type-envira div.wrap div.envira-code code,body.post-type-envira_album div.wrap div.envira-code code{display:block;font-size:11px;padding:5px 20px 5px 5px}body.post-type-envira div.wrap div.envira-code a.envira-clipboard,body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard{position:absolute;top:5px;right:5px;color:#23282d}body.post-type-envira div.wrap div.envira-code a.envira-clipboard span,body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard span{display:block;text-indent:-9999px}body.post-type-envira .button,body.post-type-envira_album .button{-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px;padding:0 16px 1px;height:33px;line-height:30px;text-decoration:none;text-shadow:none;font-weight:600;-webkit-box-shadow:none;box-shadow:none}body.post-type-envira .button.button-small,body.post-type-envira_album .button.button-small{padding:0 8px 1px;line-height:22px;height:24px}body.post-type-envira .button.button-x-large,body.post-type-envira_album .button.button-x-large{padding:0 32px 1px;line-height:48px;height:50px;font-size:18px;text-transform:uppercase}@media (min-width: 600px) and (max-width: 767px){body.post-type-envira .button,body.post-type-envira_album .button{margin-top:10px}}body.post-type-envira .button.show-settings,body.post-type-envira_album .button.show-settings{height:auto}body.post-type-envira .button.button-primary,body.post-type-envira_album .button.button-primary{background:#7cc048;border-color:#7cc048;-webkit-box-shadow:none;box-shadow:none;color:#fff}body.post-type-envira .button.button-primary:hover,body.post-type-envira_album .button.button-primary:hover{background:#95dc5e;border-color:#95dc5e;color:#fff}body.post-type-envira .button.button-danger,body.post-type-envira_album .button.button-danger{background:#e02626;border-color:#e02626;-webkit-box-shadow:none;box-shadow:none;color:#fff}body.post-type-envira .button.button-danger:hover,body.post-type-envira_album .button.button-danger:hover{background:#f85959;border-color:#f85959;color:#fff}body.post-type-envira div#TB_window div.wrap,body.post-type-envira_album div#TB_window div.wrap{margin:10px 20px 0 2px}body.post-type-envira.locale-fr-fr div.wrap a.page-title-action,body.post-type-envira_album.locale-fr-fr div.wrap a.page-title-action{left:220px}#envira-header-temp{position:relative}#envira-header{background-color:#7cc048;height:120px}@media (max-width: 599px){#envira-header{padding-top:46px}}#envira-header h1.envira-logo{margin:0;line-height:120px;margin-left:20px}#envira-header h1.envira-logo img{max-width:339px;height:auto;width:90%}@media (min-width: 600px) and (max-width: 767px){#envira-header h1.envira-logo img{width:90%}}@media (max-width: 599px){#wpbody{padding-top:0}}body.post-type-envira_album div.wrap a.page-title-action{left:180px !important}body.post-type-envira_album div.wrap>h1 a.page-title-action,body.post-type-envira_album div.wrap>h2 a.page-title-action{top:-3px !important;left:auto !important}body.post-php.post-type-envira_album div.wrap a.page-title-action{left:200px !important}body.post-php.post-type-envira_album div.wrap>h1 a.page-title-action,body.post-php.post-type-envira_album div.wrap>h2 a.page-title-action{top:-3px !important;left:auto !important}body.post-php.post-type-envira div.wrap a.page-title-action{left:215px !important}body.post-php.post-type-envira div.wrap>h1 a.page-title-action,body.post-php.post-type-envira div.wrap>h2 a.page-title-action{top:-3px !important;left:auto !important}.envira-notice{position:relative;margin:0 0 20px 0;padding:20px;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px}.envira-notice p.envira-intro{border:none !important;margin:0 0 20px 0 !important;padding:0 !important}.envira-notice .notice-dismiss{top:10px;right:10px;color:#fff}.envira-notice .notice-dismiss:before{color:#fff;width:26px;height:26px;font-size:22px}.envira-notice.success{background:#7cc048;color:#fff;border:none}.envira-notice.success .button.button-primary{background-color:#95dc5e;border-color:#95dc5e}.envira-notice.warning{background:#fcf8e3;border:1px solid #faebcc}.envira-notice.warning .notice-dismiss{color:#000}.envira-notice.warning .notice-dismiss:before{color:#000}.envira-notice.error{border-top:1px solid #dc3232;border-right:1px solid #dc3232;border-bottom:1px solid #dc3232}body.post-type-envira.edit-php div.wrap,body.post-type-envira.post-new-php div.wrap,body.post-type-envira.post-php div.wrap,body.post-type-envira_album.edit-php div.wrap,body.post-type-envira_album.post-new-php div.wrap,body.post-type-envira_album.post-php div.wrap{margin:0}body.post-type-envira.edit-php div.wrap>div.error,body.post-type-envira.edit-php div.wrap>div.notice,body.post-type-envira.edit-php div.wrap>div.updated,body.post-type-envira.post-new-php div.wrap>div.error,body.post-type-envira.post-new-php div.wrap>div.notice,body.post-type-envira.post-new-php div.wrap>div.updated,body.post-type-envira.post-php div.wrap>div.error,body.post-type-envira.post-php div.wrap>div.notice,body.post-type-envira.post-php div.wrap>div.updated,body.post-type-envira_album.edit-php div.wrap>div.error,body.post-type-envira_album.edit-php div.wrap>div.notice,body.post-type-envira_album.edit-php div.wrap>div.updated,body.post-type-envira_album.post-new-php div.wrap>div.error,body.post-type-envira_album.post-new-php div.wrap>div.notice,body.post-type-envira_album.post-new-php div.wrap>div.updated,body.post-type-envira_album.post-php div.wrap>div.error,body.post-type-envira_album.post-php div.wrap>div.notice,body.post-type-envira_album.post-php div.wrap>div.updated{margin-left:20px;margin-right:20px}body.post-type-envira.edit-tags-php div.wrap,body.post-type-envira.taxonomy-envira-tag div.wrap{margin:0}body.post-type-envira.edit-tags-php div.wrap>div.error,body.post-type-envira.edit-tags-php div.wrap>div.notice,body.post-type-envira.edit-tags-php div.wrap>div.updated,body.post-type-envira.taxonomy-envira-tag div.wrap>div.error,body.post-type-envira.taxonomy-envira-tag div.wrap>div.notice,body.post-type-envira.taxonomy-envira-tag div.wrap>div.updated{margin-left:20px;margin-right:20px}body.post-type-envira.edit-tags-php div.wrap form.search-form,body.post-type-envira.edit-tags-php div.wrap form#edittag,body.post-type-envira.edit-tags-php div.wrap #col-container,body.post-type-envira.taxonomy-envira-tag div.wrap form.search-form,body.post-type-envira.taxonomy-envira-tag div.wrap form#edittag,body.post-type-envira.taxonomy-envira-tag div.wrap #col-container{margin:0 20px}body.post-type-envira.edit-tags-php div.wrap .button,body.post-type-envira.taxonomy-envira-tag div.wrap .button{height:28px;line-height:26px}body.post-type-envira div.wrap{margin:0 20px}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.envira-gallery-error{position:absolute;top:50px;left:0;right:300px}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment{width:20%}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail img{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0.2}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong{position:absolute;z-index:2;height:50%;top:0;left:0;right:0;padding:10px;text-align:center;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom;background:rgba(0,0,0,0.07);text-shadow:1px 1px #ddd}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong span{display:block;position:absolute;bottom:10px;left:0;right:0;padding:0 10px;text-align:center}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail code{position:absolute;z-index:2;height:50%;bottom:0;left:0;right:0;padding:10px;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:middle;text-shadow:1px 1px #ddd}.media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.media-sidebar div.settings .name{text-align:left}@media screen and (max-width: 640px){body.post-type-envira div.wrap h1,body.post-type-envira_album div.wrap h1{padding-bottom:40px}body.post-type-envira div.wrap h1 span.subtitle,body.post-type-envira_album div.wrap h1 span.subtitle{clear:both;width:100%;padding:0}}@media screen and (max-width: 340px){body.post-type-envira div.wrap h1,body.post-type-envira_album div.wrap h1{text-align:center}body.post-type-envira div.wrap h1 a.page-title-action,body.post-type-envira_album div.wrap h1 a.page-title-action{display:block;text-align:center;margin:10px 0 0 0}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/css/fancybox.css
CHANGED
@@ -302,6 +302,12 @@ body.envira-touch #envirabox-right {
|
|
302 |
padding: 0 0 0 15px;
|
303 |
}
|
304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
/* IE6 */
|
306 |
|
307 |
.envirabox-ie6 #envirabox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/envirabox/fancy_close.png', sizingMethod='scale'); }
|
302 |
padding: 0 0 0 15px;
|
303 |
}
|
304 |
|
305 |
+
/* UPDATED FOR TWENTY-SEVENTEEN */
|
306 |
+
|
307 |
+
#envirabox-title-float-wrap tr {
|
308 |
+
border-bottom: 0;
|
309 |
+
}
|
310 |
+
|
311 |
/* IE6 */
|
312 |
|
313 |
.envirabox-ie6 #envirabox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/envirabox/fancy_close.png', sizingMethod='scale'); }
|
assets/scss/admin.scss
CHANGED
@@ -63,7 +63,7 @@ body.post-type-envira_album {
|
|
63 |
a.page-title-action {
|
64 |
position: relative;
|
65 |
top: -55px;
|
66 |
-
left: 185px;
|
67 |
&:hover {
|
68 |
background: $primary_button_color_hover;
|
69 |
border-color: $primary_button_color_hover;
|
@@ -259,6 +259,25 @@ body.post-type-envira_album {
|
|
259 |
}
|
260 |
}
|
261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
/* ==========================================================================
|
263 |
Header
|
264 |
========================================================================== */
|
63 |
a.page-title-action {
|
64 |
position: relative;
|
65 |
top: -55px;
|
66 |
+
left: 185px; /* default - English */
|
67 |
&:hover {
|
68 |
background: $primary_button_color_hover;
|
69 |
border-color: $primary_button_color_hover;
|
259 |
}
|
260 |
}
|
261 |
|
262 |
+
/* ==========================================================================
|
263 |
+
Language Specific
|
264 |
+
========================================================================== */
|
265 |
+
body.post-type-envira.locale-fr-fr,
|
266 |
+
body.post-type-envira_album.locale-fr-fr {
|
267 |
+
/**
|
268 |
+
* Wrapper
|
269 |
+
*/
|
270 |
+
div.wrap {
|
271 |
+
/**
|
272 |
+
* Page Title Action (i.e. Add New)
|
273 |
+
*/
|
274 |
+
a.page-title-action {
|
275 |
+
left: 220px;
|
276 |
+
}
|
277 |
+
}
|
278 |
+
}
|
279 |
+
|
280 |
+
|
281 |
/* ==========================================================================
|
282 |
Header
|
283 |
========================================================================== */
|
envira-gallery-lite.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://enviragallery.com
|
8 |
-
* Version: 1.5.6.
|
9 |
* Text Domain: envira-gallery
|
10 |
*
|
11 |
* Envira Gallery is free software: you can redistribute it and/or modify
|
@@ -53,7 +53,7 @@ class Envira_Gallery_Lite {
|
|
53 |
*
|
54 |
* @var string
|
55 |
*/
|
56 |
-
public $version = '1.5.6.
|
57 |
|
58 |
/**
|
59 |
* The name of the plugin.
|
5 |
* Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://enviragallery.com
|
8 |
+
* Version: 1.5.6.4
|
9 |
* Text Domain: envira-gallery
|
10 |
*
|
11 |
* Envira Gallery is free software: you can redistribute it and/or modify
|
53 |
*
|
54 |
* @var string
|
55 |
*/
|
56 |
+
public $version = '1.5.6.4';
|
57 |
|
58 |
/**
|
59 |
* The name of the plugin.
|
includes/global/shortcode.php
CHANGED
@@ -1484,9 +1484,16 @@ class Envira_Gallery_Shortcode {
|
|
1484 |
continue;
|
1485 |
}
|
1486 |
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1490 |
break;
|
1491 |
|
1492 |
}
|
@@ -1522,10 +1529,8 @@ class Envira_Gallery_Shortcode {
|
|
1522 |
$height = $this->get_config( 'crop_height', $data );
|
1523 |
$match = false;
|
1524 |
|
1525 |
-
usort($image_sizes,
|
1526 |
-
|
1527 |
-
});
|
1528 |
-
|
1529 |
foreach( $image_sizes as $num ) {
|
1530 |
|
1531 |
$num['width'] = (int) $num['width'];
|
@@ -1549,7 +1554,27 @@ class Envira_Gallery_Shortcode {
|
|
1549 |
return '';
|
1550 |
|
1551 |
}
|
1552 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1553 |
public function get_image_sizes(){
|
1554 |
|
1555 |
global $_wp_additional_image_sizes;
|
1484 |
continue;
|
1485 |
}
|
1486 |
|
1487 |
+
// Define the $args so at least they exist
|
1488 |
+
$args['width'] = $args['height'] = false;
|
1489 |
+
|
1490 |
+
// We found the image size. Use its dimensions
|
1491 |
+
if ( !empty( $size['width'] ) ) {
|
1492 |
+
$args['width'] = $size['width'];
|
1493 |
+
}
|
1494 |
+
if ( !empty( $size['height'] ) ) {
|
1495 |
+
$args['height'] = $size['height'];
|
1496 |
+
}
|
1497 |
break;
|
1498 |
|
1499 |
}
|
1529 |
$height = $this->get_config( 'crop_height', $data );
|
1530 |
$match = false;
|
1531 |
|
1532 |
+
usort( $image_sizes, array( $this, 'usort_callback' ) );
|
1533 |
+
|
|
|
|
|
1534 |
foreach( $image_sizes as $num ) {
|
1535 |
|
1536 |
$num['width'] = (int) $num['width'];
|
1554 |
return '';
|
1555 |
|
1556 |
}
|
1557 |
+
|
1558 |
+
/**
|
1559 |
+
* Helper function for usort and php 5.3 >.
|
1560 |
+
*
|
1561 |
+
* @access public
|
1562 |
+
* @param mixed $a
|
1563 |
+
* @param mixed $b
|
1564 |
+
* @return void
|
1565 |
+
*/
|
1566 |
+
function usort_callback($a, $b) {
|
1567 |
+
|
1568 |
+
return intval($a['width']) - intval($b['width'] );
|
1569 |
+
|
1570 |
+
}
|
1571 |
+
|
1572 |
+
/**
|
1573 |
+
* get_image_sizes function.
|
1574 |
+
*
|
1575 |
+
* @access public
|
1576 |
+
* @return void
|
1577 |
+
*/
|
1578 |
public function get_image_sizes(){
|
1579 |
|
1580 |
global $_wp_additional_image_sizes;
|
readme.txt
CHANGED
@@ -138,7 +138,8 @@ If you like this plugin, then consider checking out our other projects:
|
|
138 |
|
139 |
* <a href="http://optinmonster.com/" rel="friend" title="OptinMonster">OptinMonster</a> - Get More Email Subscribers
|
140 |
* <a href="http://soliloquywp.com/" rel="friend" title="Soliloquy">Soliloquy</a> - Best WordPress Slider Plugin
|
141 |
-
* <a href="
|
|
|
142 |
|
143 |
Visit <a href="http://www.wpbeginner.com/" rel="friend" title="WPBeginner">WPBeginner</a> to learn from our <a href="http://www.wpbeginner.com/category/wp-tutorials/" rel="friend" title="WordPress Tutorials">WordPress Tutorials</a> and find out about other <a href="http://www.wpbeginner.com/category/plugins/" rel="friend" title="Best WordPress Plugins">best WordPress plugins</a>.
|
144 |
|
@@ -185,7 +186,17 @@ Also, I'm an <a href="https://thomasgriffin.io" rel="me" title="WordPress Develo
|
|
185 |
|
186 |
== Changelog ==
|
187 |
|
188 |
-
= 1.5.6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
* Fix: Improved image selection based on various settings.
|
191 |
* Fix: Minor bug fixes.
|
138 |
|
139 |
* <a href="http://optinmonster.com/" rel="friend" title="OptinMonster">OptinMonster</a> - Get More Email Subscribers
|
140 |
* <a href="http://soliloquywp.com/" rel="friend" title="Soliloquy">Soliloquy</a> - Best WordPress Slider Plugin
|
141 |
+
* <a href="https://wpforms.com" rel="friend" title="WPForms">WPForms</a> - Best WordPress Contact Form Plugin
|
142 |
+
* <a href="https://www.monsterinsights.com" rel="friend" title="MonsterInsights"> MonsterInsights</a> - Best Google Analytics Plugin for WordPress
|
143 |
|
144 |
Visit <a href="http://www.wpbeginner.com/" rel="friend" title="WPBeginner">WPBeginner</a> to learn from our <a href="http://www.wpbeginner.com/category/wp-tutorials/" rel="friend" title="WordPress Tutorials">WordPress Tutorials</a> and find out about other <a href="http://www.wpbeginner.com/category/plugins/" rel="friend" title="Best WordPress Plugins">best WordPress plugins</a>.
|
145 |
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 1.5.6.4 =
|
190 |
+
|
191 |
+
* Fix: CSS issues TwentySeventeen
|
192 |
+
* Fix: Minor bug fixes.
|
193 |
+
|
194 |
+
= 1.5.6.3 =
|
195 |
+
|
196 |
+
* Fix: Fix PHP 5.2 compatibility.
|
197 |
+
|
198 |
+
|
199 |
+
= 1.5.6.2 =
|
200 |
|
201 |
* Fix: Improved image selection based on various settings.
|
202 |
* Fix: Minor bug fixes.
|