Version Description
Download this release
Release Info
Developer | danieliser |
Plugin | Popup Maker – Popup Forms, Optins & More |
Version | 1.3.9 |
Comparing to | |
See all releases |
Code changes from version 1.3.8 to 1.3.9
- assets/css/popup-maker-admin.css +493 -0
- assets/css/popup-maker-admin.min.css +1 -0
- assets/css/popup-maker-site.css +161 -0
- assets/css/popup-maker-site.min.css +1 -0
- assets/{scripts → js}/jquery.cookie.js +0 -0
- assets/{scripts → js}/jquery.cookie.min.js +0 -0
- assets/{scripts → js}/popup-maker-admin.js +4 -2
- assets/{scripts → js}/popup-maker-admin.min.js +0 -0
- assets/{scripts → js}/popup-maker-easy-modal-importer-site.js +0 -0
- assets/{scripts → js}/popup-maker-easy-modal-importer-site.min.js +0 -0
- assets/{scripts → js}/popup-maker-site.js +10 -3
- assets/{scripts → js}/popup-maker-site.min.js +0 -0
- assets/sass/admin.scss +493 -0
- assets/sass/site.scss +163 -0
- assets/styles/popup-maker-admin.css +0 -493
- assets/styles/popup-maker-admin.min.css +0 -1
- assets/styles/popup-maker-site.css +0 -163
- assets/styles/popup-maker-site.min.css +0 -1
- includes/admin/popups/metabox-display-fields.php +13 -2
- includes/css-functions.php +7 -1
- includes/integrations/google-fonts.php +3 -3
- includes/integrations/visual-composer.php +4 -5
- includes/scripts.php +9 -7
- includes/shortcodes.php +19 -0
- popup-maker.php +2 -2
- readme.txt +13 -17
- templates/single-popup.php +10 -0
assets/css/popup-maker-admin.css
ADDED
@@ -0,0 +1,493 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* UI */
|
2 |
+
h3.title {
|
3 |
+
font-size: 16px !important;
|
4 |
+
color: #9aba27;
|
5 |
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.125);
|
6 |
+
}
|
7 |
+
|
8 |
+
#popuptitlediv #popuptitle {
|
9 |
+
background-color: #fff;
|
10 |
+
font-size: 1.5em;
|
11 |
+
height: 1.8em;
|
12 |
+
line-height: 100%;
|
13 |
+
margin: 0;
|
14 |
+
outline: medium none;
|
15 |
+
padding: 2px 8px;
|
16 |
+
width: 100%;
|
17 |
+
}
|
18 |
+
|
19 |
+
#popuptitlediv #popuptitle input {
|
20 |
+
color: #777;
|
21 |
+
font-size: 1.7em;
|
22 |
+
padding: 11px 10px;
|
23 |
+
position: absolute;
|
24 |
+
}
|
25 |
+
|
26 |
+
#popuptitlediv #popuptitle-prompt-text {
|
27 |
+
font-size: 1.4em;
|
28 |
+
padding: 8px 10px;
|
29 |
+
}
|
30 |
+
|
31 |
+
#titlediv #title {
|
32 |
+
margin: 0 0 1em;
|
33 |
+
height: 40px !important;
|
34 |
+
}
|
35 |
+
|
36 |
+
.posttypediv, .taxonomydiv {
|
37 |
+
margin-bottom: 10px;
|
38 |
+
clear: both;
|
39 |
+
overflow: auto;
|
40 |
+
}
|
41 |
+
|
42 |
+
#major-publishing-actions {
|
43 |
+
text-align: right;
|
44 |
+
}
|
45 |
+
|
46 |
+
#trigger-popmake-preview {
|
47 |
+
padding: 5px;
|
48 |
+
}
|
49 |
+
|
50 |
+
/*
|
51 |
+
|
52 |
+
input[type="text"], select {
|
53 |
+
font-size: 13px;
|
54 |
+
margin: 0;
|
55 |
+
height: 30px!important;
|
56 |
+
line-height: 28px!important;
|
57 |
+
padding: 0 6px 2px!important;
|
58 |
+
box-shadow: 0 1px 0 rgb(255, 255, 255) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
|
59 |
+
}
|
60 |
+
*/
|
61 |
+
input[type="range"] {
|
62 |
+
vertical-align: middle;
|
63 |
+
}
|
64 |
+
|
65 |
+
input.popmake-range-manual {
|
66 |
+
padding-right: 25px !important;
|
67 |
+
}
|
68 |
+
|
69 |
+
/*
|
70 |
+
input[type="text"], select {
|
71 |
+
border-radius: 3px;
|
72 |
+
border-style: solid;
|
73 |
+
border-width: 1px;
|
74 |
+
box-sizing: border-box;
|
75 |
+
cursor: pointer;
|
76 |
+
display: inline-block;
|
77 |
+
font-size: 13px;
|
78 |
+
margin: 0;
|
79 |
+
text-decoration: none;
|
80 |
+
white-space: nowrap;
|
81 |
+
height: 30px!important;
|
82 |
+
line-height: 28px!important;
|
83 |
+
padding: 0 12px 2px!important;
|
84 |
+
background: none repeat scroll 0 0 rgb(247, 247, 247)!important;
|
85 |
+
border-color: rgb(204, 204, 204);
|
86 |
+
box-shadow: 0 1px 0 rgb(255, 255, 255) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
|
87 |
+
color: rgb(85, 85, 85);
|
88 |
+
vertical-align: top!important;
|
89 |
+
}
|
90 |
+
input[type="text"] {
|
91 |
+
background-color: rgb(247, 247, 247)!important;
|
92 |
+
}
|
93 |
+
input[type="range"] {
|
94 |
+
background: transparent!important;
|
95 |
+
border:none!important;
|
96 |
+
outline:0;
|
97 |
+
box-shadow:none;
|
98 |
+
}
|
99 |
+
|
100 |
+
button.popmake-range-minus, button.popmake-range-plus {
|
101 |
+
height:30px;
|
102 |
+
width:30px;
|
103 |
+
text-align: center;
|
104 |
+
}
|
105 |
+
|
106 |
+
*/
|
107 |
+
option.bold {
|
108 |
+
font-weight: bold;
|
109 |
+
font-size: 1.125em;
|
110 |
+
}
|
111 |
+
|
112 |
+
/* Range Slider Adjusters */
|
113 |
+
.popmake-range-manual {
|
114 |
+
padding-right: 25px;
|
115 |
+
text-align: right;
|
116 |
+
width: 80px;
|
117 |
+
}
|
118 |
+
|
119 |
+
.range-value-unit {
|
120 |
+
position: relative;
|
121 |
+
display: inline-block;
|
122 |
+
margin-left: -30px;
|
123 |
+
margin-right: 10px;
|
124 |
+
width: 20px;
|
125 |
+
text-align: left;
|
126 |
+
}
|
127 |
+
|
128 |
+
/* Form Table Dividers */
|
129 |
+
.title-divider th {
|
130 |
+
border-top: 1px solid #ccc;
|
131 |
+
padding: 0;
|
132 |
+
}
|
133 |
+
|
134 |
+
.form-table td, .form-table tr {
|
135 |
+
padding-top: 10px;
|
136 |
+
}
|
137 |
+
|
138 |
+
.title-divider .title {
|
139 |
+
font-size: 1.125em;
|
140 |
+
padding-left: 0 !important;
|
141 |
+
padding-top: 20px !important;
|
142 |
+
padding-bottom: 0 !important;
|
143 |
+
}
|
144 |
+
|
145 |
+
/* Marketing & Standouts */
|
146 |
+
/* Menu Highlight */
|
147 |
+
#menu-posts-popup ul.wp-submenu li:nth-child(0n+9) a {
|
148 |
+
color: #9ABA27;
|
149 |
+
}
|
150 |
+
|
151 |
+
/* Upgrade Tips */
|
152 |
+
.popmake-upgrade-tip {
|
153 |
+
color: #333;
|
154 |
+
line-height: 2em !important;
|
155 |
+
}
|
156 |
+
|
157 |
+
div.popmake-upgrade-tip {
|
158 |
+
margin-bottom: 15px;
|
159 |
+
display: block;
|
160 |
+
font-weight: bold;
|
161 |
+
}
|
162 |
+
|
163 |
+
.popmake-upgrade-tip img {
|
164 |
+
float: left;
|
165 |
+
margin-right: 15px;
|
166 |
+
}
|
167 |
+
|
168 |
+
/* Theme Builder */
|
169 |
+
#popmake_popup_theme_preview {
|
170 |
+
z-index: 100;
|
171 |
+
}
|
172 |
+
|
173 |
+
#popmake_popup_theme_preview .inside {
|
174 |
+
margin-top: 0;
|
175 |
+
background: url(http://s.wordpress.com/mshots/v1/http://www.wordpress.org) no-repeat center top;
|
176 |
+
}
|
177 |
+
|
178 |
+
#popmake_popup_theme_preview .empreview {
|
179 |
+
padding-top: 25px;
|
180 |
+
}
|
181 |
+
|
182 |
+
.example-popup, .example-popup:before, .example-popup:after,
|
183 |
+
.example-popup *, .example-popup *:before, .example-popup *:after {
|
184 |
+
-moz-box-sizing: border-box;
|
185 |
+
}
|
186 |
+
|
187 |
+
.empreview .example-popup-overlay {
|
188 |
+
position: absolute;
|
189 |
+
display: block;
|
190 |
+
width: 100%;
|
191 |
+
height: 100%;
|
192 |
+
top: 0;
|
193 |
+
left: 0;
|
194 |
+
}
|
195 |
+
|
196 |
+
.empreview .example-popup {
|
197 |
+
display: block;
|
198 |
+
position: relative;
|
199 |
+
width: 95%;
|
200 |
+
max-width: 400px;
|
201 |
+
margin: 0 auto 25px;
|
202 |
+
font-size: 16px;
|
203 |
+
position: relative;
|
204 |
+
z-index: 99;
|
205 |
+
}
|
206 |
+
|
207 |
+
.empreview .example-popup .close-popup {
|
208 |
+
text-decoration: none;
|
209 |
+
text-align: center;
|
210 |
+
line-height: 1;
|
211 |
+
position: absolute;
|
212 |
+
font-weight: bold;
|
213 |
+
cursor: pointer;
|
214 |
+
min-width: 1em;
|
215 |
+
}
|
216 |
+
|
217 |
+
/* Sidebar */
|
218 |
+
.popmake-support-links {
|
219 |
+
list-style: none;
|
220 |
+
}
|
221 |
+
|
222 |
+
.popmake-support-links li {
|
223 |
+
margin-bottom: 10px;
|
224 |
+
}
|
225 |
+
|
226 |
+
.popmake-support-links a {
|
227 |
+
color: #20252b;
|
228 |
+
font-family: "Montserrat";
|
229 |
+
font-size: 1.25em;
|
230 |
+
text-transform: uppercase;
|
231 |
+
text-decoration: none;
|
232 |
+
}
|
233 |
+
|
234 |
+
.popmake-support-links a span {
|
235 |
+
margin-left: 10px;
|
236 |
+
}
|
237 |
+
|
238 |
+
.popmake-support-links a img {
|
239 |
+
top: 6px;
|
240 |
+
position: relative;
|
241 |
+
min-width: 24px;
|
242 |
+
max-width: 24px;
|
243 |
+
min-height: 24px;
|
244 |
+
max-height: 24px;
|
245 |
+
}
|
246 |
+
|
247 |
+
.button.rounded {
|
248 |
+
box-shadow: none;
|
249 |
+
border: 0;
|
250 |
+
border-radius: 2px;
|
251 |
+
padding-left: 18px;
|
252 |
+
padding-right: 18px;
|
253 |
+
-webkit-transition: -webkit-transform .5s;
|
254 |
+
transition: transform .5s;
|
255 |
+
margin-bottom: 10px;
|
256 |
+
}
|
257 |
+
|
258 |
+
.button.rounded:hover, .button.rounded:focus {
|
259 |
+
-webkit-transform: scale(1.125);
|
260 |
+
-ms-transform: scale(1.125);
|
261 |
+
transform: scale(1.125);
|
262 |
+
}
|
263 |
+
|
264 |
+
#popmake_popup_support {
|
265 |
+
margin-bottom: 10px;
|
266 |
+
}
|
267 |
+
|
268 |
+
#popmake_popup_share {
|
269 |
+
background: transparent;
|
270 |
+
border: 0;
|
271 |
+
padding: 0;
|
272 |
+
box-shadow: none;
|
273 |
+
}
|
274 |
+
|
275 |
+
#popmake_popup_share .handlediv {
|
276 |
+
display: none;
|
277 |
+
}
|
278 |
+
|
279 |
+
#popmake_popup_share .hndle {
|
280 |
+
display: none;
|
281 |
+
}
|
282 |
+
|
283 |
+
#popmake_popup_share .inside {
|
284 |
+
margin: 0 0 20px;
|
285 |
+
padding: 0;
|
286 |
+
}
|
287 |
+
|
288 |
+
.loveit-shareit {
|
289 |
+
font-weight: 700 !important;
|
290 |
+
font-size: 28px !important;
|
291 |
+
color: #333;
|
292 |
+
text-transform: uppercase;
|
293 |
+
}
|
294 |
+
|
295 |
+
.loveit-shareit span {
|
296 |
+
color: #9ABA27;
|
297 |
+
}
|
298 |
+
|
299 |
+
.follow-box {
|
300 |
+
text-align: center;
|
301 |
+
padding: 14px 36px;
|
302 |
+
background: #fff;
|
303 |
+
border: 1px solid #e5e5e5;
|
304 |
+
}
|
305 |
+
|
306 |
+
.share-buttons {
|
307 |
+
margin: 0 auto;
|
308 |
+
width: 68%;
|
309 |
+
display: block;
|
310 |
+
clear: both;
|
311 |
+
}
|
312 |
+
|
313 |
+
.share-buttons li {
|
314 |
+
text-align: center;
|
315 |
+
width: 32%;
|
316 |
+
display: inline-block;
|
317 |
+
float: left;
|
318 |
+
margin-right: 1%;
|
319 |
+
margin-bottom: 0;
|
320 |
+
}
|
321 |
+
|
322 |
+
.share-buttons li:last-child {
|
323 |
+
margin-right: 0;
|
324 |
+
}
|
325 |
+
|
326 |
+
/* Welcome Page */
|
327 |
+
.popmake-badge {
|
328 |
+
padding-top: 150px;
|
329 |
+
height: 52px;
|
330 |
+
width: 185px;
|
331 |
+
color: #666;
|
332 |
+
font-weight: bold;
|
333 |
+
font-size: 14px;
|
334 |
+
text-align: center;
|
335 |
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
336 |
+
margin: 0 -5px;
|
337 |
+
background: url("../images/welcome/logo.png") no-repeat center center;
|
338 |
+
}
|
339 |
+
|
340 |
+
.about-wrap .popmake-badge {
|
341 |
+
position: absolute;
|
342 |
+
top: 0;
|
343 |
+
right: 0;
|
344 |
+
}
|
345 |
+
|
346 |
+
.popmake-welcome-screenshots {
|
347 |
+
float: right;
|
348 |
+
margin-left: 10px !important;
|
349 |
+
padding: 0 7.5em;
|
350 |
+
}
|
351 |
+
|
352 |
+
.popmake-wrap .feature-section {
|
353 |
+
margin-top: 20px;
|
354 |
+
}
|
355 |
+
|
356 |
+
.tab-box {
|
357 |
+
margin-top: 40px;
|
358 |
+
position: relative;
|
359 |
+
border: 1px solid #ccc;
|
360 |
+
max-width: 500px;
|
361 |
+
padding: 20px 10px 5px;
|
362 |
+
}
|
363 |
+
|
364 |
+
.tab-box h4 {
|
365 |
+
font: 13px/30px "Open Sans", sans-serif;
|
366 |
+
font-weight: bold;
|
367 |
+
position: absolute;
|
368 |
+
background: #ccc;
|
369 |
+
display: inline-block;
|
370 |
+
padding: 0 10px;
|
371 |
+
top: -48px;
|
372 |
+
left: -1px;
|
373 |
+
}
|
374 |
+
|
375 |
+
.tab-box a {
|
376 |
+
font: 300 18px/1.125 "Oswald";
|
377 |
+
color: #9ABA27;
|
378 |
+
}
|
379 |
+
|
380 |
+
.tab-box button {
|
381 |
+
font: 300 18px/1.125 "Oswald";
|
382 |
+
color: #fff;
|
383 |
+
background: #9ABA27;
|
384 |
+
box-shadow: none;
|
385 |
+
border: 0;
|
386 |
+
padding: 5px 10px 7px;
|
387 |
+
cursor: pointer;
|
388 |
+
-webkit-transition: -webkit-transform .5s;
|
389 |
+
transition: transform .5s;
|
390 |
+
}
|
391 |
+
|
392 |
+
.tab-box button:hover {
|
393 |
+
-webkit-transform: scale(1.125);
|
394 |
+
-ms-transform: scale(1.125);
|
395 |
+
transform: scale(1.125);
|
396 |
+
}
|
397 |
+
|
398 |
+
#popmake-preview {
|
399 |
+
position: fixed;
|
400 |
+
z-index: 9999999 !important;
|
401 |
+
}
|
402 |
+
|
403 |
+
#popmake-overlay {
|
404 |
+
z-index: 9999998 !important;
|
405 |
+
}
|
406 |
+
|
407 |
+
/* Extensions Page */
|
408 |
+
.extensions-available {
|
409 |
+
display: block;
|
410 |
+
}
|
411 |
+
|
412 |
+
.extensions-available img {
|
413 |
+
width: 100%;
|
414 |
+
display: block;
|
415 |
+
height: auto;
|
416 |
+
max-width: 100%;
|
417 |
+
}
|
418 |
+
|
419 |
+
.extensions-available li {
|
420 |
+
box-sizing: border-box;
|
421 |
+
border: 1px solid #ccc;
|
422 |
+
background: #fff;
|
423 |
+
vertical-align: top;
|
424 |
+
width: 280px;
|
425 |
+
margin: 0 10px 20px;
|
426 |
+
display: inline;
|
427 |
+
float: left;
|
428 |
+
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
|
429 |
+
}
|
430 |
+
|
431 |
+
.extensions-available h3 {
|
432 |
+
text-align: center;
|
433 |
+
font-size: 16px !important;
|
434 |
+
}
|
435 |
+
|
436 |
+
.extensions-available h3 a {
|
437 |
+
color: inherit;
|
438 |
+
}
|
439 |
+
|
440 |
+
.extensions-available li > .action-links {
|
441 |
+
margin: 0 10px;
|
442 |
+
text-align: center;
|
443 |
+
display: block;
|
444 |
+
}
|
445 |
+
|
446 |
+
.extensions-available .action-links .button {
|
447 |
+
display: inline-block;
|
448 |
+
margin-bottom: 10px;
|
449 |
+
margin-top: 10px;
|
450 |
+
padding: 7px 30px;
|
451 |
+
font-weight: bold;
|
452 |
+
height: auto;
|
453 |
+
position: relative;
|
454 |
+
-webkit-transition: -webkit-transform .5s;
|
455 |
+
transition: transform .5s;
|
456 |
+
}
|
457 |
+
|
458 |
+
.extensions-available .action-links .button.install {
|
459 |
+
background: #00a651;
|
460 |
+
}
|
461 |
+
|
462 |
+
.extensions-available p {
|
463 |
+
margin: 10px;
|
464 |
+
color: #717171;
|
465 |
+
font-size: 14px;
|
466 |
+
text-align: center;
|
467 |
+
font-style: italic;
|
468 |
+
min-height: 7.5em;
|
469 |
+
}
|
470 |
+
|
471 |
+
.extensions-available a {
|
472 |
+
display: block;
|
473 |
+
text-align: center;
|
474 |
+
text-decoration: none;
|
475 |
+
}
|
476 |
+
|
477 |
+
@media only screen and (max-width: 360px) {
|
478 |
+
.extensions-available li {
|
479 |
+
display: block;
|
480 |
+
margin: 0 0 10px;
|
481 |
+
width: 100%;
|
482 |
+
}
|
483 |
+
}
|
484 |
+
@media only screen and (min-width: 361px) and (max-width: 768px) {
|
485 |
+
.extensions-available li {
|
486 |
+
width: 320px;
|
487 |
+
}
|
488 |
+
}
|
489 |
+
@media only screen and (min-width: 769px) and (max-width: 980px) {
|
490 |
+
.extensions-available li {
|
491 |
+
width: 240px;
|
492 |
+
}
|
493 |
+
}
|
assets/css/popup-maker-admin.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
h3.title{font-size:16px!important;color:#9aba27;text-shadow:1px 1px 1px rgba(0,0,0,.125)}#popuptitlediv #popuptitle{background-color:#fff;font-size:1.5em;height:1.8em;line-height:100%;margin:0;outline:0;padding:2px 8px;width:100%}#popuptitlediv #popuptitle input{color:#777;font-size:1.7em;padding:11px 10px;position:absolute}#popuptitlediv #popuptitle-prompt-text{font-size:1.4em;padding:8px 10px}#titlediv #title{margin:0 0 1em;height:40px!important}.posttypediv,.taxonomydiv{margin-bottom:10px;clear:both;overflow:auto}#major-publishing-actions{text-align:right}#trigger-popmake-preview{padding:5px}input[type=range]{vertical-align:middle}input.popmake-range-manual{padding-right:25px!important}option.bold{font-weight:700;font-size:1.125em}.popmake-range-manual{padding-right:25px;text-align:right;width:80px}.range-value-unit{position:relative;display:inline-block;margin-left:-30px;margin-right:10px;width:20px;text-align:left}.title-divider th{border-top:1px solid #ccc;padding:0}.form-table td,.form-table tr{padding-top:10px}.title-divider .title{font-size:1.125em;padding-left:0!important;padding-top:20px!important;padding-bottom:0!important}#menu-posts-popup ul.wp-submenu li:nth-child(0n+9) a{color:#9ABA27}.popmake-upgrade-tip{color:#333;line-height:2em!important}div.popmake-upgrade-tip{margin-bottom:15px;display:block;font-weight:700}.popmake-upgrade-tip img{float:left;margin-right:15px}#popmake_popup_theme_preview{z-index:100}#popmake_popup_theme_preview .inside{margin-top:0;background:url(http://s.wordpress.com/mshots/v1/http://www.wordpress.org) center top no-repeat}#popmake_popup_theme_preview .empreview{padding-top:25px}.example-popup,.example-popup *,.example-popup :after,.example-popup :before,.example-popup:after,.example-popup:before{-moz-box-sizing:border-box}.empreview .example-popup-overlay{position:absolute;display:block;width:100%;height:100%;top:0;left:0}.empreview .example-popup{display:block;width:95%;max-width:400px;margin:0 auto 25px;font-size:16px;position:relative;z-index:99}.empreview .example-popup .close-popup{text-decoration:none;text-align:center;line-height:1;position:absolute;font-weight:700;cursor:pointer;min-width:1em}.popmake-support-links{list-style:none}.popmake-support-links li{margin-bottom:10px}.popmake-support-links a{color:#20252b;font-family:Montserrat;font-size:1.25em;text-transform:uppercase;text-decoration:none}.popmake-support-links a span{margin-left:10px}.popmake-support-links a img{top:6px;position:relative;min-width:24px;max-width:24px;min-height:24px;max-height:24px}.button.rounded{box-shadow:none;border:0;border-radius:2px;padding-left:18px;padding-right:18px;-webkit-transition:-webkit-transform .5s;transition:transform .5s;margin-bottom:10px}.button.rounded:focus,.button.rounded:hover{-webkit-transform:scale(1.125);-ms-transform:scale(1.125);transform:scale(1.125)}#popmake_popup_support{margin-bottom:10px}#popmake_popup_share{background:0 0;border:0;padding:0;box-shadow:none}#popmake_popup_share .handlediv,#popmake_popup_share .hndle{display:none}#popmake_popup_share .inside{margin:0 0 20px;padding:0}.loveit-shareit{font-weight:700!important;font-size:28px!important;color:#333;text-transform:uppercase}.loveit-shareit span{color:#9ABA27}.follow-box{text-align:center;padding:14px 36px;background:#fff;border:1px solid #e5e5e5}.share-buttons{margin:0 auto;width:68%;display:block;clear:both}.share-buttons li{text-align:center;width:32%;display:inline-block;float:left;margin-right:1%;margin-bottom:0}.share-buttons li:last-child{margin-right:0}.popmake-badge{padding-top:150px;height:52px;width:185px;color:#666;font-weight:700;font-size:14px;text-align:center;text-shadow:0 1px 0 rgba(255,255,255,.8);margin:0 -5px;background:url(../images/welcome/logo.png) center center no-repeat}.about-wrap .popmake-badge{position:absolute;top:0;right:0}.popmake-welcome-screenshots{float:right;margin-left:10px!important;padding:0 7.5em}.popmake-wrap .feature-section{margin-top:20px}.tab-box{margin-top:40px;position:relative;border:1px solid #ccc;max-width:500px;padding:20px 10px 5px}.tab-box h4{font:13px/30px "Open Sans",sans-serif;font-weight:700;position:absolute;background:#ccc;display:inline-block;padding:0 10px;top:-48px;left:-1px}.tab-box a{font:300 18px/1.125 Oswald;color:#9ABA27}.tab-box button{font:300 18px/1.125 Oswald;color:#fff;background:#9ABA27;box-shadow:none;border:0;padding:5px 10px 7px;cursor:pointer;-webkit-transition:-webkit-transform .5s;transition:transform .5s}.tab-box button:hover{-webkit-transform:scale(1.125);-ms-transform:scale(1.125);transform:scale(1.125)}#popmake-preview{position:fixed;z-index:9999999!important}#popmake-overlay{z-index:9999998!important}.extensions-available{display:block}.extensions-available img{width:100%;display:block;height:auto;max-width:100%}.extensions-available li{box-sizing:border-box;border:1px solid #ccc;background:#fff;vertical-align:top;width:280px;margin:0 10px 20px;display:inline;float:left;box-shadow:1px 1px 4px rgba(0,0,0,.25)}.extensions-available h3{text-align:center;font-size:16px!important}.extensions-available h3 a{color:inherit}.extensions-available li>.action-links{margin:0 10px;text-align:center;display:block}.extensions-available .action-links .button{display:inline-block;margin-bottom:10px;margin-top:10px;padding:7px 30px;font-weight:700;height:auto;position:relative;-webkit-transition:-webkit-transform .5s;transition:transform .5s}.extensions-available .action-links .button.install{background:#00a651}.extensions-available p{margin:10px;color:#717171;font-size:14px;text-align:center;font-style:italic;min-height:7.5em}.extensions-available a{display:block;text-align:center;text-decoration:none}@media only screen and (max-width:360px){.extensions-available li{display:block;margin:0 0 10px;width:100%}}@media only screen and (min-width:361px) and (max-width:768px){.extensions-available li{width:320px}}@media only screen and (min-width:769px) and (max-width:980px){.extensions-available li{width:240px}}
|
assets/css/popup-maker-site.css
ADDED
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.popmake, .popmake:before, .popmake:after,
|
2 |
+
.popmake *, .popmake *:before, .popmake *:after {
|
3 |
+
/* Safari/Chrome, other WebKit */
|
4 |
+
/* Firefox, other Gecko */
|
5 |
+
box-sizing: border-box;
|
6 |
+
}
|
7 |
+
|
8 |
+
html.popup-open,
|
9 |
+
.popup-open body {
|
10 |
+
overflow: hidden;
|
11 |
+
}
|
12 |
+
|
13 |
+
.popmake-overlay {
|
14 |
+
position: fixed;
|
15 |
+
display: none;
|
16 |
+
width: 100%;
|
17 |
+
height: 100%;
|
18 |
+
top: 0;
|
19 |
+
left: 0;
|
20 |
+
z-index: 1999999998;
|
21 |
+
overflow-x: hidden;
|
22 |
+
overflow-y: auto;
|
23 |
+
}
|
24 |
+
|
25 |
+
.popmake {
|
26 |
+
top: 100px;
|
27 |
+
visibility: hidden;
|
28 |
+
position: absolute;
|
29 |
+
display: none;
|
30 |
+
z-index: 1999999999;
|
31 |
+
}
|
32 |
+
|
33 |
+
.popmake > .popmake-close {
|
34 |
+
text-decoration: none;
|
35 |
+
text-align: center;
|
36 |
+
line-height: 1;
|
37 |
+
position: absolute;
|
38 |
+
font-weight: bold;
|
39 |
+
cursor: pointer;
|
40 |
+
min-width: 1em;
|
41 |
+
}
|
42 |
+
|
43 |
+
.popmake.responsive {
|
44 |
+
left: 50%;
|
45 |
+
margin-left: -40%;
|
46 |
+
width: 95%;
|
47 |
+
height: auto;
|
48 |
+
overflow: visible;
|
49 |
+
}
|
50 |
+
|
51 |
+
.popmake.responsive .popmake-content img {
|
52 |
+
max-width: 100%;
|
53 |
+
height: auto;
|
54 |
+
}
|
55 |
+
|
56 |
+
@media only screen and (min-width: 768px) {
|
57 |
+
.popmake.size-nano {
|
58 |
+
margin-left: -5%;
|
59 |
+
width: 10%;
|
60 |
+
}
|
61 |
+
|
62 |
+
.popmake.size-micro {
|
63 |
+
margin-left: -10%;
|
64 |
+
width: 20%;
|
65 |
+
}
|
66 |
+
|
67 |
+
.popmake.size-tiny {
|
68 |
+
margin-left: -15%;
|
69 |
+
width: 30%;
|
70 |
+
}
|
71 |
+
|
72 |
+
.popmake.size-small {
|
73 |
+
margin-left: -20%;
|
74 |
+
width: 40%;
|
75 |
+
}
|
76 |
+
|
77 |
+
.popmake.size-medium {
|
78 |
+
margin-left: -30%;
|
79 |
+
width: 60%;
|
80 |
+
}
|
81 |
+
|
82 |
+
.popmake.size-normal {
|
83 |
+
margin-left: -30%;
|
84 |
+
width: 70%;
|
85 |
+
}
|
86 |
+
|
87 |
+
.popmake.size-large {
|
88 |
+
margin-left: -35%;
|
89 |
+
width: 80%;
|
90 |
+
}
|
91 |
+
|
92 |
+
.popmake.size-xlarge {
|
93 |
+
margin-left: -47.5%;
|
94 |
+
width: 95%;
|
95 |
+
}
|
96 |
+
|
97 |
+
.popmake.fixed {
|
98 |
+
position: fixed;
|
99 |
+
}
|
100 |
+
}
|
101 |
+
@media only screen and (max-width: 767px) {
|
102 |
+
.popmake.fixed {
|
103 |
+
position: absolute;
|
104 |
+
}
|
105 |
+
}
|
106 |
+
.popmake.custom-position {
|
107 |
+
left: auto;
|
108 |
+
top: auto;
|
109 |
+
margin-left: inherit;
|
110 |
+
}
|
111 |
+
|
112 |
+
.popmake.scrollable .popmake-content {
|
113 |
+
overflow: auto;
|
114 |
+
overflow-y: scroll;
|
115 |
+
max-height: 95%;
|
116 |
+
}
|
117 |
+
|
118 |
+
.popmake .popmake-content :last-child {
|
119 |
+
margin-bottom: 0;
|
120 |
+
}
|
121 |
+
|
122 |
+
.popmake iframe.formidable {
|
123 |
+
width: 100%;
|
124 |
+
overflow: visible;
|
125 |
+
}
|
126 |
+
|
127 |
+
.powered-by-popmake {
|
128 |
+
bottom: -28px;
|
129 |
+
display: block;
|
130 |
+
left: 0;
|
131 |
+
margin: 0 auto;
|
132 |
+
position: absolute;
|
133 |
+
text-align: center;
|
134 |
+
width: 100%;
|
135 |
+
}
|
136 |
+
|
137 |
+
.powered-by-popmake > a {
|
138 |
+
display: inline-block;
|
139 |
+
max-width: 205px;
|
140 |
+
}
|
141 |
+
|
142 |
+
.powered-by-popmake img {
|
143 |
+
max-width: 100%;
|
144 |
+
width: 100%;
|
145 |
+
}
|
146 |
+
|
147 |
+
.powered-by-popmake.small {
|
148 |
+
bottom: -22px;
|
149 |
+
}
|
150 |
+
|
151 |
+
.powered-by-popmake.small > a {
|
152 |
+
max-width: 125px;
|
153 |
+
}
|
154 |
+
|
155 |
+
.powered-by-popmake.large {
|
156 |
+
bottom: -30px;
|
157 |
+
}
|
158 |
+
|
159 |
+
.powered-by-popmake.large > a {
|
160 |
+
max-width: 285px;
|
161 |
+
}
|
assets/css/popup-maker-site.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.popmake,.popmake *,.popmake :after,.popmake :before,.popmake:after,.popmake:before{box-sizing:border-box}.popup-open body,html.popup-open{overflow:hidden}.popmake-overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;z-index:1999999998;overflow-x:hidden;overflow-y:auto}.popmake{top:100px;visibility:hidden;position:absolute;display:none;z-index:1999999999}.popmake>.popmake-close{text-decoration:none;text-align:center;line-height:1;position:absolute;font-weight:700;cursor:pointer;min-width:1em}.popmake.responsive{left:50%;margin-left:-40%;width:95%;height:auto;overflow:visible}.popmake.responsive .popmake-content img{max-width:100%;height:auto}@media only screen and (min-width:768px){.popmake.size-nano{margin-left:-5%;width:10%}.popmake.size-micro{margin-left:-10%;width:20%}.popmake.size-tiny{margin-left:-15%;width:30%}.popmake.size-small{margin-left:-20%;width:40%}.popmake.size-medium{margin-left:-30%;width:60%}.popmake.size-normal{margin-left:-30%;width:70%}.popmake.size-large{margin-left:-35%;width:80%}.popmake.size-xlarge{margin-left:-47.5%;width:95%}.popmake.fixed{position:fixed}}@media only screen and (max-width:767px){.popmake.fixed{position:absolute}}.popmake.custom-position{left:auto;top:auto;margin-left:inherit}.popmake.scrollable .popmake-content{overflow:auto;overflow-y:scroll;max-height:95%}.popmake .popmake-content :last-child{margin-bottom:0}.popmake iframe.formidable{width:100%;overflow:visible}.powered-by-popmake{bottom:-28px;display:block;left:0;margin:0 auto;position:absolute;text-align:center;width:100%}.powered-by-popmake>a{display:inline-block;max-width:205px}.powered-by-popmake img{max-width:100%;width:100%}.powered-by-popmake.small{bottom:-22px}.powered-by-popmake.small>a{max-width:125px}.powered-by-popmake.large{bottom:-30px}.powered-by-popmake.large>a{max-width:285px}
|
assets/{scripts → js}/jquery.cookie.js
RENAMED
File without changes
|
assets/{scripts → js}/jquery.cookie.min.js
RENAMED
File without changes
|
assets/{scripts → js}/popup-maker-admin.js
RENAMED
@@ -747,10 +747,12 @@ var PopMakeAdmin;
|
|
747 |
if (font.variants.length) {
|
748 |
for (i = 0; font.variants.length > i; i += 1) {
|
749 |
if (font.variants[i] === 'regular') {
|
750 |
-
jQuery('option[value="
|
751 |
-
jQuery('option[value="
|
752 |
} else {
|
753 |
if (font.variants[i].indexOf('italic') >= 0) {
|
|
|
|
|
754 |
jQuery('option[value="italic"]', $font_style).show();
|
755 |
}
|
756 |
jQuery('option[value="' + parseInt(font.variants[i], 10) + '"]', $font_weight).show();
|
747 |
if (font.variants.length) {
|
748 |
for (i = 0; font.variants.length > i; i += 1) {
|
749 |
if (font.variants[i] === 'regular') {
|
750 |
+
jQuery('option[value=""]', $font_weight).show();
|
751 |
+
jQuery('option[value=""]', $font_style).show();
|
752 |
} else {
|
753 |
if (font.variants[i].indexOf('italic') >= 0) {
|
754 |
+
|
755 |
+
console.log('italic');
|
756 |
jQuery('option[value="italic"]', $font_style).show();
|
757 |
}
|
758 |
jQuery('option[value="' + parseInt(font.variants[i], 10) + '"]', $font_weight).show();
|
assets/{scripts → js}/popup-maker-admin.min.js
RENAMED
File without changes
|
assets/{scripts → js}/popup-maker-easy-modal-importer-site.js
RENAMED
File without changes
|
assets/{scripts → js}/popup-maker-easy-modal-importer-site.min.js
RENAMED
File without changes
|
assets/{scripts → js}/popup-maker-site.js
RENAMED
@@ -1,6 +1,7 @@
|
|
1 |
/**
|
2 |
* Popup Maker v1.3.6
|
3 |
*/
|
|
|
4 |
(function (jQuery) {
|
5 |
"use strict";
|
6 |
var isScrolling = false;
|
@@ -174,8 +175,14 @@
|
|
174 |
$close = jQuery('.popmake-close', $this),
|
175 |
settings = $this.data('popmake');
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
$this
|
178 |
-
.trigger('popmakeBeforeClose')
|
179 |
.fadeOut(settings.close.close_speed, function () {
|
180 |
|
181 |
if ($overlay.length && $overlay.is(":visible")) {
|
@@ -617,8 +624,8 @@
|
|
617 |
}
|
618 |
};
|
619 |
|
620 |
-
jQuery.pm_cookie = jQuery.fn.popmake.cookie.process;
|
621 |
-
jQuery.pm_remove_cookie = jQuery.fn.popmake.cookie.remove;
|
622 |
|
623 |
jQuery.fn.popmake.utilities = {
|
624 |
convert_hex: function (hex, opacity) {
|
1 |
/**
|
2 |
* Popup Maker v1.3.6
|
3 |
*/
|
4 |
+
var pm_cookie, pm_remove_cookie;
|
5 |
(function (jQuery) {
|
6 |
"use strict";
|
7 |
var isScrolling = false;
|
175 |
$close = jQuery('.popmake-close', $this),
|
176 |
settings = $this.data('popmake');
|
177 |
|
178 |
+
$this.trigger('popmakeBeforeClose');
|
179 |
+
|
180 |
+
if ($this.hasClass('preventClose')) {
|
181 |
+
$this.removeClass('preventClose');
|
182 |
+
return this;
|
183 |
+
}
|
184 |
+
|
185 |
$this
|
|
|
186 |
.fadeOut(settings.close.close_speed, function () {
|
187 |
|
188 |
if ($overlay.length && $overlay.is(":visible")) {
|
624 |
}
|
625 |
};
|
626 |
|
627 |
+
pm_cookie = jQuery.pm_cookie = jQuery.fn.popmake.cookie.process;
|
628 |
+
pm_remove_cookie = jQuery.pm_remove_cookie = jQuery.fn.popmake.cookie.remove;
|
629 |
|
630 |
jQuery.fn.popmake.utilities = {
|
631 |
convert_hex: function (hex, opacity) {
|
assets/{scripts → js}/popup-maker-site.min.js
RENAMED
File without changes
|
assets/sass/admin.scss
ADDED
@@ -0,0 +1,493 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* UI */
|
2 |
+
h3.title {
|
3 |
+
font-size: 16px !important;
|
4 |
+
color: #9aba27;
|
5 |
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.125);
|
6 |
+
}
|
7 |
+
|
8 |
+
#popuptitlediv #popuptitle {
|
9 |
+
background-color: #fff;
|
10 |
+
font-size: 1.5em;
|
11 |
+
height: 1.8em;
|
12 |
+
line-height: 100%;
|
13 |
+
margin: 0;
|
14 |
+
outline: medium none;
|
15 |
+
padding: 2px 8px;
|
16 |
+
width: 100%;
|
17 |
+
}
|
18 |
+
|
19 |
+
#popuptitlediv #popuptitle input {
|
20 |
+
color: #777;
|
21 |
+
font-size: 1.7em;
|
22 |
+
padding: 11px 10px;
|
23 |
+
position: absolute;
|
24 |
+
}
|
25 |
+
|
26 |
+
#popuptitlediv #popuptitle-prompt-text {
|
27 |
+
font-size: 1.4em;
|
28 |
+
padding: 8px 10px;
|
29 |
+
}
|
30 |
+
|
31 |
+
#titlediv #title {
|
32 |
+
margin: 0 0 1em;
|
33 |
+
height: 40px !important;
|
34 |
+
}
|
35 |
+
|
36 |
+
.posttypediv, .taxonomydiv {
|
37 |
+
margin-bottom: 10px;
|
38 |
+
clear: both;
|
39 |
+
overflow: auto;
|
40 |
+
}
|
41 |
+
|
42 |
+
#major-publishing-actions {
|
43 |
+
text-align: right;
|
44 |
+
}
|
45 |
+
|
46 |
+
#trigger-popmake-preview {
|
47 |
+
padding: 5px;
|
48 |
+
|
49 |
+
}
|
50 |
+
|
51 |
+
/*
|
52 |
+
|
53 |
+
input[type="text"], select {
|
54 |
+
font-size: 13px;
|
55 |
+
margin: 0;
|
56 |
+
height: 30px!important;
|
57 |
+
line-height: 28px!important;
|
58 |
+
padding: 0 6px 2px!important;
|
59 |
+
box-shadow: 0 1px 0 rgb(255, 255, 255) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
|
60 |
+
}
|
61 |
+
*/
|
62 |
+
|
63 |
+
input[type="range"] {
|
64 |
+
vertical-align: middle;
|
65 |
+
}
|
66 |
+
|
67 |
+
input.popmake-range-manual {
|
68 |
+
padding-right: 25px !important;
|
69 |
+
}
|
70 |
+
|
71 |
+
/*
|
72 |
+
input[type="text"], select {
|
73 |
+
border-radius: 3px;
|
74 |
+
border-style: solid;
|
75 |
+
border-width: 1px;
|
76 |
+
box-sizing: border-box;
|
77 |
+
cursor: pointer;
|
78 |
+
display: inline-block;
|
79 |
+
font-size: 13px;
|
80 |
+
margin: 0;
|
81 |
+
text-decoration: none;
|
82 |
+
white-space: nowrap;
|
83 |
+
height: 30px!important;
|
84 |
+
line-height: 28px!important;
|
85 |
+
padding: 0 12px 2px!important;
|
86 |
+
background: none repeat scroll 0 0 rgb(247, 247, 247)!important;
|
87 |
+
border-color: rgb(204, 204, 204);
|
88 |
+
box-shadow: 0 1px 0 rgb(255, 255, 255) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
|
89 |
+
color: rgb(85, 85, 85);
|
90 |
+
vertical-align: top!important;
|
91 |
+
}
|
92 |
+
input[type="text"] {
|
93 |
+
background-color: rgb(247, 247, 247)!important;
|
94 |
+
}
|
95 |
+
input[type="range"] {
|
96 |
+
background: transparent!important;
|
97 |
+
border:none!important;
|
98 |
+
outline:0;
|
99 |
+
box-shadow:none;
|
100 |
+
}
|
101 |
+
|
102 |
+
button.popmake-range-minus, button.popmake-range-plus {
|
103 |
+
height:30px;
|
104 |
+
width:30px;
|
105 |
+
text-align: center;
|
106 |
+
}
|
107 |
+
|
108 |
+
*/
|
109 |
+
option.bold {
|
110 |
+
font-weight: bold;
|
111 |
+
font-size: 1.125em;
|
112 |
+
}
|
113 |
+
|
114 |
+
/* Range Slider Adjusters */
|
115 |
+
.popmake-range-manual {
|
116 |
+
padding-right: 25px;
|
117 |
+
text-align: right;
|
118 |
+
width: 80px;
|
119 |
+
}
|
120 |
+
|
121 |
+
.range-value-unit {
|
122 |
+
position: relative;
|
123 |
+
display: inline-block;
|
124 |
+
margin-left: -30px;
|
125 |
+
margin-right: 10px;
|
126 |
+
width: 20px;
|
127 |
+
text-align: left;
|
128 |
+
}
|
129 |
+
|
130 |
+
/* Form Table Dividers */
|
131 |
+
.title-divider th {
|
132 |
+
border-top: 1px solid #ccc;
|
133 |
+
padding: 0;
|
134 |
+
}
|
135 |
+
|
136 |
+
.form-table td, .form-table tr {
|
137 |
+
padding-top: 10px;
|
138 |
+
}
|
139 |
+
|
140 |
+
.title-divider .title {
|
141 |
+
font-size: 1.125em;
|
142 |
+
padding-left: 0 !important;
|
143 |
+
padding-top: 20px !important;
|
144 |
+
padding-bottom: 0 !important;
|
145 |
+
}
|
146 |
+
|
147 |
+
/* Marketing & Standouts */
|
148 |
+
/* Menu Highlight */
|
149 |
+
#menu-posts-popup ul.wp-submenu li:nth-child(0n+9) a {
|
150 |
+
color: #9ABA27;
|
151 |
+
}
|
152 |
+
|
153 |
+
/* Upgrade Tips */
|
154 |
+
.popmake-upgrade-tip {
|
155 |
+
color: #333;
|
156 |
+
line-height: 2em !important;
|
157 |
+
}
|
158 |
+
|
159 |
+
div.popmake-upgrade-tip {
|
160 |
+
margin-bottom: 15px;
|
161 |
+
display: block;
|
162 |
+
font-weight: bold;
|
163 |
+
}
|
164 |
+
|
165 |
+
.popmake-upgrade-tip img {
|
166 |
+
float: left;
|
167 |
+
margin-right: 15px;
|
168 |
+
}
|
169 |
+
|
170 |
+
|
171 |
+
/* Theme Builder */
|
172 |
+
#popmake_popup_theme_preview {
|
173 |
+
z-index: 100;
|
174 |
+
}
|
175 |
+
|
176 |
+
#popmake_popup_theme_preview .inside {
|
177 |
+
margin-top: 0;
|
178 |
+
background: url(http://s.wordpress.com/mshots/v1/http://www.wordpress.org) no-repeat center top;
|
179 |
+
}
|
180 |
+
|
181 |
+
#popmake_popup_theme_preview .empreview {
|
182 |
+
padding-top: 25px;
|
183 |
+
}
|
184 |
+
|
185 |
+
.example-popup, .example-popup:before, .example-popup:after,
|
186 |
+
.example-popup *, .example-popup *:before, .example-popup *:after {
|
187 |
+
-moz-box-sizing: border-box;
|
188 |
+
}
|
189 |
+
|
190 |
+
.empreview .example-popup-overlay {
|
191 |
+
position: absolute;
|
192 |
+
display: block;
|
193 |
+
width: 100%;
|
194 |
+
height: 100%;
|
195 |
+
top: 0;
|
196 |
+
left: 0
|
197 |
+
}
|
198 |
+
|
199 |
+
.empreview .example-popup {
|
200 |
+
display: block;
|
201 |
+
position: relative;
|
202 |
+
width: 95%;
|
203 |
+
max-width: 400px;
|
204 |
+
margin: 0 auto 25px;
|
205 |
+
font-size: 16px;
|
206 |
+
position: relative;
|
207 |
+
z-index: 99;
|
208 |
+
}
|
209 |
+
|
210 |
+
.empreview .example-popup .close-popup {
|
211 |
+
text-decoration: none;
|
212 |
+
text-align: center;
|
213 |
+
line-height: 1;
|
214 |
+
position: absolute;
|
215 |
+
font-weight: bold;
|
216 |
+
cursor: pointer;
|
217 |
+
min-width: 1em;
|
218 |
+
}
|
219 |
+
|
220 |
+
/* Sidebar */
|
221 |
+
.popmake-support-links {
|
222 |
+
list-style: none;
|
223 |
+
}
|
224 |
+
|
225 |
+
.popmake-support-links li {
|
226 |
+
margin-bottom: 10px;
|
227 |
+
}
|
228 |
+
|
229 |
+
.popmake-support-links a {
|
230 |
+
color: #20252b;
|
231 |
+
font-family: "Montserrat";
|
232 |
+
font-size: 1.25em;
|
233 |
+
text-transform: uppercase;
|
234 |
+
text-decoration: none;
|
235 |
+
}
|
236 |
+
|
237 |
+
.popmake-support-links a span {
|
238 |
+
margin-left: 10px;
|
239 |
+
}
|
240 |
+
|
241 |
+
.popmake-support-links a img {
|
242 |
+
top: 6px;
|
243 |
+
position: relative;
|
244 |
+
min-width: 24px;
|
245 |
+
max-width: 24px;
|
246 |
+
min-height: 24px;
|
247 |
+
max-height: 24px;
|
248 |
+
}
|
249 |
+
|
250 |
+
.button.rounded {
|
251 |
+
box-shadow: none;
|
252 |
+
border: 0;
|
253 |
+
border-radius: 2px;
|
254 |
+
padding-left: 18px;
|
255 |
+
padding-right: 18px;
|
256 |
+
transition: transform .5s;
|
257 |
+
margin-bottom: 10px;
|
258 |
+
}
|
259 |
+
|
260 |
+
.button.rounded:hover, .button.rounded:focus {
|
261 |
+
transform: scale(1.125);
|
262 |
+
}
|
263 |
+
|
264 |
+
#popmake_popup_support {
|
265 |
+
margin-bottom: 10px;
|
266 |
+
}
|
267 |
+
|
268 |
+
#popmake_popup_share {
|
269 |
+
background: transparent;
|
270 |
+
border: 0;
|
271 |
+
padding: 0;
|
272 |
+
box-shadow: none;
|
273 |
+
}
|
274 |
+
|
275 |
+
#popmake_popup_share .handlediv {
|
276 |
+
display: none;
|
277 |
+
}
|
278 |
+
|
279 |
+
#popmake_popup_share .hndle {
|
280 |
+
display: none;
|
281 |
+
}
|
282 |
+
|
283 |
+
#popmake_popup_share .inside {
|
284 |
+
margin: 0 0 20px;
|
285 |
+
padding: 0;
|
286 |
+
}
|
287 |
+
|
288 |
+
.loveit-shareit {
|
289 |
+
font-weight: 700 !important;
|
290 |
+
font-size: 28px !important;
|
291 |
+
color: #333;
|
292 |
+
text-transform: uppercase;
|
293 |
+
}
|
294 |
+
|
295 |
+
.loveit-shareit span {
|
296 |
+
color: #9ABA27;
|
297 |
+
}
|
298 |
+
|
299 |
+
.follow-box {
|
300 |
+
text-align: center;
|
301 |
+
padding: 14px 36px;
|
302 |
+
background: #fff;
|
303 |
+
border: 1px solid #e5e5e5;
|
304 |
+
}
|
305 |
+
|
306 |
+
.share-buttons {
|
307 |
+
margin: 0 auto;
|
308 |
+
width: 68%;
|
309 |
+
display: block;
|
310 |
+
clear: both;
|
311 |
+
}
|
312 |
+
|
313 |
+
.share-buttons li {
|
314 |
+
text-align: center;
|
315 |
+
width: 32%;
|
316 |
+
display: inline-block;
|
317 |
+
float: left;
|
318 |
+
margin-right: 1%;
|
319 |
+
margin-bottom: 0;
|
320 |
+
}
|
321 |
+
|
322 |
+
.share-buttons li:last-child {
|
323 |
+
margin-right: 0;
|
324 |
+
}
|
325 |
+
|
326 |
+
/* Welcome Page */
|
327 |
+
.popmake-badge {
|
328 |
+
padding-top: 150px;
|
329 |
+
height: 52px;
|
330 |
+
width: 185px;
|
331 |
+
color: #666;
|
332 |
+
font-weight: bold;
|
333 |
+
font-size: 14px;
|
334 |
+
text-align: center;
|
335 |
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
336 |
+
margin: 0 -5px;
|
337 |
+
background: url('../images/welcome/logo.png') no-repeat center center;
|
338 |
+
}
|
339 |
+
|
340 |
+
.about-wrap .popmake-badge {
|
341 |
+
position: absolute;
|
342 |
+
top: 0;
|
343 |
+
right: 0;
|
344 |
+
}
|
345 |
+
|
346 |
+
.popmake-welcome-screenshots {
|
347 |
+
float: right;
|
348 |
+
margin-left: 10px !important;
|
349 |
+
padding: 0 7.5em;
|
350 |
+
}
|
351 |
+
|
352 |
+
.popmake-wrap .feature-section {
|
353 |
+
margin-top: 20px;
|
354 |
+
}
|
355 |
+
|
356 |
+
.tab-box {
|
357 |
+
margin-top: 40px;
|
358 |
+
position: relative;
|
359 |
+
border: 1px solid #ccc;
|
360 |
+
max-width: 500px;
|
361 |
+
padding: 20px 10px 5px;
|
362 |
+
}
|
363 |
+
|
364 |
+
.tab-box h4 {
|
365 |
+
font: 13px/30px "Open Sans", sans-serif;
|
366 |
+
font-weight: bold;
|
367 |
+
position: absolute;
|
368 |
+
background: #ccc;
|
369 |
+
display: inline-block;
|
370 |
+
padding: 0 10px;
|
371 |
+
top: -48px;
|
372 |
+
left: -1px;
|
373 |
+
}
|
374 |
+
|
375 |
+
.tab-box a {
|
376 |
+
font: 300 18px/1.125 "Oswald";
|
377 |
+
color: #9ABA27;
|
378 |
+
}
|
379 |
+
|
380 |
+
.tab-box button {
|
381 |
+
font: 300 18px/1.125 "Oswald";
|
382 |
+
color: #fff;
|
383 |
+
background: #9ABA27;
|
384 |
+
box-shadow: none;
|
385 |
+
border: 0;
|
386 |
+
padding: 5px 10px 7px;
|
387 |
+
cursor: pointer;
|
388 |
+
transition: transform .5s;
|
389 |
+
}
|
390 |
+
|
391 |
+
.tab-box button:hover {
|
392 |
+
transform: scale(1.125);
|
393 |
+
}
|
394 |
+
|
395 |
+
#popmake-preview {
|
396 |
+
position: fixed;
|
397 |
+
z-index: 9999999 !important;
|
398 |
+
}
|
399 |
+
|
400 |
+
#popmake-overlay {
|
401 |
+
z-index: 9999998 !important;
|
402 |
+
}
|
403 |
+
|
404 |
+
/* Extensions Page */
|
405 |
+
.extensions-available {
|
406 |
+
display: block;
|
407 |
+
}
|
408 |
+
|
409 |
+
.extensions-available img {
|
410 |
+
width: 100%;
|
411 |
+
display: block;
|
412 |
+
height: auto;
|
413 |
+
max-width: 100%;
|
414 |
+
}
|
415 |
+
|
416 |
+
.extensions-available li {
|
417 |
+
box-sizing: border-box;
|
418 |
+
border: 1px solid #ccc;
|
419 |
+
background: #fff;
|
420 |
+
vertical-align: top;
|
421 |
+
width: 280px;
|
422 |
+
margin: 0 10px 20px;
|
423 |
+
display: inline;
|
424 |
+
float: left;
|
425 |
+
-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
|
426 |
+
-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
|
427 |
+
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
|
428 |
+
}
|
429 |
+
|
430 |
+
.extensions-available h3 {
|
431 |
+
text-align: center;
|
432 |
+
font-size: 16px !important;
|
433 |
+
}
|
434 |
+
|
435 |
+
.extensions-available h3 a {
|
436 |
+
color: inherit;
|
437 |
+
}
|
438 |
+
|
439 |
+
.extensions-available li > .action-links {
|
440 |
+
margin: 0 10px;
|
441 |
+
text-align: center;
|
442 |
+
display: block;
|
443 |
+
}
|
444 |
+
|
445 |
+
.extensions-available .action-links .button {
|
446 |
+
display: inline-block;
|
447 |
+
margin-bottom: 10px;
|
448 |
+
margin-top: 10px;
|
449 |
+
padding: 7px 30px;
|
450 |
+
font-weight: bold;
|
451 |
+
height: auto;
|
452 |
+
position: relative;
|
453 |
+
transition: transform .5s;
|
454 |
+
}
|
455 |
+
|
456 |
+
.extensions-available .action-links .button.install {
|
457 |
+
background: #00a651;
|
458 |
+
}
|
459 |
+
|
460 |
+
.extensions-available p {
|
461 |
+
margin: 10px;
|
462 |
+
color: #717171;
|
463 |
+
font-size: 14px;
|
464 |
+
text-align: center;
|
465 |
+
font-style: italic;
|
466 |
+
min-height: 7.5em;
|
467 |
+
}
|
468 |
+
|
469 |
+
.extensions-available a {
|
470 |
+
display: block;
|
471 |
+
text-align: center;
|
472 |
+
text-decoration: none;
|
473 |
+
}
|
474 |
+
|
475 |
+
@media only screen and (max-width: 360px) {
|
476 |
+
.extensions-available li {
|
477 |
+
display: block;
|
478 |
+
margin: 0 0 10px;
|
479 |
+
width: 100%;
|
480 |
+
}
|
481 |
+
}
|
482 |
+
|
483 |
+
@media only screen and (min-width: 361px) and (max-width: 768px) {
|
484 |
+
.extensions-available li {
|
485 |
+
width: 320px;
|
486 |
+
}
|
487 |
+
}
|
488 |
+
|
489 |
+
@media only screen and (min-width: 769px) and (max-width: 980px) {
|
490 |
+
.extensions-available li {
|
491 |
+
width: 240px;
|
492 |
+
}
|
493 |
+
}
|
assets/sass/site.scss
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.popmake, .popmake:before, .popmake:after,
|
2 |
+
.popmake *, .popmake *:before, .popmake *:after {
|
3 |
+
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
4 |
+
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
5 |
+
box-sizing: border-box;
|
6 |
+
}
|
7 |
+
|
8 |
+
html.popup-open,
|
9 |
+
.popup-open body {
|
10 |
+
overflow: hidden;
|
11 |
+
}
|
12 |
+
|
13 |
+
.popmake-overlay {
|
14 |
+
position: fixed;
|
15 |
+
display: none;
|
16 |
+
width: 100%;
|
17 |
+
height: 100%;
|
18 |
+
top: 0;
|
19 |
+
left: 0;
|
20 |
+
z-index: 1999999998;
|
21 |
+
overflow-x: hidden;
|
22 |
+
overflow-y: auto;
|
23 |
+
}
|
24 |
+
|
25 |
+
.popmake {
|
26 |
+
top: 100px;
|
27 |
+
visibility: hidden;
|
28 |
+
position: absolute;
|
29 |
+
display: none;
|
30 |
+
z-index: 1999999999;
|
31 |
+
}
|
32 |
+
|
33 |
+
.popmake > .popmake-close {
|
34 |
+
text-decoration: none;
|
35 |
+
text-align: center;
|
36 |
+
line-height: 1;
|
37 |
+
position: absolute;
|
38 |
+
font-weight: bold;
|
39 |
+
cursor: pointer;
|
40 |
+
min-width: 1em;
|
41 |
+
}
|
42 |
+
|
43 |
+
.popmake.responsive {
|
44 |
+
left: 50%;
|
45 |
+
margin-left: -40%;
|
46 |
+
width: 95%;
|
47 |
+
height: auto;
|
48 |
+
overflow: visible;
|
49 |
+
}
|
50 |
+
|
51 |
+
.popmake.responsive .popmake-content img {
|
52 |
+
max-width: 100%;
|
53 |
+
height: auto;
|
54 |
+
}
|
55 |
+
|
56 |
+
@media only screen and (min-width: 768px) {
|
57 |
+
.popmake.size-nano {
|
58 |
+
margin-left: -5%;
|
59 |
+
width: 10%;
|
60 |
+
}
|
61 |
+
|
62 |
+
.popmake.size-micro {
|
63 |
+
margin-left: -10%;
|
64 |
+
width: 20%;
|
65 |
+
}
|
66 |
+
|
67 |
+
.popmake.size-tiny {
|
68 |
+
margin-left: -15%;
|
69 |
+
width: 30%;
|
70 |
+
}
|
71 |
+
|
72 |
+
.popmake.size-small {
|
73 |
+
margin-left: -20%;
|
74 |
+
width: 40%;
|
75 |
+
}
|
76 |
+
|
77 |
+
.popmake.size-medium {
|
78 |
+
margin-left: -30%;
|
79 |
+
width: 60%;
|
80 |
+
}
|
81 |
+
|
82 |
+
.popmake.size-normal {
|
83 |
+
margin-left: -30%;
|
84 |
+
width: 70%;
|
85 |
+
}
|
86 |
+
|
87 |
+
.popmake.size-large {
|
88 |
+
margin-left: -35%;
|
89 |
+
width: 80%;
|
90 |
+
}
|
91 |
+
|
92 |
+
.popmake.size-xlarge {
|
93 |
+
margin-left: -47.5%;
|
94 |
+
width: 95%;
|
95 |
+
}
|
96 |
+
|
97 |
+
.popmake.fixed {
|
98 |
+
position: fixed;
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
@media only screen and (max-width: 767px) {
|
103 |
+
.popmake.fixed {
|
104 |
+
position: absolute;
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
.popmake.custom-position {
|
109 |
+
left: auto;
|
110 |
+
top: auto;
|
111 |
+
margin-left: inherit;
|
112 |
+
}
|
113 |
+
|
114 |
+
.popmake.scrollable .popmake-content {
|
115 |
+
overflow: auto;
|
116 |
+
overflow-y: scroll;
|
117 |
+
max-height: 95%;
|
118 |
+
}
|
119 |
+
|
120 |
+
.popmake .popmake-content :last-child {
|
121 |
+
margin-bottom: 0;
|
122 |
+
}
|
123 |
+
|
124 |
+
.popmake iframe.formidable {
|
125 |
+
width: 100%;
|
126 |
+
overflow: visible;
|
127 |
+
}
|
128 |
+
|
129 |
+
.powered-by-popmake {
|
130 |
+
bottom: -28px;
|
131 |
+
display: block;
|
132 |
+
left: 0;
|
133 |
+
margin: 0 auto;
|
134 |
+
position: absolute;
|
135 |
+
text-align: center;
|
136 |
+
width: 100%;
|
137 |
+
}
|
138 |
+
|
139 |
+
.powered-by-popmake > a {
|
140 |
+
display: inline-block;
|
141 |
+
max-width: 205px;
|
142 |
+
}
|
143 |
+
|
144 |
+
.powered-by-popmake img {
|
145 |
+
max-width: 100%;
|
146 |
+
width: 100%;
|
147 |
+
}
|
148 |
+
|
149 |
+
.powered-by-popmake.small {
|
150 |
+
bottom: -22px;
|
151 |
+
}
|
152 |
+
|
153 |
+
.powered-by-popmake.small > a {
|
154 |
+
max-width: 125px;
|
155 |
+
}
|
156 |
+
|
157 |
+
.powered-by-popmake.large {
|
158 |
+
bottom: -30px;
|
159 |
+
}
|
160 |
+
|
161 |
+
.powered-by-popmake.large > a {
|
162 |
+
max-width: 285px;
|
163 |
+
}
|
assets/styles/popup-maker-admin.css
DELETED
@@ -1,493 +0,0 @@
|
|
1 |
-
/* UI */
|
2 |
-
h3.title {
|
3 |
-
font-size: 16px !important;
|
4 |
-
color: #9aba27;
|
5 |
-
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.125);
|
6 |
-
}
|
7 |
-
|
8 |
-
#popuptitlediv #popuptitle {
|
9 |
-
background-color: #fff;
|
10 |
-
font-size: 1.5em;
|
11 |
-
height: 1.8em;
|
12 |
-
line-height: 100%;
|
13 |
-
margin: 0;
|
14 |
-
outline: medium none;
|
15 |
-
padding: 2px 8px;
|
16 |
-
width: 100%;
|
17 |
-
}
|
18 |
-
|
19 |
-
#popuptitlediv #popuptitle input {
|
20 |
-
color: #777;
|
21 |
-
font-size: 1.7em;
|
22 |
-
padding: 11px 10px;
|
23 |
-
position: absolute;
|
24 |
-
}
|
25 |
-
|
26 |
-
#popuptitlediv #popuptitle-prompt-text {
|
27 |
-
font-size: 1.4em;
|
28 |
-
padding: 8px 10px;
|
29 |
-
}
|
30 |
-
|
31 |
-
#titlediv #title {
|
32 |
-
margin: 0 0 1em;
|
33 |
-
height: 40px !important;
|
34 |
-
}
|
35 |
-
|
36 |
-
.posttypediv, .taxonomydiv {
|
37 |
-
margin-bottom: 10px;
|
38 |
-
clear: both;
|
39 |
-
overflow: auto;
|
40 |
-
}
|
41 |
-
|
42 |
-
#major-publishing-actions {
|
43 |
-
text-align: right;
|
44 |
-
}
|
45 |
-
|
46 |
-
#trigger-popmake-preview {
|
47 |
-
padding: 5px;
|
48 |
-
|
49 |
-
}
|
50 |
-
|
51 |
-
/*
|
52 |
-
|
53 |
-
input[type="text"], select {
|
54 |
-
font-size: 13px;
|
55 |
-
margin: 0;
|
56 |
-
height: 30px!important;
|
57 |
-
line-height: 28px!important;
|
58 |
-
padding: 0 6px 2px!important;
|
59 |
-
box-shadow: 0 1px 0 rgb(255, 255, 255) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
|
60 |
-
}
|
61 |
-
*/
|
62 |
-
|
63 |
-
input[type="range"] {
|
64 |
-
vertical-align: middle;
|
65 |
-
}
|
66 |
-
|
67 |
-
input.popmake-range-manual {
|
68 |
-
padding-right: 25px !important;
|
69 |
-
}
|
70 |
-
|
71 |
-
/*
|
72 |
-
input[type="text"], select {
|
73 |
-
border-radius: 3px;
|
74 |
-
border-style: solid;
|
75 |
-
border-width: 1px;
|
76 |
-
box-sizing: border-box;
|
77 |
-
cursor: pointer;
|
78 |
-
display: inline-block;
|
79 |
-
font-size: 13px;
|
80 |
-
margin: 0;
|
81 |
-
text-decoration: none;
|
82 |
-
white-space: nowrap;
|
83 |
-
height: 30px!important;
|
84 |
-
line-height: 28px!important;
|
85 |
-
padding: 0 12px 2px!important;
|
86 |
-
background: none repeat scroll 0 0 rgb(247, 247, 247)!important;
|
87 |
-
border-color: rgb(204, 204, 204);
|
88 |
-
box-shadow: 0 1px 0 rgb(255, 255, 255) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
|
89 |
-
color: rgb(85, 85, 85);
|
90 |
-
vertical-align: top!important;
|
91 |
-
}
|
92 |
-
input[type="text"] {
|
93 |
-
background-color: rgb(247, 247, 247)!important;
|
94 |
-
}
|
95 |
-
input[type="range"] {
|
96 |
-
background: transparent!important;
|
97 |
-
border:none!important;
|
98 |
-
outline:0;
|
99 |
-
box-shadow:none;
|
100 |
-
}
|
101 |
-
|
102 |
-
button.popmake-range-minus, button.popmake-range-plus {
|
103 |
-
height:30px;
|
104 |
-
width:30px;
|
105 |
-
text-align: center;
|
106 |
-
}
|
107 |
-
|
108 |
-
*/
|
109 |
-
option.bold {
|
110 |
-
font-weight: bold;
|
111 |
-
font-size: 1.125em;
|
112 |
-
}
|
113 |
-
|
114 |
-
/* Range Slider Adjusters */
|
115 |
-
.popmake-range-manual {
|
116 |
-
padding-right: 25px;
|
117 |
-
text-align: right;
|
118 |
-
width: 80px;
|
119 |
-
}
|
120 |
-
|
121 |
-
.range-value-unit {
|
122 |
-
position: relative;
|
123 |
-
display: inline-block;
|
124 |
-
margin-left: -30px;
|
125 |
-
margin-right: 10px;
|
126 |
-
width: 20px;
|
127 |
-
text-align: left;
|
128 |
-
}
|
129 |
-
|
130 |
-
/* Form Table Dividers */
|
131 |
-
.title-divider th {
|
132 |
-
border-top: 1px solid #ccc;
|
133 |
-
padding: 0;
|
134 |
-
}
|
135 |
-
|
136 |
-
.form-table td, .form-table tr {
|
137 |
-
padding-top: 10px;
|
138 |
-
}
|
139 |
-
|
140 |
-
.title-divider .title {
|
141 |
-
font-size: 1.125em;
|
142 |
-
padding-left: 0 !important;
|
143 |
-
padding-top: 20px !important;
|
144 |
-
padding-bottom: 0 !important;
|
145 |
-
}
|
146 |
-
|
147 |
-
/* Marketing & Standouts */
|
148 |
-
/* Menu Highlight */
|
149 |
-
#menu-posts-popup ul.wp-submenu li:nth-child(0n+9) a {
|
150 |
-
color: #9ABA27;
|
151 |
-
}
|
152 |
-
|
153 |
-
/* Upgrade Tips */
|
154 |
-
.popmake-upgrade-tip {
|
155 |
-
color: #333;
|
156 |
-
line-height: 2em !important;
|
157 |
-
}
|
158 |
-
|
159 |
-
div.popmake-upgrade-tip {
|
160 |
-
margin-bottom: 15px;
|
161 |
-
display: block;
|
162 |
-
font-weight: bold;
|
163 |
-
}
|
164 |
-
|
165 |
-
.popmake-upgrade-tip img {
|
166 |
-
float: left;
|
167 |
-
margin-right: 15px;
|
168 |
-
}
|
169 |
-
|
170 |
-
|
171 |
-
/* Theme Builder */
|
172 |
-
#popmake_popup_theme_preview {
|
173 |
-
z-index: 100;
|
174 |
-
}
|
175 |
-
|
176 |
-
#popmake_popup_theme_preview .inside {
|
177 |
-
margin-top: 0;
|
178 |
-
background: url(http://s.wordpress.com/mshots/v1/http://www.wordpress.org) no-repeat center top;
|
179 |
-
}
|
180 |
-
|
181 |
-
#popmake_popup_theme_preview .empreview {
|
182 |
-
padding-top: 25px;
|
183 |
-
}
|
184 |
-
|
185 |
-
.example-popup, .example-popup:before, .example-popup:after,
|
186 |
-
.example-popup *, .example-popup *:before, .example-popup *:after {
|
187 |
-
-moz-box-sizing: border-box;
|
188 |
-
}
|
189 |
-
|
190 |
-
.empreview .example-popup-overlay {
|
191 |
-
position: absolute;
|
192 |
-
display: block;
|
193 |
-
width: 100%;
|
194 |
-
height: 100%;
|
195 |
-
top: 0;
|
196 |
-
left: 0
|
197 |
-
}
|
198 |
-
|
199 |
-
.empreview .example-popup {
|
200 |
-
display: block;
|
201 |
-
position: relative;
|
202 |
-
width: 95%;
|
203 |
-
max-width: 400px;
|
204 |
-
margin: 0 auto 25px;
|
205 |
-
font-size: 16px;
|
206 |
-
position: relative;
|
207 |
-
z-index: 99;
|
208 |
-
}
|
209 |
-
|
210 |
-
.empreview .example-popup .close-popup {
|
211 |
-
text-decoration: none;
|
212 |
-
text-align: center;
|
213 |
-
line-height: 1;
|
214 |
-
position: absolute;
|
215 |
-
font-weight: bold;
|
216 |
-
cursor: pointer;
|
217 |
-
min-width: 1em;
|
218 |
-
}
|
219 |
-
|
220 |
-
/* Sidebar */
|
221 |
-
.popmake-support-links {
|
222 |
-
list-style: none;
|
223 |
-
}
|
224 |
-
|
225 |
-
.popmake-support-links li {
|
226 |
-
margin-bottom: 10px;
|
227 |
-
}
|
228 |
-
|
229 |
-
.popmake-support-links a {
|
230 |
-
color: #20252b;
|
231 |
-
font-family: "Montserrat";
|
232 |
-
font-size: 1.25em;
|
233 |
-
text-transform: uppercase;
|
234 |
-
text-decoration: none;
|
235 |
-
}
|
236 |
-
|
237 |
-
.popmake-support-links a span {
|
238 |
-
margin-left: 10px;
|
239 |
-
}
|
240 |
-
|
241 |
-
.popmake-support-links a img {
|
242 |
-
top: 6px;
|
243 |
-
position: relative;
|
244 |
-
min-width: 24px;
|
245 |
-
max-width: 24px;
|
246 |
-
min-height: 24px;
|
247 |
-
max-height: 24px;
|
248 |
-
}
|
249 |
-
|
250 |
-
.button.rounded {
|
251 |
-
box-shadow: none;
|
252 |
-
border: 0;
|
253 |
-
border-radius: 2px;
|
254 |
-
padding-left: 18px;
|
255 |
-
padding-right: 18px;
|
256 |
-
transition: transform .5s;
|
257 |
-
margin-bottom: 10px;
|
258 |
-
}
|
259 |
-
|
260 |
-
.button.rounded:hover, .button.rounded:focus {
|
261 |
-
transform: scale(1.125);
|
262 |
-
}
|
263 |
-
|
264 |
-
#popmake_popup_support {
|
265 |
-
margin-bottom: 10px;
|
266 |
-
}
|
267 |
-
|
268 |
-
#popmake_popup_share {
|
269 |
-
background: transparent;
|
270 |
-
border: 0;
|
271 |
-
padding: 0;
|
272 |
-
box-shadow: none;
|
273 |
-
}
|
274 |
-
|
275 |
-
#popmake_popup_share .handlediv {
|
276 |
-
display: none;
|
277 |
-
}
|
278 |
-
|
279 |
-
#popmake_popup_share .hndle {
|
280 |
-
display: none;
|
281 |
-
}
|
282 |
-
|
283 |
-
#popmake_popup_share .inside {
|
284 |
-
margin: 0 0 20px;
|
285 |
-
padding: 0;
|
286 |
-
}
|
287 |
-
|
288 |
-
.loveit-shareit {
|
289 |
-
font-weight: 700 !important;
|
290 |
-
font-size: 28px !important;
|
291 |
-
color: #333;
|
292 |
-
text-transform: uppercase;
|
293 |
-
}
|
294 |
-
|
295 |
-
.loveit-shareit span {
|
296 |
-
color: #9ABA27;
|
297 |
-
}
|
298 |
-
|
299 |
-
.follow-box {
|
300 |
-
text-align: center;
|
301 |
-
padding: 14px 36px;
|
302 |
-
background: #fff;
|
303 |
-
border: 1px solid #e5e5e5;
|
304 |
-
}
|
305 |
-
|
306 |
-
.share-buttons {
|
307 |
-
margin: 0 auto;
|
308 |
-
width: 68%;
|
309 |
-
display: block;
|
310 |
-
clear: both;
|
311 |
-
}
|
312 |
-
|
313 |
-
.share-buttons li {
|
314 |
-
text-align: center;
|
315 |
-
width: 32%;
|
316 |
-
display: inline-block;
|
317 |
-
float: left;
|
318 |
-
margin-right: 1%;
|
319 |
-
margin-bottom: 0;
|
320 |
-
}
|
321 |
-
|
322 |
-
.share-buttons li:last-child {
|
323 |
-
margin-right: 0;
|
324 |
-
}
|
325 |
-
|
326 |
-
/* Welcome Page */
|
327 |
-
.popmake-badge {
|
328 |
-
padding-top: 150px;
|
329 |
-
height: 52px;
|
330 |
-
width: 185px;
|
331 |
-
color: #666;
|
332 |
-
font-weight: bold;
|
333 |
-
font-size: 14px;
|
334 |
-
text-align: center;
|
335 |
-
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
336 |
-
margin: 0 -5px;
|
337 |
-
background: url('../images/welcome/logo.png') no-repeat center center;
|
338 |
-
}
|
339 |
-
|
340 |
-
.about-wrap .popmake-badge {
|
341 |
-
position: absolute;
|
342 |
-
top: 0;
|
343 |
-
right: 0;
|
344 |
-
}
|
345 |
-
|
346 |
-
.popmake-welcome-screenshots {
|
347 |
-
float: right;
|
348 |
-
margin-left: 10px !important;
|
349 |
-
padding: 0 7.5em;
|
350 |
-
}
|
351 |
-
|
352 |
-
.popmake-wrap .feature-section {
|
353 |
-
margin-top: 20px;
|
354 |
-
}
|
355 |
-
|
356 |
-
.tab-box {
|
357 |
-
margin-top: 40px;
|
358 |
-
position: relative;
|
359 |
-
border: 1px solid #ccc;
|
360 |
-
max-width: 500px;
|
361 |
-
padding: 20px 10px 5px;
|
362 |
-
}
|
363 |
-
|
364 |
-
.tab-box h4 {
|
365 |
-
font: 13px/30px "Open Sans", sans-serif;
|
366 |
-
font-weight: bold;
|
367 |
-
position: absolute;
|
368 |
-
background: #ccc;
|
369 |
-
display: inline-block;
|
370 |
-
padding: 0 10px;
|
371 |
-
top: -48px;
|
372 |
-
left: -1px;
|
373 |
-
}
|
374 |
-
|
375 |
-
.tab-box a {
|
376 |
-
font: 300 18px/1.125 "Oswald";
|
377 |
-
color: #9ABA27;
|
378 |
-
}
|
379 |
-
|
380 |
-
.tab-box button {
|
381 |
-
font: 300 18px/1.125 "Oswald";
|
382 |
-
color: #fff;
|
383 |
-
background: #9ABA27;
|
384 |
-
box-shadow: none;
|
385 |
-
border: 0;
|
386 |
-
padding: 5px 10px 7px;
|
387 |
-
cursor: pointer;
|
388 |
-
transition: transform .5s;
|
389 |
-
}
|
390 |
-
|
391 |
-
.tab-box button:hover {
|
392 |
-
transform: scale(1.125);
|
393 |
-
}
|
394 |
-
|
395 |
-
#popmake-preview {
|
396 |
-
position: fixed;
|
397 |
-
z-index: 9999999 !important;
|
398 |
-
}
|
399 |
-
|
400 |
-
#popmake-overlay {
|
401 |
-
z-index: 9999998 !important;
|
402 |
-
}
|
403 |
-
|
404 |
-
/* Extensions Page */
|
405 |
-
.extensions-available {
|
406 |
-
display: block;
|
407 |
-
}
|
408 |
-
|
409 |
-
.extensions-available img {
|
410 |
-
width: 100%;
|
411 |
-
display: block;
|
412 |
-
height: auto;
|
413 |
-
max-width: 100%;
|
414 |
-
}
|
415 |
-
|
416 |
-
.extensions-available li {
|
417 |
-
box-sizing: border-box;
|
418 |
-
border: 1px solid #ccc;
|
419 |
-
background: #fff;
|
420 |
-
vertical-align: top;
|
421 |
-
width: 280px;
|
422 |
-
margin: 0 10px 20px;
|
423 |
-
display: inline;
|
424 |
-
float: left;
|
425 |
-
-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
|
426 |
-
-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
|
427 |
-
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
|
428 |
-
}
|
429 |
-
|
430 |
-
.extensions-available h3 {
|
431 |
-
text-align: center;
|
432 |
-
font-size: 16px !important;
|
433 |
-
}
|
434 |
-
|
435 |
-
.extensions-available h3 a {
|
436 |
-
color: inherit;
|
437 |
-
}
|
438 |
-
|
439 |
-
.extensions-available li > .action-links {
|
440 |
-
margin: 0 10px;
|
441 |
-
text-align: center;
|
442 |
-
display: block;
|
443 |
-
}
|
444 |
-
|
445 |
-
.extensions-available .action-links .button {
|
446 |
-
display: inline-block;
|
447 |
-
margin-bottom: 10px;
|
448 |
-
margin-top: 10px;
|
449 |
-
padding: 7px 30px;
|
450 |
-
font-weight: bold;
|
451 |
-
height: auto;
|
452 |
-
position: relative;
|
453 |
-
transition: transform .5s;
|
454 |
-
}
|
455 |
-
|
456 |
-
.extensions-available .action-links .button.install {
|
457 |
-
background: #00a651;
|
458 |
-
}
|
459 |
-
|
460 |
-
.extensions-available p {
|
461 |
-
margin: 10px;
|
462 |
-
color: #717171;
|
463 |
-
font-size: 14px;
|
464 |
-
text-align: center;
|
465 |
-
font-style: italic;
|
466 |
-
min-height: 7.5em;
|
467 |
-
}
|
468 |
-
|
469 |
-
.extensions-available a {
|
470 |
-
display: block;
|
471 |
-
text-align: center;
|
472 |
-
text-decoration: none;
|
473 |
-
}
|
474 |
-
|
475 |
-
@media only screen and (max-width: 360px) {
|
476 |
-
.extensions-available li {
|
477 |
-
display: block;
|
478 |
-
margin: 0 0 10px;
|
479 |
-
width: 100%;
|
480 |
-
}
|
481 |
-
}
|
482 |
-
|
483 |
-
@media only screen and (min-width: 361px) and (max-width: 768px) {
|
484 |
-
.extensions-available li {
|
485 |
-
width: 320px;
|
486 |
-
}
|
487 |
-
}
|
488 |
-
|
489 |
-
@media only screen and (min-width: 769px) and (max-width: 980px) {
|
490 |
-
.extensions-available li {
|
491 |
-
width: 240px;
|
492 |
-
}
|
493 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/styles/popup-maker-admin.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
h3.title{font-size:16px !important;color:#9aba27;text-shadow:1px 1px 1px rgba(0,0,0,.125)}#popuptitlediv #popuptitle{background-color:#fff;font-size:1.5em;height:1.8em;line-height:100%;margin:0;outline:medium none;padding:2px 8px;width:100%}#popuptitlediv #popuptitle input{color:#777;font-size:1.7em;padding:11px 10px;position:absolute}#popuptitlediv #popuptitle-prompt-text{font-size:1.4em;padding:8px 10px}#titlediv #title{margin:0 0 1em;height:40px !important}.posttypediv,.taxonomydiv{margin-bottom:10px;clear:both;overflow:auto}#major-publishing-actions{text-align:right}#trigger-popmake-preview{padding:5px}input[type="range"]{vertical-align:middle}input.popmake-range-manual{padding-right:25px !important}option.bold{font-weight:700;font-size:1.125em}.popmake-range-manual{padding-right:25px;text-align:right;width:80px}.range-value-unit{position:relative;display:inline-block;margin-left:-30px;margin-right:10px;width:20px;text-align:left}.title-divider th{border-top:1px solid #ccc;padding:0}.form-table td,.form-table tr{padding-top:10px}.title-divider .title{font-size:1.125em;padding-left:0 !important;padding-top:20px !important;padding-bottom:0 !important}#menu-posts-popup ul.wp-submenu li:nth-child(0n+9) a{color:#9ABA27}.popmake-upgrade-tip{color:#333;line-height:2em !important}div.popmake-upgrade-tip{margin-bottom:15px;display:block;font-weight:700}.popmake-upgrade-tip img{float:left;margin-right:15px}#popmake_popup_theme_preview{z-index:100}#popmake_popup_theme_preview .inside{margin-top:0;background:url(http://s.wordpress.com/mshots/v1/http://www.wordpress.org) no-repeat center top}#popmake_popup_theme_preview .empreview{padding-top:25px}.example-popup,.example-popup:before,.example-popup:after,.example-popup *,.example-popup *:before,.example-popup *:after{-moz-box-sizing:border-box}.empreview .example-popup-overlay{position:absolute;display:block;width:100%;height:100%;top:0;left:0}.empreview .example-popup{display:block;position:relative;width:95%;max-width:400px;margin:0 auto 25px;font-size:16px;position:relative;z-index:99}.empreview .example-popup .close-popup{text-decoration:none;text-align:center;line-height:1;position:absolute;font-weight:700;cursor:pointer;min-width:1em}.popmake-support-links{list-style:none}.popmake-support-links li{margin-bottom:10px}.popmake-support-links a{color:#20252b;font-family:"Montserrat";font-size:1.25em;text-transform:uppercase;text-decoration:none}.popmake-support-links a span{margin-left:10px}.popmake-support-links a img{top:6px;position:relative;min-width:24px;max-width:24px;min-height:24px;max-height:24px}.button.rounded{box-shadow:none;border:0;border-radius:2px;padding-left:18px;padding-right:18px;transition:transform .5s;margin-bottom:10px}.button.rounded:hover,.button.rounded:focus{transform:scale(1.125)}#popmake_popup_support{margin-bottom:10px}#popmake_popup_share{background:transparent;border:0;padding:0;box-shadow:none}#popmake_popup_share .handlediv{display:none}#popmake_popup_share .hndle{display:none}#popmake_popup_share .inside{margin:0 0 20px;padding:0}.loveit-shareit{font-weight:700 !important;font-size:28px !important;color:#333;text-transform:uppercase}.loveit-shareit span{color:#9ABA27}.follow-box{text-align:center;padding:14px 36px;background:#fff;border:1px solid #e5e5e5}.share-buttons{margin:0 auto;width:68%;display:block;clear:both}.share-buttons li{text-align:center;width:32%;display:inline-block;float:left;margin-right:1%;margin-bottom:0}.share-buttons li:last-child{margin-right:0}.popmake-badge{padding-top:150px;height:52px;width:185px;color:#666;font-weight:700;font-size:14px;text-align:center;text-shadow:0 1px 0 rgba(255,255,255,.8);margin:0 -5px;background:url(../images/welcome/logo.png) no-repeat center center}.about-wrap .popmake-badge{position:absolute;top:0;right:0}.popmake-welcome-screenshots{float:right;margin-left:10px !important;padding:0 7.5em}.popmake-wrap .feature-section{margin-top:20px}.tab-box{margin-top:40px;position:relative;border:1px solid #ccc;max-width:500px;padding:20px 10px 5px}.tab-box h4{font:13px/30px "Open Sans",sans-serif;font-weight:700;position:absolute;background:#ccc;display:inline-block;padding:0 10px;top:-48px;left:-1px}.tab-box a{font:300 18px/1.125 "Oswald";color:#9ABA27}.tab-box button{font:300 18px/1.125 "Oswald";color:#fff;background:#9ABA27;box-shadow:none;border:0;padding:5px 10px 7px;cursor:pointer;transition:transform .5s}.tab-box button:hover{transform:scale(1.125)}#popmake-preview{position:fixed;z-index:9999999 !important}#popmake-overlay{z-index:9999998 !important}.extensions-available{display:block}.extensions-available img{width:100%;display:block;height:auto;max-width:100%}.extensions-available li{box-sizing:border-box;border:1px solid #ccc;background:#fff;vertical-align:top;width:280px;margin:0 10px 20px;display:inline;float:left;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,.25);-moz-box-shadow:1px 1px 4px rgba(0,0,0,.25);box-shadow:1px 1px 4px rgba(0,0,0,.25)}.extensions-available h3{text-align:center;font-size:16px !important}.extensions-available h3 a{color:inherit}.extensions-available li>.action-links{margin:0 10px;text-align:center;display:block}.extensions-available .action-links .button{display:inline-block;margin-bottom:10px;margin-top:10px;padding:7px 30px;font-weight:700;height:auto;position:relative;transition:transform .5s}.extensions-available .action-links .button.install{background:#00a651}.extensions-available p{margin:10px;color:#717171;font-size:14px;text-align:center;font-style:italic;min-height:7.5em}.extensions-available a{display:block;text-align:center;text-decoration:none}@media only screen and (max-width:360px){.extensions-available li{display:block;margin:0 0 10px;width:100%}}@media only screen and (min-width:361px) and (max-width:768px){.extensions-available li{width:320px}}@media only screen and (min-width:769px) and (max-width:980px){.extensions-available li{width:240px}}
|
|
assets/styles/popup-maker-site.css
DELETED
@@ -1,163 +0,0 @@
|
|
1 |
-
.popmake, .popmake:before, .popmake:after,
|
2 |
-
.popmake *, .popmake *:before, .popmake *:after {
|
3 |
-
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
4 |
-
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
5 |
-
box-sizing: border-box;
|
6 |
-
}
|
7 |
-
|
8 |
-
html.popup-open,
|
9 |
-
.popup-open body {
|
10 |
-
overflow: hidden;
|
11 |
-
}
|
12 |
-
|
13 |
-
.popmake-overlay {
|
14 |
-
position: fixed;
|
15 |
-
display: none;
|
16 |
-
width: 100%;
|
17 |
-
height: 100%;
|
18 |
-
top: 0;
|
19 |
-
left: 0;
|
20 |
-
z-index: 1999999998;
|
21 |
-
overflow-x: hidden;
|
22 |
-
overflow-y: auto;
|
23 |
-
}
|
24 |
-
|
25 |
-
.popmake {
|
26 |
-
top: 100px;
|
27 |
-
visibility: hidden;
|
28 |
-
position: absolute;
|
29 |
-
display: none;
|
30 |
-
z-index: 1999999999;
|
31 |
-
}
|
32 |
-
|
33 |
-
.popmake > .popmake-close {
|
34 |
-
text-decoration: none;
|
35 |
-
text-align: center;
|
36 |
-
line-height: 1;
|
37 |
-
position: absolute;
|
38 |
-
font-weight: bold;
|
39 |
-
cursor: pointer;
|
40 |
-
min-width: 1em;
|
41 |
-
}
|
42 |
-
|
43 |
-
.popmake.responsive {
|
44 |
-
left: 50%;
|
45 |
-
margin-left: -40%;
|
46 |
-
width: 95%;
|
47 |
-
height: auto;
|
48 |
-
overflow: visible;
|
49 |
-
}
|
50 |
-
|
51 |
-
.popmake.responsive .popmake-content img {
|
52 |
-
max-width: 100%;
|
53 |
-
height: auto;
|
54 |
-
}
|
55 |
-
|
56 |
-
@media only screen and (min-width: 768px) {
|
57 |
-
.popmake.size-nano {
|
58 |
-
margin-left: -5%;
|
59 |
-
width: 10%;
|
60 |
-
}
|
61 |
-
|
62 |
-
.popmake.size-micro {
|
63 |
-
margin-left: -10%;
|
64 |
-
width: 20%;
|
65 |
-
}
|
66 |
-
|
67 |
-
.popmake.size-tiny {
|
68 |
-
margin-left: -15%;
|
69 |
-
width: 30%;
|
70 |
-
}
|
71 |
-
|
72 |
-
.popmake.size-small {
|
73 |
-
margin-left: -20%;
|
74 |
-
width: 40%;
|
75 |
-
}
|
76 |
-
|
77 |
-
.popmake.size-medium {
|
78 |
-
margin-left: -30%;
|
79 |
-
width: 60%;
|
80 |
-
}
|
81 |
-
|
82 |
-
.popmake.size-normal {
|
83 |
-
margin-left: -30%;
|
84 |
-
width: 70%;
|
85 |
-
}
|
86 |
-
|
87 |
-
.popmake.size-large {
|
88 |
-
margin-left: -35%;
|
89 |
-
width: 80%;
|
90 |
-
}
|
91 |
-
|
92 |
-
.popmake.size-xlarge {
|
93 |
-
margin-left: -47.5%;
|
94 |
-
width: 95%;
|
95 |
-
}
|
96 |
-
|
97 |
-
.popmake.fixed {
|
98 |
-
position: fixed;
|
99 |
-
}
|
100 |
-
}
|
101 |
-
|
102 |
-
@media only screen and (max-width: 767px) {
|
103 |
-
.popmake.fixed {
|
104 |
-
position: static!important;
|
105 |
-
}
|
106 |
-
}
|
107 |
-
|
108 |
-
.popmake.custom-position {
|
109 |
-
left: auto;
|
110 |
-
top: auto;
|
111 |
-
margin-left: inherit;
|
112 |
-
}
|
113 |
-
|
114 |
-
.popmake.scrollable .popmake-content {
|
115 |
-
overflow: auto;
|
116 |
-
overflow-y: scroll;
|
117 |
-
max-height: 95%;
|
118 |
-
}
|
119 |
-
|
120 |
-
.popmake .popmake-content :last-child {
|
121 |
-
margin-bottom: 0;
|
122 |
-
}
|
123 |
-
|
124 |
-
.popmake iframe.formidable {
|
125 |
-
width: 100%;
|
126 |
-
overflow: visible;
|
127 |
-
}
|
128 |
-
|
129 |
-
.powered-by-popmake {
|
130 |
-
bottom: -28px;
|
131 |
-
display: block;
|
132 |
-
left: 0;
|
133 |
-
margin: 0 auto;
|
134 |
-
position: absolute;
|
135 |
-
text-align: center;
|
136 |
-
width: 100%;
|
137 |
-
}
|
138 |
-
|
139 |
-
.powered-by-popmake > a {
|
140 |
-
display: inline-block;
|
141 |
-
max-width: 205px;
|
142 |
-
}
|
143 |
-
|
144 |
-
.powered-by-popmake img {
|
145 |
-
max-width: 100%;
|
146 |
-
width: 100%;
|
147 |
-
}
|
148 |
-
|
149 |
-
.powered-by-popmake.small {
|
150 |
-
bottom: -22px;
|
151 |
-
}
|
152 |
-
|
153 |
-
.powered-by-popmake.small > a {
|
154 |
-
max-width: 125px;
|
155 |
-
}
|
156 |
-
|
157 |
-
.powered-by-popmake.large {
|
158 |
-
bottom: -30px;
|
159 |
-
}
|
160 |
-
|
161 |
-
.powered-by-popmake.large > a {
|
162 |
-
max-width: 285px;
|
163 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/styles/popup-maker-site.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.popmake,.popmake:before,.popmake:after,.popmake *,.popmake *:before,.popmake *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html.popup-open,.popup-open body{overflow:hidden}.popmake-overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;z-index:1999999998;overflow-x:hidden;overflow-y:auto}.popmake{top:100px;visibility:hidden;position:absolute;display:none;z-index:1999999999}.popmake>.popmake-close{text-decoration:none;text-align:center;line-height:1;position:absolute;font-weight:700;cursor:pointer;min-width:1em}.popmake.responsive{left:50%;margin-left:-40%;width:95%;height:auto;overflow:visible}.popmake.responsive .popmake-content img{max-width:100%;height:auto}@media only screen and (min-width:768px){.popmake.size-nano{margin-left:-5%;width:10%}.popmake.size-micro{margin-left:-10%;width:20%}.popmake.size-tiny{margin-left:-15%;width:30%}.popmake.size-small{margin-left:-20%;width:40%}.popmake.size-medium{margin-left:-30%;width:60%}.popmake.size-normal{margin-left:-30%;width:70%}.popmake.size-large{margin-left:-35%;width:80%}.popmake.size-xlarge{margin-left:-47.5%;width:95%}.popmake.fixed{position:fixed}}@media only screen and (max-width:767px){.popmake.fixed{position:static!important}}.popmake.custom-position{left:auto;top:auto;margin-left:inherit}.popmake.scrollable .popmake-content{overflow:auto;overflow-y:scroll;max-height:95%}.popmake .popmake-content:last-child{margin-bottom:0}.popmake iframe.formidable{width:100%;overflow:visible}.powered-by-popmake{bottom:-28px;display:block;left:0;margin:0 auto;position:absolute;text-align:center;width:100%}.powered-by-popmake>a{display:inline-block;max-width:205px}.powered-by-popmake img{max-width:100%;width:100%}.powered-by-popmake.small{bottom:-22px}.powered-by-popmake.small>a{max-width:125px}.powered-by-popmake.large{bottom:-30px}.powered-by-popmake.large>a{max-width:285px}
|
|
includes/admin/popups/metabox-display-fields.php
CHANGED
@@ -262,8 +262,19 @@ function popmake_admin_popup_form_display_tab_settings_position( $popup_id ) {
|
|
262 |
</tr>
|
263 |
<tr>
|
264 |
<th scope="row"><?php _e( 'Fixed Postioning', 'popup-maker' ); ?></th>
|
265 |
-
<td
|
266 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
<label for="popup_display_position_fixed" class="description"><?php _e( 'Checking this sets the positioning of the popup to fixed.', 'popup-maker' ); ?></label>
|
268 |
</td>
|
269 |
</tr>
|
262 |
</tr>
|
263 |
<tr>
|
264 |
<th scope="row"><?php _e( 'Fixed Postioning', 'popup-maker' ); ?></th>
|
265 |
+
<td><?php
|
266 |
+
$position_fixed = popmake_get_popup_display( $popup_id, 'position_fixed', false );
|
267 |
+
switch( $position_fixed ) {
|
268 |
+
case 'true':
|
269 |
+
case true:
|
270 |
+
case 1:
|
271 |
+
$position_fixed = true;
|
272 |
+
break;
|
273 |
+
default:
|
274 |
+
$position_fixed = false;
|
275 |
+
break;
|
276 |
+
} ?>
|
277 |
+
<input type="checkbox" value="1" name="popup_display_position_fixed" id="popup_display_position_fixed" <?php checked( popmake_get_popup_display( $popup_id, 'position_fixed' ), $position_fixed ); ?>/>
|
278 |
<label for="popup_display_position_fixed" class="description"><?php _e( 'Checking this sets the positioning of the popup to fixed.', 'popup-maker' ); ?></label>
|
279 |
</td>
|
280 |
</tr>
|
includes/css-functions.php
CHANGED
@@ -27,7 +27,7 @@ function popmake_hex2rgb( $hex ) {
|
|
27 |
}
|
28 |
|
29 |
function popmake_get_rgba_value( $hex, $opacity = 100 ) {
|
30 |
-
return 'rgba( ' . implode( ', ', popmake_hex2rgb( $hex ) ) . ', ' . ( $opacity / 100 ) . ' )';
|
31 |
}
|
32 |
|
33 |
function popmake_get_border_style( $w, $s, $c ) {
|
@@ -186,6 +186,12 @@ function popmake_render_theme_styles( $popup_theme_id ) {
|
|
186 |
$rule .= ", .popmake.theme-{$slug}";
|
187 |
}
|
188 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
default:
|
190 |
$rule = ".popmake.theme-{$popup_theme_id} .popmake-{$element}";
|
191 |
if ( $slug ) {
|
27 |
}
|
28 |
|
29 |
function popmake_get_rgba_value( $hex, $opacity = 100 ) {
|
30 |
+
return 'rgba( ' . implode( ', ', popmake_hex2rgb( strval( $hex ) ) ) . ', ' . ( intval( $opacity ) / 100 ) . ' )';
|
31 |
}
|
32 |
|
33 |
function popmake_get_border_style( $w, $s, $c ) {
|
186 |
$rule .= ", .popmake.theme-{$slug}";
|
187 |
}
|
188 |
break;
|
189 |
+
case 'close':
|
190 |
+
$rule = ".popmake.theme-{$popup_theme_id} > .popmake-close";
|
191 |
+
if ( $slug ) {
|
192 |
+
$rule .= ", .popmake.theme-{$slug} > .popmake-close";
|
193 |
+
}
|
194 |
+
break;
|
195 |
default:
|
196 |
$rule = ".popmake.theme-{$popup_theme_id} .popmake-{$element}";
|
197 |
if ( $slug ) {
|
includes/integrations/google-fonts.php
CHANGED
@@ -13,21 +13,21 @@ function popmake_get_popup_theme_google_fonts( $popup_theme_id ) {
|
|
13 |
$google_fonts = popmake_get_google_webfonts_list();
|
14 |
|
15 |
if ( ! empty( $theme['title']['font_family'] ) && is_string( $theme['title']['font_family'] ) && array_key_exists( $theme['title']['font_family'], $google_fonts ) ) {
|
16 |
-
$variant = $theme['title']['font_weight'] != 'normal' ? $theme['title']['
|
17 |
if ( $theme['title']['font_style'] == 'italic' ) {
|
18 |
$variant .= 'italic';
|
19 |
}
|
20 |
$fonts_found[ $theme['title']['font_family'] ][ $variant ] = $variant;
|
21 |
}
|
22 |
if ( ! empty( $theme['content']['font_family'] ) && is_string( $theme['content']['font_family'] ) && array_key_exists( $theme['content']['font_family'], $google_fonts ) ) {
|
23 |
-
$variant = $theme['content']['font_weight'] != 'normal' ? $theme['content']['
|
24 |
if ( $theme['content']['font_style'] == 'italic' ) {
|
25 |
$variant .= 'italic';
|
26 |
}
|
27 |
$fonts_found[ $theme['content']['font_family'] ][ $variant ] = $variant;
|
28 |
}
|
29 |
if ( ! empty( $theme['close']['font_family'] ) && is_string( $theme['close']['font_family'] ) && array_key_exists( $theme['close']['font_family'], $google_fonts ) ) {
|
30 |
-
$variant = $theme['close']['font_weight'] != 'normal' ? $theme['close']['
|
31 |
if ( $theme['close']['font_style'] == 'italic' ) {
|
32 |
$variant .= 'italic';
|
33 |
}
|
13 |
$google_fonts = popmake_get_google_webfonts_list();
|
14 |
|
15 |
if ( ! empty( $theme['title']['font_family'] ) && is_string( $theme['title']['font_family'] ) && array_key_exists( $theme['title']['font_family'], $google_fonts ) ) {
|
16 |
+
$variant = $theme['title']['font_weight'] != 'normal' ? $theme['title']['font_weight'] : '';
|
17 |
if ( $theme['title']['font_style'] == 'italic' ) {
|
18 |
$variant .= 'italic';
|
19 |
}
|
20 |
$fonts_found[ $theme['title']['font_family'] ][ $variant ] = $variant;
|
21 |
}
|
22 |
if ( ! empty( $theme['content']['font_family'] ) && is_string( $theme['content']['font_family'] ) && array_key_exists( $theme['content']['font_family'], $google_fonts ) ) {
|
23 |
+
$variant = $theme['content']['font_weight'] != 'normal' ? $theme['content']['font_weight'] : '';
|
24 |
if ( $theme['content']['font_style'] == 'italic' ) {
|
25 |
$variant .= 'italic';
|
26 |
}
|
27 |
$fonts_found[ $theme['content']['font_family'] ][ $variant ] = $variant;
|
28 |
}
|
29 |
if ( ! empty( $theme['close']['font_family'] ) && is_string( $theme['close']['font_family'] ) && array_key_exists( $theme['close']['font_family'], $google_fonts ) ) {
|
30 |
+
$variant = $theme['close']['font_weight'] != 'normal' ? $theme['close']['font_weight'] : '';
|
31 |
if ( $theme['close']['font_style'] == 'italic' ) {
|
32 |
$variant .= 'italic';
|
33 |
}
|
includes/integrations/visual-composer.php
CHANGED
@@ -11,13 +11,12 @@ final class Popmake_VisualComposer_Integration {
|
|
11 |
}
|
12 |
|
13 |
public static function popup_post_type_args( $popup_args ) {
|
14 |
-
if ( ! empty( $_GET['page'] ) && $_GET['page']
|
15 |
$popup_args['public'] = true;
|
|
|
|
|
|
|
16 |
}
|
17 |
-
if ( ! empty( $_GET['page'] ) && $_GET['page'] == 'fl-builder-settings' ) {
|
18 |
-
$popup_args['public'] = true;
|
19 |
-
}
|
20 |
-
|
21 |
|
22 |
return $popup_args;
|
23 |
}
|
11 |
}
|
12 |
|
13 |
public static function popup_post_type_args( $popup_args ) {
|
14 |
+
if ( defined( 'WPB_VC_VERSION' ) || ( ! empty( $_GET['page'] ) && in_array( $_GET['page'], array( 'fl-builder-settings' ) ) ) ) {
|
15 |
$popup_args['public'] = true;
|
16 |
+
$popup_args['exclude_from_search'] = true;
|
17 |
+
$popup_args['publicly_queryable'] = true;
|
18 |
+
$popup_args['show_in_nav_menus'] = false;
|
19 |
}
|
|
|
|
|
|
|
|
|
20 |
|
21 |
return $popup_args;
|
22 |
}
|
includes/scripts.php
CHANGED
@@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
23 |
* @return void
|
24 |
*/
|
25 |
function popmake_load_site_scripts() {
|
26 |
-
$js_dir = POPMAKE_URL . '/assets/
|
27 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.js' : '.min.js';
|
28 |
|
29 |
// Deprecated. No longer used. Here for older versions of some extensions.
|
@@ -59,7 +59,7 @@ add_action( 'wp_enqueue_scripts', 'popmake_load_site_scripts' );
|
|
59 |
* @return void
|
60 |
*/
|
61 |
function popmake_load_site_styles() {
|
62 |
-
$css_dir = POPMAKE_URL . '/assets/
|
63 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.css' : '.min.css';
|
64 |
wp_register_style( 'popup-maker-site', $css_dir . 'popup-maker-site' . $suffix, false, POPMAKE_VERSION );
|
65 |
}
|
@@ -98,9 +98,11 @@ function popmake_render_popup_theme_styles() {
|
|
98 |
$link .= "|";
|
99 |
}
|
100 |
$link .= $font_family;
|
101 |
-
if (
|
102 |
-
$
|
103 |
-
|
|
|
|
|
104 |
}
|
105 |
}
|
106 |
|
@@ -130,7 +132,7 @@ add_action( 'admin_head', 'popmake_render_popup_theme_styles' );
|
|
130 |
* @return void
|
131 |
*/
|
132 |
function popmake_load_admin_scripts() {
|
133 |
-
$js_dir = POPMAKE_URL . '/assets/
|
134 |
// Use minified libraries if SCRIPT_DEBUG is turned off
|
135 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.js' : '.min.js';
|
136 |
if ( popmake_is_admin_popup_page() || popmake_is_admin_popup_theme_page() ) {
|
@@ -173,7 +175,7 @@ add_action( 'admin_enqueue_scripts', 'popmake_load_admin_scripts', 100 );
|
|
173 |
* @return void
|
174 |
*/
|
175 |
function popmake_load_admin_styles() {
|
176 |
-
$css_dir = POPMAKE_URL . '/assets/
|
177 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.css' : '.min.css';
|
178 |
if ( popmake_is_admin_popup_page() || popmake_is_admin_popup_theme_page() ) {
|
179 |
wp_enqueue_style( 'popup-maker-site', $css_dir . 'popup-maker-site' . $suffix, false, POPMAKE_VERSION );
|
23 |
* @return void
|
24 |
*/
|
25 |
function popmake_load_site_scripts() {
|
26 |
+
$js_dir = POPMAKE_URL . '/assets/js/';
|
27 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.js' : '.min.js';
|
28 |
|
29 |
// Deprecated. No longer used. Here for older versions of some extensions.
|
59 |
* @return void
|
60 |
*/
|
61 |
function popmake_load_site_styles() {
|
62 |
+
$css_dir = POPMAKE_URL . '/assets/css/';
|
63 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.css' : '.min.css';
|
64 |
wp_register_style( 'popup-maker-site', $css_dir . 'popup-maker-site' . $suffix, false, POPMAKE_VERSION );
|
65 |
}
|
98 |
$link .= "|";
|
99 |
}
|
100 |
$link .= $font_family;
|
101 |
+
if ( is_array( $variants ) ) {
|
102 |
+
if ( implode( ',', $variants ) != '' ) {
|
103 |
+
$link .= ":";
|
104 |
+
$link .= trim( implode( ',', $variants ), ':' );
|
105 |
+
}
|
106 |
}
|
107 |
}
|
108 |
|
132 |
* @return void
|
133 |
*/
|
134 |
function popmake_load_admin_scripts() {
|
135 |
+
$js_dir = POPMAKE_URL . '/assets/js/';
|
136 |
// Use minified libraries if SCRIPT_DEBUG is turned off
|
137 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.js' : '.min.js';
|
138 |
if ( popmake_is_admin_popup_page() || popmake_is_admin_popup_theme_page() ) {
|
175 |
* @return void
|
176 |
*/
|
177 |
function popmake_load_admin_styles() {
|
178 |
+
$css_dir = POPMAKE_URL . '/assets/css/';
|
179 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.css' : '.min.css';
|
180 |
if ( popmake_is_admin_popup_page() || popmake_is_admin_popup_theme_page() ) {
|
181 |
wp_enqueue_style( 'popup-maker-site', $css_dir . 'popup-maker-site' . $suffix, false, POPMAKE_VERSION );
|
includes/shortcodes.php
CHANGED
@@ -108,5 +108,24 @@ function popmake_shortcode_popup_trigger( $atts, $content = null ) {
|
|
108 |
$return .= do_shortcode( $content );
|
109 |
$return .= '</' . $atts['tag'] . '>';
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
return $return;
|
112 |
}
|
108 |
$return .= do_shortcode( $content );
|
109 |
$return .= '</' . $atts['tag'] . '>';
|
110 |
|
111 |
+
return $return;
|
112 |
+
}
|
113 |
+
|
114 |
+
add_shortcode( 'popup_close', 'popmake_shortcode_popup_close' );
|
115 |
+
function popmake_shortcode_popup_close( $atts, $content = null ) {
|
116 |
+
$atts = shortcode_atts(
|
117 |
+
apply_filters( 'popmake_shortcode_popup_close_default_atts', array(
|
118 |
+
'id' => "",
|
119 |
+
'tag' => 'span',
|
120 |
+
'class' => '',
|
121 |
+
) ),
|
122 |
+
apply_filters( 'popmake_shortcode_popup_close_atts', $atts ),
|
123 |
+
'popup_trigger'
|
124 |
+
);
|
125 |
+
|
126 |
+
$return = '<' . $atts['tag'] . ' class="popmake-close' . ' ' . $atts['class'] . '">';
|
127 |
+
$return .= do_shortcode( $content );
|
128 |
+
$return .= '</' . $atts['tag'] . '>';
|
129 |
+
|
130 |
return $return;
|
131 |
}
|
popup-maker.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://wppopupmaker.com
|
5 |
* Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
|
6 |
* Author: Daniel Iser
|
7 |
-
* Version: 1.3.
|
8 |
* Author URI: https://wppopupmaker.com
|
9 |
* Text Domain: popup-maker
|
10 |
*
|
@@ -144,7 +144,7 @@ if ( ! class_exists( 'Popup_Maker' ) ) :
|
|
144 |
}
|
145 |
|
146 |
if ( ! defined( 'POPMAKE_VERSION' ) ) {
|
147 |
-
define( 'POPMAKE_VERSION', '1.3.
|
148 |
}
|
149 |
|
150 |
if ( ! defined( 'POPMAKE_DB_VERSION' ) ) {
|
4 |
* Plugin URI: https://wppopupmaker.com
|
5 |
* Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
|
6 |
* Author: Daniel Iser
|
7 |
+
* Version: 1.3.9
|
8 |
* Author URI: https://wppopupmaker.com
|
9 |
* Text Domain: popup-maker
|
10 |
*
|
144 |
}
|
145 |
|
146 |
if ( ! defined( 'POPMAKE_VERSION' ) ) {
|
147 |
+
define( 'POPMAKE_VERSION', '1.3.9' );
|
148 |
}
|
149 |
|
150 |
if ( ! defined( 'POPMAKE_DB_VERSION' ) ) {
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Donate link:
|
|
6 |
Tags: age restriction, age verification, auto open, automatic popup, conversion, conversions, custom popup, dialog box, exit intent, fancy box, fancy popup, form modal, full page popup, full screen pop, full screen popup, marketing, modal, modals, onclick popup, optin popup, pop-up, pop-ups, popup, popup ads, popup advertising, popup box, popup form, popup message, popup window, popups, unblockable, wordpress popup
|
7 |
Requires at least: 3.4
|
8 |
Tested up to: 4.3.1
|
9 |
-
Stable tag: 1.3.
|
10 |
License: GNU Version 2 or Any Later Version
|
11 |
|
12 |
The most versatile popup plugin for WordPress! Grow email subscriber lists, get more FB Likes, create login modals, content restriction & more.
|
@@ -49,22 +49,7 @@ Not all form plugins are optimal for use in popups. The following support AJAX s
|
|
49 |
* Caldera Forms
|
50 |
* Contact Form 7
|
51 |
|
52 |
-
|
53 |
-
* Danish
|
54 |
-
* French
|
55 |
-
* Hungarian (Hungary)
|
56 |
-
* Italian (Italy)
|
57 |
-
* Norwegian
|
58 |
-
* Swedish (Sweden)
|
59 |
-
* Arabic
|
60 |
-
* Spanish - 84%
|
61 |
-
* Russian (Russia) - 80%
|
62 |
-
* German (Germany) - 59%
|
63 |
-
* Italian (Switzerland) - 35%
|
64 |
-
* Danish (Denmark) - 33%
|
65 |
-
* Slovak (Slovakia) - 29%
|
66 |
-
|
67 |
-
Need it in another language? Help us [translate Popup Maker](https://www.transifex.com/projects/p/popup-maker).
|
68 |
|
69 |
= Check out our extension line to increase conversions & further enhance your popups. =
|
70 |
> + [Exit Intent Popups](https://wppopupmaker.com/extensions/exit-intent-popups?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Exit+Intent "Exit Intent Popups")
|
@@ -106,6 +91,17 @@ There are several common causes for this which include:
|
|
106 |
|
107 |
== Changelog ==
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
= v1.3.8 - 9/29/2015 =
|
110 |
* Fix: Updated links to documentation.
|
111 |
* Fix: Removed exploitable bug allowing script execution in the admin. Discovered 9/29/15 - Patched 9/29/15
|
6 |
Tags: age restriction, age verification, auto open, automatic popup, conversion, conversions, custom popup, dialog box, exit intent, fancy box, fancy popup, form modal, full page popup, full screen pop, full screen popup, marketing, modal, modals, onclick popup, optin popup, pop-up, pop-ups, popup, popup ads, popup advertising, popup box, popup form, popup message, popup window, popups, unblockable, wordpress popup
|
7 |
Requires at least: 3.4
|
8 |
Tested up to: 4.3.1
|
9 |
+
Stable tag: 1.3.9
|
10 |
License: GNU Version 2 or Any Later Version
|
11 |
|
12 |
The most versatile popup plugin for WordPress! Grow email subscriber lists, get more FB Likes, create login modals, content restriction & more.
|
49 |
* Caldera Forms
|
50 |
* Contact Form 7
|
51 |
|
52 |
+
Need it in another language? Help us [translate Popup Maker](https://transla te.wordpress.org/projects/wp-plugins/popup-maker).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
= Check out our extension line to increase conversions & further enhance your popups. =
|
55 |
> + [Exit Intent Popups](https://wppopupmaker.com/extensions/exit-intent-popups?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Exit+Intent "Exit Intent Popups")
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= v1.3.9 - 10/14/2015 =
|
95 |
+
* Feature: New shortcode - [popup_close] allows adding custom close buttons/text. Ex. [popup_close] Click Me [/popup_close].
|
96 |
+
* Improvement: Added SASS/SCSS files for the site & admin styles.
|
97 |
+
* Improvement: Added better support for current & legacy versions of Visual Composer.
|
98 |
+
* Improvement: Added check for preventClose class on a popup just before closing. If found the popup won't close.
|
99 |
+
* Fix: Fixed bug in theme editor that caused Google Font variants to not show up.
|
100 |
+
* Fix: Fixed bug in CSS generation where Google Font URL would become corrupted and cause a 404.
|
101 |
+
* Fix: Fixed bug where fixed position would show unchecked even if it was checked.
|
102 |
+
* Fix: Fixed bug in CSS that caused popup to appear below site on mobile.
|
103 |
+
* Fix: WP Multi Site: Fatal Error.
|
104 |
+
|
105 |
= v1.3.8 - 9/29/2015 =
|
106 |
* Fix: Updated links to documentation.
|
107 |
* Fix: Removed exploitable bug allowing script execution in the admin. Discovered 9/29/15 - Patched 9/29/15
|
templates/single-popup.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php get_head(); ?>
|
2 |
+
|
3 |
+
<?php popmake_get_template_part( 'popup' ); ?>
|
4 |
+
|
5 |
+
<script>
|
6 |
+
jQuery('#popmake-<?php the_popup_ID(); ?>').popmake('open');
|
7 |
+
</script>
|
8 |
+
|
9 |
+
|
10 |
+
<?php get_footer(); ?>
|