Photo Gallery by Envira – Responsive Image Gallery for WordPress - Version 1.6.1.2

Version Description

  • Fix: Minor bug fixes
Download this release

Release Info

Developer chrisakelley
Plugin Icon 128x128 Photo Gallery by Envira – Responsive Image Gallery for WordPress
Version 1.6.1.2
Comparing to
See all releases

Code changes from version 1.6.1.1 to 1.6.1.2

assets/css/admin.css CHANGED
@@ -1 +1,623 @@
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}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ /* default - English */
91
+ /* display: none; */
92
+ /* Trying To Prevent The "Shift" Upload Page Load Before JS can move the button */
93
+ /* margin-left: 10px; */
94
+ /* Change WordPress 4.7 */ }
95
+ body.post-type-envira div.wrap a.page-title-action:hover,
96
+ body.post-type-envira_album div.wrap a.page-title-action:hover {
97
+ background: #95dc5e;
98
+ border-color: #95dc5e;
99
+ color: #ffffff; }
100
+ body.post-type-envira div.wrap > h1,
101
+ body.post-type-envira div.wrap > h2,
102
+ body.post-type-envira_album div.wrap > h1,
103
+ body.post-type-envira_album div.wrap > h2 {
104
+ margin: 0 0 20px 0;
105
+ padding: 15px 0 10px;
106
+ background: #ffffff;
107
+ font-weight: 600;
108
+ font-size: 20px;
109
+ width: 100%;
110
+ text-indent: 20px;
111
+ /**
112
+ * Page Title Action (i.e. Add New)
113
+ */
114
+ /**
115
+ * Subtitle (search results title)
116
+ */ }
117
+ body.post-type-envira div.wrap > h1 a.page-title-action,
118
+ body.post-type-envira div.wrap > h2 a.page-title-action,
119
+ body.post-type-envira_album div.wrap > h1 a.page-title-action,
120
+ body.post-type-envira_album div.wrap > h2 a.page-title-action {
121
+ top: -3px;
122
+ left: auto;
123
+ /* display: none; */
124
+ /* Trying To Prevent The "Shift" Upload Page Load Before JS can move the button */
125
+ /* margin-left: 10px; */
126
+ /* Change WordPress 4.7 */ }
127
+ body.post-type-envira div.wrap > h1 a.page-title-action:hover,
128
+ body.post-type-envira div.wrap > h2 a.page-title-action:hover,
129
+ body.post-type-envira_album div.wrap > h1 a.page-title-action:hover,
130
+ body.post-type-envira_album div.wrap > h2 a.page-title-action:hover {
131
+ background: #95dc5e;
132
+ border-color: #95dc5e;
133
+ color: #ffffff; }
134
+ body.post-type-envira div.wrap > h1 span.subtitle,
135
+ body.post-type-envira div.wrap > h2 span.subtitle,
136
+ body.post-type-envira_album div.wrap > h1 span.subtitle,
137
+ body.post-type-envira_album div.wrap > h2 span.subtitle {
138
+ float: right; }
139
+ body.post-type-envira div.wrap .envira-tab,
140
+ body.post-type-envira_album div.wrap .envira-tab {
141
+ display: none;
142
+ /**
143
+ * Active Tab
144
+ */ }
145
+ body.post-type-envira div.wrap .envira-tab.envira-active,
146
+ body.post-type-envira_album div.wrap .envira-tab.envira-active {
147
+ display: block; }
148
+ body.post-type-envira div.wrap div.envira-code,
149
+ body.post-type-envira_album div.wrap div.envira-code {
150
+ position: relative;
151
+ margin: 0 0 10px 0;
152
+ /**
153
+ * Clearfix
154
+ */
155
+ /**
156
+ * Copy to Clipboard
157
+ */ }
158
+ body.post-type-envira div.wrap div.envira-code:after,
159
+ body.post-type-envira_album div.wrap div.envira-code:after {
160
+ content: "";
161
+ display: table;
162
+ clear: both; }
163
+ body.post-type-envira div.wrap div.envira-code code,
164
+ body.post-type-envira_album div.wrap div.envira-code code {
165
+ display: block;
166
+ font-size: 11px;
167
+ padding: 5px 20px 5px 5px; }
168
+ body.post-type-envira div.wrap div.envira-code a.envira-clipboard,
169
+ body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard {
170
+ position: absolute;
171
+ top: 5px;
172
+ right: 5px;
173
+ color: #23282d; }
174
+ body.post-type-envira div.wrap div.envira-code a.envira-clipboard span,
175
+ body.post-type-envira_album div.wrap div.envira-code a.envira-clipboard span {
176
+ display: block;
177
+ text-indent: -9999px; }
178
+ body.post-type-envira .button,
179
+ body.post-type-envira_album .button {
180
+ -webkit-border-radius: 2px;
181
+ -moz-border-radius: 2px;
182
+ -o-border-radius: 2px;
183
+ border-radius: 2px;
184
+ padding: 0 16px 1px;
185
+ height: 33px;
186
+ line-height: 30px;
187
+ text-decoration: none;
188
+ text-shadow: none;
189
+ font-weight: 600;
190
+ -webkit-box-shadow: none;
191
+ box-shadow: none;
192
+ /**
193
+ * Small
194
+ */
195
+ /**
196
+ * Extra Large
197
+ * (.button-large is used on publish actions in WordPress, so we don't want to affect that)
198
+ */
199
+ /**
200
+ * Screen Options
201
+ * - Don't set a height
202
+ */
203
+ /**
204
+ * Green Button
205
+ * - Replaces WordPress' default primary button style
206
+ */
207
+ /**
208
+ * Red Button
209
+ */ }
210
+ body.post-type-envira .button.button-small,
211
+ body.post-type-envira_album .button.button-small {
212
+ padding: 0 8px 1px;
213
+ line-height: 22px;
214
+ height: 24px; }
215
+ body.post-type-envira .button.button-x-large,
216
+ body.post-type-envira_album .button.button-x-large {
217
+ padding: 0 32px 1px;
218
+ line-height: 48px;
219
+ height: 50px;
220
+ font-size: 18px;
221
+ text-transform: uppercase; }
222
+ @media (min-width: 600px) and (max-width: 767px) {
223
+ body.post-type-envira .button,
224
+ body.post-type-envira_album .button {
225
+ margin-top: 10px; } }
226
+ body.post-type-envira .button.show-settings,
227
+ body.post-type-envira_album .button.show-settings {
228
+ height: auto; }
229
+ body.post-type-envira .button.button-primary,
230
+ body.post-type-envira_album .button.button-primary {
231
+ background: #7cc048;
232
+ border-color: #7cc048;
233
+ -webkit-box-shadow: none;
234
+ box-shadow: none;
235
+ color: #ffffff; }
236
+ body.post-type-envira .button.button-primary:hover,
237
+ body.post-type-envira_album .button.button-primary:hover {
238
+ background: #95dc5e;
239
+ border-color: #95dc5e;
240
+ color: #ffffff; }
241
+ body.post-type-envira .button.button-danger,
242
+ body.post-type-envira_album .button.button-danger {
243
+ background: #e02626;
244
+ border-color: #e02626;
245
+ -webkit-box-shadow: none;
246
+ box-shadow: none;
247
+ color: #ffffff; }
248
+ body.post-type-envira .button.button-danger:hover,
249
+ body.post-type-envira_album .button.button-danger:hover {
250
+ background: #f85959;
251
+ border-color: #f85959;
252
+ color: #ffffff; }
253
+ body.post-type-envira div#TB_window div.wrap,
254
+ body.post-type-envira_album div#TB_window div.wrap {
255
+ margin: 10px 20px 0 2px; }
256
+
257
+ /* ==========================================================================
258
+ Language Specific
259
+ ========================================================================== */
260
+ body.post-type-envira.locale-fr-fr,
261
+ body.post-type-envira_album.locale-fr-fr {
262
+ /**
263
+ * Wrapper
264
+ */ }
265
+ body.post-type-envira.locale-fr-fr div.wrap,
266
+ body.post-type-envira_album.locale-fr-fr div.wrap {
267
+ /**
268
+ * Page Title Action (i.e. Add New)
269
+ */ }
270
+ body.post-type-envira.locale-fr-fr div.wrap a.page-title-action,
271
+ body.post-type-envira_album.locale-fr-fr div.wrap a.page-title-action {
272
+ left: 220px; }
273
+
274
+ /* ==========================================================================
275
+ Header
276
+ ========================================================================== */
277
+ #envira-header-temp {
278
+ position: relative; }
279
+
280
+ #envira-header {
281
+ background-color: #7cc048;
282
+ height: 120px; }
283
+ @media (max-width: 599px) {
284
+ #envira-header {
285
+ padding-top: 46px; } }
286
+ #envira-header h1.envira-logo {
287
+ margin: 0;
288
+ line-height: 120px;
289
+ margin-left: 20px; }
290
+ #envira-header h1.envira-logo img {
291
+ /**
292
+ * Image width and height (image is 2x so this ensures it displays correctly)
293
+ */
294
+ max-width: 339px;
295
+ height: auto;
296
+ width: 90%;
297
+ /**
298
+ * Responsive - ensure the logo doesn't exceed the header dimensions
299
+ */ }
300
+ @media (min-width: 600px) and (max-width: 767px) {
301
+ #envira-header h1.envira-logo img {
302
+ width: 90%; } }
303
+
304
+ @media (max-width: 599px) {
305
+ #wpbody {
306
+ padding-top: 0; } }
307
+
308
+ body.post-type-envira_album div.wrap {
309
+ /**
310
+ * Page Title Action (i.e. Add New)
311
+ */ }
312
+ body.post-type-envira_album div.wrap a.page-title-action {
313
+ left: 180px !important; }
314
+ body.post-type-envira_album div.wrap > h1 a.page-title-action,
315
+ body.post-type-envira_album div.wrap > h2 a.page-title-action {
316
+ top: -3px !important;
317
+ left: auto !important; }
318
+
319
+ body.post-php.post-type-envira_album div.wrap {
320
+ /**
321
+ * Page Title Action (i.e. Add New)
322
+ */ }
323
+ body.post-php.post-type-envira_album div.wrap a.page-title-action {
324
+ left: 200px !important; }
325
+ body.post-php.post-type-envira_album div.wrap > h1 a.page-title-action,
326
+ body.post-php.post-type-envira_album div.wrap > h2 a.page-title-action {
327
+ top: -3px !important;
328
+ left: auto !important; }
329
+
330
+ body.post-php.post-type-envira div.wrap {
331
+ /**
332
+ * Page Title Action (i.e. Add New)
333
+ */ }
334
+ body.post-php.post-type-envira div.wrap a.page-title-action {
335
+ left: 215px !important; }
336
+ body.post-php.post-type-envira div.wrap > h1 a.page-title-action,
337
+ body.post-php.post-type-envira div.wrap > h2 a.page-title-action {
338
+ top: -3px !important;
339
+ left: auto !important; }
340
+
341
+ /* ==========================================================================
342
+ Inline Notices
343
+ - These are Envira-specific notices with custom styling for e.g. Instagram oAuth,
344
+ upgrade / upsells.
345
+ ========================================================================== */
346
+ .envira-notice {
347
+ position: relative;
348
+ margin: 0 0 20px 0;
349
+ padding: 20px;
350
+ -webkit-border-radius: 2px;
351
+ -moz-border-radius: 2px;
352
+ -o-border-radius: 2px;
353
+ border-radius: 2px;
354
+ /**
355
+ * Heading
356
+ */
357
+ /**
358
+ * Close Button
359
+ */
360
+ /**
361
+ * Success
362
+ */
363
+ /**
364
+ * Warning
365
+ */
366
+ /**
367
+ * Error
368
+ */ }
369
+ .envira-notice p.envira-intro {
370
+ border: none !important;
371
+ margin: 0 0 20px 0 !important;
372
+ padding: 0 !important; }
373
+ .envira-notice .notice-dismiss {
374
+ top: 10px;
375
+ right: 10px;
376
+ color: #ffffff; }
377
+ .envira-notice .notice-dismiss:before {
378
+ color: #ffffff;
379
+ width: 26px;
380
+ height: 26px;
381
+ font-size: 22px; }
382
+ .envira-notice.success {
383
+ background: #7cc048;
384
+ color: #ffffff;
385
+ border: none;
386
+ /**
387
+ * Button background color needs to be adjusted so it displays over the green background
388
+ * of the success message
389
+ */ }
390
+ .envira-notice.success .button.button-primary {
391
+ background-color: #95dc5e;
392
+ border-color: #95dc5e; }
393
+ .envira-notice.warning {
394
+ background: #fcf8e3;
395
+ border: 1px solid #faebcc; }
396
+ .envira-notice.warning .notice-dismiss {
397
+ color: #000000; }
398
+ .envira-notice.warning .notice-dismiss:before {
399
+ color: #000000; }
400
+ .envira-notice.error {
401
+ border-top: 1px solid #dc3232;
402
+ border-right: 1px solid #dc3232;
403
+ border-bottom: 1px solid #dc3232; }
404
+
405
+ /* ==========================================================================
406
+ Table, Add, Edit Screens
407
+ ========================================================================== */
408
+ body.post-type-envira.edit-php div.wrap,
409
+ body.post-type-envira.post-new-php div.wrap,
410
+ body.post-type-envira.post-php div.wrap,
411
+ body.post-type-envira_album.edit-php div.wrap,
412
+ body.post-type-envira_album.post-new-php div.wrap,
413
+ body.post-type-envira_album.post-php div.wrap {
414
+ /**
415
+ * Remove the margin on the wrapper
416
+ */
417
+ margin: 0;
418
+ /**
419
+ * Add margin to notices
420
+ */ }
421
+ body.post-type-envira.edit-php div.wrap > div.error,
422
+ body.post-type-envira.edit-php div.wrap > div.notice,
423
+ body.post-type-envira.edit-php div.wrap > div.updated,
424
+ body.post-type-envira.post-new-php div.wrap > div.error,
425
+ body.post-type-envira.post-new-php div.wrap > div.notice,
426
+ body.post-type-envira.post-new-php div.wrap > div.updated,
427
+ body.post-type-envira.post-php div.wrap > div.error,
428
+ body.post-type-envira.post-php div.wrap > div.notice,
429
+ body.post-type-envira.post-php div.wrap > div.updated,
430
+ body.post-type-envira_album.edit-php div.wrap > div.error,
431
+ body.post-type-envira_album.edit-php div.wrap > div.notice,
432
+ body.post-type-envira_album.edit-php div.wrap > div.updated,
433
+ body.post-type-envira_album.post-new-php div.wrap > div.error,
434
+ body.post-type-envira_album.post-new-php div.wrap > div.notice,
435
+ body.post-type-envira_album.post-new-php div.wrap > div.updated,
436
+ body.post-type-envira_album.post-php div.wrap > div.error,
437
+ body.post-type-envira_album.post-php div.wrap > div.notice,
438
+ body.post-type-envira_album.post-php div.wrap > div.updated {
439
+ margin-left: 20px;
440
+ margin-right: 20px; }
441
+
442
+ /* ==========================================================================
443
+ Taxonomy Screens
444
+ ========================================================================== */
445
+ body.post-type-envira.edit-tags-php div.wrap,
446
+ body.post-type-envira.taxonomy-envira-tag div.wrap {
447
+ margin: 0;
448
+ /**
449
+ * Add margin to notices
450
+ */
451
+ /**
452
+ * Reduce our global custom button sizes so they align with inputs
453
+ */ }
454
+ body.post-type-envira.edit-tags-php div.wrap > div.error,
455
+ body.post-type-envira.edit-tags-php div.wrap > div.notice,
456
+ body.post-type-envira.edit-tags-php div.wrap > div.updated,
457
+ body.post-type-envira.taxonomy-envira-tag div.wrap > div.error,
458
+ body.post-type-envira.taxonomy-envira-tag div.wrap > div.notice,
459
+ body.post-type-envira.taxonomy-envira-tag div.wrap > div.updated {
460
+ margin-left: 20px;
461
+ margin-right: 20px; }
462
+ body.post-type-envira.edit-tags-php div.wrap form.search-form,
463
+ body.post-type-envira.edit-tags-php div.wrap form#edittag,
464
+ body.post-type-envira.edit-tags-php div.wrap #col-container,
465
+ body.post-type-envira.taxonomy-envira-tag div.wrap form.search-form,
466
+ body.post-type-envira.taxonomy-envira-tag div.wrap form#edittag,
467
+ body.post-type-envira.taxonomy-envira-tag div.wrap #col-container {
468
+ /**
469
+ * Re-establish the left and right margins, so there's spacing between the Admin Menu
470
+ * and the content
471
+ */
472
+ margin: 0 20px; }
473
+ body.post-type-envira.edit-tags-php div.wrap .button,
474
+ body.post-type-envira.taxonomy-envira-tag div.wrap .button {
475
+ height: 28px;
476
+ line-height: 26px; }
477
+
478
+ /* ==========================================================================
479
+ Third Party Screens
480
+ ========================================================================== */
481
+ body.post-type-envira div.wrap {
482
+ /**
483
+ * Re-establish the left and right margins, so there's spacing between the Admin Menu
484
+ * and the content for any third party plugins which add sections / pages within Envira
485
+ */
486
+ margin: 0 20px; }
487
+
488
+ /* ==========================================================================
489
+ Gallery / Album Selection Media Modal
490
+ ========================================================================== */
491
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor {
492
+ /**
493
+ * Error
494
+ * - Position below the search bar
495
+ */
496
+ /**
497
+ * Grid
498
+ */
499
+ /**
500
+ * Sidebar
501
+ */ }
502
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.envira-gallery-error {
503
+ position: absolute;
504
+ top: 50px;
505
+ left: 0;
506
+ right: 300px; }
507
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment {
508
+ width: 20%; }
509
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail {
510
+ /**
511
+ * Thumbnail Image
512
+ */
513
+ /**
514
+ * Title
515
+ */
516
+ /**
517
+ * Shortcode
518
+ */ }
519
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail img {
520
+ position: absolute;
521
+ z-index: 1;
522
+ top: 0;
523
+ left: 0;
524
+ width: 100%;
525
+ height: 100%;
526
+ opacity: 0.2; }
527
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong {
528
+ position: absolute;
529
+ z-index: 2;
530
+ height: 50%;
531
+ top: 0;
532
+ left: 0;
533
+ right: 0;
534
+ padding: 10px;
535
+ text-align: center;
536
+ overflow: hidden;
537
+ -webkit-box-sizing: border-box;
538
+ -moz-box-sizing: border-box;
539
+ box-sizing: border-box;
540
+ vertical-align: bottom;
541
+ background: rgba(0, 0, 0, 0.07);
542
+ text-shadow: 1px 1px #ddd; }
543
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail strong span {
544
+ display: block;
545
+ position: absolute;
546
+ bottom: 10px;
547
+ left: 0;
548
+ right: 0;
549
+ padding: 0 10px;
550
+ text-align: center; }
551
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor ul.attachments li.attachment div.attachment-preview div.thumbnail code {
552
+ position: absolute;
553
+ z-index: 2;
554
+ height: 50%;
555
+ bottom: 0;
556
+ left: 0;
557
+ right: 0;
558
+ padding: 10px;
559
+ text-align: center;
560
+ -webkit-box-sizing: border-box;
561
+ -moz-box-sizing: border-box;
562
+ box-sizing: border-box;
563
+ vertical-align: middle;
564
+ text-shadow: 1px 1px #ddd; }
565
+ .media-modal .media-modal-content .media-frame-content .attachments-browser.envira-gallery-editor div.media-sidebar div.settings .name {
566
+ text-align: left; }
567
+
568
+ /* ==========================================================================
569
+ Gallery List
570
+ ========================================================================== */
571
+ @media screen and (max-width: 782px) {
572
+ body.post-type-envira .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
573
+ display: table-cell; } }
574
+ /* ==========================================================================
575
+ Responsive
576
+ ========================================================================== */
577
+ @media screen and (max-width: 640px) {
578
+ body.post-type-envira,
579
+ body.post-type-envira_album {
580
+ /**
581
+ * Wrapper
582
+ */ }
583
+ body.post-type-envira div.wrap,
584
+ body.post-type-envira_album div.wrap {
585
+ /**
586
+ * Screen Title
587
+ */ }
588
+ body.post-type-envira div.wrap h1,
589
+ body.post-type-envira_album div.wrap h1 {
590
+ /**
591
+ * Allow space for the "Search results for..." text to display, when searching
592
+ */
593
+ padding-bottom: 40px;
594
+ /**
595
+ * Subtitle (search results title)
596
+ */ }
597
+ body.post-type-envira div.wrap h1 span.subtitle,
598
+ body.post-type-envira_album div.wrap h1 span.subtitle {
599
+ clear: both;
600
+ width: 100%;
601
+ padding: 0; } }
602
+ @media screen and (max-width: 340px) {
603
+ body.post-type-envira,
604
+ body.post-type-envira_album {
605
+ /**
606
+ * Wrapper
607
+ */ }
608
+ body.post-type-envira div.wrap,
609
+ body.post-type-envira_album div.wrap {
610
+ /**
611
+ * Screen Title
612
+ */ }
613
+ body.post-type-envira div.wrap h1,
614
+ body.post-type-envira_album div.wrap h1 {
615
+ text-align: center;
616
+ /**
617
+ * Page Title Action (i.e. Add New)
618
+ */ }
619
+ body.post-type-envira div.wrap h1 a.page-title-action,
620
+ body.post-type-envira_album div.wrap h1 a.page-title-action {
621
+ display: block;
622
+ text-align: center;
623
+ margin: 10px 0 0 0; } }
assets/css/metabox.css CHANGED
@@ -1 +1,1298 @@
1
- body.post-type-envira #message,body.post-type-envira_album #message{margin:5px 20px 15px 20px}body.post-type-envira #wp-link-wrap,body.post-type-envira_album #wp-link-wrap{z-index:180105 !important}body.post-type-envira #wp-link-backdrop,body.post-type-envira_album #wp-link-backdrop{z-index:160105 !important}form#post.envira-gallery{margin:0 20px}form#post.envira-gallery #poststuff p.envira-intro{margin:0;padding:0 0 30px 0;border-bottom:1px solid #ddd;font-size:16px;font-weight:700}form#post.envira-gallery #poststuff p.envira-intro small{margin:5px 0 0 0;display:block;font-weight:400}form#post.envira-gallery #poststuff p.envira-intro small a{text-decoration:none;font-weight:600}form#post.envira-gallery #poststuff div.envira-video-help{position:relative;z-index:1;width:100%;margin:20px 0 0 0}form#post.envira-gallery #poststuff div.envira-video-help iframe{position:relative;z-index:1;width:100%;height:auto;min-height:300px}form#post.envira-gallery #poststuff div.envira-video-help a.envira-video-close{position:absolute;z-index:2;top:-12px;right:-12px;width:24px;height:24px;line-height:24px;-webkit-border-radius:50%;-moz-border-radius:50%;-o-border-radius:50%;border-radius:50%;background:#f5f5f5;color:#000;text-align:center;text-decoration:none}form#post.envira-gallery #poststuff ul.envira-gallery-images-output{width:100%}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li{position:relative;display:inline-block;width:150px;margin:0 20px 20px 0;padding:0;list-style:none;vertical-align:top;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#f7f7f7}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li img{display:block;width:150px;height:150px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.placeholder-image{display:block;width:148px;height:149px;background:url(images/icons/leaf.svg) center no-repeat;background-size:64px 64px;border-left:1px solid #dfdfdf;border-top:1px solid #dfdfdf;border-right:1px solid #dfdfdf}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta{width:148px;overflow:hidden;text-align:center;border-left:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf;border-right:1px solid #dfdfdf}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title{font-size:12px;font-weight:700;width:138px;height:18px;line-height:18px;margin:8px 5px;overflow:hidden}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint{position:absolute;display:inline-block;bottom:10px;right:10px;width:16px;height:16px;background:#f7f7f7}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint.hidden{display:none}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.additional{display:none;margin:5px 0 0 0;font-weight:400}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check{display:none;position:absolute;right:5px;top:5px;width:24px;height:24px;background-color:#eee;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,0.15);box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,0.15)}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check div.media-modal-icon{display:none;width:15px;height:15px;margin:5px 0 0 5px;background-position:-21px 0}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons{position:absolute;display:block;top:5px;left:5px;width:25px;height:25px;line-height:25px;font-size:18px;outline:none;z-index:20;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-modify-image{background:#0085ba;color:#fff}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-remove-image{left:35px;background:#e02626;color:#fff}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected{width:148px;border:2px solid #7cc048 !important}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check{display:block;background-color:#7cc048;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048;box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check div.media-modal-icon{display:block}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected div.meta{width:146px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.ui-sortable-helper li{position:absolute;top:0;left:0}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li{position:relative;z-index:2;display:block;width:100%;margin:0 0 10px 0;padding:10px 15px;background:#fff;border:1px solid #ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li img{display:inline-block;width:75px;margin-left:45px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta{position:absolute;z-index:1;left:0;display:inline-block;width:100%;padding:0 80px 0 150px;border:none;font-weight:700;text-align:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title{display:block;width:100%;height:auto;font-size:16px;margin:0;padding:0}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title a.hint{display:none}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.additional{display:block}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.check{display:block;position:absolute;left:15px;top:35px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-remove-image{left:auto;top:10px;right:10px}form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-modify-image{left:auto;top:10px;right:40px}form#post.envira-gallery #poststuff #envira-gallery{margin:60px 0 20px 0}form#post.envira-gallery #poststuff #envira-gallery .handlediv,form#post.envira-gallery #poststuff #envira-albums .handlediv{display:none}form#post.envira-gallery #poststuff #envira-gallery .hndle,form#post.envira-gallery #poststuff #envira-albums .hndle{display:none}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper{margin:-56px 0 0 -1px;padding:0;border-bottom:none}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab{display:inline-block;width:49%;margin:0;padding:15px 0;text-align:center;font-size:16px;border-color:#e5e5e5;background:#f5f5f5}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span{display:inline-block;background:url(images/icons/leaf.svg) 0 5px no-repeat;background-size:14px 14px;text-indent:20px}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery{margin-right:-1px}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:hover,form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.envira-active,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:hover,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.envira-active{background:#fff;border-bottom:1px solid #fff}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:focus,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:last-child,form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:last-child{float:right}form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab input[type=radio],form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab input[type=radio]{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside,form#post.envira-gallery #poststuff #envira-albums .inside{margin:0;padding:0}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui{height:210px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area{display:none;border:4px dashed #b4b9be;height:200px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside{margin:0 auto 0 auto}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p{display:block;text-align:center;color:#a0a5aa;position:absolute;top:50%;left:50%;margin:-10px 0 0 -10px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info{display:none;font-size:20px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons{text-align:center;position:relative;top:20px;left:0;margin:0}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button{display:none;position:absolute;margin:0 auto;left:280px;right:0;width:230px;top:115px;text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside{width:520px;margin:50px auto 0 auto}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p{position:relative;top:0;left:0;margin:0}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info{display:block}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons{margin:10px 0 0 0;text-align:left}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar{display:none;width:100%;position:relative;height:10px;width:100%;margin:10px auto;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,0.1)}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner{height:10px;min-width:20px;width:0;background:#aaa;background:rgba(0,0,0,0.2);border-radius:10px;-webkit-transition:width 300ms;-moz-transition:width 300ms;-ms-transition:width 300ms;-o-transition:width 300ms;transition:width 300ms}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status{clear:both;position:absolute;right:0;width:50%;height:30px;margin:12px 0 0 0;text-align:right}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab{padding:20px}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external{text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external p.envira-intro,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external p.envira-intro{margin:0 0 20px 0;padding:0;border:none}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav{margin:0 0 40px 0;text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li{display:inline-block;margin:0 20px 0 0;vertical-align:top}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child{margin:0}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a{float:left;width:110px}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input{display:none}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon{width:110px;height:110px;margin:0 0 10px 0;border:1px solid #ddd;background-size:64px 64px;background-position:center;background-repeat:no-repeat}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title{font-weight:700}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon{background-color:#f7fcf3;border-color:#7cc048}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon{background-image:url(../images/types/fc.png)}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon{background-image:url(../images/types/instagram.png)}form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external a.button.button-x-large,form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external a.button.button-x-large{margin-top:30px}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native{position:relative}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area{z-index:2;min-height:200px;margin:0;padding:20px;border:4px dashed #b4b9be;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area li{cursor:move}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info{position:absolute;top:80px;z-index:1;margin:0 auto;left:0;right:0;text-align:center;color:#a0a5aa;font-size:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span{display:block}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span.click{font-size:18px}form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info small{display:block;margin:5px 0;font-size:14px}form#post.envira-gallery #poststuff #envira-gallery-settings,form#post.envira-gallery #poststuff #envira-albums-settings{background:#f7f7f7}form#post.envira-gallery #poststuff #envira-gallery-settings:after,form#post.envira-gallery #poststuff #envira-albums-settings:after{content:"";display:table;clear:both}form#post.envira-gallery #poststuff #envira-gallery-settings .handlediv,form#post.envira-gallery #poststuff #envira-albums-settings .handlediv{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings .hndle,form#post.envira-gallery #poststuff #envira-albums-settings .hndle{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings .inside,form#post.envira-gallery #poststuff #envira-albums-settings .inside{margin:0;padding:0}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav{width:160px;margin:0;padding:0;border-right:1px solid #ddd}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li{float:left;width:100%;margin:0;padding:0}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a{float:left;width:120px;margin:0 20px;padding:20px 0 20px 25px;text-decoration:none;color:#999;border-bottom:1px solid #ddd;background-position:left center;background-repeat:no-repeat;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;-webkit-transition:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active{width:161px;margin:-1px 0 0 0;padding:20px 20px 20px 45px;text-decoration:none;color:#444;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-right:1px solid #fff;background-color:#fff;background-position:20px center}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:focus,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a{border-bottom:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a:hover,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a:hover{border-bottom:none}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-images a,form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-galleries a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-images a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-galleries a{background-image:url(images/icons/leaf.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-config a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-config a{background-image:url(images/icons/configuration.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-lightbox a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-lightbox a{background-image:url(images/icons/lightbox.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-mobile a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-mobile a{background-image:url(images/icons/mobile.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-breadcrumbs a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-breadcrumbs a{background-image:url(images/icons/breadcrumbs.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-comments a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-comments a{background-image:url(images/icons/comments.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-downloads a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-downloads a{background-image:url(images/icons/downloads.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-exif a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-exif a{background-image:url(images/icons/exif.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pagination a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pagination a{background-image:url(images/icons/pagination.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pinterest a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pinterest a{background-image:url(images/icons/pinterest.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-proofing a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-proofing a{background-image:url(images/icons/proofing.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-printing a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-printing a{background-image:url(images/icons/printing.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-slideshow a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-slideshow a{background-image:url(images/icons/slideshow.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-social a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-social a{background-image:url(images/icons/social.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-tags a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-tags a{background-image:url(images/icons/tags.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-videos a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-videos a{background-image:url(images/icons/video.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-watermarking a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-watermarking a{background-image:url(images/icons/watermark.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-woocommerce a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-woocommerce a{background-image:url(images/icons/woocommerce.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-zoom a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-zoom a{background-image:url(images/icons/zoom.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-misc a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-misc a{background-image:url(images/icons/misc.svg);background-size:16px 16px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs{margin:0 0 0 160px;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff;border-left:1px solid #ddd}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs h2,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs h2{clear:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table{clear:none;margin:0 0 40px 0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table.no-margin,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table.no-margin{margin:0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table th,form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table td,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table th,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table td{padding-top:20px;padding-bottom:20px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table tr.sub-heading th,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table tr.sub-heading th{margin:0;padding:20px 0 0 0;font-style:italic;font-weight:400;font-size:16px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width{display:block;margin:0 0 5px 0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width:first-child,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width:first-child{margin-top:5px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table textarea,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table textarea{width:100%}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table input[type=checkbox],form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table input[type=checkbox]{margin-bottom:2px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table p.description,form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table span.description,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table p.description,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table span.description{font-size:13px;font-style:italic;color:#666}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav{width:100%}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-tab-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-tab-options{margin:20px 0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons{position:absolute;color:#999}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view{right:20px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view{right:50px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.selected,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.selected{color:#23282d}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons span,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons span{display:inline-block;text-indent:-9999px}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-select-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-select-options{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li{cursor:move}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav{width:100%}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options{height:40px;margin:20px 0;position:relative}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add{display:none;position:absolute;top:0;left:0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search{position:absolute;top:0;right:0}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-select-options,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-select-options{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li{cursor:move}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image{display:none}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs:after,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs:after{content:"";display:table;clear:both}form#post.envira-gallery #poststuff #envira-gallery-preview:after{content:"";display:table;clear:both}form#post.envira-gallery #poststuff #envira-gallery-preview button.handlediv{display:none}form#post.envira-gallery #poststuff #envira-gallery-preview h2.hndle{display:none}form#post.envira-gallery #poststuff #envira-gallery-preview .inside{margin:0;padding:20px}.media-modal .edit-attachment-frame .edit-media-header button.right{border-right:1px solid #ddd}.media-modal .uploader-inline a.envira-media-library.button{display:none}.media-modal .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #7cc048;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #7cc048}.media-modal .attachment.details .check{background-color:#7cc048;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048;box-shadow:0 0 0 1px #fff,0 0 0 2px #7cc048}.media-modal ul.attachments.envira-albums-gallery-cover-image{padding:10px}.media-modal ul.attachments.envira-bulk-edit li.attachment{cursor:default}.media-modal ul.attachments.envira-bulk-edit li.attachment .attachment-preview{cursor:default}.media-modal .attachment-details .attachment-info{padding:16px}.media-modal .attachment-details .attachment-info .settings{margin:0;padding:0;border:none}.media-modal .attachment-details .attachment-info .settings .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}.media-modal .attachment-details .attachment-info .settings .setting input[type="text"],.media-modal .attachment-details .attachment-info .settings .setting textarea{display:block;width:100%;min-width:100%;margin:0}.media-modal .attachment-details .attachment-info .settings .setting input[type="checkbox"]{float:left;margin:0 5px 0 0}.media-modal .attachment-details .attachment-info .settings .setting select{margin:0}.media-modal .attachment-details .attachment-info .settings .setting span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px}.media-modal .attachment-details .attachment-info .settings .setting span.description{text-align:left;font-style:normal;font-size:13px;font-style:italic;color:#666}.media-modal .attachment-details .attachment-info .settings .setting div.description{clear:both;float:left;margin:5px 0 0 0;text-align:left;font-size:13px;font-style:italic;color:#666}.media-modal .attachment-details .attachment-info div.actions a.button{display:inline-block}@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){.wp-core-ui a.check .media-modal-icon{background-image:url(../../../../../wp-includes/images/uploader-icons-2x.png) !important;-webkit-background-size:134px 15px;background-size:134px 15px}}@media screen and (max-width: 1100px){form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area{border-color:#d5d5d5}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside{width:100%;margin-top:20px}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons{text-align:center}form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button{left:0;right:0;width:235px;top:145px}}@media screen and (max-width: 768px){form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav{width:60px}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a{width:60px;height:60px;margin:0;padding:0;text-indent:-9999px;background-position:center}form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active{width:60px;height:60px;margin:0;padding:0;text-indent:-9999px;background-position:center}form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs{margin:0 0 0 60px}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ==========================================================================
2
+ metabox.css loads on any Envira Gallery and Album Create/Edit Screen
3
+
4
+ Any styles that will be used by the main Gallery / Album editor screen should be
5
+ added to this file
6
+ ========================================================================== */
7
+ /* ==========================================================================
8
+ Imports
9
+ ========================================================================== */
10
+ /* ==========================================================================
11
+ Variables SCSS
12
+ ========================================================================== */
13
+ /* ==========================================================================
14
+ Mixins
15
+ ========================================================================== */
16
+ /**
17
+ * Media Query
18
+ */
19
+ /**
20
+ * Border-Radius
21
+ */
22
+ /* ==========================================================================
23
+ Messages
24
+ ========================================================================== */
25
+ body.post-type-envira,
26
+ body.post-type-envira_album {
27
+ /**
28
+ * Add left and right margins to ensure the message notification horizontally lines up
29
+ * with the metaboxes
30
+ */ }
31
+ body.post-type-envira #message,
32
+ body.post-type-envira_album #message {
33
+ margin: 5px 20px 15px 20px; }
34
+ body.post-type-envira #wp-link-wrap,
35
+ body.post-type-envira_album #wp-link-wrap {
36
+ z-index: 180105 !important; }
37
+ body.post-type-envira #wp-link-backdrop,
38
+ body.post-type-envira_album #wp-link-backdrop {
39
+ z-index: 160105 !important; }
40
+
41
+ /* ==========================================================================
42
+ Form
43
+ - The envira-gallery class is assigned to the Gallery and Album Add/Edit screens form.
44
+ ========================================================================== */
45
+ form#post.envira-gallery {
46
+ /**
47
+ * Re-establish the left and right margins, so there's spacing between the Admin Menu
48
+ * and the content
49
+ */
50
+ margin: 0 20px;
51
+ /**
52
+ * Defined so we override WordPress' default styles
53
+ */ }
54
+ form#post.envira-gallery #poststuff {
55
+ /* ==========================================================================
56
+ Envira Gallery Shared Styles for Types and Settings
57
+ ========================================================================== */
58
+ /**
59
+ * Intro Text
60
+ */
61
+ /**
62
+ * Help Video
63
+ * - Can be placed inside p.envira-intro by JS, or outside p.envira-intro when
64
+ * viewing the Images tab for a Dynamic or Default Gallery
65
+ */
66
+ /**
67
+ * Image Grid
68
+ * - Used on the Images tab for Default Galleries, as well as the Preview Metabox
69
+ */
70
+ /* ==========================================================================
71
+ Envira Gallery Type
72
+ Envira Album Type
73
+ ========================================================================== */
74
+ /* ==========================================================================
75
+ Envira Albums Drag & Drop Area
76
+ ========================================================================== */
77
+ /* ==========================================================================
78
+ Envira Gallery Settings
79
+ Envira Albums Settings
80
+ ========================================================================== */
81
+ /* ==========================================================================
82
+ Envira Gallery Preview Metabox
83
+ ========================================================================== */ }
84
+ form#post.envira-gallery #poststuff p.envira-intro {
85
+ margin: 0;
86
+ padding: 0 0 30px 0;
87
+ border-bottom: 1px solid #ddd;
88
+ font-size: 16px;
89
+ font-weight: 700; }
90
+ form#post.envira-gallery #poststuff p.envira-intro small {
91
+ margin: 5px 0 0 0;
92
+ display: block;
93
+ font-weight: 400; }
94
+ form#post.envira-gallery #poststuff p.envira-intro small a {
95
+ text-decoration: none;
96
+ font-weight: 600; }
97
+ form#post.envira-gallery #poststuff div.envira-video-help {
98
+ position: relative;
99
+ z-index: 1;
100
+ width: 100%;
101
+ margin: 20px 0 0 0; }
102
+ form#post.envira-gallery #poststuff div.envira-video-help iframe {
103
+ position: relative;
104
+ z-index: 1;
105
+ width: 100%;
106
+ height: auto;
107
+ min-height: 300px; }
108
+ form#post.envira-gallery #poststuff div.envira-video-help a.envira-video-close {
109
+ position: absolute;
110
+ z-index: 2;
111
+ top: -12px;
112
+ right: -12px;
113
+ width: 24px;
114
+ height: 24px;
115
+ line-height: 24px;
116
+ -webkit-border-radius: 50%;
117
+ -moz-border-radius: 50%;
118
+ -o-border-radius: 50%;
119
+ border-radius: 50%;
120
+ background: #f5f5f5;
121
+ color: #000;
122
+ text-align: center;
123
+ text-decoration: none; }
124
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output {
125
+ width: 100%;
126
+ /**
127
+ * List View
128
+ */ }
129
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li {
130
+ position: relative;
131
+ display: inline-block;
132
+ width: 150px;
133
+ margin: 0 20px 20px 0;
134
+ padding: 0;
135
+ list-style: none;
136
+ vertical-align: top;
137
+ -moz-background-clip: padding;
138
+ -webkit-background-clip: padding-box;
139
+ background-clip: padding-box;
140
+ background: #f7f7f7;
141
+ /**
142
+ * If, for some reason, the image doesn't exist or fails to load,
143
+ * the placeholder logo is displayed
144
+ */
145
+ /**
146
+ * Metadata
147
+ */
148
+ /**
149
+ * Tick Icon
150
+ */
151
+ /**
152
+ * Edit / Delete Buttons
153
+ */
154
+ /**
155
+ * Selected state
156
+ */
157
+ /**
158
+ * Multiple selection sorting - stacks images when the user has selected more than one image + dragged them
159
+ */ }
160
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li img {
161
+ display: block;
162
+ width: 150px;
163
+ height: 150px; }
164
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.placeholder-image {
165
+ display: block;
166
+ width: 148px;
167
+ height: 149px;
168
+ background: url(images/icons/leaf.svg) center no-repeat;
169
+ background-size: 64px 64px;
170
+ border-left: 1px solid #dfdfdf;
171
+ border-top: 1px solid #dfdfdf;
172
+ border-right: 1px solid #dfdfdf; }
173
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta {
174
+ width: 148px;
175
+ overflow: hidden;
176
+ text-align: center;
177
+ border-left: 1px solid #dfdfdf;
178
+ border-bottom: 1px solid #dfdfdf;
179
+ border-right: 1px solid #dfdfdf;
180
+ /**
181
+ * Title
182
+ */
183
+ /**
184
+ * Additional metadata
185
+ */ }
186
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title {
187
+ font-size: 12px;
188
+ font-weight: 700;
189
+ width: 138px;
190
+ height: 18px;
191
+ line-height: 18px;
192
+ margin: 8px 5px;
193
+ overflow: hidden;
194
+ /**
195
+ * Hint
196
+ * - Displays the full title on hover
197
+ */ }
198
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint {
199
+ position: absolute;
200
+ display: inline-block;
201
+ bottom: 10px;
202
+ right: 10px;
203
+ width: 16px;
204
+ height: 16px;
205
+ background: #f7f7f7; }
206
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.title a.hint.hidden {
207
+ display: none; }
208
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li div.meta div.additional {
209
+ display: none;
210
+ margin: 5px 0 0 0;
211
+ font-weight: 400; }
212
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check {
213
+ display: none;
214
+ position: absolute;
215
+ right: 5px;
216
+ top: 5px;
217
+ width: 24px;
218
+ height: 24px;
219
+ background-color: #eee;
220
+ -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15);
221
+ box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15); }
222
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.check div.media-modal-icon {
223
+ display: none;
224
+ width: 15px;
225
+ height: 15px;
226
+ margin: 5px 0 0 5px;
227
+ background-position: -21px 0; }
228
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons {
229
+ position: absolute;
230
+ display: block;
231
+ top: 5px;
232
+ left: 5px;
233
+ width: 25px;
234
+ height: 25px;
235
+ line-height: 25px;
236
+ font-size: 18px;
237
+ /* Controls the icon size */
238
+ outline: none;
239
+ z-index: 20;
240
+ border-radius: 2px;
241
+ -moz-border-radius: 2px;
242
+ -webkit-border-radius: 2px; }
243
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-modify-image {
244
+ background: #0085ba;
245
+ color: #ffffff; }
246
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li a.dashicons.envira-gallery-remove-image {
247
+ left: 35px;
248
+ background: #e02626;
249
+ color: #ffffff; }
250
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected {
251
+ width: 148px;
252
+ border: 2px solid #7cc048 !important; }
253
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check {
254
+ display: block;
255
+ background-color: #7cc048;
256
+ -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048;
257
+ box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048; }
258
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected a.check div.media-modal-icon {
259
+ display: block; }
260
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.selected div.meta {
261
+ width: 146px; }
262
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output li.ui-sortable-helper li {
263
+ position: absolute;
264
+ top: 0;
265
+ left: 0; }
266
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li {
267
+ position: relative;
268
+ z-index: 2;
269
+ display: block;
270
+ width: 100%;
271
+ margin: 0 0 10px 0;
272
+ padding: 10px 15px;
273
+ background: #fff;
274
+ border: 1px solid #ddd;
275
+ -webkit-box-sizing: border-box;
276
+ -moz-box-sizing: border-box;
277
+ box-sizing: border-box;
278
+ border-radius: 2px;
279
+ -moz-border-radius: 2px;
280
+ -webkit-border-radius: 2px;
281
+ /**
282
+ * Metadata
283
+ */
284
+ /**
285
+ * Checkbox
286
+ * - Always display
287
+ */ }
288
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li img {
289
+ display: inline-block;
290
+ width: 75px;
291
+ margin-left: 45px; }
292
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta {
293
+ position: absolute;
294
+ z-index: 1;
295
+ left: 0;
296
+ display: inline-block;
297
+ width: 100%;
298
+ padding: 0 80px 0 150px;
299
+ border: none;
300
+ font-weight: 700;
301
+ text-align: left;
302
+ -webkit-box-sizing: border-box;
303
+ -moz-box-sizing: border-box;
304
+ box-sizing: border-box;
305
+ /**
306
+ * Title
307
+ */
308
+ /**
309
+ * Additional metadata
310
+ * - Displayed in list view
311
+ */ }
312
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title {
313
+ display: block;
314
+ width: 100%;
315
+ height: auto;
316
+ font-size: 16px;
317
+ margin: 0;
318
+ padding: 0; }
319
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.title a.hint {
320
+ display: none; }
321
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li div.meta div.additional {
322
+ display: block; }
323
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.check {
324
+ display: block;
325
+ position: absolute;
326
+ left: 15px;
327
+ top: 35px; }
328
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-remove-image {
329
+ left: auto;
330
+ top: 10px;
331
+ right: 10px; }
332
+ form#post.envira-gallery #poststuff ul.envira-gallery-images-output.list li a.envira-gallery-modify-image {
333
+ left: auto;
334
+ top: 10px;
335
+ right: 40px; }
336
+ form#post.envira-gallery #poststuff #envira-gallery {
337
+ margin: 60px 0 20px 0; }
338
+ form#post.envira-gallery #poststuff #envira-gallery,
339
+ form#post.envira-gallery #poststuff #envira-albums {
340
+ /**
341
+ * Hide the title bar of the metabox, so we have a seamless style
342
+ */
343
+ /**
344
+ * Tabs
345
+ * - Move up vertically so they sit above the metabox
346
+ */
347
+ /**
348
+ * Tab Settings
349
+ */ }
350
+ form#post.envira-gallery #poststuff #envira-gallery .handlediv,
351
+ form#post.envira-gallery #poststuff #envira-albums .handlediv {
352
+ display: none; }
353
+ form#post.envira-gallery #poststuff #envira-gallery .hndle,
354
+ form#post.envira-gallery #poststuff #envira-albums .hndle {
355
+ display: none; }
356
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper,
357
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper {
358
+ margin: -56px 0 0 -1px;
359
+ /* The height of the tab */
360
+ padding: 0;
361
+ border-bottom: none;
362
+ /**
363
+ * Increase tab sizes and style
364
+ */ }
365
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab,
366
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab {
367
+ display: inline-block;
368
+ width: 49%;
369
+ margin: 0;
370
+ padding: 15px 0;
371
+ text-align: center;
372
+ font-size: 16px;
373
+ border-color: #e5e5e5;
374
+ /* Matches the metabox border for a seamless UI */
375
+ background: #f5f5f5;
376
+ /**
377
+ * Envira Gallery Icon
378
+ */
379
+ /**
380
+ * External Gallery Tab
381
+ */
382
+ /**
383
+ * Hover and Active States
384
+ */
385
+ /**
386
+ * Focus State
387
+ * - Remove WordPress' blue focus box from tabs
388
+ */
389
+ /**
390
+ * Hides the radio input on a label
391
+ * The radio input will be selected when the label is clicked
392
+ */ }
393
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span,
394
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-native-envira-gallery span {
395
+ display: inline-block;
396
+ background: url(images/icons/leaf.svg) 0 5px no-repeat;
397
+ background-size: 14px 14px;
398
+ text-indent: 20px; }
399
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery,
400
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.nav-tab-external-gallery {
401
+ margin-right: -1px; }
402
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:hover, form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab.envira-active,
403
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:hover,
404
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab.envira-active {
405
+ background: #ffffff;
406
+ border-bottom: 1px solid #ffffff; }
407
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:focus,
408
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:focus {
409
+ -webkit-box-shadow: none;
410
+ -moz-box-shadow: none;
411
+ box-shadow: none; }
412
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab:last-child,
413
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab:last-child {
414
+ float: right; }
415
+ form#post.envira-gallery #poststuff #envira-gallery h2.nav-tab-wrapper .nav-tab input[type=radio],
416
+ form#post.envira-gallery #poststuff #envira-albums h2.nav-tab-wrapper .nav-tab input[type=radio] {
417
+ display: none; }
418
+ form#post.envira-gallery #poststuff #envira-gallery .inside,
419
+ form#post.envira-gallery #poststuff #envira-albums .inside {
420
+ margin: 0;
421
+ padding: 0;
422
+ /**
423
+ * Native Envira Gallery Uploader / Select Files
424
+ * - Styles the pluploader instance to look the way we want it
425
+ * - Also see responsive styles at the end of this file
426
+ */ }
427
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui,
428
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui {
429
+ /* Reserves the space needed for the drag-drop-area, which is loaded using JS */
430
+ height: 210px;
431
+ /**
432
+ * A drag-drop-area div is always output, whether we're on a touch
433
+ * device or not. WordPress will only style this div if its parent
434
+ * has the .drag-drop class (i.e. touch devices won't get any CSS styling)
435
+ *
436
+ * The below CSS ensures that the drag drop area looks consistent
437
+ * regardless of device used, and then adjusts the layout if drag-drop is supported.
438
+ */
439
+ /**
440
+ * Select Files from Other Sources Button
441
+ */
442
+ /**
443
+ * When the uploader supports drag and drop, a .drag-drop
444
+ * class is appended to #drag-drop-area by WordPress
445
+ *
446
+ * We use this to show certain descriptions
447
+ */
448
+ /**
449
+ * Upload Progress Bar
450
+ */ }
451
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area,
452
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area {
453
+ display: none;
454
+ border: 4px dashed #b4b9be;
455
+ height: 200px; }
456
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside,
457
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside {
458
+ margin: 0 auto 0 auto; }
459
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p,
460
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p {
461
+ display: block;
462
+ text-align: center;
463
+ color: #a0a5aa;
464
+ position: absolute;
465
+ top: 50%;
466
+ left: 50%;
467
+ margin: -10px 0 0 -10px;
468
+ /**
469
+ * "Drop Files here"
470
+ */ }
471
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info,
472
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-info {
473
+ display: none;
474
+ font-size: 20px; }
475
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons,
476
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui #drag-drop-area .drag-drop-inside p.drag-drop-buttons {
477
+ text-align: center;
478
+ position: relative;
479
+ top: 20px;
480
+ left: 0;
481
+ margin: 0; }
482
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,
483
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button {
484
+ display: none;
485
+ position: absolute;
486
+ margin: 0 auto;
487
+ left: 280px;
488
+ right: 0;
489
+ width: 230px;
490
+ top: 115px;
491
+ text-align: center; }
492
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,
493
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside {
494
+ width: 520px;
495
+ margin: 50px auto 0 auto; }
496
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p,
497
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p {
498
+ position: relative;
499
+ top: 0;
500
+ left: 0;
501
+ margin: 0; }
502
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info,
503
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-info {
504
+ display: block; }
505
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,
506
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons {
507
+ margin: 10px 0 0 0;
508
+ text-align: left; }
509
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar,
510
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar {
511
+ display: none;
512
+ width: 100%;
513
+ position: relative;
514
+ height: 10px;
515
+ width: 100%;
516
+ margin: 10px auto;
517
+ border-radius: 10px;
518
+ background: #dfdfdf;
519
+ background: rgba(0, 0, 0, 0.1); }
520
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner,
521
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-inner {
522
+ height: 10px;
523
+ min-width: 20px;
524
+ width: 0;
525
+ background: #aaa;
526
+ background: rgba(0, 0, 0, 0.2);
527
+ border-radius: 10px;
528
+ -webkit-transition: width 300ms;
529
+ -moz-transition: width 300ms;
530
+ -ms-transition: width 300ms;
531
+ -o-transition: width 300ms;
532
+ transition: width 300ms; }
533
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status,
534
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status {
535
+ clear: both;
536
+ position: absolute;
537
+ right: 0;
538
+ width: 50%;
539
+ height: 30px;
540
+ margin: 12px 0 0 0;
541
+ text-align: right; }
542
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done,
543
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui .envira-progress-bar .envira-progress-bar-status .done {
544
+ display: none; }
545
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass,
546
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui p.upload-flash-bypass {
547
+ display: none; }
548
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab,
549
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab {
550
+ padding: 20px;
551
+ /**
552
+ * External Gallery Tab Area
553
+ */ }
554
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external,
555
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external {
556
+ text-align: center;
557
+ /**
558
+ * Header
559
+ */
560
+ /**
561
+ * External Gallery Types
562
+ */
563
+ /**
564
+ * Upgrade Button
565
+ */ }
566
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external p.envira-intro,
567
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external p.envira-intro {
568
+ margin: 0 0 20px 0;
569
+ padding: 0;
570
+ border: none; }
571
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav,
572
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav {
573
+ margin: 0 0 40px 0;
574
+ text-align: center; }
575
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li,
576
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li {
577
+ display: inline-block;
578
+ margin: 0 20px 0 0;
579
+ vertical-align: top;
580
+ /**
581
+ * Pro uses a <label> element so the user can select the Gallery Type
582
+ * Lite uses an <a> element so the user can go to the Upgrade URL
583
+ */
584
+ /**
585
+ * Hover State
586
+ * Selected State
587
+ */
588
+ /**
589
+ * Featured Content
590
+ */
591
+ /**
592
+ * Instagram
593
+ */ }
594
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child,
595
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:last-child {
596
+ margin: 0; }
597
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,
598
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a,
599
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label,
600
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a {
601
+ float: left;
602
+ width: 110px; }
603
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,
604
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input,
605
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label input,
606
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a input {
607
+ display: none; }
608
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,
609
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon,
610
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.icon,
611
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.icon {
612
+ width: 110px;
613
+ height: 110px;
614
+ margin: 0 0 10px 0;
615
+ border: 1px solid #ddd;
616
+ background-size: 64px 64px;
617
+ background-position: center;
618
+ background-repeat: no-repeat; }
619
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,
620
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title,
621
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li label div.title,
622
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li a div.title {
623
+ font-weight: 700; }
624
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,
625
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon, form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,
626
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon,
627
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover label div.icon,
628
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li:hover a div.icon,
629
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active label div.icon,
630
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li.envira-active a div.icon {
631
+ background-color: #f7fcf3;
632
+ border-color: #7cc048; }
633
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,
634
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon,
635
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc label div.icon,
636
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-fc a div.icon {
637
+ background-image: url(../images/types/fc.png); }
638
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,
639
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon,
640
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram label div.icon,
641
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external ul#envira-gallery-types-nav li#envira-gallery-type-instagram a div.icon {
642
+ background-image: url(../images/types/instagram.png); }
643
+ form#post.envira-gallery #poststuff #envira-gallery .inside div.envira-tab#envira-gallery-external a.button.button-x-large,
644
+ form#post.envira-gallery #poststuff #envira-albums .inside div.envira-tab#envira-gallery-external a.button.button-x-large {
645
+ margin-top: 30px; }
646
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native {
647
+ position: relative;
648
+ /**
649
+ * Galleries (Drop Target)
650
+ */
651
+ /**
652
+ * Drag & Drop Instructions
653
+ */ }
654
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area {
655
+ z-index: 2;
656
+ min-height: 200px;
657
+ margin: 0;
658
+ padding: 20px;
659
+ border: 4px dashed #b4b9be;
660
+ -webkit-box-sizing: border-box;
661
+ -moz-box-sizing: border-box;
662
+ box-sizing: border-box; }
663
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native ul#envira-album-drag-drop-area li {
664
+ cursor: move; }
665
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info {
666
+ position: absolute;
667
+ top: 80px;
668
+ z-index: 1;
669
+ margin: 0 auto;
670
+ left: 0;
671
+ right: 0;
672
+ text-align: center;
673
+ color: #a0a5aa;
674
+ font-size: 20px;
675
+ -webkit-box-sizing: border-box;
676
+ -moz-box-sizing: border-box;
677
+ box-sizing: border-box; }
678
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span {
679
+ display: block; }
680
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info span.click {
681
+ font-size: 18px; }
682
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-types #envira-album-native p.drag-drop-info small {
683
+ display: block;
684
+ margin: 5px 0;
685
+ font-size: 14px; }
686
+ form#post.envira-gallery #poststuff #envira-gallery-settings,
687
+ form#post.envira-gallery #poststuff #envira-albums-settings {
688
+ background: #f7f7f7;
689
+ /* The background for tabs, full height */
690
+ /**
691
+ * Clearfix
692
+ */
693
+ /**
694
+ * Hide the title bar of the metabox, so we have a seamless style
695
+ */
696
+ /**
697
+ * Tabs
698
+ */
699
+ /**
700
+ * Settings
701
+ */ }
702
+ form#post.envira-gallery #poststuff #envira-gallery-settings:after,
703
+ form#post.envira-gallery #poststuff #envira-albums-settings:after {
704
+ content: "";
705
+ display: table;
706
+ clear: both; }
707
+ form#post.envira-gallery #poststuff #envira-gallery-settings .handlediv,
708
+ form#post.envira-gallery #poststuff #envira-albums-settings .handlediv {
709
+ display: none; }
710
+ form#post.envira-gallery #poststuff #envira-gallery-settings .hndle,
711
+ form#post.envira-gallery #poststuff #envira-albums-settings .hndle {
712
+ display: none; }
713
+ form#post.envira-gallery #poststuff #envira-gallery-settings .inside,
714
+ form#post.envira-gallery #poststuff #envira-albums-settings .inside {
715
+ margin: 0;
716
+ padding: 0; }
717
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,
718
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav {
719
+ width: 160px;
720
+ margin: 0;
721
+ padding: 0;
722
+ border-right: 1px solid #ddd; }
723
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li,
724
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li {
725
+ float: left;
726
+ width: 100%;
727
+ margin: 0;
728
+ padding: 0;
729
+ /**
730
+ * Last Item
731
+ */
732
+ /**
733
+ * Tab Icons
734
+ */ }
735
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,
736
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a {
737
+ float: left;
738
+ width: 120px;
739
+ margin: 0 20px;
740
+ padding: 20px 0 20px 25px;
741
+ text-decoration: none;
742
+ color: #999;
743
+ border-bottom: 1px solid #ddd;
744
+ background-position: left center;
745
+ background-repeat: no-repeat;
746
+ -webkit-box-sizing: border-box;
747
+ -moz-box-sizing: border-box;
748
+ box-sizing: border-box;
749
+ transition: none;
750
+ -webkit-transition: none;
751
+ /**
752
+ * Hover and Active States
753
+ */
754
+ /**
755
+ * Focus State
756
+ * - Remove WordPress' blue focus box from tabs
757
+ */ }
758
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover, form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,
759
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,
760
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active {
761
+ width: 161px;
762
+ margin: -1px 0 0 0;
763
+ padding: 20px 20px 20px 45px;
764
+ text-decoration: none;
765
+ color: #444;
766
+ border-top: 1px solid #ddd;
767
+ border-bottom: 1px solid #ddd;
768
+ border-right: 1px solid #ffffff;
769
+ background-color: #ffffff;
770
+ background-position: 20px center; }
771
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:focus,
772
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:focus {
773
+ -webkit-box-shadow: none;
774
+ -moz-box-shadow: none;
775
+ box-shadow: none; }
776
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a,
777
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a {
778
+ border-bottom: none; }
779
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li:last-child a:hover,
780
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li:last-child a:hover {
781
+ border-bottom: none; }
782
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-images a, form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-galleries a,
783
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-images a,
784
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-galleries a {
785
+ background-image: url(images/icons/leaf.svg);
786
+ background-size: 16px 16px; }
787
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-config a,
788
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-config a {
789
+ background-image: url(images/icons/configuration.svg);
790
+ background-size: 16px 16px; }
791
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-lightbox a,
792
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-lightbox a {
793
+ background-image: url(images/icons/lightbox.svg);
794
+ background-size: 16px 16px; }
795
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-mobile a,
796
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-mobile a {
797
+ background-image: url(images/icons/mobile.svg);
798
+ background-size: 16px 16px; }
799
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-breadcrumbs a,
800
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-breadcrumbs a {
801
+ background-image: url(images/icons/breadcrumbs.svg);
802
+ background-size: 16px 16px; }
803
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-comments a,
804
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-comments a {
805
+ background-image: url(images/icons/comments.svg);
806
+ background-size: 16px 16px; }
807
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-downloads a,
808
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-downloads a {
809
+ background-image: url(images/icons/downloads.svg);
810
+ background-size: 16px 16px; }
811
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-exif a,
812
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-exif a {
813
+ background-image: url(images/icons/exif.svg);
814
+ background-size: 16px 16px; }
815
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pagination a,
816
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pagination a {
817
+ background-image: url(images/icons/pagination.svg);
818
+ background-size: 16px 16px; }
819
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-pinterest a,
820
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-pinterest a {
821
+ background-image: url(images/icons/pinterest.svg);
822
+ background-size: 16px 16px; }
823
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-proofing a,
824
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-proofing a {
825
+ background-image: url(images/icons/proofing.svg);
826
+ background-size: 16px 16px; }
827
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-printing a,
828
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-printing a {
829
+ background-image: url(images/icons/printing.svg);
830
+ background-size: 16px 16px; }
831
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-slideshow a,
832
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-slideshow a {
833
+ background-image: url(images/icons/slideshow.svg);
834
+ background-size: 16px 16px; }
835
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-standalone a,
836
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-standalone a {
837
+ background-image: url(images/icons/standalone.svg);
838
+ background-size: 16px 16px; }
839
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-social a,
840
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-social a {
841
+ background-image: url(images/icons/social.svg);
842
+ background-size: 16px 16px; }
843
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-tags a,
844
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-tags a {
845
+ background-image: url(images/icons/tags.svg);
846
+ background-size: 16px 16px; }
847
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-videos a,
848
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-videos a {
849
+ background-image: url(images/icons/video.svg);
850
+ background-size: 16px 16px; }
851
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-watermarking a,
852
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-watermarking a {
853
+ background-image: url(images/icons/watermark.svg);
854
+ background-size: 16px 16px; }
855
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-woocommerce a,
856
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-woocommerce a {
857
+ background-image: url(images/icons/woocommerce.svg);
858
+ background-size: 16px 16px; }
859
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-zoom a,
860
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-zoom a {
861
+ background-image: url(images/icons/zoom.svg);
862
+ background-size: 16px 16px; }
863
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li.envira-misc a,
864
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li.envira-misc a {
865
+ background-image: url(images/icons/misc.svg);
866
+ background-size: 16px 16px; }
867
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,
868
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs {
869
+ margin: 0 0 0 160px;
870
+ /* Must match #ul#envira-tabs-nav width */
871
+ padding: 20px;
872
+ -webkit-box-sizing: border-box;
873
+ -moz-box-sizing: border-box;
874
+ box-sizing: border-box;
875
+ background: #ffffff;
876
+ border-left: 1px solid #ddd;
877
+ /**
878
+ * Headings
879
+ */
880
+ /**
881
+ * All Tabs
882
+ */
883
+ /**
884
+ * Tab: Images
885
+ */
886
+ /**
887
+ * Tab: Galleries
888
+ * - Used on Albums
889
+ */
890
+ /**
891
+ * Clearfix
892
+ */ }
893
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs h2,
894
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs h2 {
895
+ clear: none; }
896
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table,
897
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table {
898
+ clear: none;
899
+ margin: 0 0 40px 0;
900
+ /**
901
+ * Row padding
902
+ */
903
+ /**
904
+ * Sub Headings
905
+ * - Used to denote an Addon's settings within a settings tab e.g. the Mobile tab
906
+ */
907
+ /**
908
+ * Full width labels (used for checkboxes that we don't want to be inline)
909
+ */
910
+ /**
911
+ * Full width textareas
912
+ */
913
+ /**
914
+ * Checkbox alignment
915
+ */
916
+ /**
917
+ * Descriptions
918
+ */ }
919
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table.no-margin,
920
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table.no-margin {
921
+ margin: 0; }
922
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table th, form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table td,
923
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table th,
924
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table td {
925
+ padding-top: 20px;
926
+ padding-bottom: 20px; }
927
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table tr.sub-heading th,
928
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table tr.sub-heading th {
929
+ margin: 0;
930
+ padding: 20px 0 0 0;
931
+ font-style: italic;
932
+ font-weight: 400;
933
+ font-size: 16px; }
934
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width,
935
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width {
936
+ display: block;
937
+ margin: 0 0 5px 0; }
938
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table label.full-width:first-child,
939
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table label.full-width:first-child {
940
+ margin-top: 5px; }
941
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table textarea,
942
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table textarea {
943
+ width: 100%; }
944
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table input[type=checkbox],
945
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table input[type=checkbox] {
946
+ margin-bottom: 2px; }
947
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table p.description,
948
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs table.form-table span.description,
949
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table p.description,
950
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs table.form-table span.description {
951
+ font-size: 13px;
952
+ font-style: italic;
953
+ color: #666; }
954
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images,
955
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images {
956
+ /**
957
+ * Inline Navigation
958
+ * - Select All
959
+ * - List View / Grid View
960
+ * - Edit / Delete Selected Items
961
+ */
962
+ /**
963
+ * Images
964
+ * - Show move cursor
965
+ */ }
966
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav,
967
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav {
968
+ width: 100%;
969
+ /**
970
+ * Edit / Delete Selected
971
+ * - Hidden by default, shown by JS when image(s) are selected
972
+ */ }
973
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-tab-options,
974
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-tab-options {
975
+ margin: 20px 0; }
976
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons,
977
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons {
978
+ position: absolute;
979
+ color: #999; }
980
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view,
981
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-grid-view {
982
+ right: 20px; }
983
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view,
984
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.dashicons-list-view {
985
+ right: 50px; }
986
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons.selected,
987
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons.selected {
988
+ color: #23282d; }
989
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav a.dashicons span,
990
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav a.dashicons span {
991
+ display: inline-block;
992
+ text-indent: -9999px; }
993
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images nav.envira-select-options,
994
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images nav.envira-select-options {
995
+ display: none; }
996
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li,
997
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-images ul#envira-gallery-output li {
998
+ cursor: move; }
999
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries,
1000
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries {
1001
+ /**
1002
+ * Inline Navigation
1003
+ * - Search
1004
+ */
1005
+ /**
1006
+ * Images
1007
+ * - Show move cursor
1008
+ * - Hide Edit & Delete icons, as these are only displayed when the gallery is assigned to the Album
1009
+ */ }
1010
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav,
1011
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav {
1012
+ width: 100%;
1013
+ /**
1014
+ * Bulk Action Buttons
1015
+ * - Hidden by default, shown by JS when galleries(s) are selected
1016
+ */ }
1017
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options,
1018
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options {
1019
+ height: 40px;
1020
+ margin: 20px 0;
1021
+ position: relative;
1022
+ /**
1023
+ * Add Galleries to Album Button
1024
+ */
1025
+ /**
1026
+ * Search
1027
+ */ }
1028
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add,
1029
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options a.envira-galleries-add {
1030
+ display: none;
1031
+ /* Displayed via JS when Galleries selected */
1032
+ position: absolute;
1033
+ top: 0;
1034
+ left: 0; }
1035
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search,
1036
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-tab-options input#envira-albums-gallery-search {
1037
+ position: absolute;
1038
+ top: 0;
1039
+ right: 0; }
1040
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries nav.envira-select-options,
1041
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries nav.envira-select-options {
1042
+ display: none; }
1043
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li,
1044
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li {
1045
+ cursor: move; }
1046
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,
1047
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image,
1048
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-remove-image,
1049
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs #envira-tab-galleries ul.envira-gallery-images-output li a.envira-gallery-modify-image {
1050
+ display: none; }
1051
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs:after,
1052
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs:after {
1053
+ content: "";
1054
+ display: table;
1055
+ clear: both; }
1056
+ form#post.envira-gallery #poststuff #envira-gallery-preview {
1057
+ /**
1058
+ * Clearfix
1059
+ */
1060
+ /**
1061
+ * Hide the title bar of the metabox, so we have a seamless style
1062
+ */ }
1063
+ form#post.envira-gallery #poststuff #envira-gallery-preview:after {
1064
+ content: "";
1065
+ display: table;
1066
+ clear: both; }
1067
+ form#post.envira-gallery #poststuff #envira-gallery-preview button.handlediv {
1068
+ display: none; }
1069
+ form#post.envira-gallery #poststuff #envira-gallery-preview h2.hndle {
1070
+ display: none; }
1071
+ form#post.envira-gallery #poststuff #envira-gallery-preview .inside {
1072
+ margin: 0;
1073
+ padding: 20px; }
1074
+
1075
+ /* ==========================================================================
1076
+ Media Modal (Insert Images and Edit Metadata)
1077
+ ========================================================================== */
1078
+ .media-modal {
1079
+ /**
1080
+ * Header Buttons
1081
+ */
1082
+ /**
1083
+ * Upload
1084
+ */
1085
+ /**
1086
+ * Insert
1087
+ */
1088
+ /**
1089
+ * Attachments
1090
+ * - Ensures that images fill each <li> attachment block, providing compatibility from WordPress 4.0 upwards
1091
+ * - Removed as breaks 4.4, 4.5
1092
+ ul.attachments {
1093
+ li.attachment {
1094
+ width: 20%;
1095
+
1096
+ img {
1097
+ width: 100%;
1098
+ height: 100%;
1099
+ }
1100
+ }
1101
+ }
1102
+ */
1103
+ /**
1104
+ * Albums: Select Gallery Cover Image
1105
+ * - Add some top spacing so that a selected cover image that's on the first line of the results
1106
+ * doesn't have its checkmark cut off
1107
+ */
1108
+ /**
1109
+ * Bulk Edit Attachments
1110
+ * - Restore cursor to default, so the user doesn't think they can click an image
1111
+ */
1112
+ /**
1113
+ * Edit
1114
+ */ }
1115
+ .media-modal .edit-attachment-frame .edit-media-header button.right {
1116
+ border-right: 1px solid #ddd; }
1117
+ .media-modal .uploader-inline {
1118
+ /**
1119
+ * Don't display the 'Select Files from Other Sources' button that we add to plupload
1120
+ * when we're in a modal.
1121
+ */ }
1122
+ .media-modal .uploader-inline a.envira-media-library.button {
1123
+ display: none; }
1124
+ .media-modal .envira-progress-bar .envira-progress-bar-status {
1125
+ display: none; }
1126
+ .media-modal .attachment.details {
1127
+ -webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #7cc048;
1128
+ box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #7cc048; }
1129
+ .media-modal .attachment.details .check {
1130
+ background-color: #7cc048;
1131
+ -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048;
1132
+ box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7cc048; }
1133
+ .media-modal ul.attachments.envira-albums-gallery-cover-image {
1134
+ padding: 10px; }
1135
+ .media-modal ul.attachments.envira-bulk-edit li.attachment {
1136
+ cursor: default; }
1137
+ .media-modal ul.attachments.envira-bulk-edit li.attachment .attachment-preview {
1138
+ cursor: default; }
1139
+ .media-modal .attachment-details .attachment-info {
1140
+ padding: 16px;
1141
+ /**
1142
+ * Settings
1143
+ * - Contains one or more setting elements (Title, Alt etc)
1144
+ */
1145
+ /**
1146
+ * Actions
1147
+ * - Save Button
1148
+ * - Spinner
1149
+ */ }
1150
+ .media-modal .attachment-details .attachment-info .settings {
1151
+ margin: 0;
1152
+ padding: 0;
1153
+ border: none;
1154
+ /**
1155
+ * Individual Setting (Title, Alt etc)
1156
+ */ }
1157
+ .media-modal .attachment-details .attachment-info .settings .setting {
1158
+ margin: 0 0 20px 0;
1159
+ padding: 0 0 20px 0;
1160
+ border-bottom: 1px solid #ddd;
1161
+ /**
1162
+ * Input
1163
+ */ }
1164
+ .media-modal .attachment-details .attachment-info .settings .setting input[type="text"],
1165
+ .media-modal .attachment-details .attachment-info .settings .setting textarea {
1166
+ display: block;
1167
+ width: 100%;
1168
+ min-width: 100%;
1169
+ margin: 0; }
1170
+ .media-modal .attachment-details .attachment-info .settings .setting input[type="checkbox"] {
1171
+ float: left;
1172
+ margin: 0 5px 0 0; }
1173
+ .media-modal .attachment-details .attachment-info .settings .setting select {
1174
+ margin: 0; }
1175
+ .media-modal .attachment-details .attachment-info .settings .setting span {
1176
+ /**
1177
+ * Title
1178
+ */
1179
+ /**
1180
+ * Description
1181
+ */ }
1182
+ .media-modal .attachment-details .attachment-info .settings .setting span.name {
1183
+ display: block;
1184
+ width: 100%;
1185
+ min-width: 100%;
1186
+ margin: 0;
1187
+ padding: 0;
1188
+ text-align: left;
1189
+ font-weight: 700;
1190
+ font-size: 14px; }
1191
+ .media-modal .attachment-details .attachment-info .settings .setting span.description {
1192
+ text-align: left;
1193
+ font-style: normal;
1194
+ font-size: 13px;
1195
+ font-style: italic;
1196
+ color: #666; }
1197
+ .media-modal .attachment-details .attachment-info .settings .setting div.description {
1198
+ clear: both;
1199
+ float: left;
1200
+ margin: 5px 0 0 0;
1201
+ text-align: left;
1202
+ font-size: 13px;
1203
+ font-style: italic;
1204
+ color: #666; }
1205
+ .media-modal .attachment-details .attachment-info div.actions {
1206
+ /**
1207
+ * Ensure button renders at correct height
1208
+ */ }
1209
+ .media-modal .attachment-details .attachment-info div.actions a.button {
1210
+ display: inline-block; }
1211
+
1212
+ /* ==========================================================================
1213
+ Retina
1214
+ ========================================================================== */
1215
+ @media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
1216
+ /**
1217
+ * WP media-views.css doesn't use .wp-core-ui for the x2 icons, therefore they never get applied
1218
+ */
1219
+ .wp-core-ui a.check .media-modal-icon {
1220
+ background-image: url(../../../../../wp-includes/images/uploader-icons-2x.png) !important;
1221
+ -webkit-background-size: 134px 15px;
1222
+ background-size: 134px 15px; } }
1223
+ /* ==========================================================================
1224
+ Responsive
1225
+ ========================================================================== */
1226
+ @media screen and (max-width: 1100px) {
1227
+ /* ==========================================================================
1228
+ Form
1229
+ - The envira-gallery class is assigned to the Gallery and Album Add/Edit screens form.
1230
+ ========================================================================== */
1231
+ form#post.envira-gallery #poststuff #envira-gallery,
1232
+ form#post.envira-gallery #poststuff #envira-albums {
1233
+ /**
1234
+ * Tab Settings
1235
+ */ }
1236
+ form#post.envira-gallery #poststuff #envira-gallery .inside,
1237
+ form#post.envira-gallery #poststuff #envira-albums .inside {
1238
+ /**
1239
+ * Native Envira Gallery
1240
+ */ }
1241
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area,
1242
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area {
1243
+ border-color: #d5d5d5; }
1244
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside,
1245
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside {
1246
+ width: 100%;
1247
+ margin-top: 20px; }
1248
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons,
1249
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui.drag-drop #drag-drop-area .drag-drop-inside p.drag-drop-buttons {
1250
+ text-align: center; }
1251
+ form#post.envira-gallery #poststuff #envira-gallery .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button,
1252
+ form#post.envira-gallery #poststuff #envira-albums .inside #envira-gallery-native #plupload-upload-ui a.envira-media-library.button {
1253
+ left: 0;
1254
+ right: 0;
1255
+ width: 235px;
1256
+ top: 145px; } }
1257
+ @media screen and (max-width: 768px) {
1258
+ /* ==========================================================================
1259
+ Form
1260
+ - The envira-gallery class is assigned to the Gallery and Album Add/Edit screens form.
1261
+ ========================================================================== */
1262
+ form#post.envira-gallery #poststuff {
1263
+ /* ==========================================================================
1264
+ Envira Gallery Settings
1265
+ Envira Albums Settings
1266
+ ========================================================================== */ }
1267
+ form#post.envira-gallery #poststuff #envira-gallery-settings,
1268
+ form#post.envira-gallery #poststuff #envira-albums-settings {
1269
+ /**
1270
+ * Tabs
1271
+ */
1272
+ /**
1273
+ * Settings
1274
+ */ }
1275
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav,
1276
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav {
1277
+ width: 60px; }
1278
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a,
1279
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a {
1280
+ width: 60px;
1281
+ height: 60px;
1282
+ margin: 0;
1283
+ padding: 0;
1284
+ text-indent: -9999px;
1285
+ background-position: center; }
1286
+ form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a:hover, form#post.envira-gallery #poststuff #envira-gallery-settings ul#envira-tabs-nav li a.envira-active,
1287
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a:hover,
1288
+ form#post.envira-gallery #poststuff #envira-albums-settings ul#envira-tabs-nav li a.envira-active {
1289
+ width: 60px;
1290
+ height: 60px;
1291
+ margin: 0;
1292
+ padding: 0;
1293
+ text-indent: -9999px;
1294
+ background-position: center; }
1295
+ form#post.envira-gallery #poststuff #envira-gallery-settings #envira-tabs,
1296
+ form#post.envira-gallery #poststuff #envira-albums-settings #envira-tabs {
1297
+ margin: 0 0 0 60px;
1298
+ /* Must match #ul#envira-tabs-nav width */ } }
assets/js/lib/enviraJustifiedGallery-extensions.js CHANGED
@@ -12,6 +12,8 @@
12
  var obj = justifiedGallery.apply(this, arguments);
13
  EnviraJustifiedGallery = obj.data('jg.controller');
14
 
 
 
15
  EnviraJustifiedGallery.displayEntryCaption = function ($entry) {
16
 
17
  var $image = this.imgFromEntry($entry);
@@ -22,6 +24,7 @@
22
  if ($imgCaption === null) {
23
 
24
  var caption = $image.data('envira-caption');
 
25
 
26
  if (this.isValidCaption(caption)) { // Create only we found something
27
  $imgCaption = $('<div class="caption">' + caption + '</div>');
@@ -42,6 +45,8 @@
42
 
43
  return EnviraJustifiedGallery;
44
 
 
 
45
  };
46
  })(jQuery);
47
 
12
  var obj = justifiedGallery.apply(this, arguments);
13
  EnviraJustifiedGallery = obj.data('jg.controller');
14
 
15
+ if (EnviraJustifiedGallery !== undefined) {
16
+
17
  EnviraJustifiedGallery.displayEntryCaption = function ($entry) {
18
 
19
  var $image = this.imgFromEntry($entry);
24
  if ($imgCaption === null) {
25
 
26
  var caption = $image.data('envira-caption');
27
+ caption = caption.replace('<', '&lt;');
28
 
29
  if (this.isValidCaption(caption)) { // Create only we found something
30
  $imgCaption = $('<div class="caption">' + caption + '</div>');
45
 
46
  return EnviraJustifiedGallery;
47
 
48
+ }
49
+
50
  };
51
  })(jQuery);
52
 
assets/js/min/envira-min.js CHANGED
@@ -1,4 +1,4 @@
1
- function jg_effect_desaturate(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;for(l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length;s>a;a+=4)h=.3*r[a]+.59*r[a+1]+.11*r[a+2],r[a]=r[a+1]=r[a+2]=h;return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_threshold(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length,threshold=120;for(var a=0;s>a;a+=4){var u=r[a],d=r[a+1],c=r[a+2],f=.2126*u+.7152*d+.0722*c>=threshold?255:0;r[a]=r[a+1]=r[a+2]=f}return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_blur(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=0,u=0,d=30,c=1;img=new Image,img.src=t,i.width=img.width,i.height=img.height,n.drawImage(img,0,0);var o,f=img.width,g=img.height;o=n.getImageData(l,u,f,g);for(var p=o.data,m,v,y,w,b,x,a,I,S,E,_,z,R,T,C=f-1,j=g-1,O=f*g,L=d+1,A=[],D=[],M=[],H=mul_table[d],k=shg_table[d],W=[],B=[];c-- >0;){for(R=z=0,x=0;g>x;x++){for(m=p[R]*L,v=p[R+1]*L,y=p[R+2]*L,a=1;d>=a;a++)I=R+((a>C?C:a)<<2),m+=p[I++],v+=p[I++],y+=p[I++];for(b=0;f>b;b++)A[z]=m,D[z]=v,M[z]=y,0==x&&(W[b]=((I=b+L)<C?I:C)<<2,B[b]=(I=b-d)>0?I<<2:0),S=R+W[b],E=R+B[b],m+=p[S++]-p[E++],v+=p[S++]-p[E++],y+=p[S++]-p[E++],z++;R+=f<<2}for(b=0;f>b;b++){for(_=b,m=A[_]*L,v=D[_]*L,y=M[_]*L,a=1;d>=a;a++)_+=a>j?0:f,m+=A[_],v+=D[_],y+=M[_];for(z=b<<2,x=0;g>x;x++)p[z]=m*H>>>k,p[z+1]=v*H>>>k,p[z+2]=y*H>>>k,0==b&&(W[x]=((I=x+L)<j?I:j)*f,B[x]=(I=x-d)>0?I*f:0),S=b+W[x],E=b+B[x],m+=A[S]-A[E],v+=D[S]-D[E],y+=M[S]-M[E],z+=f<<2}}return n.putImageData(o,l,u),i.toDataURL()}return t}function jg_effect_vintage(t){var e={onError:function(){alert("ERROR")}},i={vignette:1,sepia:!0,noise:50,desaturate:.2,lighten:.1};new VintageJS(t,e,i)}function boxBlurImage(t,e,i,n,o){var r=document.getElementById(t),s=r.naturalWidth,a=r.naturalHeight,h=document.getElementById(e);h.style.width=s+"px",h.style.height=a+"px",h.width=s,h.height=a;var l=h.getContext("2d");l.clearRect(0,0,s,a),l.drawImage(r,0,0),isNaN(i)||1>i||(n?boxBlurCanvasRGBA(e,0,0,s,a,i,o):boxBlurCanvasRGB(e,0,0,s,a,i,o))}function boxBlurCanvasRGBA(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=document.getElementById(t),h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z,R=n-1,T=o-1,C=n*o,j=r+1,O=mul_table[r],L=shg_table[r],A=[],D=[],M=[],H=[],k=[],W=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*j,f=d[E+1]*j,g=d[E+2]*j,p=d[E+3]*j,y=1;r>=y;y++)w=E+((y>R?R:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++],p+=d[w];for(m=0;n>m;m++)A[S]=c,D[S]=f,M[S]=g,H[S]=p,0==v&&(k[m]=((w=m+j)<R?w:R)<<2,W[m]=(w=m-r)>0?w<<2:0),b=E+k[m],x=E+W[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],p+=d[b]-d[x],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=A[I]*j,f=D[I]*j,g=M[I]*j,p=H[I]*j,y=1;r>=y;y++)I+=y>T?0:n,c+=A[I],f+=D[I],g+=M[I],p+=H[I];for(S=m<<2,v=0;o>v;v++)d[S+3]=z=p*O>>>L,z>0?(z=255/z,d[S]=(c*O>>>L)*z,d[S+1]=(f*O>>>L)*z,d[S+2]=(g*O>>>L)*z):d[S]=d[S+1]=d[S+2]=0,0==m&&(k[v]=((w=v+j)<T?w:T)*n,W[v]=(w=v-r)>0?w*n:0),b=m+k[v],x=m+W[v],c+=A[b]-A[x],f+=D[b]-D[x],g+=M[b]-M[x],p+=H[b]-H[x],S+=n<<2}}h.putImageData(l,e,i)}}function boxBlurCanvasRGB(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=t,h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z=n-1,R=o-1,T=n*o,C=r+1,j=[],O=[],L=[],A=mul_table[r],D=shg_table[r],M=[],H=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*C,f=d[E+1]*C,g=d[E+2]*C,y=1;r>=y;y++)w=E+((y>z?z:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++];for(m=0;n>m;m++)j[S]=c,O[S]=f,L[S]=g,0==v&&(M[m]=((w=m+C)<z?w:z)<<2,H[m]=(w=m-r)>0?w<<2:0),b=E+M[m],x=E+H[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=j[I]*C,f=O[I]*C,g=L[I]*C,y=1;r>=y;y++)I+=y>R?0:n,c+=j[I],f+=O[I],g+=L[I];for(S=m<<2,v=0;o>v;v++)d[S]=c*A>>>D,d[S+1]=f*A>>>D,d[S+2]=g*A>>>D,0==m&&(M[v]=((w=v+C)<R?w:R)*n,H[v]=(w=v-r)>0?w*n:0),b=m+M[v],x=m+H[v],c+=j[b]-j[x],f+=O[b]-O[x],g+=L[b]-L[x],S+=n<<2}}h.putImageData(l,e,i)}}jQuery(document).ready(function($){$("body").on("click",'div.envirabox-title a[href*="#"]:not([href="#"])',function(t){return location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname?($.envirabox.close(),!1):void 0}),$(document).on("envira_image_lazy_load_complete",function(t){if(void 0!==t&&void 0!==t.image_id&&null!==t.image_id){var e=$("div.envira-gallery-public").find("img#"+t.image_id);if($("div.envira-gallery-public").hasClass("envira-gallery-0-columns"))$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();else{$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();var i=$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").width(),n=t.naturalHeight/t.naturalWidth,o=t.naturalHeight/i;if(n>o)var r=o;else var r=n;var s=100*r;$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").css("padding-bottom",s+"%"),$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").data("envira-changed","true"),void 0!==window["envira_container_"+t.gallery_id]&&window["envira_container_"+t.gallery_id].on("layoutComplete",function(t,i){$(e).closest("div.envira-gallery-item-inner").find("span.envira-title").delay(1e3).css("visibility","visible"),$(e).closest("div.envira-gallery-item-inner").find("span.envira-caption").delay(1e3).css("visibility","visible")}),$("#envira-gallery-"+t.gallery_id).enviratope("layout")}}})}),function($){function t(){return $("body").height()>$(window).height()}var e=function(t,e){this.settings=e,this.checkSettings(),this.imgAnalyzerTimeout=null,this.entries=null,this.buildingRow={entriesBuff:[],width:0,height:0,aspectRatio:0},this.lastAnalyzedIndex=-1,this["yield"]={every:2,flushed:0},this.border=e.border>=0?e.border:e.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges(),this.offY=this.border,this.rows=0,this.spinner={phase:0,timeSlot:150,$el:$('<div class="spinner"><span></span><span></span><span></span></div>'),intervalId:null},this.checkWidthIntervalId=null,this.galleryWidth=t.width(),this.$gallery=t};e.prototype.getSuffix=function(t,e){var i,n;for(i=t>e?t:e,n=0;n<this.suffixRanges.length;n++)if(i<=this.suffixRanges[n])return this.settings.sizeRangeSuffixes[this.suffixRanges[n]];return this.settings.sizeRangeSuffixes[this.suffixRanges[n-1]]},e.prototype.removeSuffix=function(t,e){return t.substring(0,t.length-e.length)},e.prototype.endsWith=function(t,e){return-1!==t.indexOf(e,t.length-e.length)},e.prototype.getUsedSuffix=function(t){for(var e in this.settings.sizeRangeSuffixes)if(this.settings.sizeRangeSuffixes.hasOwnProperty(e)){if(0===this.settings.sizeRangeSuffixes[e].length)continue;if(this.endsWith(t,this.settings.sizeRangeSuffixes[e]))return this.settings.sizeRangeSuffixes[e]}return""},e.prototype.newSrc=function(t,e,i){var n;if(this.settings.thumbnailPath)n=this.settings.thumbnailPath(t,e,i);else{var o=t.match(this.settings.extension),r=null!==o?o[0]:"";n=t.replace(this.settings.extension,""),n=this.removeSuffix(n,this.getUsedSuffix(n)),n+=this.getSuffix(e,i)+r}return n},e.prototype.showImg=function(t,e){this.settings.cssAnimation?(t.addClass("entry-visible"),e&&e()):t.stop().fadeTo(this.settings.imagesAnimationDuration,1,e)},e.prototype.extractImgSrcFromImage=function(t){var e="undefined"!=typeof t.data("safe-src")?t.data("safe-src"):t.attr("src");return t.data("jg.originalSrc",e),e},e.prototype.imgFromEntry=function(t){var e=t.find("> img");return 0===e.length&&(e=t.find("> a > img")),0===e.length?null:e},e.prototype.captionFromEntry=function(t){var e=t.find("> .caption");return 0===e.length?null:e},e.prototype.displayEntry=function(t,e,i,n,o,r){t.width(n),t.height(r),t.css("top",i),t.css("left",e);var s=this.imgFromEntry(t);if(null!==s){s.css("width",n),s.css("height",o),s.css("margin-left",-n/2),s.css("margin-top",-o/2);var a=s.attr("src"),h=this.newSrc(a,n,o);s.one("error",function(){s.attr("src",s.data("jg.originalSrc"))});var l=function(){a!==h&&s.attr("src",h)};"skipped"===t.data("jg.loaded")?this.onImageEvent(a,$.proxy(function(){this.showImg(t,l),t.data("jg.loaded",!0)},this)):this.showImg(t,l)}else this.showImg(t);this.displayEntryCaption(t)},e.prototype.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.attr("alt");this.isValidCaption(n)||(n=t.attr("title")),this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e.prototype.isValidCaption=function(t){return"undefined"!=typeof t&&t.length>0},e.prototype.onEntryMouseEnterForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.addClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.visibleOpacity)},e.prototype.onEntryMouseLeaveForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.removeClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.nonVisibleOpacity)},e.prototype.addCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"==typeof e&&(e={mouseenter:$.proxy(this.onEntryMouseEnterForCaption,this),mouseleave:$.proxy(this.onEntryMouseLeaveForCaption,this)},t.on("mouseenter",void 0,void 0,e.mouseenter),t.on("mouseleave",void 0,void 0,e.mouseleave),t.data("jg.captionMouseEvents",e))},e.prototype.removeCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"!=typeof e&&(t.off("mouseenter",void 0,e.mouseenter),t.off("mouseleave",void 0,e.mouseleave),t.removeData("jg.captionMouseEvents"))},e.prototype.prepareBuildingRow=function(t){var e,i,n,o,r,s=!0,a=0,h=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,l=h/this.buildingRow.aspectRatio,u=this.settings.rowHeight,d=this.buildingRow.width/h>this.settings.justifyThreshold;if(t&&"hide"===this.settings.lastRow&&!d){for(e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],this.settings.cssAnimation?i.removeClass("entry-visible"):i.stop().fadeTo(0,0);return-1}for(t&&!d&&"justify"!==this.settings.lastRow&&"hide"!==this.settings.lastRow&&(s=!1,this.rows>0&&(u=(this.offY-this.border-this.settings.margins*this.rows)/this.rows,s=u*this.buildingRow.aspectRatio/h>this.settings.justifyThreshold?!0:!1)),e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],n=i.data("jg.width")/i.data("jg.height"),s?(o=e===this.buildingRow.entriesBuff.length-1?h:l*n,r=l):(o=u*n,r=u),h-=Math.round(o),i.data("jg.jwidth",Math.round(o)),i.data("jg.jheight",Math.ceil(r)),(0===e||a>r)&&(a=r);return this.settings.fixedHeight&&a>this.settings.rowHeight&&(a=this.settings.rowHeight),this.buildingRow.height=a,s},e.prototype.clearBuildingRow=function(){this.buildingRow.entriesBuff=[],this.buildingRow.aspectRatio=0,this.buildingRow.width=0},e.prototype.flushRow=function(t){var e=this.settings,i,n,o=this.border,r;if(n=this.prepareBuildingRow(t),t&&"hide"===e.lastRow&&-1===n)return void this.clearBuildingRow();if(this.maxRowHeight.isPercentage?this.maxRowHeight.value*e.rowHeight<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value*e.rowHeight):this.maxRowHeight.value>0&&this.maxRowHeight.value<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value),"center"===e.lastRow||"right"===e.lastRow){var s=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*e.margins;for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],s-=i.data("jg.jwidth");"center"===e.lastRow?o+=s/2:"right"===e.lastRow&&(o+=s)}for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],this.displayEntry(i,o,this.offY,i.data("jg.jwidth"),i.data("jg.jheight"),this.buildingRow.height),o+=i.data("jg.jwidth")+e.margins;this.galleryHeightToSet=this.offY+this.buildingRow.height+this.border,this.$gallery.height(this.galleryHeightToSet+this.getSpinnerHeight()),(!t||this.buildingRow.height<=e.rowHeight&&n)&&(this.offY+=this.buildingRow.height+e.margins,this.rows+=1,this.clearBuildingRow(),this.$gallery.trigger("jg.rowflush"))};var i=!1;e.prototype.checkWidth=function(){this.checkWidthIntervalId=setInterval($.proxy(function(){var e=parseFloat(this.$gallery.width());t()===i?Math.abs(e-this.galleryWidth)>this.settings.refreshSensitivity&&(this.galleryWidth=e,this.rewind(),this.startImgAnalyzer(!0)):(i=t(),this.galleryWidth=e)},this),this.settings.refreshTime)},e.prototype.isSpinnerActive=function(){return null!==this.spinner.intervalId},e.prototype.getSpinnerHeight=function(){return this.spinner.$el.innerHeight()},e.prototype.stopLoadingSpinnerAnimation=function(){clearInterval(this.spinner.intervalId),this.spinner.intervalId=null,this.$gallery.height(this.$gallery.height()-this.getSpinnerHeight()),this.spinner.$el.detach()},e.prototype.startLoadingSpinnerAnimation=function(){var t=this.spinner,e=t.$el.find("span");clearInterval(t.intervalId),this.$gallery.append(t.$el),this.$gallery.height(this.offY+this.buildingRow.height+this.getSpinnerHeight()),t.intervalId=setInterval(function(){t.phase<e.length?e.eq(t.phase).fadeTo(t.timeSlot,1):e.eq(t.phase-e.length).fadeTo(t.timeSlot,0),t.phase=(t.phase+1)%(2*e.length)},t.timeSlot)},e.prototype.rewind=function(){this.lastAnalyzedIndex=-1,this.offY=this.border,this.rows=0,this.clearBuildingRow()},e.prototype.updateEntries=function(t){return this.entries=this.$gallery.find(this.settings.selector).toArray(),0===this.entries.length?!1:(this.settings.filter?this.modifyEntries(this.filterArray,t):this.modifyEntries(this.resetFilters,t),$.isFunction(this.settings.sort)?this.modifyEntries(this.sortArray,t):this.settings.randomize&&this.modifyEntries(this.shuffleArray,t),!0)},e.prototype.insertToGallery=function(t){var e=this;$.each(t,function(){$(this).appendTo(e.$gallery)})},e.prototype.shuffleArray=function(t){var e,i,n;for(e=t.length-1;e>0;e--)i=Math.floor(Math.random()*(e+1)),n=t[e],t[e]=t[i],t[i]=n;return this.insertToGallery(t),t},e.prototype.sortArray=function(t){return t.sort(this.settings.sort),this.insertToGallery(t),t},e.prototype.resetFilters=function(t){for(var e=0;e<t.length;e++)$(t[e]).removeClass("jg-filtered");return t},e.prototype.filterArray=function(t){var e=this.settings;return"string"===$.type(e.filter)?t.filter(function(t){var i=$(t);return i.is(e.filter)?(i.removeClass("jg-filtered"),!0):(i.addClass("jg-filtered"),!1)}):$.isFunction(e.filter)?t.filter(e.filter):void 0},e.prototype.modifyEntries=function(t,e){var i=e?this.entries.splice(this.lastAnalyzedIndex+1,this.entries.length-this.lastAnalyzedIndex-1):this.entries;i=t.call(this,i),this.entries=e?this.entries.concat(i):i},e.prototype.destroy=function(){clearInterval(this.checkWidthIntervalId),$.each(this.entries,$.proxy(function(t,e){var i=$(e);i.css("width",""),i.css("height",""),i.css("top",""),i.css("left",""),i.data("jg.loaded",void 0),i.removeClass("jg-entry");var n=this.imgFromEntry(i);n.css("width",""),n.css("height",""),n.css("margin-left",""),n.css("margin-top",""),n.attr("src",n.data("jg.originalSrc")),n.data("jg.originalSrc",void 0),this.removeCaptionEventsHandlers(i);var o=this.captionFromEntry(i);i.data("jg.createdCaption")?(i.data("jg.createdCaption",void 0),null!==o&&o.remove()):null!==o&&o.fadeTo(0,1)},this)),this.$gallery.css("height",""),this.$gallery.removeClass("justified-gallery"),this.$gallery.data("jg.controller",void 0)},e.prototype.analyzeImages=function(t){for(var e=this.lastAnalyzedIndex+1;e<this.entries.length;e++){var i=$(this.entries[e]);if(i.data("jg.loaded")===!0||"skipped"===i.data("jg.loaded")){var n=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,o=i.data("jg.width")/i.data("jg.height");if(n/(this.buildingRow.aspectRatio+o)<this.settings.rowHeight&&(this.flushRow(!1),++this["yield"].flushed>=this["yield"].every))return void this.startImgAnalyzer(t);this.buildingRow.entriesBuff.push(i),this.buildingRow.aspectRatio+=o,this.buildingRow.width+=o*this.settings.rowHeight,this.lastAnalyzedIndex=e}else if("error"!==i.data("jg.loaded"))return}this.buildingRow.entriesBuff.length>0&&this.flushRow(!0),this.isSpinnerActive()&&this.stopLoadingSpinnerAnimation(),this.stopImgAnalyzerStarter(),this.$gallery.trigger(t?"jg.resize":"jg.complete"),this.$gallery.height(this.galleryHeightToSet)},e.prototype.stopImgAnalyzerStarter=function(){this["yield"].flushed=0,null!==this.imgAnalyzerTimeout&&clearTimeout(this.imgAnalyzerTimeout)},e.prototype.startImgAnalyzer=function(t){var e=this;this.stopImgAnalyzerStarter(),this.imgAnalyzerTimeout=setTimeout(function(){e.analyzeImages(t)},.001)},e.prototype.onImageEvent=function(t,e,i){if(e||i){var n=new Image,o=$(n);e&&o.one("load",function(){o.off("load error"),e(n)}),i&&o.one("error",function(){o.off("load error"),i(n)}),n.src=t}},e.prototype.init=function(){var t=!1,e=!1,i=this;$.each(this.entries,function(n,o){var r=$(o),s=i.imgFromEntry(r);if(r.addClass("jg-entry"),r.data("jg.loaded")!==!0&&"skipped"!==r.data("jg.loaded"))if(null!==i.settings.rel&&r.attr("rel",i.settings.rel),null!==i.settings.target&&r.attr("target",i.settings.target),null!==s){var a=i.extractImgSrcFromImage(s);if(s.attr("src",a),i.settings.waitThumbnailsLoad===!1){var h=parseFloat(s.attr("width")),l=parseFloat(s.attr("height"));if(!isNaN(h)&&!isNaN(l))return r.data("jg.width",h),r.data("jg.height",l),r.data("jg.loaded","skipped"),e=!0,i.startImgAnalyzer(!1),!0}r.data("jg.loaded",!1),t=!0,i.isSpinnerActive()||i.startLoadingSpinnerAnimation(),i.onImageEvent(a,function(t){r.data("jg.width",r.find(".envira-gallery-image").data("envira-width")),r.data("jg.height",r.find(".envira-gallery-image").data("envira-height")),r.data("jg.loaded",!0),i.startImgAnalyzer(!1)},function(){r.data("jg.loaded","error"),i.startImgAnalyzer(!1)})}else r.data("jg.loaded",!0),r.data("jg.width",r.width()|parseFloat(r.css("width"))|1),r.data("jg.height",r.height()|parseFloat(r.css("height"))|1)}),t||e||this.startImgAnalyzer(!1),this.checkWidth()},e.prototype.checkOrConvertNumber=function(t,e){if("string"===$.type(t[e])&&(t[e]=parseFloat(t[e])),"number"!==$.type(t[e]))throw e+" must be a number";if(isNaN(t[e]))throw"invalid number for "+e},e.prototype.checkSizeRangesSuffixes=function(){if("object"!==$.type(this.settings.sizeRangeSuffixes))throw"sizeRangeSuffixes must be defined and must be an object";var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(e);for(var i={0:""},n=0;n<t.length;n++)if("string"===$.type(t[n]))try{var o=parseInt(t[n].replace(/^[a-z]+/,""),10);i[o]=this.settings.sizeRangeSuffixes[t[n]]}catch(r){throw"sizeRangeSuffixes keys must contains correct numbers ("+r+")"}else i[t[n]]=this.settings.sizeRangeSuffixes[t[n]];this.settings.sizeRangeSuffixes=i},e.prototype.retrieveMaxRowHeight=function(){var t={};if("string"===$.type(this.settings.maxRowHeight))this.settings.maxRowHeight.match(/^[0-9]+%$/)?(t.value=parseFloat(this.settings.maxRowHeight.match(/^([0-9]+)%$/)[1])/100,t.isPercentage=!1):(t.value=parseFloat(this.settings.maxRowHeight),t.isPercentage=!0);else{if("number"!==$.type(this.settings.maxRowHeight))throw"maxRowHeight must be a number or a percentage";t.value=this.settings.maxRowHeight,t.isPercentage=!1}if(isNaN(t.value))throw"invalid number for maxRowHeight";return t.isPercentage?t.value<100&&(t.value=100):t.value>0&&t.value<this.settings.rowHeight&&(t.value=this.settings.rowHeight),t},e.prototype.checkSettings=function(){this.checkSizeRangesSuffixes(),this.checkOrConvertNumber(this.settings,"rowHeight"),this.checkOrConvertNumber(this.settings,"margins"),this.checkOrConvertNumber(this.settings,"border");var t=["justify","nojustify","left","center","right","hide"];if(-1===t.indexOf(this.settings.lastRow))throw"lastRow must be one of: "+t.join(", ");if(this.checkOrConvertNumber(this.settings,"justifyThreshold"),this.settings.justifyThreshold<0||this.settings.justifyThreshold>1)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!==$.type(this.settings.cssAnimation))throw"cssAnimation must be a boolean";if("boolean"!==$.type(this.settings.captions))throw"captions must be a boolean";if(this.checkOrConvertNumber(this.settings.captionSettings,"animationDuration"),this.checkOrConvertNumber(this.settings.captionSettings,"visibleOpacity"),this.settings.captionSettings.visibleOpacity<0||this.settings.captionSettings.visibleOpacity>1)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings.captionSettings,"nonVisibleOpacity"),this.settings.captionSettings.nonVisibleOpacity<0||this.settings.captionSettings.nonVisibleOpacity>1)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if("boolean"!==$.type(this.settings.fixedHeight))throw"fixedHeight must be a boolean";if(this.checkOrConvertNumber(this.settings,"imagesAnimationDuration"),this.checkOrConvertNumber(this.settings,"refreshTime"),this.checkOrConvertNumber(this.settings,"refreshSensitivity"),"boolean"!==$.type(this.settings.randomize))throw"randomize must be a boolean";if("string"!==$.type(this.settings.selector))throw"selector must be a string";if(this.settings.sort!==!1&&!$.isFunction(this.settings.sort))throw"sort must be false or a comparison function";if(this.settings.filter!==!1&&!$.isFunction(this.settings.filter)&&"string"!==$.type(this.settings.filter))throw"filter must be false, a string or a filter function"},e.prototype.retrieveSuffixRanges=function(){var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(parseInt(e,10));return t.sort(function(t,e){return t>e?1:e>t?-1:0}),t},e.prototype.updateSettings=function(t){this.settings=$.extend({},this.settings,t),this.checkSettings(),this.border=this.settings.border>=0?this.settings.border:this.settings.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges()},$.fn.justifiedGallery=function(t){return this.each(function(i,n){var o=$(n);o.addClass("justified-gallery");var r=o.data("jg.controller");if("undefined"==typeof r){if("undefined"!=typeof t&&null!==t&&"object"!==$.type(t)){if("destroy"===t)return;throw"The argument must be an object"}r=new e(o,$.extend({},$.fn.justifiedGallery.defaults,t)),o.data("jg.controller",r)}else if("norewind"===t);else{if("destroy"===t)return void r.destroy();r.updateSettings(t),r.rewind()}r.updateEntries("norewind"===t)&&r.init()})},$.fn.justifiedGallery.defaults={sizeRangeSuffixes:{},thumbnailPath:void 0,rowHeight:120,maxRowHeight:-1,margins:1,border:-1,lastRow:"nojustify",justifyThreshold:.9,fixedHeight:!1,waitThumbnailsLoad:!0,captions:!0,cssAnimation:!1,imagesAnimationDuration:500,captionSettings:{animationDuration:500,visibleOpacity:.7,nonVisibleOpacity:0},rel:null,target:null,extension:/\.[^.\\/]+$/,refreshTime:200,refreshSensitivity:0,randomize:!1,sort:!1,filter:!1,selector:"> a, > div:not(.spinner)"}}(jQuery),function($){var t=$.fn.justifiedGallery,e={};$.fn.enviraJustifiedGallery=function(){var i=t.apply(this,arguments);return e=i.data("jg.controller"),e.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.data("envira-caption");this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e}}(jQuery),/*!
2
  * vintageJS
3
  * Add a retro/vintage effect to images using the HTML5 canvas element
4
  *
1
+ function jg_effect_desaturate(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;for(l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length;s>a;a+=4)h=.3*r[a]+.59*r[a+1]+.11*r[a+2],r[a]=r[a+1]=r[a+2]=h;return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_threshold(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=new Image;l.src=t,i.width=l.width,i.height=l.height,n.drawImage(l,0,0),o=n.getImageData(0,0,i.width,i.height),r=o.data,s=r.length,threshold=120;for(var a=0;s>a;a+=4){var u=r[a],d=r[a+1],c=r[a+2],f=.2126*u+.7152*d+.0722*c>=threshold?255:0;r[a]=r[a+1]=r[a+2]=f}return n.putImageData(o,0,0),i.toDataURL()}return t}function jg_effect_blur(t){var e=!!document.createElement("canvas").getContext;if(e){var i=document.createElement("canvas"),n=i.getContext("2d"),o,r,s,a=0,h,l=0,u=0,d=30,c=1;img=new Image,img.src=t,i.width=img.width,i.height=img.height,n.drawImage(img,0,0);var o,f=img.width,g=img.height;o=n.getImageData(l,u,f,g);for(var p=o.data,m,v,y,w,b,x,a,I,S,E,_,z,R,T,C=f-1,j=g-1,O=f*g,L=d+1,A=[],D=[],M=[],H=mul_table[d],k=shg_table[d],W=[],B=[];c-- >0;){for(R=z=0,x=0;g>x;x++){for(m=p[R]*L,v=p[R+1]*L,y=p[R+2]*L,a=1;d>=a;a++)I=R+((a>C?C:a)<<2),m+=p[I++],v+=p[I++],y+=p[I++];for(b=0;f>b;b++)A[z]=m,D[z]=v,M[z]=y,0==x&&(W[b]=((I=b+L)<C?I:C)<<2,B[b]=(I=b-d)>0?I<<2:0),S=R+W[b],E=R+B[b],m+=p[S++]-p[E++],v+=p[S++]-p[E++],y+=p[S++]-p[E++],z++;R+=f<<2}for(b=0;f>b;b++){for(_=b,m=A[_]*L,v=D[_]*L,y=M[_]*L,a=1;d>=a;a++)_+=a>j?0:f,m+=A[_],v+=D[_],y+=M[_];for(z=b<<2,x=0;g>x;x++)p[z]=m*H>>>k,p[z+1]=v*H>>>k,p[z+2]=y*H>>>k,0==b&&(W[x]=((I=x+L)<j?I:j)*f,B[x]=(I=x-d)>0?I*f:0),S=b+W[x],E=b+B[x],m+=A[S]-A[E],v+=D[S]-D[E],y+=M[S]-M[E],z+=f<<2}}return n.putImageData(o,l,u),i.toDataURL()}return t}function jg_effect_vintage(t){var e={onError:function(){alert("ERROR")}},i={vignette:1,sepia:!0,noise:50,desaturate:.2,lighten:.1};new VintageJS(t,e,i)}function boxBlurImage(t,e,i,n,o){var r=document.getElementById(t),s=r.naturalWidth,a=r.naturalHeight,h=document.getElementById(e);h.style.width=s+"px",h.style.height=a+"px",h.width=s,h.height=a;var l=h.getContext("2d");l.clearRect(0,0,s,a),l.drawImage(r,0,0),isNaN(i)||1>i||(n?boxBlurCanvasRGBA(e,0,0,s,a,i,o):boxBlurCanvasRGB(e,0,0,s,a,i,o))}function boxBlurCanvasRGBA(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=document.getElementById(t),h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z,R=n-1,T=o-1,C=n*o,j=r+1,O=mul_table[r],L=shg_table[r],A=[],D=[],M=[],H=[],k=[],W=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*j,f=d[E+1]*j,g=d[E+2]*j,p=d[E+3]*j,y=1;r>=y;y++)w=E+((y>R?R:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++],p+=d[w];for(m=0;n>m;m++)A[S]=c,D[S]=f,M[S]=g,H[S]=p,0==v&&(k[m]=((w=m+j)<R?w:R)<<2,W[m]=(w=m-r)>0?w<<2:0),b=E+k[m],x=E+W[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],p+=d[b]-d[x],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=A[I]*j,f=D[I]*j,g=M[I]*j,p=H[I]*j,y=1;r>=y;y++)I+=y>T?0:n,c+=A[I],f+=D[I],g+=M[I],p+=H[I];for(S=m<<2,v=0;o>v;v++)d[S+3]=z=p*O>>>L,z>0?(z=255/z,d[S]=(c*O>>>L)*z,d[S+1]=(f*O>>>L)*z,d[S+2]=(g*O>>>L)*z):d[S]=d[S+1]=d[S+2]=0,0==m&&(k[v]=((w=v+j)<T?w:T)*n,W[v]=(w=v-r)>0?w*n:0),b=m+k[v],x=m+W[v],c+=A[b]-A[x],f+=D[b]-D[x],g+=M[b]-M[x],p+=H[b]-H[x],S+=n<<2}}h.putImageData(l,e,i)}}function boxBlurCanvasRGB(t,e,i,n,o,r,s){if(!(isNaN(r)||1>r)){r|=0,isNaN(s)&&(s=1),s|=0,s>3&&(s=3),1>s&&(s=1);var a=t,h=a.getContext("2d"),l;try{try{l=h.getImageData(e,i,n,o)}catch(u){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),l=h.getImageData(e,i,n,o)}catch(u){throw alert("Cannot access local image"),new Error("unable to access local image data: "+u);return}}}catch(u){throw alert("Cannot access image"),new Error("unable to access image data: "+u);return}for(var d=l.data,c,f,g,p,m,v,y,w,b,x,I,S,E,_,z=n-1,R=o-1,T=n*o,C=r+1,j=[],O=[],L=[],A=mul_table[r],D=shg_table[r],M=[],H=[];s-- >0;){for(E=S=0,v=0;o>v;v++){for(c=d[E]*C,f=d[E+1]*C,g=d[E+2]*C,y=1;r>=y;y++)w=E+((y>z?z:y)<<2),c+=d[w++],f+=d[w++],g+=d[w++];for(m=0;n>m;m++)j[S]=c,O[S]=f,L[S]=g,0==v&&(M[m]=((w=m+C)<z?w:z)<<2,H[m]=(w=m-r)>0?w<<2:0),b=E+M[m],x=E+H[m],c+=d[b++]-d[x++],f+=d[b++]-d[x++],g+=d[b++]-d[x++],S++;E+=n<<2}for(m=0;n>m;m++){for(I=m,c=j[I]*C,f=O[I]*C,g=L[I]*C,y=1;r>=y;y++)I+=y>R?0:n,c+=j[I],f+=O[I],g+=L[I];for(S=m<<2,v=0;o>v;v++)d[S]=c*A>>>D,d[S+1]=f*A>>>D,d[S+2]=g*A>>>D,0==m&&(M[v]=((w=v+C)<R?w:R)*n,H[v]=(w=v-r)>0?w*n:0),b=m+M[v],x=m+H[v],c+=j[b]-j[x],f+=O[b]-O[x],g+=L[b]-L[x],S+=n<<2}}h.putImageData(l,e,i)}}jQuery(document).ready(function($){$("body").on("click",'div.envirabox-title a[href*="#"]:not([href="#"])',function(t){return location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname?($.envirabox.close(),!1):void 0}),$(document).on("envira_image_lazy_load_complete",function(t){if(void 0!==t&&void 0!==t.image_id&&null!==t.image_id){var e=$("div.envira-gallery-public").find("img#"+t.image_id);if($("div.envira-gallery-public").hasClass("envira-gallery-0-columns"))$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();else{$(e).closest("div.envira-gallery-item-inner").find("div.envira-gallery-position-overlay").delay(100).show();var i=$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").width(),n=t.naturalHeight/t.naturalWidth,o=t.naturalHeight/i;if(n>o)var r=o;else var r=n;var s=100*r;$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").css("padding-bottom",s+"%"),$(e).closest("div.envira-gallery-item-inner").find(".envira-lazy").data("envira-changed","true"),void 0!==window["envira_container_"+t.gallery_id]&&window["envira_container_"+t.gallery_id].on("layoutComplete",function(t,i){$(e).closest("div.envira-gallery-item-inner").find("span.envira-title").delay(1e3).css("visibility","visible"),$(e).closest("div.envira-gallery-item-inner").find("span.envira-caption").delay(1e3).css("visibility","visible")}),$("#envira-gallery-"+t.gallery_id).enviratope("layout")}}})}),function($){function t(){return $("body").height()>$(window).height()}var e=function(t,e){this.settings=e,this.checkSettings(),this.imgAnalyzerTimeout=null,this.entries=null,this.buildingRow={entriesBuff:[],width:0,height:0,aspectRatio:0},this.lastAnalyzedIndex=-1,this["yield"]={every:2,flushed:0},this.border=e.border>=0?e.border:e.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges(),this.offY=this.border,this.rows=0,this.spinner={phase:0,timeSlot:150,$el:$('<div class="spinner"><span></span><span></span><span></span></div>'),intervalId:null},this.checkWidthIntervalId=null,this.galleryWidth=t.width(),this.$gallery=t};e.prototype.getSuffix=function(t,e){var i,n;for(i=t>e?t:e,n=0;n<this.suffixRanges.length;n++)if(i<=this.suffixRanges[n])return this.settings.sizeRangeSuffixes[this.suffixRanges[n]];return this.settings.sizeRangeSuffixes[this.suffixRanges[n-1]]},e.prototype.removeSuffix=function(t,e){return t.substring(0,t.length-e.length)},e.prototype.endsWith=function(t,e){return-1!==t.indexOf(e,t.length-e.length)},e.prototype.getUsedSuffix=function(t){for(var e in this.settings.sizeRangeSuffixes)if(this.settings.sizeRangeSuffixes.hasOwnProperty(e)){if(0===this.settings.sizeRangeSuffixes[e].length)continue;if(this.endsWith(t,this.settings.sizeRangeSuffixes[e]))return this.settings.sizeRangeSuffixes[e]}return""},e.prototype.newSrc=function(t,e,i){var n;if(this.settings.thumbnailPath)n=this.settings.thumbnailPath(t,e,i);else{var o=t.match(this.settings.extension),r=null!==o?o[0]:"";n=t.replace(this.settings.extension,""),n=this.removeSuffix(n,this.getUsedSuffix(n)),n+=this.getSuffix(e,i)+r}return n},e.prototype.showImg=function(t,e){this.settings.cssAnimation?(t.addClass("entry-visible"),e&&e()):t.stop().fadeTo(this.settings.imagesAnimationDuration,1,e)},e.prototype.extractImgSrcFromImage=function(t){var e="undefined"!=typeof t.data("safe-src")?t.data("safe-src"):t.attr("src");return t.data("jg.originalSrc",e),e},e.prototype.imgFromEntry=function(t){var e=t.find("> img");return 0===e.length&&(e=t.find("> a > img")),0===e.length?null:e},e.prototype.captionFromEntry=function(t){var e=t.find("> .caption");return 0===e.length?null:e},e.prototype.displayEntry=function(t,e,i,n,o,r){t.width(n),t.height(r),t.css("top",i),t.css("left",e);var s=this.imgFromEntry(t);if(null!==s){s.css("width",n),s.css("height",o),s.css("margin-left",-n/2),s.css("margin-top",-o/2);var a=s.attr("src"),h=this.newSrc(a,n,o);s.one("error",function(){s.attr("src",s.data("jg.originalSrc"))});var l=function(){a!==h&&s.attr("src",h)};"skipped"===t.data("jg.loaded")?this.onImageEvent(a,$.proxy(function(){this.showImg(t,l),t.data("jg.loaded",!0)},this)):this.showImg(t,l)}else this.showImg(t);this.displayEntryCaption(t)},e.prototype.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.attr("alt");this.isValidCaption(n)||(n=t.attr("title")),this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e.prototype.isValidCaption=function(t){return"undefined"!=typeof t&&t.length>0},e.prototype.onEntryMouseEnterForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.addClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.visibleOpacity)},e.prototype.onEntryMouseLeaveForCaption=function(t){var e=this.captionFromEntry($(t.currentTarget));this.settings.cssAnimation?e.removeClass("caption-visible").removeClass("caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.nonVisibleOpacity)},e.prototype.addCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"==typeof e&&(e={mouseenter:$.proxy(this.onEntryMouseEnterForCaption,this),mouseleave:$.proxy(this.onEntryMouseLeaveForCaption,this)},t.on("mouseenter",void 0,void 0,e.mouseenter),t.on("mouseleave",void 0,void 0,e.mouseleave),t.data("jg.captionMouseEvents",e))},e.prototype.removeCaptionEventsHandlers=function(t){var e=t.data("jg.captionMouseEvents");"undefined"!=typeof e&&(t.off("mouseenter",void 0,e.mouseenter),t.off("mouseleave",void 0,e.mouseleave),t.removeData("jg.captionMouseEvents"))},e.prototype.prepareBuildingRow=function(t){var e,i,n,o,r,s=!0,a=0,h=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,l=h/this.buildingRow.aspectRatio,u=this.settings.rowHeight,d=this.buildingRow.width/h>this.settings.justifyThreshold;if(t&&"hide"===this.settings.lastRow&&!d){for(e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],this.settings.cssAnimation?i.removeClass("entry-visible"):i.stop().fadeTo(0,0);return-1}for(t&&!d&&"justify"!==this.settings.lastRow&&"hide"!==this.settings.lastRow&&(s=!1,this.rows>0&&(u=(this.offY-this.border-this.settings.margins*this.rows)/this.rows,s=u*this.buildingRow.aspectRatio/h>this.settings.justifyThreshold?!0:!1)),e=0;e<this.buildingRow.entriesBuff.length;e++)i=this.buildingRow.entriesBuff[e],n=i.data("jg.width")/i.data("jg.height"),s?(o=e===this.buildingRow.entriesBuff.length-1?h:l*n,r=l):(o=u*n,r=u),h-=Math.round(o),i.data("jg.jwidth",Math.round(o)),i.data("jg.jheight",Math.ceil(r)),(0===e||a>r)&&(a=r);return this.settings.fixedHeight&&a>this.settings.rowHeight&&(a=this.settings.rowHeight),this.buildingRow.height=a,s},e.prototype.clearBuildingRow=function(){this.buildingRow.entriesBuff=[],this.buildingRow.aspectRatio=0,this.buildingRow.width=0},e.prototype.flushRow=function(t){var e=this.settings,i,n,o=this.border,r;if(n=this.prepareBuildingRow(t),t&&"hide"===e.lastRow&&-1===n)return void this.clearBuildingRow();if(this.maxRowHeight.isPercentage?this.maxRowHeight.value*e.rowHeight<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value*e.rowHeight):this.maxRowHeight.value>0&&this.maxRowHeight.value<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight.value),"center"===e.lastRow||"right"===e.lastRow){var s=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*e.margins;for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],s-=i.data("jg.jwidth");"center"===e.lastRow?o+=s/2:"right"===e.lastRow&&(o+=s)}for(r=0;r<this.buildingRow.entriesBuff.length;r++)i=this.buildingRow.entriesBuff[r],this.displayEntry(i,o,this.offY,i.data("jg.jwidth"),i.data("jg.jheight"),this.buildingRow.height),o+=i.data("jg.jwidth")+e.margins;this.galleryHeightToSet=this.offY+this.buildingRow.height+this.border,this.$gallery.height(this.galleryHeightToSet+this.getSpinnerHeight()),(!t||this.buildingRow.height<=e.rowHeight&&n)&&(this.offY+=this.buildingRow.height+e.margins,this.rows+=1,this.clearBuildingRow(),this.$gallery.trigger("jg.rowflush"))};var i=!1;e.prototype.checkWidth=function(){this.checkWidthIntervalId=setInterval($.proxy(function(){var e=parseFloat(this.$gallery.width());t()===i?Math.abs(e-this.galleryWidth)>this.settings.refreshSensitivity&&(this.galleryWidth=e,this.rewind(),this.startImgAnalyzer(!0)):(i=t(),this.galleryWidth=e)},this),this.settings.refreshTime)},e.prototype.isSpinnerActive=function(){return null!==this.spinner.intervalId},e.prototype.getSpinnerHeight=function(){return this.spinner.$el.innerHeight()},e.prototype.stopLoadingSpinnerAnimation=function(){clearInterval(this.spinner.intervalId),this.spinner.intervalId=null,this.$gallery.height(this.$gallery.height()-this.getSpinnerHeight()),this.spinner.$el.detach()},e.prototype.startLoadingSpinnerAnimation=function(){var t=this.spinner,e=t.$el.find("span");clearInterval(t.intervalId),this.$gallery.append(t.$el),this.$gallery.height(this.offY+this.buildingRow.height+this.getSpinnerHeight()),t.intervalId=setInterval(function(){t.phase<e.length?e.eq(t.phase).fadeTo(t.timeSlot,1):e.eq(t.phase-e.length).fadeTo(t.timeSlot,0),t.phase=(t.phase+1)%(2*e.length)},t.timeSlot)},e.prototype.rewind=function(){this.lastAnalyzedIndex=-1,this.offY=this.border,this.rows=0,this.clearBuildingRow()},e.prototype.updateEntries=function(t){return this.entries=this.$gallery.find(this.settings.selector).toArray(),0===this.entries.length?!1:(this.settings.filter?this.modifyEntries(this.filterArray,t):this.modifyEntries(this.resetFilters,t),$.isFunction(this.settings.sort)?this.modifyEntries(this.sortArray,t):this.settings.randomize&&this.modifyEntries(this.shuffleArray,t),!0)},e.prototype.insertToGallery=function(t){var e=this;$.each(t,function(){$(this).appendTo(e.$gallery)})},e.prototype.shuffleArray=function(t){var e,i,n;for(e=t.length-1;e>0;e--)i=Math.floor(Math.random()*(e+1)),n=t[e],t[e]=t[i],t[i]=n;return this.insertToGallery(t),t},e.prototype.sortArray=function(t){return t.sort(this.settings.sort),this.insertToGallery(t),t},e.prototype.resetFilters=function(t){for(var e=0;e<t.length;e++)$(t[e]).removeClass("jg-filtered");return t},e.prototype.filterArray=function(t){var e=this.settings;return"string"===$.type(e.filter)?t.filter(function(t){var i=$(t);return i.is(e.filter)?(i.removeClass("jg-filtered"),!0):(i.addClass("jg-filtered"),!1)}):$.isFunction(e.filter)?t.filter(e.filter):void 0},e.prototype.modifyEntries=function(t,e){var i=e?this.entries.splice(this.lastAnalyzedIndex+1,this.entries.length-this.lastAnalyzedIndex-1):this.entries;i=t.call(this,i),this.entries=e?this.entries.concat(i):i},e.prototype.destroy=function(){clearInterval(this.checkWidthIntervalId),$.each(this.entries,$.proxy(function(t,e){var i=$(e);i.css("width",""),i.css("height",""),i.css("top",""),i.css("left",""),i.data("jg.loaded",void 0),i.removeClass("jg-entry");var n=this.imgFromEntry(i);n.css("width",""),n.css("height",""),n.css("margin-left",""),n.css("margin-top",""),n.attr("src",n.data("jg.originalSrc")),n.data("jg.originalSrc",void 0),this.removeCaptionEventsHandlers(i);var o=this.captionFromEntry(i);i.data("jg.createdCaption")?(i.data("jg.createdCaption",void 0),null!==o&&o.remove()):null!==o&&o.fadeTo(0,1)},this)),this.$gallery.css("height",""),this.$gallery.removeClass("justified-gallery"),this.$gallery.data("jg.controller",void 0)},e.prototype.analyzeImages=function(t){for(var e=this.lastAnalyzedIndex+1;e<this.entries.length;e++){var i=$(this.entries[e]);if(i.data("jg.loaded")===!0||"skipped"===i.data("jg.loaded")){var n=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,o=i.data("jg.width")/i.data("jg.height");if(n/(this.buildingRow.aspectRatio+o)<this.settings.rowHeight&&(this.flushRow(!1),++this["yield"].flushed>=this["yield"].every))return void this.startImgAnalyzer(t);this.buildingRow.entriesBuff.push(i),this.buildingRow.aspectRatio+=o,this.buildingRow.width+=o*this.settings.rowHeight,this.lastAnalyzedIndex=e}else if("error"!==i.data("jg.loaded"))return}this.buildingRow.entriesBuff.length>0&&this.flushRow(!0),this.isSpinnerActive()&&this.stopLoadingSpinnerAnimation(),this.stopImgAnalyzerStarter(),this.$gallery.trigger(t?"jg.resize":"jg.complete"),this.$gallery.height(this.galleryHeightToSet)},e.prototype.stopImgAnalyzerStarter=function(){this["yield"].flushed=0,null!==this.imgAnalyzerTimeout&&clearTimeout(this.imgAnalyzerTimeout)},e.prototype.startImgAnalyzer=function(t){var e=this;this.stopImgAnalyzerStarter(),this.imgAnalyzerTimeout=setTimeout(function(){e.analyzeImages(t)},.001)},e.prototype.onImageEvent=function(t,e,i){if(e||i){var n=new Image,o=$(n);e&&o.one("load",function(){o.off("load error"),e(n)}),i&&o.one("error",function(){o.off("load error"),i(n)}),n.src=t}},e.prototype.init=function(){var t=!1,e=!1,i=this;$.each(this.entries,function(n,o){var r=$(o),s=i.imgFromEntry(r);if(r.addClass("jg-entry"),r.data("jg.loaded")!==!0&&"skipped"!==r.data("jg.loaded"))if(null!==i.settings.rel&&r.attr("rel",i.settings.rel),null!==i.settings.target&&r.attr("target",i.settings.target),null!==s){var a=i.extractImgSrcFromImage(s);if(s.attr("src",a),i.settings.waitThumbnailsLoad===!1){var h=parseFloat(s.attr("width")),l=parseFloat(s.attr("height"));if(!isNaN(h)&&!isNaN(l))return r.data("jg.width",h),r.data("jg.height",l),r.data("jg.loaded","skipped"),e=!0,i.startImgAnalyzer(!1),!0}r.data("jg.loaded",!1),t=!0,i.isSpinnerActive()||i.startLoadingSpinnerAnimation(),i.onImageEvent(a,function(t){r.data("jg.width",r.find(".envira-gallery-image").data("envira-width")),r.data("jg.height",r.find(".envira-gallery-image").data("envira-height")),r.data("jg.loaded",!0),i.startImgAnalyzer(!1)},function(){r.data("jg.loaded","error"),i.startImgAnalyzer(!1)})}else r.data("jg.loaded",!0),r.data("jg.width",r.width()|parseFloat(r.css("width"))|1),r.data("jg.height",r.height()|parseFloat(r.css("height"))|1)}),t||e||this.startImgAnalyzer(!1),this.checkWidth()},e.prototype.checkOrConvertNumber=function(t,e){if("string"===$.type(t[e])&&(t[e]=parseFloat(t[e])),"number"!==$.type(t[e]))throw e+" must be a number";if(isNaN(t[e]))throw"invalid number for "+e},e.prototype.checkSizeRangesSuffixes=function(){if("object"!==$.type(this.settings.sizeRangeSuffixes))throw"sizeRangeSuffixes must be defined and must be an object";var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(e);for(var i={0:""},n=0;n<t.length;n++)if("string"===$.type(t[n]))try{var o=parseInt(t[n].replace(/^[a-z]+/,""),10);i[o]=this.settings.sizeRangeSuffixes[t[n]]}catch(r){throw"sizeRangeSuffixes keys must contains correct numbers ("+r+")"}else i[t[n]]=this.settings.sizeRangeSuffixes[t[n]];this.settings.sizeRangeSuffixes=i},e.prototype.retrieveMaxRowHeight=function(){var t={};if("string"===$.type(this.settings.maxRowHeight))this.settings.maxRowHeight.match(/^[0-9]+%$/)?(t.value=parseFloat(this.settings.maxRowHeight.match(/^([0-9]+)%$/)[1])/100,t.isPercentage=!1):(t.value=parseFloat(this.settings.maxRowHeight),t.isPercentage=!0);else{if("number"!==$.type(this.settings.maxRowHeight))throw"maxRowHeight must be a number or a percentage";t.value=this.settings.maxRowHeight,t.isPercentage=!1}if(isNaN(t.value))throw"invalid number for maxRowHeight";return t.isPercentage?t.value<100&&(t.value=100):t.value>0&&t.value<this.settings.rowHeight&&(t.value=this.settings.rowHeight),t},e.prototype.checkSettings=function(){this.checkSizeRangesSuffixes(),this.checkOrConvertNumber(this.settings,"rowHeight"),this.checkOrConvertNumber(this.settings,"margins"),this.checkOrConvertNumber(this.settings,"border");var t=["justify","nojustify","left","center","right","hide"];if(-1===t.indexOf(this.settings.lastRow))throw"lastRow must be one of: "+t.join(", ");if(this.checkOrConvertNumber(this.settings,"justifyThreshold"),this.settings.justifyThreshold<0||this.settings.justifyThreshold>1)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!==$.type(this.settings.cssAnimation))throw"cssAnimation must be a boolean";if("boolean"!==$.type(this.settings.captions))throw"captions must be a boolean";if(this.checkOrConvertNumber(this.settings.captionSettings,"animationDuration"),this.checkOrConvertNumber(this.settings.captionSettings,"visibleOpacity"),this.settings.captionSettings.visibleOpacity<0||this.settings.captionSettings.visibleOpacity>1)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings.captionSettings,"nonVisibleOpacity"),this.settings.captionSettings.nonVisibleOpacity<0||this.settings.captionSettings.nonVisibleOpacity>1)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if("boolean"!==$.type(this.settings.fixedHeight))throw"fixedHeight must be a boolean";if(this.checkOrConvertNumber(this.settings,"imagesAnimationDuration"),this.checkOrConvertNumber(this.settings,"refreshTime"),this.checkOrConvertNumber(this.settings,"refreshSensitivity"),"boolean"!==$.type(this.settings.randomize))throw"randomize must be a boolean";if("string"!==$.type(this.settings.selector))throw"selector must be a string";if(this.settings.sort!==!1&&!$.isFunction(this.settings.sort))throw"sort must be false or a comparison function";if(this.settings.filter!==!1&&!$.isFunction(this.settings.filter)&&"string"!==$.type(this.settings.filter))throw"filter must be false, a string or a filter function"},e.prototype.retrieveSuffixRanges=function(){var t=[];for(var e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(parseInt(e,10));return t.sort(function(t,e){return t>e?1:e>t?-1:0}),t},e.prototype.updateSettings=function(t){this.settings=$.extend({},this.settings,t),this.checkSettings(),this.border=this.settings.border>=0?this.settings.border:this.settings.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges()},$.fn.justifiedGallery=function(t){return this.each(function(i,n){var o=$(n);o.addClass("justified-gallery");var r=o.data("jg.controller");if("undefined"==typeof r){if("undefined"!=typeof t&&null!==t&&"object"!==$.type(t)){if("destroy"===t)return;throw"The argument must be an object"}r=new e(o,$.extend({},$.fn.justifiedGallery.defaults,t)),o.data("jg.controller",r)}else if("norewind"===t);else{if("destroy"===t)return void r.destroy();r.updateSettings(t),r.rewind()}r.updateEntries("norewind"===t)&&r.init()})},$.fn.justifiedGallery.defaults={sizeRangeSuffixes:{},thumbnailPath:void 0,rowHeight:120,maxRowHeight:-1,margins:1,border:-1,lastRow:"nojustify",justifyThreshold:.9,fixedHeight:!1,waitThumbnailsLoad:!0,captions:!0,cssAnimation:!1,imagesAnimationDuration:500,captionSettings:{animationDuration:500,visibleOpacity:.7,nonVisibleOpacity:0},rel:null,target:null,extension:/\.[^.\\/]+$/,refreshTime:200,refreshSensitivity:0,randomize:!1,sort:!1,filter:!1,selector:"> a, > div:not(.spinner)"}}(jQuery),function($){var t=$.fn.justifiedGallery,e={};$.fn.enviraJustifiedGallery=function(){var i=t.apply(this,arguments);return e=i.data("jg.controller"),void 0!==e?(e.displayEntryCaption=function(t){var e=this.imgFromEntry(t);if(null!==e&&this.settings.captions){var i=this.captionFromEntry(t);if(null===i){var n=e.data("envira-caption");n=n.replace("<","&lt;"),this.isValidCaption(n)&&(i=$('<div class="caption">'+n+"</div>"),t.append(i),t.data("jg.createdCaption",!0))}null!==i&&(this.settings.cssAnimation||i.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},e):void 0}}(jQuery),/*!
2
  * vintageJS
3
  * Add a retro/vintage effect to images using the HTML5 canvas element
4
  *
assets/scss/admin.scss CHANGED
@@ -639,6 +639,16 @@ body.post-type-envira {
639
  }
640
  }
641
 
 
 
 
 
 
 
 
 
 
 
642
  /* ==========================================================================
643
  Responsive
644
  ========================================================================== */
639
  }
640
  }
641
 
642
+ /* ==========================================================================
643
+ Gallery List
644
+ ========================================================================== */
645
+
646
+ @media screen and (max-width: 782px) {
647
+ body.post-type-envira .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
648
+ display: table-cell;
649
+ }
650
+ }
651
+
652
  /* ==========================================================================
653
  Responsive
654
  ========================================================================== */
assets/scss/metabox.scss CHANGED
@@ -1331,6 +1331,12 @@ form#post.envira-gallery {
1331
  }
1332
  }
1333
 
 
 
 
 
 
 
1334
  /**
1335
  * Insert
1336
  */
1331
  }
1332
  }
1333
 
1334
+ .envira-progress-bar {
1335
+ .envira-progress-bar-status {
1336
+ display: none;
1337
+ }
1338
+ }
1339
+
1340
  /**
1341
  * Insert
1342
  */
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: Envira Gallery Team
7
  * Author URI: http://enviragallery.com
8
- * Version: 1.6.1.1
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.6.0';
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: Envira Gallery Team
7
  * Author URI: http://enviragallery.com
8
+ * Version: 1.6.1.2
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.6.1.2';
57
 
58
  /**
59
  * The name of the plugin.
includes/global/shortcode.php CHANGED
@@ -325,67 +325,70 @@ class Envira_Gallery_Shortcode {
325
 
326
  $output = '<div id="envira-gallery-item-' . sanitize_html_class( $id ) . '" class="' . $this->get_gallery_item_classes( $item, $i, $data ) . '" style="padding-left: ' . $padding . 'px; padding-bottom: ' . $this->get_config( 'margin', $data ) . 'px; padding-right: ' . $padding . 'px;" ' . apply_filters( 'envira_gallery_output_item_attr', '', $id, $item, $data, $i ) . ' itemscope itemtype="http://schema.org/ImageObject">';
327
 
328
- $output .= '<div class="envira-gallery-item-inner">';
329
- $output = apply_filters( 'envira_gallery_output_before_link', $output, $id, $item, $data, $i );
330
 
331
- // Top Left box
332
 
333
- $css_class = false; // no css classes yet
334
- $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'top-left' );
335
 
336
- $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-top-left">';
337
- $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'top-left' );
338
- $output .= '</div>';
339
 
340
- // Top Right box
341
 
342
- $css_class = false; // no css classes yet
343
- $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'top-right' );
344
 
345
- $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-top-right">';
346
- $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'top-right' );
347
- $output .= '</div>';
348
 
349
- // Bottom Left box
350
 
351
- $css_class = false; // no css classes yet
352
- $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'bottom-left' );
353
 
354
- $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-bottom-left">';
355
- $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'bottom-left' );
356
- $output .= '</div>';
357
 
358
- // Bottom Right box
359
- $css_class = false; // no css classes yet
360
- $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'bottom-right' );
361
 
362
- $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-bottom-right">';
363
- $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'bottom-right' );
364
- $output .= '</div>';
365
 
366
- // Caption
367
- // Lite doesn't support captions, so we fallback to the title.
368
- $caption = $item['title'];
369
 
370
- // Determine if we create a link.
371
- if ( ! empty( $item['link'] ) ) {
372
- $create_link = true;
373
- } else {
374
- $create_link = false;
375
- }
376
 
377
- if ( $create_link ) {
378
- $output .= '<a href="' . esc_url( $item['link'] ) . '" class="envira-gallery-' . sanitize_html_class( $data['id'] ) . ' envira-gallery-link" ' . $html5_attribute . '="enviragallery' . sanitize_html_class( $data['id'] ) . '" title="' . strip_tags( html_entity_decode( $item['title'] ) ) . '" data-envira-caption="' . $caption . '" data-envira-retina="' . ( isset( $item['lightbox_retina_image'] ) ? $item['lightbox_retina_image'] : '' ) . '" data-thumbnail="' . esc_url( $item['thumb'] ) . '"' . ( ( isset($item['link_new_window']) && $item['link_new_window'] == 1 ) ? ' target="_blank"' : '' ) . ' ' . apply_filters( 'envira_gallery_output_link_attr', '', $id, $item, $data, $i ) . ' itemprop="contentUrl">';
379
- }
380
 
381
- $output = apply_filters( 'envira_gallery_output_before_image', $output, $id, $item, $data, $i );
382
 
383
- $gallery_theme = $this->get_config( 'columns', $data ) == 0 ? ' envira-' . $this->get_config( 'justified_gallery_theme', $data ) : '';
 
 
 
 
 
 
 
 
 
384
 
385
- // Build the image and allow filtering
386
- // $output_item = '<img id="envira-gallery-image-' . sanitize_html_class( $id ) . '" class="envira-gallery-image envira-gallery-image-' . $i . $gallery_theme . '" data-envira-index="' . $i . '" src="' . esc_url( $imagesrc ) . '"' . ( $this->get_config( 'dimensions', $data ) ? ' width="' . $this->get_config( 'crop_width', $data ) . '" height="' . $this->get_config( 'crop_height', $data ) . '"' : '' ) . ' data-envira-src="' . esc_url( $imagesrc ) . '" data-envira-gallery-id="' . $data['id'] . '" data-envira-item-id="' . $id . '" data-envira-caption="' . $caption . '" alt="' . esc_attr( $item['alt'] ) . '" title="' . strip_tags( html_entity_decode( $item['title'] ) ) . '" ' . apply_filters( 'envira_gallery_output_image_attr', '', $id, $item, $data, $i ) . ' itemprop="thumbnailUrl" srcset="' . esc_url( $image_src_retina ) . ' 2x" />';
387
 
 
388
 
 
 
389
  // Build the image and allow filtering
390
  // Update: how we build the html depends on the lazy load script
391
 
@@ -438,9 +441,7 @@ class Envira_Gallery_Shortcode {
438
 
439
  // Automatic
440
 
441
- //$output_item = '<img id="envira-gallery-image-' . sanitize_html_class( $id ) . '" class="envira-gallery-image envira-gallery-image-' . $i . $gallery_theme . '" data-envira-index="' . $i . '" src="' . esc_url( $imagesrc ) . '"' . ( $this->get_config( 'dimensions', $data ) ? ' width="' . $this->get_config( 'crop_width', $data ) . '" height="' . $this->get_config( 'crop_height', $data ) . '"' : '' ) . ' data-envira-src="' . esc_url( $imagesrc ) . '" data-envira-gallery-id="' . $data['id'] . '" data-envira-item-id="' . $id . '" data-envira-caption="' . $caption . '" alt="' . esc_attr( $item['alt'] ) . '" title="' . strip_tags( html_entity_decode( $item['title'] ) ) . '" ' . apply_filters( 'envira_gallery_output_image_attr', '', $id, $item, $data, $i ) . ' itemprop="thumbnailUrl" srcset="' . esc_url( $image_src_retina ) . ' 2x" />';
442
-
443
- $output_item = '<img id="envira-gallery-image-' . sanitize_html_class( $id ) . '" class="envira-gallery-image envira-gallery-image-' . $i . $gallery_theme . ' '.$envira_lazy_load.'" data-envira-index="' . $i . '" src="' . esc_url( $output_src ) . '"' . ( $this->get_config( 'dimensions', $data ) ? ' width="' . $this->get_config( 'crop_width', $data ) . '" height="' . $this->get_config( 'crop_height', $data ) . '"' : '' ) . ' data-envira-src="' . esc_url( $output_src ) . '" data-envira-gallery-id="' . $data['id'] . '" data-envira-item-id="' . $id . '" data-envira-caption="' . $caption . '" alt="' . esc_attr( $item['alt'] ) . '" title="' . strip_tags( esc_attr( $item['title'] ) ) . '" ' . apply_filters( 'envira_gallery_output_image_attr', '', $id, $item, $data, $i ) . ' itemprop="thumbnailUrl" data-envira-srcset="' . esc_url( $output_src ) . ' 400w,' . esc_url( $output_src ) . ' 2x" data-envira-width="'.$output_width.'" data-envira-height="'.$output_height.'" srcset="' . ( ( $envira_lazy_load ) ? 'data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' : esc_url( $image_src_retina ) . ' 2x' ) . '" data-safe-src="'. ( ( $envira_lazy_load ) ? 'data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' : esc_url( $output_src ) ) . '" />';
444
 
445
  } else {
446
 
325
 
326
  $output = '<div id="envira-gallery-item-' . sanitize_html_class( $id ) . '" class="' . $this->get_gallery_item_classes( $item, $i, $data ) . '" style="padding-left: ' . $padding . 'px; padding-bottom: ' . $this->get_config( 'margin', $data ) . 'px; padding-right: ' . $padding . 'px;" ' . apply_filters( 'envira_gallery_output_item_attr', '', $id, $item, $data, $i ) . ' itemscope itemtype="http://schema.org/ImageObject">';
327
 
328
+ $output .= '<div class="envira-gallery-item-inner">';
329
+ $output = apply_filters( 'envira_gallery_output_before_link', $output, $id, $item, $data, $i );
330
 
331
+ // Top Left box
332
 
333
+ $css_class = false; // no css classes yet
334
+ $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'top-left' );
335
 
336
+ $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-top-left">';
337
+ $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'top-left' );
338
+ $output .= '</div>';
339
 
340
+ // Top Right box
341
 
342
+ $css_class = false; // no css classes yet
343
+ $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'top-right' );
344
 
345
+ $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-top-right">';
346
+ $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'top-right' );
347
+ $output .= '</div>';
348
 
349
+ // Bottom Left box
350
 
351
+ $css_class = false; // no css classes yet
352
+ $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'bottom-left' );
353
 
354
+ $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-bottom-left">';
355
+ $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'bottom-left' );
356
+ $output .= '</div>';
357
 
358
+ // Bottom Right box
359
+ $css_class = false; // no css classes yet
360
+ $css_class = apply_filters( 'envira_gallery_output_dynamic_position_css', $css_class, $output, $id, $item, $data, $i, 'bottom-right' );
361
 
362
+ $output .= '<div class="envira-gallery-position-overlay ' . $css_class . ' envira-gallery-bottom-right">';
363
+ $output = apply_filters( 'envira_gallery_output_dynamic_position', $output, $id, $item, $data, $i, 'bottom-right' );
364
+ $output .= '</div>';
365
 
366
+ // Title
367
+ $title = str_replace('<', '&lt;', $item['title'] ); // not sure why this was not encoded
368
+ $title = strip_tags( htmlspecialchars( $title ) );
369
 
370
+ // Caption
371
+ // Lite doesn't support captions, so we fallback to the title.
372
+ $caption = $title;
 
 
 
373
 
 
 
 
374
 
 
375
 
376
+ // Determine if we create a link.
377
+ if ( ! empty( $item['link'] ) ) {
378
+ $create_link = true;
379
+ } else {
380
+ $create_link = false;
381
+ }
382
+
383
+ if ( $create_link ) {
384
+ $output .= '<a href="' . esc_url( $item['link'] ) . '" class="envira-gallery-' . sanitize_html_class( $data['id'] ) . ' envira-gallery-link" ' . $html5_attribute . '="enviragallery' . sanitize_html_class( $data['id'] ) . '" title="' . $title . '" data-envira-caption="' . $caption . '" data-envira-retina="' . ( isset( $item['lightbox_retina_image'] ) ? $item['lightbox_retina_image'] : '' ) . '" data-thumbnail="' . esc_url( $item['thumb'] ) . '"' . ( ( isset($item['link_new_window']) && $item['link_new_window'] == 1 ) ? ' target="_blank"' : '' ) . ' ' . apply_filters( 'envira_gallery_output_link_attr', '', $id, $item, $data, $i ) . ' itemprop="contentUrl">';
385
+ }
386
 
 
 
387
 
388
+ $output = apply_filters( 'envira_gallery_output_before_image', $output, $id, $item, $data, $i );
389
 
390
+ $gallery_theme = $this->get_config( 'columns', $data ) == 0 ? ' envira-' . $this->get_config( 'justified_gallery_theme', $data ) : '';
391
+
392
  // Build the image and allow filtering
393
  // Update: how we build the html depends on the lazy load script
394
 
441
 
442
  // Automatic
443
 
444
+ $output_item = '<img id="envira-gallery-image-' . sanitize_html_class( $id ) . '" class="envira-gallery-image envira-gallery-image-' . $i . $gallery_theme . ' '.$envira_lazy_load.'" data-envira-index="' . $i . '" src="' . esc_url( $output_src ) . '"' . ( $this->get_config( 'dimensions', $data ) ? ' width="' . $this->get_config( 'crop_width', $data ) . '" height="' . $this->get_config( 'crop_height', $data ) . '"' : '' ) . ' data-envira-src="' . esc_url( $output_src ) . '" data-envira-gallery-id="' . $data['id'] . '" data-envira-item-id="' . $id . '" data-envira-caption="' . strip_tags( htmlspecialchars( $item['title'] ) ) . '" alt="' . esc_attr( $item['alt'] ) . '" title="' . strip_tags( htmlspecialchars( $item['title'] ) ) . '" ' . apply_filters( 'envira_gallery_output_image_attr', '', $id, $item, $data, $i ) . ' itemprop="thumbnailUrl" data-envira-srcset="' . esc_url( $output_src ) . ' 400w,' . esc_url( $output_src ) . ' 2x" data-envira-width="'.$output_width.'" data-envira-height="'.$output_height.'" srcset="' . ( ( $envira_lazy_load ) ? 'data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' : esc_url( $image_src_retina ) . ' 2x' ) . '" data-safe-src="'. ( ( $envira_lazy_load ) ? 'data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==' : esc_url( $output_src ) ) . '" />';
 
 
445
 
446
  } else {
447
 
readme.txt CHANGED
@@ -1,6 +1,6 @@
1
  === Gallery by Envira - Responsive Photo Gallery for WordPress ===
2
  Contributors: griffinjt, smub
3
- Tags: album, content gallery, fancy gallery, fullscreen gallery, gallery, gallery lightbox, gallery plugin, gallery slider, gallery slideshow, gallery widget, grid gallery, image gallery, masonry gallery, media gallery, mosaic gallery, photo album, photo gallery, polaroid gallery, portfolio gallery, post gallery, responsive gallery, thumbnail gallery, video gallery, wordpress gallery, wordpress gallery plugin, youtube gallery
4
  Requires at least: 4.0
5
  Tested up to: 4.7
6
  Stable tag: trunk
@@ -16,7 +16,7 @@ Here at **Envira Gallery**, we believe that you shouldn't have to hire a develop
16
 
17
  **Envira Gallery** allows you to create beautiful responsive photo gallery and video gallery for your WordPress site in minutes, not hours!
18
 
19
- At Envira Gallery, user experience is our #1 priority. That's why we put in extra effort to ensure that Envira is the best responsive **photo gallery** for WordPress. This means that your galleries will always look great on all devices (mobile, tablet, laptop, and desktop).
20
 
21
  Envira Gallery is highly optimized for web and server performance because we understand the importance of speed when it comes to SEO and conversion. We can honestly say that Envira Gallery is the **fastest WordPress gallery plugin** in the market.
22
 
@@ -29,7 +29,7 @@ https://www.youtube.com/watch?v=4jHG3LOmV-c&w=532&rel=0
29
 
30
  = Drag & Drop Photo Gallery Builder =
31
 
32
- We were tired with the bloated and buggy gallery plugins. That's why we built Envira Gallery to adapt to your workflow and allow you to create responsive WordPress galleries in minutes. By using our easy to use <a href="http://enviragallery.com/features/drag-drop-builder/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend">drag and drop builder</a>, you can upload your photos, rearrange them, and basically create a gallery in 5 minutes or less.
33
 
34
  But don't just take our word. See what one of the WordPress experts are saying:
35
 
@@ -38,9 +38,9 @@ But don't just take our word. See what one of the WordPress experts are saying:
38
 
39
  = Mobile Ready, SEO Friendly and Optimized for Speed =
40
 
41
- Envira Gallery is 100% responsive and mobile-friendly by default. We also optimized every query on the front-end and the back-end to ensure maximum speed - Yes, Envira is the fastest WordPress gallery plugin.
42
 
43
- We also made Envira the most SEO friendly gallery plugin with ability for meta data, deeplinks, standalone galleries, and paginaton.
44
 
45
  = Sharing and Selling Photos Made EASY =
46
 
@@ -162,10 +162,6 @@ Visit <a href="http://www.wpbeginner.com/" rel="friend" title="WPBeginner">WPBeg
162
 
163
  == Frequently Asked Questions ==
164
 
165
- = I'd like access to all features. How can I get them? =
166
-
167
- You can get access to more features, Addons and support by <a href="http://enviragallery.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend" title="Click here to learn more about Envira Gallery!">visiting the Envira Gallery website and purchasing a support license</a>. Purchasing a support license gets you access to the full version of Envira Gallery, automatic updates and support, and depending on the level of support license, you can even get exclusive access to Envira Gallery Addons!
168
-
169
  = Who should use Envira Gallery? =
170
 
171
  Envira gallery is perfect for photographers, designers, bloggers, and small businesses. Basically if you want to create a beautiful WordPress gallery, then you need to use Envira.
@@ -174,6 +170,53 @@ Envira gallery is perfect for photographers, designers, bloggers, and small busi
174
 
175
  Absolutely not. You can create and customize beautiful image and video galleries without any coding knowledge. We made it super easy.
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  = Is Envira Gallery translation ready? =
178
 
179
  Yes, Envira Gallery has full translation and localization support via the envira-gallery textdomain. To submit a translation, see https://translate.wordpress.org/projects/wp-plugins/envira-gallery-lite
@@ -187,6 +230,10 @@ Also, I'm an <a href="https://thomasgriffin.io" rel="me" title="WordPress Develo
187
  == Changelog ==
188
 
189
 
 
 
 
 
190
  = 1.6.1.1 =
191
 
192
  * Fix: Minor bug fixes
1
  === Gallery by Envira - Responsive Photo Gallery for WordPress ===
2
  Contributors: griffinjt, smub
3
+ Tags: gallery, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, album, content gallery, fancy gallery, fullscreen gallery, gallery lightbox, gallery plugin, gallery slider, gallery slideshow, gallery widget, grid gallery, masonry gallery, media gallery, mosaic gallery, photo album, polaroid gallery, portfolio gallery, post gallery, thumbnail gallery, video gallery, wordpress gallery, youtube gallery
4
  Requires at least: 4.0
5
  Tested up to: 4.7
6
  Stable tag: trunk
16
 
17
  **Envira Gallery** allows you to create beautiful responsive photo gallery and video gallery for your WordPress site in minutes, not hours!
18
 
19
+ At Envira Gallery, user experience is our #1 priority. That's why we put in extra effort to ensure that Envira is the best responsive **photo gallery** for WordPress. This means that your image gallery will always look great on all devices (mobile, tablet, laptop, and desktop).
20
 
21
  Envira Gallery is highly optimized for web and server performance because we understand the importance of speed when it comes to SEO and conversion. We can honestly say that Envira Gallery is the **fastest WordPress gallery plugin** in the market.
22
 
29
 
30
  = Drag & Drop Photo Gallery Builder =
31
 
32
+ We were tired with the bloated and buggy image gallery plugins. That's why we built Envira Gallery to adapt to your workflow and allow you to create responsive WordPress galleries in minutes. By using our easy to use <a href="http://enviragallery.com/features/drag-drop-builder/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend">drag and drop builder</a>, you can upload your photos, rearrange them, and basically create an image gallery in 5 minutes or less.
33
 
34
  But don't just take our word. See what one of the WordPress experts are saying:
35
 
38
 
39
  = Mobile Ready, SEO Friendly and Optimized for Speed =
40
 
41
+ Envira Gallery is 100% responsive and mobile-friendly by default. We also optimized every query on the front-end and the back-end to ensure maximum speed - Yes, Envira is the fastest WordPress photo gallery plugin.
42
 
43
+ We also made Envira the most SEO friendly photo gallery plugin with ability for meta data, deeplinks, standalone galleries, and paginaton.
44
 
45
  = Sharing and Selling Photos Made EASY =
46
 
162
 
163
  == Frequently Asked Questions ==
164
 
 
 
 
 
165
  = Who should use Envira Gallery? =
166
 
167
  Envira gallery is perfect for photographers, designers, bloggers, and small businesses. Basically if you want to create a beautiful WordPress gallery, then you need to use Envira.
170
 
171
  Absolutely not. You can create and customize beautiful image and video galleries without any coding knowledge. We made it super easy.
172
 
173
+ = What kind of galleries can I create with Envira Gallery? =
174
+
175
+ Envira Gallery combined with our two dozen addons is the most powerful WordPress gallery plugin in the market. Here are some types of galleries you can create:
176
+
177
+ Photo gallery
178
+ Image gallery
179
+ Video gallery
180
+ Fullscreen gallery
181
+ Image Gallery with Albums
182
+ Image Gallery with Lightbox
183
+ Featured Content Gallery
184
+ Masonry Photo Gallery
185
+ Justified Image Gallery
186
+ Image Gallery with Pagination
187
+ Polaroid Image Gallery
188
+ Instagram Photo Gallery
189
+ Image Gallery with Tags
190
+ Pinterest Image Gallery
191
+ Photo Gallery with EXIF Data
192
+ Image Gallery with Watermarks
193
+ Photo Gallery with Slideshow
194
+ Image Gallery with Zoom
195
+ Photo Gallery with Proofing
196
+ Image Gallery with Lazyload
197
+ WooCommerce Product Gallery
198
+ Image Gallery with Lightroom Photos
199
+ Password Protected Photo Gallery
200
+ Dropbox Image Gallery
201
+ Image Gallery from Zip Files
202
+ Photo Gallery with Breadcrumb Navigation
203
+ Custom Post Type Content Gallery
204
+ YouTube Video Gallery
205
+ Vimeo Video Gallery
206
+ Wistia Video Gallery
207
+ Custom Video Gallery
208
+ Dynamic Photo Gallery
209
+ Portfolio Gallery
210
+ Photo Gallery with Tiles
211
+ Image Gallery with Grid
212
+ Music Gallery
213
+
214
+
215
+
216
+ = I'd like access to all features. How can I get them? =
217
+
218
+ You can get access to more features, Addons and support by <a href="http://enviragallery.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion" rel="friend" title="Click here to learn more about Envira Gallery!">visiting the Envira Gallery website and purchasing a support license</a>. Purchasing a support license gets you access to the full version of Envira Gallery, automatic updates and support, and depending on the level of support license, you can even get exclusive access to Envira Gallery Addons!
219
+
220
  = Is Envira Gallery translation ready? =
221
 
222
  Yes, Envira Gallery has full translation and localization support via the envira-gallery textdomain. To submit a translation, see https://translate.wordpress.org/projects/wp-plugins/envira-gallery-lite
230
  == Changelog ==
231
 
232
 
233
+ = 1.6.1.2 =
234
+
235
+ * Fix: Minor bug fixes
236
+
237
  = 1.6.1.1 =
238
 
239
  * Fix: Minor bug fixes