Spice Box - Version 0.2.7

Version Description

Download this release

Release Info

Developer spicethemes
Plugin Icon wp plugin Spice Box
Version 0.2.7
Comparing to
See all releases

Code changes from version 0.2.6 to 0.2.7

feedback-mail.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( isset($_POST["Resason"]) || isset($_POST["TextReason"])) {
4
+
5
+ $pass = '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'; // not the key, but the token
6
+
7
+ $url = 'https://api.sendgrid.com/';
8
+
9
+ $params = array(
10
+ 'to' => 'info@spicethemes.com',
11
+ 'subject' => 'Spicepress Theme Feedback',
12
+ 'html' => $_POST["Resason"] ." ". $_POST["TextReason"],
13
+ 'from' => 'spicepress@spicethemes.com',
14
+ );
15
+
16
+ $request = $url.'api/mail.send.json';
17
+ $headr = array();
18
+ // set authorization header
19
+ $headr[] = 'Authorization: Bearer '.$pass;
20
+
21
+ $session = curl_init($request);
22
+ curl_setopt ($session, CURLOPT_POST, true);
23
+ curl_setopt ($session, CURLOPT_POSTFIELDS, $params);
24
+ curl_setopt($session, CURLOPT_HEADER, false);
25
+ curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
26
+
27
+ // add authorization header
28
+ curl_setopt($session, CURLOPT_HTTPHEADER,$headr);
29
+
30
+ $response = curl_exec($session);
31
+ curl_close($session);
32
+ }
33
+ ?>
inc/css/feedback-popup.css ADDED
@@ -0,0 +1,1163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*! spicepress - 15-05-2018 */
3
+ .spicepress-screen-only,.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{
4
+ position:absolute;
5
+ top:-10000em;
6
+ width:1px;
7
+ height:1px;
8
+ margin:-1px;
9
+ padding:0;
10
+ overflow:hidden;
11
+ clip:rect(0,0,0,0);
12
+ border:0
13
+ }
14
+ .spicepress-clearfix:after{
15
+ content:"";
16
+ display:block;
17
+ clear:both;
18
+ width:0;
19
+ height:0
20
+ }
21
+ .dialog-widget-content{
22
+ background-color:#fff;
23
+ position:absolute;
24
+ -webkit-border-radius:3px;
25
+ border-radius:3px;
26
+ -webkit-box-shadow:2px 8px 23px 3px rgba(0,0,0,.2);
27
+ box-shadow:2px 8px 23px 3px rgba(0,0,0,.2);
28
+ overflow:hidden
29
+ }
30
+ .dialog-message{
31
+ font-size:12px;
32
+ line-height:1.5
33
+ }
34
+ .dialog-type-lightbox{
35
+ position:fixed;
36
+ height:100%;
37
+ width:100%;
38
+ top:0;
39
+ left:0;
40
+ background-color:rgba(0,0,0,.8);
41
+ z-index:2;
42
+ -webkit-user-select:none;
43
+ -moz-user-select:none;
44
+ -ms-user-select:none;
45
+ user-select:none
46
+ }
47
+ .dialog-type-lightbox .dialog-widget-content{
48
+ margin:auto;
49
+ width:375px
50
+ }
51
+ .dialog-type-lightbox .dialog-message{
52
+ padding:0 20px 20px;
53
+ min-height:50px
54
+ }
55
+ .dialog-type-lightbox .dialog-message,.dialog-type-lightbox .dialog-widget-header{
56
+ text-align:center
57
+ }
58
+ .dialog-type-lightbox .dialog-buttons-wrapper{
59
+ border-top:1px solid #e6e9ec;
60
+ text-align:center
61
+ }
62
+ .dialog-type-lightbox .dialog-buttons-wrapper>button{
63
+ border:none;
64
+ background:none;
65
+ font-size:15px;
66
+ cursor:pointer;
67
+ padding:13px 0;
68
+ outline:0
69
+ }
70
+ .dialog-type-lightbox .dialog-buttons-wrapper>button:first-child{
71
+ color:#6d7882
72
+ }
73
+ .dialog-type-lightbox .dialog-buttons-wrapper>button.dialog-ok{
74
+ color:#b01b1b
75
+ }
76
+ .dialog-type-lightbox .dialog-buttons-wrapper>button.dialog-take_over{
77
+ color:#39b54a
78
+ }
79
+ .dialog-type-lightbox .dialog-buttons-wrapper>button:active{
80
+ background-color:rgba(230,233,236,.5)
81
+ }
82
+ .dialog-type-lightbox .dialog-buttons-wrapper>button::-moz-focus-inner{
83
+ border:0
84
+ }
85
+ .dialog-widget-header{
86
+ padding:20px 0;
87
+ font-weight:500
88
+ }
89
+ .dialog-close-button{
90
+ cursor:pointer;
91
+ position:absolute;
92
+ top:30px;
93
+ right:30px;
94
+ font-size:15px
95
+ }
96
+ .dialog-close-button:not(:hover){
97
+ opacity:.4
98
+ }
99
+ .dialog-confirm-widget .dialog-widget-header,.dialog-lightbox-widget .dialog-widget-header{
100
+ font-size:15px;
101
+ color:#495157
102
+ }
103
+ .dialog-confirm-widget .dialog-buttons-wrapper>button,.dialog-lightbox-widget .dialog-buttons-wrapper>button{
104
+ width:50%
105
+ }
106
+ .dialog-confirm-widget .dialog-buttons-wrapper>button:first-child,.dialog-lightbox-widget .dialog-buttons-wrapper>button:first-child{
107
+ border-right:1px solid #e6e9ec
108
+ }
109
+ .dialog-confirm-widget .dialog-buttons-wrapper>button:hover,.dialog-lightbox-widget .dialog-buttons-wrapper>button:hover{
110
+ background-color:#f4f6f7
111
+ }
112
+ .dialog-alert-widget .dialog-buttons-wrapper>button{
113
+ width:100%
114
+ }
115
+ @media (max-width:767px){
116
+ .dialog-close-button{
117
+ top:15px;
118
+ right:15px
119
+ }
120
+ body.admin-bar .dialog-close-button{
121
+ top:40px
122
+ }
123
+ }
124
+ .spicepress-aspect-ratio-219 .spicepress-fit-aspect-ratio{
125
+ padding-bottom:42.8571%
126
+ }
127
+ .spicepress-aspect-ratio-169 .spicepress-fit-aspect-ratio{
128
+ padding-bottom:56.25%
129
+ }
130
+ .spicepress-aspect-ratio-43 .spicepress-fit-aspect-ratio{
131
+ padding-bottom:75%
132
+ }
133
+ .spicepress-aspect-ratio-32 .spicepress-fit-aspect-ratio{
134
+ padding-bottom:66.6666%
135
+ }
136
+ .spicepress-aspect-ratio-11 .spicepress-fit-aspect-ratio{
137
+ padding-bottom:100%
138
+ }
139
+ .spicepress-fit-aspect-ratio{
140
+ position:relative;
141
+ height:0
142
+ }
143
+ .spicepress-fit-aspect-ratio iframe{
144
+ position:absolute;
145
+ top:0;
146
+ left:0;
147
+ height:100%;
148
+ width:100%;
149
+ border:0
150
+ }
151
+ .spicepress-hidden{
152
+ display:none
153
+ }
154
+ .flatpickr-calendar{
155
+ width:280px
156
+ }
157
+ .flatpickr-calendar .flatpickr-current-month span.cur-month{
158
+ font-weight:300
159
+ }
160
+ .flatpickr-calendar .dayContainer{
161
+ width:280px;
162
+ min-width:280px;
163
+ max-width:280px
164
+ }
165
+ .flatpickr-calendar .flatpickr-days{
166
+ width:280px
167
+ }
168
+ .flatpickr-calendar .flatpickr-day{
169
+ max-width:37px;
170
+ height:37px;
171
+ line-height:37px
172
+ }
173
+ .spicepress-button{
174
+ text-transform:uppercase;
175
+ outline:none;
176
+ border:none;
177
+ -webkit-border-radius:3px;
178
+ border-radius:3px;
179
+ -webkit-transition-property:background,color,opacity,-webkit-box-shadow;
180
+ transition-property:background,color,opacity,-webkit-box-shadow;
181
+ -o-transition-property:background,color,box-shadow,opacity;
182
+ transition-property:background,color,box-shadow,opacity;
183
+ transition-property:background,color,box-shadow,opacity,-webkit-box-shadow;
184
+ -webkit-transition-duration:.3s;
185
+ -o-transition-duration:.3s;
186
+ transition-duration:.3s
187
+ }
188
+ .spicepress-button:hover{
189
+ border:none
190
+ }
191
+ .spicepress-button:not([disabled]){
192
+ cursor:pointer
193
+ }
194
+ .spicepress-button:not(.spicepress-button-state) .spicepress-state-icon{
195
+ display:none
196
+ }
197
+ .spicepress-button.spicepress-button-success{
198
+ color:#fff
199
+ }
200
+ .spicepress-button.spicepress-button-success[disabled]{
201
+ background-color:#c2cbd2
202
+ }
203
+ .spicepress-button.spicepress-button-success:not([disabled]){
204
+ background-color:#39b54a
205
+ }
206
+ .spicepress-button.spicepress-button-success:not([disabled]):hover{
207
+ opacity:.85;
208
+ -webkit-box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2);
209
+ box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2)
210
+ }
211
+ .spicepress-button.spicepress-button-success:not([disabled]):active{
212
+ -webkit-box-shadow:0 5px 10px rgba(0,0,0,.19),0 3px 3px rgba(0,0,0,.1);
213
+ box-shadow:0 5px 10px rgba(0,0,0,.19),0 3px 3px rgba(0,0,0,.1)
214
+ }
215
+ .spicepress-button.spicepress-button-warning{
216
+ background-color:#a4afb7;
217
+ color:#fff
218
+ }
219
+ .spicepress-button.spicepress-button-warning[disabled]{
220
+ background-color:#c2cbd2
221
+ }
222
+ .spicepress-button.spicepress-button-warning:not([disabled]):hover{
223
+ background-color:#b01b1b;
224
+ opacity:.85;
225
+ -webkit-box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2);
226
+ box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2)
227
+ }
228
+ .spicepress-button.spicepress-button-warning:not([disabled]):active{
229
+ -webkit-box-shadow:0 5px 10px rgba(0,0,0,.19),0 3px 3px rgba(0,0,0,.1);
230
+ box-shadow:0 5px 10px rgba(0,0,0,.19),0 3px 3px rgba(0,0,0,.1)
231
+ }
232
+ .spicepress-button.spicepress-edit-template{
233
+ display:inline-block;
234
+ margin-top:15px;
235
+ color:#fff
236
+ }
237
+ .spicepress-button.spicepress-button-default{
238
+ background-color:#a4afb7;
239
+ color:#fff;
240
+ font-size:11px;
241
+ padding:6.5px 15px
242
+ }
243
+ .spicepress-button.spicepress-button-default:hover{
244
+ background-color:#6d7882;
245
+ -webkit-box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2);
246
+ box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.2)
247
+ }
248
+ .spicepress-button.spicepress-button-default:active{
249
+ -webkit-box-shadow:0 5px 10px rgba(0,0,0,.19),0 3px 3px rgba(0,0,0,.1);
250
+ box-shadow:0 5px 10px rgba(0,0,0,.19),0 3px 3px rgba(0,0,0,.1)
251
+ }
252
+ .spicepress-button.spicepress-button-default:visited{
253
+ color:#fff
254
+ }
255
+ .spicepress-button.spicepress-button-go-pro{
256
+ color:#fff;
257
+ background-color:#fcb92c
258
+ }
259
+ .spicepress-button i{
260
+ margin-right:10px
261
+ }
262
+ .spicepress-templates-modal .dialog-widget-content{
263
+ background-color:#f1f3f5;
264
+ width:100%
265
+ }
266
+ @media (max-width:1439px){
267
+ .spicepress-templates-modal .dialog-widget-content{
268
+ max-width:990px
269
+ }
270
+ }
271
+ @media (min-width:1440px){
272
+ .spicepress-templates-modal .dialog-widget-content{
273
+ max-width:1200px
274
+ }
275
+ }
276
+ .spicepress-templates-modal .dialog-widget-header{
277
+ padding:0;
278
+ background-color:#fff;
279
+ -webkit-box-shadow:0 0 8px rgba(0,0,0,.1);
280
+ box-shadow:0 0 8px rgba(0,0,0,.1);
281
+ position:relative;
282
+ z-index:1
283
+ }
284
+ .spicepress-templates-modal .dialog-buttons-wrapper{
285
+ display:none
286
+ }
287
+ .spicepress-templates-modal .dialog-message{
288
+ height:750px;
289
+ max-height:85vh;
290
+ overflow:auto;
291
+ padding:25px 30px 30px
292
+ }
293
+ .spicepress-templates-modal__header{
294
+ display:-webkit-box;
295
+ display:-webkit-flex;
296
+ display:-ms-flexbox;
297
+ display:flex;
298
+ -webkit-box-align:center;
299
+ -webkit-align-items:center;
300
+ -ms-flex-align:center;
301
+ align-items:center;
302
+ -webkit-box-pack:justify;
303
+ -webkit-justify-content:space-between;
304
+ -ms-flex-pack:justify;
305
+ justify-content:space-between;
306
+ height:50px
307
+ }
308
+ .spicepress-templates-modal__header__logo{
309
+ font-size:15px;
310
+ line-height:1;
311
+ text-transform:uppercase;
312
+ color:#495157;
313
+ font-weight:700;
314
+ cursor:pointer
315
+ }
316
+ .spicepress-templates-modal__header__logo-area{
317
+ text-align:left;
318
+ padding-left:15px
319
+ }
320
+ .spicepress-templates-modal__header__logo-area>*{
321
+ display:-webkit-box;
322
+ display:-webkit-flex;
323
+ display:-ms-flexbox;
324
+ display:flex;
325
+ -webkit-box-align:center;
326
+ -webkit-align-items:center;
327
+ -ms-flex-align:center;
328
+ align-items:center
329
+ }
330
+ .spicepress-templates-modal__header__logo__icon-wrapper{
331
+ padding:4px 7px 6px;
332
+ background-image:-webkit-linear-gradient(225deg,#ef295a,#434363);
333
+ background-image:-o-linear-gradient(225deg,#ef295a,#434363);
334
+ background-image:linear-gradient(-135deg,#ef295a,#434363);
335
+ -webkit-border-radius:2px;
336
+ border-radius:2px;
337
+ margin-right:10px
338
+ }
339
+ .spicepress-templates-modal__header__logo i{
340
+ color:#fff;
341
+ font-size:10px
342
+ }
343
+ .spicepress-templates-modal__header__items-area{
344
+ display:-webkit-box;
345
+ display:-webkit-flex;
346
+ display:-ms-flexbox;
347
+ display:flex;
348
+ -webkit-box-orient:horizontal;
349
+ -webkit-box-direction:reverse;
350
+ -webkit-flex-direction:row-reverse;
351
+ -ms-flex-direction:row-reverse;
352
+ flex-direction:row-reverse
353
+ }
354
+ .spicepress-templates-modal__header__item{
355
+ position:relative;
356
+ display:-webkit-box;
357
+ display:-webkit-flex;
358
+ display:-ms-flexbox;
359
+ display:flex;
360
+ -webkit-box-align:center;
361
+ -webkit-align-items:center;
362
+ -ms-flex-align:center;
363
+ align-items:center;
364
+ -webkit-box-pack:center;
365
+ -webkit-justify-content:center;
366
+ -ms-flex-pack:center;
367
+ justify-content:center;
368
+ -webkit-box-sizing:content-box;
369
+ box-sizing:content-box
370
+ }
371
+ .spicepress-templates-modal__header__item>i{
372
+ font-size:20px;
373
+ -webkit-transition:color .5s;
374
+ -o-transition:color .5s;
375
+ transition:color .5s;
376
+ cursor:pointer
377
+ }
378
+ .spicepress-templates-modal__header__item>i:not(:hover){
379
+ color:#a4afb7
380
+ }
381
+ .spicepress-templates-modal__header__close-modal{
382
+ width:45px;
383
+ border-left:1px solid #e6e9ec
384
+ }
385
+ .spicepress-templates-modal__header__close-modal i{
386
+ font-size:18px
387
+ }
388
+ body.spicepress-editor-active .spicepress-switch-mode-off{
389
+ display:none
390
+ }
391
+ body.spicepress-editor-active #spicepress-switch-mode-button{
392
+ background-color:#f7f7f7;
393
+ color:#555;
394
+ border-color:#ccc;
395
+ -webkit-box-shadow:0 1px 0 #ccc!important;
396
+ box-shadow:0 1px 0 #ccc!important;
397
+ text-shadow:unset
398
+ }
399
+ body.spicepress-editor-active #spicepress-switch-mode-button:hover{
400
+ background-color:#e9e9e9
401
+ }
402
+ body.spicepress-editor-active #spicepress-switch-mode-button:active{
403
+ -webkit-box-shadow:inset 0 1px 0 #ccc;
404
+ box-shadow:inset 0 1px 0 #ccc;
405
+ -webkit-transform:translateY(1px);
406
+ -ms-transform:translateY(1px);
407
+ transform:translateY(1px)
408
+ }
409
+ body.spicepress-editor-active #spicepress-editor{
410
+ display:table
411
+ }
412
+ body.spicepress-editor-active #postdivrich{
413
+ display:none!important
414
+ }
415
+ body.spicepress-editor-inactive #spicepress-editor,body.spicepress-editor-inactive .spicepress-switch-mode-on{
416
+ display:none
417
+ }
418
+ #adminmenu #toplevel_page_edit-post_type-spicepress_library div.wp-menu-image:before,#adminmenu #toplevel_page_spicepress div.wp-menu-image:before{
419
+ content:"\e800";
420
+ font-family:eicons;
421
+ font-size:14px;
422
+ margin-top:3px
423
+ }
424
+ #adminmenu #toplevel_page_edit-post_type-spicepress_library a[href="admin.php?page=go_spicepress_pro"],#adminmenu #toplevel_page_spicepress a[href="admin.php?page=go_spicepress_pro"]{
425
+ color:#d54e21
426
+ }
427
+ #adminmenu #toplevel_page_edit-post_type-spicepress_library .dashicons.dashicons-star-filled,#adminmenu #toplevel_page_spicepress .dashicons.dashicons-star-filled{
428
+ height:auto
429
+ }
430
+ .spicepress-plugins-gopro{
431
+ color:#39b54a;
432
+ font-weight:700
433
+ }
434
+ #spicepress-switch-mode{
435
+ margin:15px 0
436
+ }
437
+ #spicepress-editor-button{
438
+ outline:none;
439
+ cursor:pointer
440
+ }
441
+ #spicepress-editor-button .eicon-spicepress{
442
+ margin-right:5px
443
+ }
444
+ .spicepress-button{
445
+ font-size:13px;
446
+ text-decoration:none;
447
+ padding:15px 40px
448
+ }
449
+ #spicepress-editor{
450
+ background-color:#f7f7f7;
451
+ border:1px solid #ddd;
452
+ height:300px;
453
+ width:100%;
454
+ -webkit-transition:all .5s ease;
455
+ -o-transition:all .5s ease;
456
+ transition:all .5s ease
457
+ }
458
+ #spicepress-editor:hover{
459
+ background-color:#fff
460
+ }
461
+ #spicepress-editor .spicepress-loader-box{
462
+ position:absolute;
463
+ -webkit-animation:load 1.8s linear infinite;
464
+ animation:load 1.8s linear infinite
465
+ }
466
+ #spicepress-editor .spicepress-loader-box:first-of-type{
467
+ width:20%;
468
+ height:100%;
469
+ left:0;
470
+ top:0
471
+ }
472
+ #spicepress-editor .spicepress-loader-box:not(:first-of-type){
473
+ right:0;
474
+ height:20%;
475
+ width:60%
476
+ }
477
+ #spicepress-editor .spicepress-loader-box:nth-of-type(2){
478
+ top:0;
479
+ -webkit-animation-delay:-.45s;
480
+ animation-delay:-.45s
481
+ }
482
+ #spicepress-editor .spicepress-loader-box:nth-of-type(3){
483
+ top:40%;
484
+ -webkit-animation-delay:-.9s;
485
+ animation-delay:-.9s
486
+ }
487
+ #spicepress-editor .spicepress-loader-box:nth-of-type(4){
488
+ bottom:0;
489
+ -webkit-animation-delay:-1.35s;
490
+ animation-delay:-1.35s
491
+ }
492
+ @-webkit-keyframes load{
493
+ 0%{
494
+ opacity:.3
495
+ }
496
+ 50%{
497
+ opacity:1
498
+ }
499
+ to{
500
+ opacity:.3
501
+ }
502
+ }
503
+ @keyframes load{
504
+ 0%{
505
+ opacity:.3
506
+ }
507
+ 50%{
508
+ opacity:1
509
+ }
510
+ to{
511
+ opacity:.3
512
+ }
513
+ }
514
+ #spicepress-editor .spicepress-loader-box{
515
+ background-color:#a4afb7
516
+ }
517
+ #spicepress-go-to-edit-page-link{
518
+ display:table-cell;
519
+ vertical-align:middle;
520
+ text-align:center;
521
+ text-decoration:none
522
+ }
523
+ #spicepress-go-to-edit-page-link.spicepress-animate #spicepress-editor-button,#spicepress-go-to-edit-page-link:not(.spicepress-animate) .spicepress-loader-wrapper{
524
+ display:none
525
+ }
526
+ .spicepress-loader-wrapper{
527
+ margin:auto;
528
+ width:80px
529
+ }
530
+ .spicepress-loader{
531
+ height:80px;
532
+ position:relative
533
+ }
534
+ .spicepress-loading-title{
535
+ color:#a4afb7;
536
+ text-transform:uppercase;
537
+ margin-top:15px;
538
+ font-size:11px;
539
+ letter-spacing:5px
540
+ }
541
+ .spicepress-button-spinner:before{
542
+ font:normal 20px/.5 dashicons;
543
+ speak:none;
544
+ display:inline-block;
545
+ padding:0;
546
+ top:8px;
547
+ left:-4px;
548
+ position:relative;
549
+ vertical-align:top;
550
+ content:"\f463"
551
+ }
552
+ .spicepress-button-spinner.loading:before{
553
+ -webkit-animation:rotation 1s infinite linear;
554
+ animation:rotation 1s infinite linear
555
+ }
556
+ .spicepress-button-spinner.success:before{
557
+ content:"\f147";
558
+ color:#46b450
559
+ }
560
+ .spicepress-blank_state{
561
+ padding:5em 0;
562
+ margin:auto;
563
+ max-width:520px;
564
+ text-align:center;
565
+ color:#6d7882
566
+ }
567
+ .spicepress-blank_state i{
568
+ font-size:50px;
569
+ color:#a4afb7
570
+ }
571
+ .spicepress-blank_state h2{
572
+ font-family:Roboto,Arial,Helvetica,Verdana,sans-serif;
573
+ font-size:32px;
574
+ font-weight:300;
575
+ color:inherit;
576
+ margin:50px 0 35px;
577
+ line-height:1.2
578
+ }
579
+ .spicepress-blank_state p{
580
+ font-size:16px;
581
+ font-weight:400;
582
+ color:#a4afb7;
583
+ margin-bottom:40px
584
+ }
585
+ .spicepress-blank_state .spicepress-button{
586
+ display:inline-block
587
+ }
588
+ #available-widgets [class*=spicepress-template] .widget-title:before{
589
+ content:"\e801";
590
+ font-family:eicons;
591
+ font-size:17px
592
+ }
593
+ .spicepress-settings-form-page{
594
+ padding-top:30px
595
+ }
596
+ ._spicepress_settings_update_time,.spicepress-settings-form-page:not(.spicepress-active){
597
+ display:none
598
+ }
599
+ .notice.spicepress-message{
600
+ border-left-color:#b7084e!important;
601
+ padding:20px
602
+ }
603
+ .notice.spicepress-message .spicepress-message-inner{
604
+ display:table;
605
+ width:100%
606
+ }
607
+ .notice.spicepress-message .spicepress-message-inner .spicepress-message-action,.notice.spicepress-message .spicepress-message-inner .spicepress-message-content,.notice.spicepress-message .spicepress-message-inner .spicepress-message-icon{
608
+ display:table-cell;
609
+ vertical-align:middle
610
+ }
611
+ .notice.spicepress-message .spicepress-message-icon{
612
+ color:#b7084e;
613
+ font-size:40px;
614
+ width:40px
615
+ }
616
+ .notice.spicepress-message .spicepress-message-content{
617
+ padding:0 20px
618
+ }
619
+ .notice.spicepress-message p{
620
+ padding:0;
621
+ margin:0
622
+ }
623
+ .notice.spicepress-message h3{
624
+ margin:0 0 5px
625
+ }
626
+ .notice.spicepress-message .spicepress-message-action{
627
+ text-align:right
628
+ }
629
+ .notice.spicepress-message .spicepress-message-action .spicepress-button{
630
+ background-color:#b7084e;
631
+ color:#fff;
632
+ border-color:#7c1337;
633
+ -webkit-box-shadow:0 1px 0 #7c1337;
634
+ box-shadow:0 1px 0 #7c1337;
635
+ padding:5px 30px;
636
+ height:auto;
637
+ line-height:20px;
638
+ text-transform:capitalize
639
+ }
640
+ .notice.spicepress-message .spicepress-message-action .spicepress-button i{
641
+ padding-right:5px
642
+ }
643
+ .notice.spicepress-message .spicepress-message-action .spicepress-button:hover{
644
+ background-color:#a0124a
645
+ }
646
+ .notice.spicepress-message .spicepress-message-action .spicepress-button:active{
647
+ -webkit-box-shadow:inset 0 1px 0 #7c1337;
648
+ box-shadow:inset 0 1px 0 #7c1337;
649
+ -webkit-transform:translateY(1px);
650
+ -ms-transform:translateY(1px);
651
+ transform:translateY(1px)
652
+ }
653
+ @media (min-width:1200px){
654
+ .spicepress-message-action{
655
+ padding-right:10px
656
+ }
657
+ }
658
+ @media (max-width:600px){
659
+ .notice.spicepress-message{
660
+ padding:20px
661
+ }
662
+ .notice.spicepress-message .spicepress-message-inner{
663
+ display:block;
664
+ text-align:center
665
+ }
666
+ .notice.spicepress-message .spicepress-message-inner .spicepress-message-action,.notice.spicepress-message .spicepress-message-inner .spicepress-message-content,.notice.spicepress-message .spicepress-message-inner .spicepress-message-icon{
667
+ display:block
668
+ }
669
+ .notice.spicepress-message .spicepress-message-inner .spicepress-message-action{
670
+ text-align:center
671
+ }
672
+ .notice.spicepress-message .spicepress-message-inner .spicepress-message-icon{
673
+ width:auto
674
+ }
675
+ .notice.spicepress-message .spicepress-message-inner .spicepress-message-content{
676
+ padding:10px 0
677
+ }
678
+ }
679
+ #spicepress-system-info{
680
+ padding:15px
681
+ }
682
+ #spicepress-system-info .spicepress-system-info-section{
683
+ margin-bottom:10px
684
+ }
685
+ #spicepress-system-info .spicepress-system-info-section>.spicepress-system-info-report-name{
686
+ padding-left:10px;
687
+ border-bottom:1px solid #e1e1e1
688
+ }
689
+ #spicepress-system-info .spicepress-system-info-section .widefat{
690
+ white-space:pre
691
+ }
692
+ #spicepress-system-info .spicepress-system-info-report-name{
693
+ text-transform:uppercase;
694
+ font-size:14px;
695
+ margin:0;
696
+ line-height:2
697
+ }
698
+ #spicepress-system-info .spicepress-system-info-report-row{
699
+ overflow:hidden;
700
+ padding:5px 0
701
+ }
702
+ #spicepress-system-info .spicepress-system-info-report-row>*{
703
+ float:left
704
+ }
705
+ #spicepress-system-info .spicepress-system-info-field-recommendation,#spicepress-system-info .spicepress-system-info-report-field{
706
+ padding-left:10px;
707
+ color:#7f7f7f
708
+ }
709
+ #spicepress-system-info .spicepress-system-info-report-fields{
710
+ padding-left:20px
711
+ }
712
+ #spicepress-system-info .spicepress-system-info-plugin-name{
713
+ color:#000
714
+ }
715
+ #spicepress-system-info .spicepress-system-info-plugin-properties{
716
+ padding:10px
717
+ }
718
+ #spicepress-system-info #spicepress-system-info-raw-code{
719
+ width:100%;
720
+ height:200px
721
+ }
722
+ #spicepress-system-info #spicepress-system-info-raw-code-label{
723
+ padding:5px;
724
+ display:block
725
+ }
726
+ #spicepress-system-info .spicepress-warning td:first-child{
727
+ border-left:3px solid #fcb92c
728
+ }
729
+ @-webkit-keyframes spicepress-rotation{
730
+ 0%{
731
+ -webkit-transform:rotate(0deg);
732
+ transform:rotate(0deg)
733
+ }
734
+ to{
735
+ -webkit-transform:rotate(359deg);
736
+ transform:rotate(359deg)
737
+ }
738
+ }
739
+ @keyframes spicepress-rotation{
740
+ 0%{
741
+ -webkit-transform:rotate(0deg);
742
+ transform:rotate(0deg)
743
+ }
744
+ to{
745
+ -webkit-transform:rotate(359deg);
746
+ transform:rotate(359deg)
747
+ }
748
+ }
749
+ #spicepress-deactivate-feedback-dialog-wrapper{
750
+ display:none
751
+ }
752
+ #spicepress-deactivate-feedback-modal .dialog-widget-content{
753
+ width:550px
754
+ }
755
+ #spicepress-deactivate-feedback-modal .dialog-close-button{
756
+ -webkit-transition:all .5s;
757
+ -o-transition:all .5s;
758
+ transition:all .5s
759
+ }
760
+ #spicepress-deactivate-feedback-modal .dialog-widget-header{
761
+ padding:18px 15px;
762
+ -webkit-box-shadow:0 0 8px rgba(0,0,0,.1);
763
+ box-shadow:0 0 8px rgba(0,0,0,.1);
764
+ text-align:left
765
+ }
766
+ #spicepress-deactivate-feedback-modal .dialog-message{
767
+ padding:30px 30px 0;
768
+ text-align:left
769
+ }
770
+ #spicepress-deactivate-feedback-modal .spicepress-deactivate-feedback-dialog-input{
771
+ float:left;
772
+ margin:0 15px 0 0;
773
+ -webkit-box-shadow:none;
774
+ box-shadow:none
775
+ }
776
+ #spicepress-deactivate-feedback-modal .spicepress-deactivate-feedback-dialog-input:not(:checked)~.spicepress-feedback-text{
777
+ display:none
778
+ }
779
+ #spicepress-deactivate-feedback-modal .spicepress-deactivate-feedback-dialog-label{
780
+ display:block;
781
+ font-size:13px;
782
+ color:#6d7882
783
+ }
784
+ #spicepress-deactivate-feedback-modal .spicepress-feedback-text{
785
+ margin:10px 0 0 30px;
786
+ padding:5px;
787
+ font-size:13px;
788
+ -webkit-box-shadow:none;
789
+ box-shadow:none;
790
+ background-color:#fff;
791
+ width:92%
792
+ }
793
+ #spicepress-deactivate-feedback-modal .dialog-buttons-wrapper{
794
+ border-top:none;
795
+ text-align:left;
796
+ padding:20px 30px 30px
797
+ }
798
+ #spicepress-deactivate-feedback-modal .dialog-submit{
799
+ background-color:#b7084e;
800
+ -webkit-border-radius:3px;
801
+ border-radius:3px;
802
+ color:#fff;
803
+ line-height:1;
804
+ padding:12px 20px;
805
+ font-size:14px;
806
+ width:180px;
807
+ height:38px
808
+ }
809
+ #spicepress-deactivate-feedback-modal .dialog-submit.spicepress-loading:before{
810
+ display:inline-block;
811
+ content:"\f463";
812
+ font:18px dashicons;
813
+ -webkit-animation:spicepress-rotation 2s infinite linear;
814
+ animation:spicepress-rotation 2s infinite linear
815
+ }
816
+ #spicepress-deactivate-feedback-modal .dialog-skip{
817
+ font-size:12px;
818
+ color:#a4afb7;
819
+ background:none;
820
+ float:right;
821
+ width:auto
822
+ }
823
+ #spicepress-deactivate-feedback-dialog-header i{
824
+ color:#b7084e;
825
+ font-size:19px
826
+ }
827
+ #spicepress-deactivate-feedback-dialog-header-title{
828
+ font-size:15px;
829
+ text-transform:uppercase;
830
+ font-weight:700;
831
+ padding-left:5px
832
+ }
833
+ #spicepress-deactivate-feedback-dialog-form-caption{
834
+ font-weight:700;
835
+ font-size:15px;
836
+ color:#495157;
837
+ line-height:1.4
838
+ }
839
+ #spicepress-deactivate-feedback-dialog-form-body{
840
+ padding-top:30px
841
+ }
842
+ .spicepress-deactivate-feedback-dialog-input-wrapper{
843
+ line-height:1.3;
844
+ overflow:hidden;
845
+ margin-bottom:15px
846
+ }
847
+ #spicepress-hidden-area{
848
+ display:none
849
+ }
850
+ #spicepress-import-template-trigger{
851
+ cursor:pointer
852
+ }
853
+ #spicepress-import-template-area{
854
+ display:none;
855
+ margin:50px 0 30px;
856
+ text-align:center
857
+ }
858
+ #spicepress-import-template-form{
859
+ display:inline-block;
860
+ margin-top:30px;
861
+ padding:30px 50px;
862
+ background-color:#fff;
863
+ border:1px solid #e5e5e5
864
+ }
865
+ #spicepress-import-template-title{
866
+ font-size:18px;
867
+ color:#555d66
868
+ }
869
+ .form-table:not(.spicepress-maintenance-mode-is-enabled) .spicepress-default-hide{
870
+ display:none
871
+ }
872
+ .spicepress-maintenance-mode-error{
873
+ color:red
874
+ }
875
+ #e-dashboard-overview .dashicons{
876
+ vertical-align:middle;
877
+ font-size:17px
878
+ }
879
+ #e-dashboard-overview .e-overview__header{
880
+ display:table;
881
+ width:100%;
882
+ -webkit-box-shadow:0 5px 8px rgba(0,0,0,.05);
883
+ box-shadow:0 5px 8px rgba(0,0,0,.05);
884
+ margin:0 -12px 8px;
885
+ padding:0 12px 12px
886
+ }
887
+ #e-dashboard-overview .e-overview__create,#e-dashboard-overview .e-overview__logo,#e-dashboard-overview .e-overview__versions{
888
+ display:table-cell;
889
+ vertical-align:middle
890
+ }
891
+ #e-dashboard-overview .e-overview__logo{
892
+ color:#b7084e;
893
+ font-size:40px;
894
+ width:40px
895
+ }
896
+ #e-dashboard-overview .e-overview__versions{
897
+ padding:0 10px;
898
+ font-size:.9em;
899
+ line-height:1.5
900
+ }
901
+ #e-dashboard-overview .e-overview__version{
902
+ display:block
903
+ }
904
+ #e-dashboard-overview .e-overview__create{
905
+ text-align:right
906
+ }
907
+ #e-dashboard-overview .e-overview__post{
908
+ margin-top:10px
909
+ }
910
+ #e-dashboard-overview .e-overview__post-link{
911
+ display:inline-block
912
+ }
913
+ #e-dashboard-overview .e-overview__badge{
914
+ background:#39b54a;
915
+ color:#fff;
916
+ font-size:.75em;
917
+ padding:3px 6px;
918
+ -webkit-border-radius:3px;
919
+ border-radius:3px;
920
+ text-transform:uppercase
921
+ }
922
+ #e-dashboard-overview .e-overview__post-description{
923
+ margin:0 0 1.5em
924
+ }
925
+ #e-dashboard-overview .e-overview__recently-edited li{
926
+ color:#72777c
927
+ }
928
+ #e-dashboard-overview .e-overview__feed{
929
+ font-size:14px;
930
+ font-weight:500
931
+ }
932
+ #e-dashboard-overview .e-overview__feed .e-overview__post-link{
933
+ padding-bottom:5px
934
+ }
935
+ #e-dashboard-overview .e-overview__feed .e-overview__heading,#e-dashboard-overview .e-overview__recently-edited .e-overview__heading{
936
+ font-weight:700;
937
+ border-bottom:1px solid #eee;
938
+ margin:0 -12px;
939
+ padding:6px 12px
940
+ }
941
+ #e-dashboard-overview .e-overview__footer{
942
+ margin:0 -12px -12px;
943
+ padding:12px;
944
+ border-top:1px solid #eee
945
+ }
946
+ #e-dashboard-overview .e-overview__footer ul{
947
+ display:-webkit-box;
948
+ display:-webkit-flex;
949
+ display:-ms-flexbox;
950
+ display:flex;
951
+ list-style:none;
952
+ margin:0;
953
+ padding:0
954
+ }
955
+ #e-dashboard-overview .e-overview__footer ul li{
956
+ padding:0 10px;
957
+ margin:0;
958
+ border-left:1px solid #ddd
959
+ }
960
+ #e-dashboard-overview .e-overview__footer ul li:first-child{
961
+ padding-left:0;
962
+ border:none
963
+ }
964
+ #e-dashboard-overview .e-overview__go-pro a{
965
+ color:#fcb92c;
966
+ font-weight:500
967
+ }
968
+ .post-type-spicepress_library #spicepress-template-library-tabs-wrapper{
969
+ padding-top:2em;
970
+ margin-bottom:2em
971
+ }
972
+ #spicepress-new-template-modal .dialog-message{
973
+ display:-webkit-box;
974
+ display:-webkit-flex;
975
+ display:-ms-flexbox;
976
+ display:flex;
977
+ -webkit-box-align:center;
978
+ -webkit-align-items:center;
979
+ -ms-flex-align:center;
980
+ align-items:center;
981
+ text-align:left;
982
+ padding:0 120px;
983
+ color:#6d7882
984
+ }
985
+ #spicepress-new-template__description{
986
+ width:35%;
987
+ max-width:300px;
988
+ padding-right:100px
989
+ }
990
+ #spicepress-new-template__description__title{
991
+ font-size:30px;
992
+ color:#556068
993
+ }
994
+ #spicepress-new-template__description__title span{
995
+ font-weight:700
996
+ }
997
+ #spicepress-new-template__description__content{
998
+ font-size:14px;
999
+ padding:30px 0
1000
+ }
1001
+ #spicepress-new-template__take_a_tour{
1002
+ display:-webkit-box;
1003
+ display:-webkit-flex;
1004
+ display:-ms-flexbox;
1005
+ display:flex;
1006
+ -webkit-box-align:center;
1007
+ -webkit-align-items:center;
1008
+ -ms-flex-align:center;
1009
+ align-items:center;
1010
+ font-size:15px
1011
+ }
1012
+ #spicepress-new-template__take_a_tour i{
1013
+ color:#ef295a;
1014
+ font-size:30px
1015
+ }
1016
+ #spicepress-new-template__take_a_tour a{
1017
+ color:#6d7882;
1018
+ padding-left:10px;
1019
+ text-decoration:none;
1020
+ font-weight:500
1021
+ }
1022
+ #spicepress-new-template__form{
1023
+ -webkit-box-flex:1;
1024
+ -webkit-flex-grow:1;
1025
+ -ms-flex-positive:1;
1026
+ flex-grow:1;
1027
+ max-width:440px;
1028
+ padding:55px;
1029
+ background-color:#fff;
1030
+ -webkit-border-radius:3px;
1031
+ border-radius:3px;
1032
+ -webkit-box-shadow:0 2px 30px 0 rgba(0,0,0,.08);
1033
+ box-shadow:0 2px 30px 0 rgba(0,0,0,.08)
1034
+ }
1035
+ #spicepress-new-template__form__title{
1036
+ font-size:23px;
1037
+ color:#556068
1038
+ }
1039
+ #spicepress-new-template__form .spicepress-form-field__label{
1040
+ display:block;
1041
+ margin:25px 0 7px;
1042
+ font-size:14px;
1043
+ line-height:1
1044
+ }
1045
+ #spicepress-new-template__form .spicepress-form-field input,#spicepress-new-template__form .spicepress-form-field select{
1046
+ width:100%;
1047
+ height:50px;
1048
+ padding:10px;
1049
+ font-size:14px;
1050
+ -webkit-box-shadow:none;
1051
+ box-shadow:none;
1052
+ -webkit-border-radius:3px;
1053
+ border-radius:3px;
1054
+ background:none;
1055
+ color:#495157;
1056
+ border:1px solid;
1057
+ outline:none
1058
+ }
1059
+ #spicepress-new-template__form .spicepress-form-field input:not(:focus),#spicepress-new-template__form .spicepress-form-field select:not(:focus){
1060
+ border-color:#d5dadf
1061
+ }
1062
+ #spicepress-new-template__form .spicepress-form-field input:focus,#spicepress-new-template__form .spicepress-form-field select:focus{
1063
+ border-color:#a4afb7
1064
+ }
1065
+ #spicepress-new-template__form .spicepress-form-field__select{
1066
+ -webkit-appearance:none;
1067
+ -moz-appearance:none;
1068
+ appearance:none;
1069
+ cursor:pointer
1070
+ }
1071
+ #spicepress-new-template__form .spicepress-form-field__select__wrapper{
1072
+ position:relative
1073
+ }
1074
+ #spicepress-new-template__form .spicepress-form-field__select__wrapper:after{
1075
+ font-family:eicons;
1076
+ content:"\e955";
1077
+ position:absolute;
1078
+ top:50%;
1079
+ right:10px;
1080
+ -webkit-transform:translateY(-50%);
1081
+ -ms-transform:translateY(-50%);
1082
+ transform:translateY(-50%)
1083
+ }
1084
+ #spicepress-new-template__form__submit{
1085
+ width:100%;
1086
+ height:50px;
1087
+ margin-top:25px
1088
+ }
1089
+ @media (max-width:1024px){
1090
+ #spicepress-new-template__description{
1091
+ max-width:250px;
1092
+ padding-right:30px
1093
+ }
1094
+ }
1095
+ @media (max-width:767px){
1096
+ #spicepress-new-template__description{
1097
+ display:none
1098
+ }
1099
+ }
1100
+ #spicepress-role-manager{
1101
+ max-width:500px;
1102
+ margin-top:50px
1103
+ }
1104
+ #spicepress-role-manager h3{
1105
+ color:#6d7882;
1106
+ font-weight:400;
1107
+ font-size:22px
1108
+ }
1109
+ #spicepress-role-manager .spicepress-settings-form-page{
1110
+ padding:0
1111
+ }
1112
+ #spicepress-role-manager .spicepress-role-row{
1113
+ background:#fff;
1114
+ color:#6d7882;
1115
+ margin-bottom:2px
1116
+ }
1117
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-label{
1118
+ display:-webkit-box;
1119
+ display:-webkit-flex;
1120
+ display:-ms-flexbox;
1121
+ display:flex;
1122
+ padding:15px 20px;
1123
+ font-weight:500;
1124
+ cursor:pointer
1125
+ }
1126
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-label span.spicepress-role-name{
1127
+ padding-right:20px
1128
+ }
1129
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-label span.spicepress-role-toggle{
1130
+ text-align:right;
1131
+ -webkit-box-flex:1;
1132
+ -webkit-flex-grow:1;
1133
+ -ms-flex-positive:1;
1134
+ flex-grow:1
1135
+ }
1136
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-label span.spicepress-role-excluded-indicator{
1137
+ color:#a4afb7
1138
+ }
1139
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-controls{
1140
+ background-color:#f7f7f7;
1141
+ padding:20px 20px 5px
1142
+ }
1143
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-controls>div{
1144
+ margin-bottom:15px
1145
+ }
1146
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-controls .spicepress-role-go-pro{
1147
+ display:-webkit-box;
1148
+ display:-webkit-flex;
1149
+ display:-ms-flexbox;
1150
+ display:flex
1151
+ }
1152
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-controls .spicepress-role-go-pro .spicepress-role-go-pro__desc{
1153
+ font-weight:500;
1154
+ font-style:italic
1155
+ }
1156
+ #spicepress-role-manager .spicepress-role-row .spicepress-role-controls .spicepress-role-go-pro .spicepress-role-go-pro__link{
1157
+ text-align:right;
1158
+ -webkit-box-flex:1;
1159
+ -webkit-flex-grow:1;
1160
+ -ms-flex-positive:1;
1161
+ flex-grow:1
1162
+ }
1163
+
inc/feedback-pop-up-form.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="dialog-widget dialog-lightbox-widget dialog-type-buttons dialog-type-lightbox" id="spicepress-deactivate-feedback-modal" style="display: block;">
2
+ <div class="dialog-widget-content dialog-lightbox-widget-content" style="top: 173px; left: 550px;">
3
+ <div class="dialog-widget-header dialog-lightbox-widget-header">
4
+ <div id="spicepress-deactivate-feedback-dialog-header">
5
+
6
+ <span id="spicepress-deactivate-feedback-dialog-header-title"><?php _e('Quick Feedback', 'spicepress');?></span><br>
7
+ <p style="color:#6d7882; margin-top:5px"> <?php _e('Your feedback is valuable for us.','spicepress');?> </p>
8
+ </div>
9
+ </div>
10
+ <div class="dialog-message dialog-lightbox-message">
11
+ <form id="spicepress-deactivate-feedback-dialog-form" method="post">
12
+
13
+ <input type="hidden" name="ajaxurl" id="ajaxurl" value="<?php echo SPICEB_PLUGIN_URL.'feedback-mail.php'?>">
14
+
15
+ <div id="spicepress-deactivate-feedback-dialog-form-caption"><?php echo _e('What we have done wrong?','spicepress');?></div>
16
+ <div id="spicepress-deactivate-feedback-dialog-form-body">
17
+ <div class="spicepress-deactivate-feedback-dialog-input-wrapper">
18
+ <input id="spicepress-deactivate-feedback-no_longer_needed" class="spicepress-deactivate-feedback-dialog-input" type="radio" name="reason_key" value="It lacks options">
19
+ <label for="spicepress-deactivate-feedback-no_longer_needed" class="spicepress-deactivate-feedback-dialog-label"><?php _e('Very limited options','spicepress');?></label>
20
+
21
+ </div>
22
+ <div class="spicepress-deactivate-feedback-dialog-input-wrapper">
23
+ <input id="spicepress-deactivate-feedback-found_a_better_plugin" class="spicepress-deactivate-feedback-dialog-input" type="radio" name="reason_key" value="I want to try a new design, I don't like Spicepress style">
24
+ <label for="spicepress-deactivate-feedback-found_a_better_plugin" class="spicepress-deactivate-feedback-dialog-label"><?php _e("I want to try a new design, I don't like Spicepress style","spicepress");?></label>
25
+ <textarea class="spicepress-feedback-text" id="reason_found_a_better_plugin" name="reason_found_a_better_plugin" placeholder="<?php _e('If possible tell us the name of the theme you have selected','spicepress'); ?>"></textarea>
26
+ </div>
27
+ <div class="spicepress-deactivate-feedback-dialog-input-wrapper">
28
+ <input id="spicepress-deactivate-feedback-couldnt_get_the_plugin_to_work" class="spicepress-deactivate-feedback-dialog-input" type="radio" name="reason_key" value="Is not working with a plugin that I need">
29
+ <label for="spicepress-deactivate-feedback-couldnt_get_the_plugin_to_work" class="spicepress-deactivate-feedback-dialog-label"><?php _e('Is not working with a plugin that I need','spicepress');?></label>
30
+ </div>
31
+ <div class="spicepress-deactivate-feedback-dialog-input-wrapper">
32
+ <input id="spicepress-deactivate-feedback-temporary_deactivation" class="spicepress-deactivate-feedback-dialog-input" type="radio" name="reason_key" value="I don't know how to make it look like demo">
33
+ <label for="spicepress-deactivate-feedback-temporary_deactivation" class="spicepress-deactivate-feedback-dialog-label"><?php _e("I don't know how to make it look like demo",'spicepress');?></label>
34
+ </div>
35
+ <div class="spicepress-deactivate-feedback-dialog-input-wrapper">
36
+ <input id="spicepress-deactivate-feedback-other" class="spicepress-deactivate-feedback-dialog-input reason_key5" type="radio" name="reason_key" value="Other">
37
+ <label for="spicepress-deactivate-feedback-other" class="spicepress-deactivate-feedback-dialog-label"><?php _e('Other','spicepress');?></label>
38
+ <textarea class="spicepress-feedback-text" name="reason_other" id="reason_other" placeholder="<?php _e('Please share the reason','spicepress');?>"></textarea>
39
+ </div>
40
+ </div>
41
+ </form>
42
+ </div>
43
+ <div class="dialog-buttons-wrapper dialog-lightbox-buttons-wrapper"><button class="dialog-button dialog-submit dialog-lightbox-submit" name="submit" id="submit"><?php _e('Submit','spicepress');?></button>
44
+ <button onclick="window.location.reload()"; class="dialog-button dialog-skip dialog-lightbox-skip"><?php _e('Skip &amp; Deactivate','spicepress');?></button>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ <?php
49
+ unset( $_GET['action'] );
50
+ require ABSPATH . 'wp-admin/themes.php';
51
+
52
+ ?>
inc/js/custom-js.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($) {
2
+ $(document).ready(function(){
3
+ $('#submit').click(function(e) {
4
+ var ajaxurl = $('#ajaxurl').val();
5
+ var resaon = $('input[name=reason_key]:checked').val();
6
+ var reasontext = '';
7
+ if(resaon=="I want to try a new design, I don't like Spicepress style"){
8
+ reasontext = $('#reason_found_a_better_plugin').val();
9
+ }else if(resaon == 'Other'){
10
+ reasontext = $('#reason_other').val();
11
+ }
12
+ var dataString = 'Resason='+resaon+'&TextReason='+reasontext;
13
+ $.ajax({
14
+ type:'POST',
15
+ data:dataString,
16
+ url:ajaxurl,
17
+ success:function(data) {
18
+ location.reload();
19
+
20
+ }
21
+ });
22
+
23
+ });
24
+ });
25
+ }(jQuery));
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 4.9.5
6
- Stable tag: 0.2.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -49,4 +49,8 @@ This plugin create repeater controls in the customizer settings allowing you to
49
 
50
  = 0.2.6 =
51
 
52
- * Added Child Theme Name
 
 
 
 
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 4.9.5
6
+ Stable tag: 0.2.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
49
 
50
  = 0.2.6 =
51
 
52
+ * Added Child Theme Name
53
+
54
+ = 0.2.6 =
55
+
56
+ * Added feedback popup form.
spicebox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
- Version: 0.2.6
7
  Author: Spicethemes
8
  Author URI: https://github.com
9
  Text Domain: spicebox
@@ -11,6 +11,13 @@ Text Domain: spicebox
11
  define( 'SPICEB_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
12
  define( 'SPICEB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
13
 
 
 
 
 
 
 
 
14
  function spiceb_activate() {
15
  $theme = wp_get_theme(); // gets the current theme
16
  if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name){
@@ -67,4 +74,17 @@ function spiceb_install_function()
67
  }
68
 
69
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  ?>
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
+ Version: 0.2.7
7
  Author: Spicethemes
8
  Author URI: https://github.com
9
  Text Domain: spicebox
11
  define( 'SPICEB_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
12
  define( 'SPICEB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
13
 
14
+ function spiceb_spicepress_feedback_scripts() {
15
+ wp_register_script('spiceb-custom-script', SPICEB_PLUGIN_URL. '/inc/js/custom-js.js',array('jquery','wp-color-picker'),'1.1', true);
16
+ wp_enqueue_script('spiceb-custom-script');
17
+ wp_enqueue_style('spiceb_style',SPICEB_PLUGIN_URL.'inc/css/feedback-popup.css');
18
+ }
19
+ add_action( 'admin_enqueue_scripts', 'spiceb_spicepress_feedback_scripts' );
20
+
21
  function spiceb_activate() {
22
  $theme = wp_get_theme(); // gets the current theme
23
  if ( 'SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name){
74
  }
75
 
76
  }
77
+
78
+ if ('SpicePress' == $theme->name || 'Rockers' == $theme->name || 'Content' == $theme->name || 'Certify' == $theme->name || 'Stacy' == $theme->name || 'SpicePress Child Theme' == $theme->name)
79
+ {
80
+ add_action( 'switch_theme', 'spicepresstheme_deactivate_message' );
81
+ function spicepresstheme_deactivate_message()
82
+ {
83
+ $theme = wp_get_theme();
84
+ if($theme->template!='spicepress'){
85
+ require_once('inc/feedback-pop-up-form.php');
86
+ }
87
+
88
+ }
89
+ }
90
  ?>