Post Grid - Version 2.0.10

Version Description

  • 27/07/2016 add - Lazy Load.
    • 27/07/2016 add - Featured Image linked to post.
    • 27/07/2016 add - Grid Items Height.
    • 27/07/2016 add - Create New layout on Layout Editor.
    • 27/07/2016 add - Settigns - Export Content Layouts.
    • 27/07/2016 add - Settigns - Import Content Layouts.
    • 27/07/2016 add - Settigns - Remove Content Layouts.
Download this release

Release Info

Developer paratheme
Plugin Icon 128x128 Post Grid
Version 2.0.10
Comparing to
See all releases

Code changes from version 2.0.9 to 2.0.10

Files changed (41) hide show
  1. assets/admin/css/style-new.css +544 -0
  2. assets/admin/css/style.css +0 -325
  3. assets/admin/js/scripts-new.js +499 -0
  4. assets/admin/js/scripts.js +0 -180
  5. assets/frontend/css/icons/gplus.png +0 -0
  6. assets/frontend/css/owl.carousel-new.css +173 -0
  7. assets/frontend/css/owl.carousel.css +170 -68
  8. assets/frontend/css/owl.theme.css +0 -79
  9. assets/frontend/css/{style.css → style-new.css} +250 -5
  10. assets/frontend/js/imagesloaded.pkgd.js +487 -0
  11. assets/frontend/js/owl.carousel.js +0 -1512
  12. assets/frontend/js/owl.carousel.min.js +7 -0
  13. assets/frontend/js/scripts.js +9 -1
  14. assets/global/css/style.skins.css +1113 -18
  15. grid-items/custom-css.php +191 -3
  16. grid-items/layer-content.php +66 -477
  17. grid-items/layer-media.php +5 -1
  18. grid-items/lazy.php +21 -7
  19. grid-items/nav-bottom-new.php +370 -0
  20. grid-items/nav-top-new.php +259 -0
  21. grid-items/nav-top.php +1 -1
  22. grid-items/query.php +40 -37
  23. grid-items/scripts.php +16 -16
  24. grid-items/variables.php +71 -76
  25. includes/class-functions.php +40 -13
  26. includes/class-settings.php +3 -1
  27. includes/class-shortcodes.php +191 -7
  28. includes/dummy-grid-items.php +11 -0
  29. includes/functions.php +457 -26
  30. includes/menu/help.php +1 -1
  31. includes/menu/layout-editor.php +52 -5
  32. includes/menu/settings.php +36 -0
  33. includes/meta.php +512 -73
  34. includes/post-meta-settings.php +14 -1
  35. languages/en.mo +0 -0
  36. languages/en.po +289 -119
  37. languages/post_grid-bn_BD.mo +0 -0
  38. languages/post_grid-it_IT.mo +0 -0
  39. languages/{post_grid-bn_BD.po → post_grid-it_IT.po} +169 -278
  40. post-grid.php +21 -13
  41. readme.txt +18 -9
assets/admin/css/style-new.css ADDED
@@ -0,0 +1,544 @@
1
+ /*
2
+ Admin css
3
+ */
4
+
5
+ #post_grid_metabox, #post_grid_post_settings {
6
+ background: #f1f1f1 none repeat scroll 0 0;
7
+ border: medium none;
8
+ box-shadow: none;
9
+ }
10
+
11
+ #post_grid_metabox .hndle, #post_grid_post_settings .hndle {
12
+ background: rgb(96, 173, 252) none repeat scroll 0 0;
13
+ color: rgb(255, 255, 255);
14
+ }
15
+
16
+ #post_grid_metabox .handlediv, #post_grid_post_settings .handlediv{
17
+ color: rgb(255, 255, 255);
18
+ }
19
+
20
+ #post_grid_metabox .clear-categories{}
21
+
22
+
23
+
24
+
25
+ #post_grid_metabox .skin-list{}
26
+
27
+ #post_grid_metabox .skin-list .skin-container {
28
+ display: inline-block;
29
+ margin: 10px;
30
+ width: 275px;
31
+ }
32
+
33
+ #post_grid_metabox .skin-list .skin-container .checked {
34
+ background: rgb(252, 110, 60) none repeat scroll 0 0;
35
+ padding: 3px 10px;
36
+ }
37
+
38
+ #post_grid_metabox .skin-list .skin-container .checked.selected {
39
+ background: rgb(58, 212, 127) none repeat scroll 0 0;
40
+ }
41
+
42
+ #post_grid_metabox .skin-list .skin-container label {
43
+ color: rgb(255, 255, 255);
44
+
45
+ }
46
+
47
+
48
+
49
+
50
+ #post_grid_metabox .skin-list .skin {
51
+ background: rgb(242, 242, 242) none repeat scroll 0 0;
52
+ display: inline-block;
53
+ overflow: hidden;
54
+ vertical-align: top;
55
+
56
+ }
57
+
58
+
59
+
60
+
61
+
62
+
63
+ #post_grid_metabox .skin-list .skin .thumb img {
64
+ height: auto;
65
+ width: 100%;
66
+ }
67
+
68
+ #post_grid_metabox .skin-list .skin .title {
69
+ font-size: 16px;
70
+ line-height: normal;
71
+ padding: 5px 0;
72
+ }
73
+
74
+ #post_grid_metabox .skin-list .skin .content {
75
+ font-size: 13px;
76
+ line-height: normal;
77
+ padding: 5px 0;
78
+ }
79
+
80
+
81
+ #post_grid_metabox .skin-list .layer-content > div {
82
+ padding: 5px 15px !important;
83
+ }
84
+
85
+
86
+
87
+
88
+
89
+
90
+ #post_grid_metabox .meta-query-list {
91
+
92
+ }
93
+
94
+ #post_grid_metabox .meta-query-list .remove {
95
+ background: rgb(255, 73, 10) none repeat scroll 0 0;
96
+ color: rgb(255, 255, 255);
97
+ cursor: pointer;
98
+ margin-right: 10px;
99
+ padding: 1px 6px;
100
+ }
101
+
102
+
103
+
104
+
105
+ #post_grid_metabox .layout-list{
106
+
107
+ }
108
+
109
+ #post_grid_metabox .layout-list .idle, #post_grid_metabox .layout-list .hover {
110
+ background: rgba(0, 0, 0, 0) url("../images/tile.png") repeat scroll 0 0;
111
+ display: inline-block;
112
+ height: auto;
113
+ margin: 0 10px;
114
+ vertical-align: top;
115
+ width: 300px;
116
+ }
117
+
118
+ #post_grid_metabox .layout-list .idle{}
119
+ #post_grid_metabox .layout-list .hover {
120
+ display: none;
121
+ }
122
+
123
+ #post_grid_metabox .layout-list .idle .name, #post_grid_metabox .layout-list .hover .name {
124
+ background: rgb(240, 240, 240) none repeat scroll 0 0;
125
+ border-bottom: 1px solid rgb(153, 153, 153);
126
+ font-size: 20px;
127
+ line-height: normal;
128
+ padding: 5px 0;
129
+ text-align: center;
130
+ }
131
+
132
+
133
+
134
+
135
+ #post_grid_metabox .bg_image_src {
136
+ border: 1px solid rgb(221, 221, 221);
137
+ cursor: pointer;
138
+ height: 50px;
139
+ margin: 5px;
140
+ vertical-align: top;
141
+ width: 50px;
142
+ }
143
+
144
+ #post_grid_metabox .lazy_load_image {
145
+ border: 1px solid rgb(221, 221, 221);
146
+ cursor: pointer;
147
+ margin: 5px;
148
+ padding: 10px;
149
+ vertical-align: top;
150
+ }
151
+
152
+
153
+ #post_grid_metabox .grid-preview {
154
+ margin: 25px 0;
155
+ text-align: center;
156
+ }
157
+
158
+ #post_grid_metabox .grid-preview .items {
159
+ padding: 25px 0;
160
+ }
161
+ #post_grid_metabox .grid-preview .items .item {
162
+ display: inline-block;
163
+ margin: 0 10px;
164
+ overflow: hidden;
165
+ width: 300px;
166
+ }
167
+ #post_grid_metabox .grid-preview .items .item .layer-media {
168
+ height: 180px;
169
+ overflow: hidden;
170
+ width: 100%;
171
+ }
172
+
173
+ #post_grid_metabox .grid-preview .items .item .layer-media img{
174
+ width: 100%;
175
+ }
176
+
177
+ #post_grid_metabox .grid-preview .items .item .layer-content{}
178
+
179
+
180
+ #post_grid_metabox .grid-preview .grid-type-grid {
181
+ background: rgb(243, 243, 243) none repeat scroll 0 0;
182
+ border: 1px dashed #ddd;
183
+ margin: 0 auto;
184
+ padding: 20px;
185
+ width: 75%;
186
+ }
187
+ #post_grid_metabox .grid-preview .grid-type-filterable {
188
+ background: rgb(243, 243, 243) none repeat scroll 0 0;
189
+ border: 1px dashed #ddd;
190
+ display: none;
191
+ margin: 0 auto;
192
+ padding: 20px;
193
+ width: 75%;
194
+ }
195
+
196
+ #post_grid_metabox .grid-preview .grid-type-filterable .filter-menu {
197
+ padding: 8px 0;
198
+ text-align: center;
199
+ }
200
+
201
+ #post_grid_metabox .grid-preview .grid-type-filterable .filter {
202
+ background: #fff none repeat scroll 0 0;
203
+ display: inline-block;
204
+ float: none;
205
+ margin: 0 5px;
206
+ padding: 3px 7px;
207
+ }
208
+
209
+
210
+ #post_grid_metabox .grid-preview .grid-type-slider {
211
+ background: rgb(243, 243, 243) none repeat scroll 0 0;
212
+ border: 1px dashed #ddd;
213
+ margin: 0 auto;
214
+ padding: 20px;
215
+ position: relative;
216
+ width: 75%;
217
+ display: none;
218
+ }
219
+
220
+ #post_grid_metabox .grid-preview .pagination {
221
+ margin: 5px 0;
222
+ }
223
+
224
+ #post_grid_metabox .grid-preview .pagination .page {
225
+ background: #fff none repeat scroll 0 0;
226
+ display: inline-block;
227
+ margin: 0 3px;
228
+ padding: 4px 10px;
229
+ }
230
+
231
+ #post_grid_metabox .grid-preview .dots {
232
+ margin: 5px 0;
233
+ }
234
+
235
+
236
+
237
+ #post_grid_metabox .grid-preview .dots.round .dot {
238
+ border-radius: 50%;
239
+ }
240
+ #post_grid_metabox .grid-preview .dots.round-border .dot {
241
+ border: 1px solid #999;
242
+ border-radius: 50%;
243
+ }
244
+ #post_grid_metabox .grid-preview .dots.semi-round .dot {
245
+ border-radius: 4px;
246
+ }
247
+ #post_grid_metabox .grid-preview .dots.square .dot {
248
+ border-radius: 0;
249
+ }
250
+ #post_grid_metabox .grid-preview .dots.square-border .dot {
251
+ border: 1px solid #999;
252
+ }
253
+ #post_grid_metabox .grid-preview .dots.square-shadow .dot {
254
+ border-radius: 0;
255
+ box-shadow: 0 5px 10px -2px #999;
256
+ }
257
+
258
+
259
+
260
+
261
+
262
+ #post_grid_metabox .grid-preview .dots .dot {
263
+ background: #fff none repeat scroll 0 0;
264
+ display: inline-block;
265
+ margin: 0 4px;
266
+ padding: 8px;
267
+ }
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+ #post_grid_metabox .grid-preview .navs {
283
+ position: absolute;
284
+
285
+ }
286
+
287
+ #post_grid_metabox .grid-preview .navs .nav {
288
+ background: #fff none repeat scroll 0 0;
289
+ display: inline-block;
290
+ left: 0;
291
+ margin: 0 5px;
292
+ padding: 7px;
293
+ }
294
+
295
+ /*Positions*/
296
+
297
+ #post_grid_metabox .grid-preview .navs .nav.next {
298
+ float: left;
299
+ }
300
+
301
+ #post_grid_metabox .grid-preview .navs .nav.prev {
302
+ float: right;
303
+ }
304
+
305
+
306
+ #post_grid_metabox .grid-preview .navs.top-left {
307
+ left: 5px;
308
+ top: 10px;
309
+ }
310
+ #post_grid_metabox .grid-preview .navs.top-right {
311
+ right: 5px;
312
+ top: 10px;
313
+ }
314
+ #post_grid_metabox .grid-preview .navs.middle {
315
+ left: 0;
316
+ top: 40%;
317
+ width: 100%;
318
+ }
319
+ #post_grid_metabox .grid-preview .navs.bottom-left {
320
+ bottom: 10px;
321
+ left: 5px;
322
+ }
323
+ #post_grid_metabox .grid-preview .navs.bottom-right {
324
+ bottom: 10px;
325
+ right: 5px;
326
+ }
327
+
328
+
329
+ /*Navs Style*/
330
+
331
+
332
+
333
+ #post_grid_metabox .grid-preview .navs.round {
334
+
335
+ }
336
+
337
+ #post_grid_metabox .grid-preview .navs.round .nav {
338
+ border-radius: 50%;
339
+ height: 20px;
340
+ overflow: hidden;
341
+ width: 20px;
342
+ }
343
+
344
+
345
+ #post_grid_metabox .grid-preview .navs.round-border .nav {
346
+ border: 2px solid #999;
347
+ border-radius: 50%;
348
+ height: 20px;
349
+ width: 20px;
350
+ }
351
+
352
+ #post_grid_metabox .grid-preview .navs.semi-round .nav {
353
+ border-radius: 5px;
354
+ box-shadow: 0 0 7px -1px #ddd;
355
+ height: 20px;
356
+ width: 20px;
357
+ }
358
+ #post_grid_metabox .grid-preview .navs.square .nav {
359
+ box-shadow: 0 0 4px 0 #ddd;
360
+ height: 20px;
361
+ width: 20px;
362
+ }
363
+ #post_grid_metabox .grid-preview .navs.square-border .nav {
364
+ border: 2px solid #999;
365
+ height: 20px;
366
+ width: 20px;
367
+ }
368
+ #post_grid_metabox .grid-preview .navs.square-shadow .nav {
369
+ box-shadow: 0 0 3px 2px #ddd;
370
+ height: 20px;
371
+ width: 20px;
372
+ }
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+ #post_grid_metabox .grid-preview .title {
386
+ font-size: 17px;
387
+ padding: 13px 0;
388
+ }
389
+
390
+ #post_grid_metabox .grid-preview .content {
391
+ font-size: 13px;
392
+ }
393
+
394
+
395
+
396
+ #post_grid_metabox .grid-preview .pagination-type {
397
+ display: none;
398
+ }
399
+
400
+ #post_grid_metabox .grid-preview .filter-menu {
401
+ display: none;
402
+ }
403
+
404
+ #post_grid_metabox .grid-preview .filter-menu.yes {
405
+ display: block;
406
+ }
407
+ #post_grid_metabox .grid-preview .nav-top-search, #post_grid_metabox .grid-preview .per-page-count {
408
+ display: inline-block;
409
+ vertical-align: top;
410
+ }
411
+
412
+ #post_grid_metabox .grid-preview .per-page-count {
413
+ float: right;
414
+ }
415
+
416
+
417
+
418
+ /* layout-editor */
419
+
420
+ .layout-editor .layout-items {
421
+ margin: 25px 0;
422
+ }
423
+
424
+ .layout-editor .layout-items .item {
425
+ background: rgb(240, 240, 240) none repeat scroll 0 0;
426
+ border-bottom: 1px solid rgb(221, 221, 221);
427
+ cursor: pointer;
428
+ display: inline-block;
429
+ margin: 5px 3px;
430
+ padding: 3px 7px;
431
+ }
432
+
433
+ .layout-editor .layout-items .item .fa{
434
+ display:none;
435
+
436
+ }
437
+
438
+
439
+ .layout-editor .layout-items .item:hover .fa {
440
+ display: inline-block;
441
+ }
442
+
443
+
444
+
445
+
446
+ .layout-editor .layout-list{
447
+
448
+ }
449
+
450
+ .layout-editor .layout-list .idle, .layout-editor .layout-list .hover {
451
+ background: rgba(0, 0, 0, 0) url("../images/tile.png") repeat scroll 0 0;
452
+ display: inline-block;
453
+ height: auto;
454
+ margin: 0 10px;
455
+ min-height: 90px;
456
+ vertical-align: top;
457
+ width: 300px;
458
+ }
459
+
460
+ .layout-editor .layout-list .idle{}
461
+ .layout-editor .layout-list .hover{
462
+
463
+ }
464
+
465
+ .layout-editor .layout-list .idle .name, .layout-editor .layout-list .hover .name {
466
+ background: rgb(240, 240, 240) none repeat scroll 0 0;
467
+ border-bottom: 1px solid rgb(153, 153, 153);
468
+ font-size: 20px;
469
+ line-height: normal;
470
+ padding: 5px 0;
471
+ text-align: center;
472
+ }
473
+
474
+
475
+ .layout-editor .css-editor {
476
+
477
+ }
478
+
479
+
480
+ .layout-editor .css-editor .header{
481
+
482
+ }
483
+
484
+ .layout-editor .css-editor .header .remove {
485
+ background: rgb(255, 68, 63) none repeat scroll 0 0;
486
+ color: rgb(255, 255, 255);
487
+ cursor: pointer;
488
+ margin-right: 10px;
489
+ padding: 1px 6px;
490
+ }
491
+
492
+
493
+
494
+
495
+ /*Upgrade*/
496
+
497
+ #post-grid-upgrade {
498
+ background: rgb(221, 221, 221) none repeat scroll 0 0;
499
+ cursor: pointer;
500
+ padding: 1px 10px;
501
+ text-decoration: underline;
502
+ }
503
+
504
+
505
+
506
+ .post-grid-settings{}
507
+
508
+
509
+ .post-grid-settings .layout-list{}
510
+ .post-grid-settings .layout-list li {
511
+ background: #eeeeee none repeat scroll 0 0;
512
+ padding: 6px 10px;
513
+ }
514
+
515
+ .post-grid-settings .layout-list li .remove-layout {
516
+ background: #ff641f none repeat scroll 0 0;
517
+ color: #fff;
518
+ cursor: pointer;
519
+ margin-right: 10px;
520
+ padding: 2px 7px;
521
+ }
522
+
523
+ .post-grid-settings .remove-layout{}
524
+
525
+
526
+ .post-grid-settings .remove_export_content_layout {
527
+ background: #ff641f none repeat scroll 0 0;
528
+ color: #fff;
529
+ cursor: pointer;
530
+ padding: 0 6px;
531
+ }
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
assets/admin/css/style.css DELETED
@@ -1,325 +0,0 @@
1
- /*
2
- Admin css
3
- */
4
-
5
- #post_grid_metabox, #post_grid_post_settings {
6
- background: #f1f1f1 none repeat scroll 0 0;
7
- border: medium none;
8
- box-shadow: none;
9
- }
10
-
11
- #post_grid_metabox .hndle, #post_grid_post_settings .hndle {
12
- background: rgb(96, 173, 252) none repeat scroll 0 0;
13
- color: rgb(255, 255, 255);
14
- }
15
-
16
- #post_grid_metabox .handlediv, #post_grid_post_settings .handlediv{
17
- color: rgb(255, 255, 255);
18
- }
19
-
20
- #post_grid_metabox .clear-categories{}
21
-
22
-
23
-
24
-
25
- #post_grid_metabox .skin-list{}
26
-
27
- #post_grid_metabox .skin-list .skin-container {
28
- display: inline-block;
29
- margin: 10px;
30
- width: 275px;
31
- }
32
-
33
- #post_grid_metabox .skin-list .skin-container .checked {
34
- background: rgb(252, 110, 60) none repeat scroll 0 0;
35
- padding: 3px 10px;
36
- }
37
-
38
- #post_grid_metabox .skin-list .skin-container .checked.selected {
39
- background: rgb(58, 212, 127) none repeat scroll 0 0;
40
- }
41
-
42
- #post_grid_metabox .skin-list .skin-container label {
43
- color: rgb(255, 255, 255);
44
-
45
- }
46
-
47
-
48
-
49
-
50
- #post_grid_metabox .skin-list .skin {
51
- background: rgb(242, 242, 242) none repeat scroll 0 0;
52
- display: inline-block;
53
- overflow: hidden;
54
- vertical-align: top;
55
-
56
- }
57
-
58
-
59
-
60
-
61
-
62
-
63
- #post_grid_metabox .skin-list .skin .thumb img {
64
- height: auto;
65
- width: 100%;
66
- }
67
-
68
- #post_grid_metabox .skin-list .skin .title {
69
- font-size: 16px;
70
- line-height: normal;
71
- padding: 5px 0;
72
- }
73
-
74
- #post_grid_metabox .skin-list .skin .content {
75
- font-size: 13px;
76
- line-height: normal;
77
- padding: 5px 0;
78
- }
79
-
80
-
81
- #post_grid_metabox .skin-list .layer-content > div {
82
- padding: 5px 15px !important;
83
- }
84
-
85
-
86
-
87
-
88
- #post_grid_metabox .grid-layout {
89
- background: rgb(243, 243, 243) none repeat scroll 0 0;
90
- margin: 20px 0;
91
- padding: 25px;
92
- }
93
-
94
- #post_grid_metabox .grid-layout .grid-up {
95
- border: 1px dashed rgb(221, 221, 221);
96
- margin: 10px 0;
97
- padding: 10px;
98
- text-align: center;
99
- }
100
-
101
- #post_grid_metabox .grid-layout .grid-up label, #post_grid_metabox .grid-layout .grid-bottom label {
102
- background: rgb(230, 230, 230) none repeat scroll 0 0;
103
- border: 1px solid rgb(221, 221, 221);
104
- padding: 3px 15px;
105
- }
106
-
107
-
108
-
109
-
110
- #post_grid_metabox .grid-layout .grid-container {
111
- border: 1px dashed rgb(221, 221, 221);
112
- margin: 10px 0;
113
- overflow: hidden;
114
- padding: 10px;
115
- text-align: center;
116
- }
117
-
118
-
119
- #post_grid_metabox .grid-layout .grid-container img{
120
-
121
- }
122
-
123
- #post_grid_metabox .grid-layout .grid-bottom {
124
- border: 1px dashed rgb(221, 221, 221);
125
- padding: 10px;
126
- margin: 10px 0;
127
- text-align: center;
128
- }
129
-
130
-
131
-
132
-
133
- #post_grid_metabox .meta-query-list {
134
-
135
- }
136
-
137
- #post_grid_metabox .meta-query-list .remove {
138
- background: rgb(255, 73, 10) none repeat scroll 0 0;
139
- color: rgb(255, 255, 255);
140
- cursor: pointer;
141
- margin-right: 10px;
142
- padding: 1px 6px;
143
- }
144
-
145
-
146
-
147
-
148
- #post_grid_metabox .layout-list{
149
-
150
- }
151
-
152
- #post_grid_metabox .layout-list .idle, #post_grid_metabox .layout-list .hover {
153
- background: rgba(0, 0, 0, 0) url("../images/tile.png") repeat scroll 0 0;
154
- display: inline-block;
155
- height: auto;
156
- margin: 0 10px;
157
- vertical-align: top;
158
- width: 300px;
159
- }
160
-
161
- #post_grid_metabox .layout-list .idle{}
162
- #post_grid_metabox .layout-list .hover {
163
- display: none;
164
- }
165
-
166
- #post_grid_metabox .layout-list .idle .name, #post_grid_metabox .layout-list .hover .name {
167
- background: rgb(240, 240, 240) none repeat scroll 0 0;
168
- border-bottom: 1px solid rgb(153, 153, 153);
169
- font-size: 20px;
170
- line-height: normal;
171
- padding: 5px 0;
172
- text-align: center;
173
- }
174
-
175
-
176
-
177
-
178
- #post_grid_metabox .bg_image_src {
179
- border: 1px solid rgb(221, 221, 221);
180
- cursor: pointer;
181
- height: 50px;
182
- margin: 5px;
183
- vertical-align: top;
184
- width: 50px;
185
- }
186
-
187
- #post_grid_metabox .lazy_load_image {
188
- border: 1px solid rgb(221, 221, 221);
189
- cursor: pointer;
190
- margin: 5px;
191
- padding: 10px;
192
- vertical-align: top;
193
- }
194
-
195
-
196
-
197
-
198
-
199
- /* layout-editor */
200
-
201
- .layout-editor .layout-items {
202
- margin: 25px 0;
203
- }
204
-
205
- .layout-editor .layout-items .item {
206
- background: rgb(240, 240, 240) none repeat scroll 0 0;
207
- border-bottom: 1px solid rgb(221, 221, 221);
208
- cursor: pointer;
209
- display: inline-block;
210
- margin: 5px 3px;
211
- padding: 3px 7px;
212
- }
213
-
214
- .layout-editor .layout-items .item .fa{
215
- display:none;
216
-
217
- }
218
-
219
-
220
- .layout-editor .layout-items .item:hover .fa {
221
- display: inline-block;
222
- }
223
-
224
-
225
-
226
-
227
- .layout-editor .layout-list{
228
-
229
- }
230
-
231
- .layout-editor .layout-list .idle, .layout-editor .layout-list .hover {
232
- background: rgba(0, 0, 0, 0) url("../images/tile.png") repeat scroll 0 0;
233
- display: inline-block;
234
- height: auto;
235
- margin: 0 10px;
236
- min-height: 90px;
237
- vertical-align: top;
238
- width: 300px;
239
- }
240
-
241
- .layout-editor .layout-list .idle{}
242
- .layout-editor .layout-list .hover{
243
-
244
- }
245
-
246
- .layout-editor .layout-list .idle .name, .layout-editor .layout-list .hover .name {
247
- background: rgb(240, 240, 240) none repeat scroll 0 0;
248
- border-bottom: 1px solid rgb(153, 153, 153);
249
- font-size: 20px;
250
- line-height: normal;
251
- padding: 5px 0;
252
- text-align: center;
253
- }
254
-
255
-
256
- .layout-editor .css-editor {
257
-
258
- }
259
-
260
-
261
- .layout-editor .css-editor .header{
262
-
263
- }
264
-
265
- .layout-editor .css-editor .header .remove {
266
- background: rgb(255, 68, 63) none repeat scroll 0 0;
267
- color: rgb(255, 255, 255);
268
- cursor: pointer;
269
- margin-right: 10px;
270
- padding: 1px 6px;
271
- }
272
-
273
-
274
-
275
-
276
- /*Upgrade*/
277
-
278
- #post-grid-upgrade {
279
- background: rgb(221, 221, 221) none repeat scroll 0 0;
280
- cursor: pointer;
281
- padding: 1px 10px;
282
- text-decoration: underline;
283
- }
284
-
285
-
286
-
287
- .post-grid-settings{}
288
-
289
-
290
- .post-grid-settings .layout-list{}
291
- .post-grid-settings .layout-list li {
292
- background: #eeeeee none repeat scroll 0 0;
293
- padding: 6px 10px;
294
- }
295
-
296
- .post-grid-settings .layout-list li .remove-layout {
297
- background: #ff641f none repeat scroll 0 0;
298
- color: #fff;
299
- cursor: pointer;
300
- margin-right: 10px;
301
- padding: 2px 7px;
302
- }
303
-
304
- .post-grid-settings .remove-layout{}
305
-
306
-
307
- .post-grid-settings .remove_export_content_layout {
308
- background: #ff641f none repeat scroll 0 0;
309
- color: #fff;
310
- cursor: pointer;
311
- padding: 0 6px;
312
- }
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
assets/admin/js/scripts-new.js ADDED
@@ -0,0 +1,499 @@
1
+ jQuery(document).ready(function($)
2
+ {
3
+
4
+
5
+
6
+
7
+
8
+ $(document).on('click', '#post_grid_metabox .slider_navs_style', function()
9
+ {
10
+ //alert('Hello');
11
+
12
+ var val = $(this).val();
13
+ nav = $('.slider-navs');
14
+
15
+ if(nav.hasClass(val)){
16
+ $('.slider-navs').removeClass(val);
17
+
18
+ }
19
+ else{
20
+
21
+ $('.slider-navs').removeClass('round');
22
+ $('.slider-navs').removeClass('round-border');
23
+ $('.slider-navs').removeClass('semi-round');
24
+ $('.slider-navs').removeClass('square');
25
+ $('.slider-navs').removeClass('square-border');
26
+ $('.slider-navs').removeClass('square-shadow');
27
+
28
+
29
+ $('.slider-navs').addClass(val);
30
+
31
+ }
32
+
33
+ })
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+ $(document).on('click', '#post_grid_metabox .slider_dots_style', function()
43
+ {
44
+
45
+ var val = $(this).val();
46
+ nav = $('.slider-dots');
47
+
48
+ if(nav.hasClass(val)){
49
+ $('.slider-dots').removeClass(val);
50
+
51
+ }
52
+ else{
53
+
54
+ $('.slider-dots').removeClass('round');
55
+ $('.slider-dots').removeClass('round-border');
56
+ $('.slider-dots').removeClass('semi-round');
57
+ $('.slider-dots').removeClass('square');
58
+ $('.slider-dots').removeClass('square-border');
59
+ $('.slider-dots').removeClass('square-shadow');
60
+
61
+
62
+
63
+ $('.slider-dots').addClass(val);
64
+
65
+ }
66
+
67
+ })
68
+
69
+
70
+
71
+ $(document).on('click', '#post_grid_metabox .slider_navs_positon', function()
72
+ {
73
+
74
+ var val = $(this).val();
75
+ nav = $('.slider-navs');
76
+
77
+ if(nav.hasClass(val)){
78
+ $('.slider-navs').removeClass(val);
79
+
80
+ }
81
+ else{
82
+
83
+ $('.slider-navs').removeClass('top-left');
84
+ $('.slider-navs').removeClass('top-right');
85
+ $('.slider-navs').removeClass('middle');
86
+ $('.slider-navs').removeClass('bottom-left');
87
+ $('.slider-navs').removeClass('bottom-right');
88
+
89
+ $('.slider-navs').addClass(val);
90
+
91
+ }
92
+
93
+ })
94
+
95
+
96
+
97
+
98
+
99
+
100
+ $(document).on('click', '#post_grid_metabox .nav_top_search', function()
101
+ {
102
+ //alert('Hello');
103
+
104
+ var grid_type = $(this).val();
105
+
106
+ if(grid_type=='yes'){
107
+
108
+ $('.nav-top-search').fadeIn();
109
+ }
110
+ else{
111
+ $('.nav-top-search').fadeOut();
112
+ }
113
+
114
+ //$('.slider-navs').css('display','none');
115
+
116
+ })
117
+
118
+
119
+
120
+ $(document).on('click', '#post_grid_metabox .per_page_count', function()
121
+ {
122
+ //alert('Hello');
123
+
124
+ var grid_type = $(this).val();
125
+
126
+ if(grid_type=='yes'){
127
+
128
+ $('.per-page-count').fadeIn();
129
+ }
130
+ else{
131
+ $('.per-page-count').fadeOut();
132
+ }
133
+
134
+ //$('.slider-navs').css('display','none');
135
+
136
+ })
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ $(document).on('click', '#post_grid_metabox .slider_navs', function()
146
+ {
147
+ //alert('Hello');
148
+
149
+ var grid_type = $(this).val();
150
+
151
+ if(grid_type=='true'){
152
+
153
+ $('.slider-navs').fadeIn();
154
+ }
155
+ else{
156
+ $('.slider-navs').fadeOut();
157
+ }
158
+
159
+ //$('.slider-navs').css('display','none');
160
+
161
+ })
162
+
163
+
164
+
165
+
166
+ $(document).on('click', '#post_grid_metabox .slider_dots', function()
167
+ {
168
+ //alert('Hello');
169
+
170
+ var grid_type = $(this).val();
171
+
172
+ if(grid_type=='true'){
173
+
174
+ $('.slider-dots').fadeIn();
175
+ }
176
+ else{
177
+ $('.slider-dots').fadeOut();
178
+ }
179
+
180
+ //$('.slider-navs').css('display','none');
181
+
182
+
183
+
184
+ })
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+ $(document).on('click', '#post_grid_metabox .grid_type', function()
195
+ {
196
+
197
+ var grid_type = $(this).val();
198
+
199
+
200
+ $('.grid-type').css('display','none');
201
+ $('.grid-type-'+grid_type).fadeIn();
202
+
203
+
204
+ })
205
+
206
+
207
+
208
+ $(document).on('click', '#post_grid_metabox .pagination_type', function()
209
+ {
210
+
211
+ var pagination_type = $(this).val();
212
+
213
+
214
+ $('.pagination-type').css('display','none');
215
+ $('.pagination-'+pagination_type).fadeIn();
216
+
217
+
218
+ })
219
+
220
+
221
+
222
+ $(document).on('click', '#post_grid_metabox .nav_filter', function()
223
+ {
224
+
225
+ var nav_filter = $(this).val();
226
+
227
+
228
+ $('.filter-menu').css('display','none');
229
+ $('.filter-menu.'+nav_filter).fadeIn();
230
+
231
+
232
+ })
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ $(document).on('click', '.post-grid-settings .remove_export_content_layout', function()
242
+ {
243
+
244
+ var file_url = $(this).attr('file-url');
245
+
246
+ if(confirm('Do you really want to remove ?')){
247
+
248
+
249
+
250
+ jQuery.ajax(
251
+ {
252
+ type: 'POST',
253
+ url: post_grid_ajax.post_grid_ajaxurl,
254
+ context:this,
255
+ data: {"action": "post_grid_ajax_remove_export_content_layout","file_url":file_url},
256
+ success: function(data)
257
+ {
258
+ //alert('Deleted');
259
+ $(this).html('Deleted');
260
+
261
+ }
262
+ });
263
+
264
+ }
265
+
266
+ })
267
+
268
+
269
+
270
+
271
+
272
+
273
+ $(document).on('click', '.post-grid-settings .remove-layout', function()
274
+ {
275
+ var layout_id = $(this).attr('layout-id');
276
+
277
+ if(confirm('Do you really want to remove "'+layout_id+'" ?')){
278
+
279
+
280
+
281
+ jQuery.ajax(
282
+ {
283
+ type: 'POST',
284
+ url: post_grid_ajax.post_grid_ajaxurl,
285
+ context:this,
286
+ data: {"action": "post_grid_remove_content_layout_ajax","layout_id":layout_id},
287
+ success: function(data)
288
+ {
289
+ $(this).parent().remove();
290
+
291
+ }
292
+ });
293
+
294
+ }
295
+
296
+
297
+
298
+ })
299
+
300
+
301
+
302
+
303
+
304
+
305
+ $(document).on('click', '#post-grid-upgrade', function()
306
+ {
307
+
308
+ jQuery.ajax(
309
+ {
310
+ type: 'POST',
311
+ context: this,
312
+ url: post_grid_ajax.post_grid_ajaxurl,
313
+ data: {"action": "post_grid_upgrade_action",},
314
+ success: function(data)
315
+ {
316
+ $(this).html('Upgrade Done!');
317
+ $(this).parent().fadeOut();
318
+
319
+
320
+ }
321
+ });
322
+
323
+
324
+ })
325
+
326
+
327
+
328
+ $(document).on('click', '.post-grid-settings .reset-content-layouts', function()
329
+ {
330
+
331
+ if(confirm("Do you really want to reset ?" )){
332
+
333
+ jQuery.ajax(
334
+ {
335
+ type: 'POST',
336
+ context: this,
337
+ url: post_grid_ajax.post_grid_ajaxurl,
338
+ data: {"action": "post_grid_reset_content_layouts",},
339
+ success: function(data)
340
+ {
341
+ $(this).html('Reset Done!');
342
+
343
+
344
+ }
345
+ });
346
+
347
+ }
348
+
349
+ })
350
+
351
+
352
+ $(document).on('click', '.post-grid-settings .import-content-layouts', function()
353
+ {
354
+
355
+ var layouts_data = $('.import-content-layouts-data').val();
356
+
357
+
358
+ jQuery.ajax(
359
+ {
360
+ type: 'POST',
361
+ context: this,
362
+ url: post_grid_ajax.post_grid_ajaxurl,
363
+ data: {"action": "post_grid_import_content_layouts","layouts_data":layouts_data},
364
+ success: function(data)
365
+ {
366
+ $(this).html('Import Done!');
367
+ $('.import-content-layouts-data').val('');
368
+
369
+ //window.open(data,'_blank');
370
+
371
+
372
+ }
373
+ });
374
+
375
+ })
376
+
377
+
378
+
379
+ $(document).on('click', '.post-grid-settings .export-content-layouts', function()
380
+ {
381
+
382
+ jQuery.ajax(
383
+ {
384
+ type: 'POST',
385
+ context: this,
386
+ url: post_grid_ajax.post_grid_ajaxurl,
387
+ data: {"action": "post_grid_export_content_layouts",},
388
+ success: function(data)
389
+ {
390
+ $(this).html('Export Done!');
391
+
392
+ window.open(data,'_blank');
393
+
394
+
395
+ }
396
+ });
397
+
398
+ })
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+ $(document).on('change', '#post_grid_metabox .select-layout-content', function()
408
+ {
409
+ var layout = $(this).val();
410
+
411
+
412
+ jQuery.ajax(
413
+ {
414
+ type: 'POST',
415
+ url: post_grid_ajax.post_grid_ajaxurl,
416
+ data: {"action": "post_grid_layout_content_ajax","layout":layout},
417
+ success: function(data)
418
+ {
419
+ //jQuery(".layout-content").html(data);
420
+ jQuery("#post_grid_metabox .layer-content").html(data);
421
+ }
422
+ });
423
+
424
+ })
425
+
426
+
427
+
428
+ $(document).on('click', '#post_grid_metabox .meta-query-list .remove', function()
429
+ {
430
+
431
+ if(confirm("Do you really want remove ?")){
432
+ $(this).parent().parent().remove();
433
+ }
434
+
435
+
436
+ })
437
+
438
+
439
+
440
+
441
+
442
+
443
+ $(document).on('click', '#post_grid_metabox .post_types', function()
444
+ {
445
+
446
+ var post_types = $(this).val();
447
+ var post_id = $(this).attr('post_id');
448
+
449
+
450
+
451
+ jQuery.ajax(
452
+ {
453
+ type: 'POST',
454
+ url: post_grid_ajax.post_grid_ajaxurl,
455
+ data: {"action": "post_grid_get_categories","post_types":post_types,"post_id":post_id},
456
+ success: function(data)
457
+ {
458
+
459
+ jQuery("#post_grid_metabox .categories-container").html(data);
460
+
461
+ }
462
+ });
463
+
464
+ })
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+ $(document).on('click', '#post_grid_metabox .clear-categories', function()
473
+ {
474
+ //alert('Hello');
475
+ $('.categories option').prop('selected', false);
476
+
477
+ })
478
+
479
+
480
+ $(document).on('click', '#post_grid_metabox .clear-post-types', function()
481
+ {
482
+ //alert('Hello');
483
+ $('.post_types option').prop('selected', false);
484
+
485
+ })
486
+
487
+
488
+
489
+
490
+
491
+
492
+ });
493
+
494
+
495
+
496
+
497
+
498
+
499
+
assets/admin/js/scripts.js DELETED
@@ -1,180 +0,0 @@
1
- jQuery(document).ready(function($)
2
- {
3
-
4
-
5
- $(document).on('click', '.post-grid-settings .remove_export_content_layout', function()
6
- {
7
-
8
- var file_url = $(this).attr('file-url');
9
-
10
- if(confirm('Do you really want to remove ?')){
11
-
12
-
13
-
14
- jQuery.ajax(
15
- {
16
- type: 'POST',
17
- url: post_grid_ajax.post_grid_ajaxurl,
18
- context:this,
19
- data: {"action": "post_grid_ajax_remove_export_content_layout","file_url":file_url},
20
- success: function(data)
21
- {
22
- //alert('Deleted');
23
- $(this).html('Deleted');
24
-
25
- }
26
- });
27
-
28
- }
29
-
30
- })
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
- $(document).on('click', '#post-grid-upgrade', function()
40
- {
41
-
42
- jQuery.ajax(
43
- {
44
- type: 'POST',
45
- context: this,
46
- url: post_grid_ajax.post_grid_ajaxurl,
47
- data: {"action": "post_grid_upgrade_action",},
48
- success: function(data)
49
- {
50
- $(this).html('Upgrade Done!');
51
- $(this).parent().fadeOut();
52
-
53
-
54
- }
55
- });
56
-
57
-
58
- })
59
-
60
-
61
-
62
- $(document).on('click', '.post-grid-settings .reset-content-layouts', function()
63
- {
64
-
65
- if(confirm("Do you really want to reset ?" )){
66
-
67
- jQuery.ajax(
68
- {
69
- type: 'POST',
70
- context: this,
71
- url: post_grid_ajax.post_grid_ajaxurl,
72
- data: {"action": "post_grid_reset_content_layouts",},
73
- success: function(data)
74
- {
75
- $(this).html('Reset Done!');
76
-
77
-
78
- }
79
- });
80
-
81
- }
82
-
83
- })
84
-
85
-
86
-
87
-
88
-
89
-
90
- $(document).on('click', '.post-grid-settings .export-content-layouts', function()
91
- {
92
-
93
- jQuery.ajax(
94
- {
95
- type: 'POST',
96
- context: this,
97
- url: post_grid_ajax.post_grid_ajaxurl,
98
- data: {"action": "post_grid_export_content_layouts",},
99
- success: function(data)
100
- {
101
- $(this).html('Export Done!');
102
-
103
- window.open(data,'_blank');
104
-
105
-
106
- }
107
- });
108
-
109
- })
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
- $(document).on('change', '#post_grid_metabox .select-layout-content', function()
119
- {
120
- var layout = $(this).val();
121
-
122
-
123
- jQuery.ajax(
124
- {
125
- type: 'POST',
126
- url: post_grid_ajax.post_grid_ajaxurl,
127
- data: {"action": "post_grid_layout_content_ajax","layout":layout},
128
- success: function(data)
129
- {
130
- //jQuery(".layout-content").html(data);
131
- jQuery("#post_grid_metabox .layer-content").html(data);
132
- }
133
- });
134
-
135
- })
136
-
137
-
138
-
139
- $(document).on('click', '#post_grid_metabox .meta-query-list .remove', function()
140
- {
141
-
142
- if(confirm("Do you really want remove ?")){
143
- $(this).parent().parent().remove();
144
- }
145
-
146
-
147
- })
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
- $(document).on('click', '#post_grid_metabox .clear-post-types', function()
162
- {
163
- //alert('Hello');
164
- $('.post_types option').prop('selected', false);
165
-
166
- })
167
-
168
-
169
-
170
-
171
-
172
-
173
- });
174
-
175
-
176
-
177
-
178
-
179
-
180
-
assets/frontend/css/icons/gplus.png CHANGED
Binary file
assets/frontend/css/owl.carousel-new.css ADDED
@@ -0,0 +1,173 @@
1
+ /**
2
+ * Owl Carousel v2.1.0
3
+ * Copyright 2013-2016 David Deutsch
4
+ * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
5
+ */
6
+ /*
7
+ * Owl Carousel - Core
8
+ */
9
+ .owl-carousel {
10
+ display: none;
11
+ width: 100%;
12
+ -webkit-tap-highlight-color: transparent;
13
+ /* position relative and z-index fix webkit rendering fonts issue */
14
+ position: relative;
15
+ z-index: 1; }
16
+ .owl-carousel .owl-stage {
17
+ position: relative;
18
+ -ms-touch-action: pan-Y; }
19
+ .owl-carousel .owl-stage:after {
20
+ content: ".";
21
+ display: block;
22
+ clear: both;
23
+ visibility: hidden;
24
+ line-height: 0;
25
+ height: 0; }
26
+ .owl-carousel .owl-stage-outer {
27
+ position: relative;
28
+ overflow: hidden;
29
+ /* fix for flashing background */
30
+ -webkit-transform: translate3d(0px, 0px, 0px); }
31
+ .owl-carousel .owl-item {
32
+ position: relative;
33
+ min-height: 1px;
34
+ float: left;
35
+ -webkit-backface-visibility: hidden;
36
+ -webkit-tap-highlight-color: transparent;
37
+ -webkit-touch-callout: none; }
38
+ .owl-carousel .owl-item img {
39
+ display: block;
40
+ width: 100%;
41
+ -webkit-transform-style: preserve-3d; }
42
+ .owl-carousel .owl-nav.disabled,
43
+ .owl-carousel .owl-dots.disabled {
44
+ display: none; }
45
+ .owl-carousel .owl-nav .owl-prev,
46
+ .owl-carousel .owl-nav .owl-next,
47
+ .owl-carousel .owl-dot {
48
+ cursor: pointer;
49
+ cursor: hand;
50
+ -webkit-user-select: none;
51
+ -khtml-user-select: none;
52
+ -moz-user-select: none;
53
+ -ms-user-select: none;
54
+ user-select: none; }
55
+ .owl-carousel.owl-loaded {
56
+ display: block; }
57
+ .owl-carousel.owl-loading {
58
+ opacity: 0;
59
+ display: block; }
60
+ .owl-carousel.owl-hidden {
61
+ opacity: 0; }
62
+ .owl-carousel.owl-refresh .owl-item {
63
+ display: none; }
64
+ .owl-carousel.owl-drag .owl-item {
65
+ -webkit-user-select: none;
66
+ -moz-user-select: none;
67
+ -ms-user-select: none;
68
+ user-select: none; }
69
+ .owl-carousel.owl-grab {
70
+ cursor: move;
71
+ cursor: grab; }
72
+ .owl-carousel.owl-rtl {
73
+ direction: rtl; }
74
+ .owl-carousel.owl-rtl .owl-item {
75
+ float: right; }
76
+
77
+ /* No Js */
78
+ .no-js .owl-carousel {
79
+ display: block; }
80
+
81
+ /*
82
+ * Owl Carousel - Animate Plugin
83
+ */
84
+ .owl-carousel .animated {
85
+ -webkit-animation-duration: 1000ms;
86
+ animation-duration: 1000ms;
87
+ -webkit-animation-fill-mode: both;
88
+ animation-fill-mode: both; }
89
+
90
+ .owl-carousel .owl-animated-in {
91
+ z-index: 0; }
92
+
93
+ .owl-carousel .owl-animated-out {
94
+ z-index: 1; }
95
+
96
+ .owl-carousel .fadeOut {
97
+ -webkit-animation-name: fadeOut;
98
+ animation-name: fadeOut; }
99
+
100
+ @-webkit-keyframes fadeOut {
101
+ 0% {
102
+ opacity: 1; }
103
+ 100% {
104
+ opacity: 0; } }
105
+
106
+ @keyframes fadeOut {
107
+ 0% {
108
+ opacity: 1; }
109
+ 100% {
110
+ opacity: 0; } }
111
+
112
+ /*
113
+ * Owl Carousel - Auto Height Plugin
114
+ */
115
+ .owl-height {
116
+ transition: height 500ms ease-in-out; }
117
+
118
+ /*
119
+ * Owl Carousel - Lazy Load Plugin
120
+ */
121
+ .owl-carousel .owl-item .owl-lazy {
122
+ opacity: 0;
123
+ transition: opacity 400ms ease; }
124
+
125
+ .owl-carousel .owl-item img.owl-lazy {
126
+ -webkit-transform-style: preserve-3d;
127
+ transform-style: preserve-3d; }
128
+
129
+ /*
130
+ * Owl Carousel - Video Plugin
131
+ */
132
+ .owl-carousel .owl-video-wrapper {
133
+ position: relative;
134
+ height: 100%;
135
+ background: #000; }
136
+
137
+ .owl-carousel .owl-video-play-icon {
138
+ position: absolute;
139
+ height: 80px;
140
+ width: 80px;
141
+ left: 50%;
142
+ top: 50%;
143
+ margin-left: -40px;
144
+ margin-top: -40px;
145
+ background: url("owl.video.play.png") no-repeat;
146
+ cursor: pointer;
147
+ z-index: 1;
148
+ -webkit-backface-visibility: hidden;
149
+ transition: -webkit-transform 100ms ease;
150
+ transition: transform 100ms ease; }
151
+
152
+ .owl-carousel .owl-video-play-icon:hover {
153
+ -webkit-transform: scale(1.3, 1.3);
154
+ -ms-transform: scale(1.3, 1.3);
155
+ transform: scale(1.3, 1.3); }
156
+
157
+ .owl-carousel .owl-video-playing .owl-video-tn,
158
+ .owl-carousel .owl-video-playing .owl-video-play-icon {
159
+ display: none; }
160
+
161
+ .owl-carousel .owl-video-tn {
162
+ opacity: 0;
163
+ height: 100%;
164
+ background-position: center center;
165
+ background-repeat: no-repeat;
166
+ background-size: contain;
167
+ transition: opacity 400ms ease; }
168
+
169
+ .owl-carousel .owl-video-frame {
170
+ position: relative;
171
+ z-index: 1;
172
+ height: 100%;
173
+ width: 100%; }
assets/frontend/css/owl.carousel.css CHANGED
@@ -1,71 +1,173 @@
1
- /*
2
- * Core Owl Carousel CSS File
3
- * v1.3.3
4
*/
5
6
- /* clearfix */
7
- .owl-carousel .owl-wrapper:after {
8
- content: ".";
9
- display: block;
10
- clear: both;
11
- visibility: hidden;
12
- line-height: 0;
13
- height: 0;
14
- }
15
- /* display none until init */
16
- .owl-carousel{
17
- display: none;
18
- position: relative;
19
- width: 100%;
20
- -ms-touch-action: pan-y;
21
- }
22
- .owl-carousel .owl-wrapper{
23
- display: none;
24
- position: relative;
25
- -webkit-transform: translate3d(0px, 0px, 0px);
26
- }
27
- .owl-carousel .owl-wrapper-outer{
28
- overflow: hidden;
29
- position: relative;
30
- width: 100%;
31
- }
32
- .owl-carousel .owl-wrapper-outer.autoHeight{
33
- -webkit-transition: height 500ms ease-in-out;
34
- -moz-transition: height 500ms ease-in-out;
35
- -ms-transition: height 500ms ease-in-out;
36
- -o-transition: height 500ms ease-in-out;
37
- transition: height 500ms ease-in-out;
38
- }
39
-
40
- .owl-carousel .owl-item{
41
- float: left;
42
- }
43
- .owl-controls .owl-page,
44
- .owl-controls .owl-buttons div{
45
- cursor: pointer;
46
- }
47
- .owl-controls {
48
- -webkit-user-select: none;
49
- -khtml-user-select: none;
50
- -moz-user-select: none;
51
- -ms-user-select: none;
52
- user-select: none;
53
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
54
- }
55
-
56
- /* mouse grab icon */
57
- .grabbing {
58
- cursor:url(grabbing.png) 8 8, move;
59
- }
60
-
61
- /* fix */
62
- .owl-carousel .owl-wrapper,
63
- .owl-carousel .owl-item{
64
- -webkit-backface-visibility: hidden;
65
- -moz-backface-visibility: hidden;
66
- -ms-backface-visibility: hidden;
67
- -webkit-transform: translate3d(0,0,0);
68
- -moz-transform: translate3d(0,0,0);
69
- -ms-transform: translate3d(0,0,0);
70
- }
71
1
+ /**
2
+ * Owl Carousel v2.1.0
3
+ * Copyright 2013-2016 David Deutsch
4
+ * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
5
*/
6
+ /*
7
+ * Owl Carousel - Core
8
+ */
9
+ .owl-carousel {
10
+ display: none;
11
+ width: 100%;
12
+ -webkit-tap-highlight-color: transparent;
13
+ /* position relative and z-index fix webkit rendering fonts issue */
14
+ position: relative;
15
+ z-index: 1; }
16
+ .owl-carousel .owl-stage {
17
+ position: relative;
18
+ -ms-touch-action: pan-Y; }
19
+ .owl-carousel .owl-stage:after {
20
+ content: ".";
21
+ display: block;
22
+ clear: both;
23
+ visibility: hidden;
24
+ line-height: 0;
25
+ height: 0; }
26
+ .owl-carousel .owl-stage-outer {
27
+ position: relative;
28
+ overflow: hidden;
29
+ /* fix for flashing background */
30
+ -webkit-transform: translate3d(0px, 0px, 0px); }
31
+ .owl-carousel .owl-item {
32
+ position: relative;
33
+ min-height: 1px;
34
+ float: left;
35
+ -webkit-backface-visibility: hidden;
36
+ -webkit-tap-highlight-color: transparent;
37
+ -webkit-touch-callout: none; }
38
+ .owl-carousel .owl-item img {
39
+ display: block;
40
+ width: 100%;
41
+ -webkit-transform-style: preserve-3d; }
42
+ .owl-carousel .owl-nav.disabled,
43
+ .owl-carousel .owl-dots.disabled {
44
+ display: none; }
45
+ .owl-carousel .owl-nav .owl-prev,
46
+ .owl-carousel .owl-nav .owl-next,
47
+ .owl-carousel .owl-dot {
48
+ cursor: pointer;
49
+ cursor: hand;
50
+ -webkit-user-select: none;
51
+ -khtml-user-select: none;
52
+ -moz-user-select: none;
53
+ -ms-user-select: none;
54
+ user-select: none; }
55
+ .owl-carousel.owl-loaded {
56
+ display: block; }
57
+ .owl-carousel.owl-loading {
58
+ opacity: 0;
59
+ display: block; }
60
+ .owl-carousel.owl-hidden {
61
+ opacity: 0; }
62
+ .owl-carousel.owl-refresh .owl-item {
63
+ display: none; }
64
+ .owl-carousel.owl-drag .owl-item {
65
+ -webkit-user-select: none;
66
+ -moz-user-select: none;
67
+ -ms-user-select: none;
68
+ user-select: none; }
69
+ .owl-carousel.owl-grab {
70
+ cursor: move;
71
+ cursor: grab; }
72
+ .owl-carousel.owl-rtl {
73
+ direction: rtl; }
74
+ .owl-carousel.owl-rtl .owl-item {
75
+ float: right; }
76
+
77
+ /* No Js */
78
+ .no-js .owl-carousel {
79
+ display: block; }
80
+
81
+ /*
82
+ * Owl Carousel - Animate Plugin
83
+ */
84
+ .owl-carousel .animated {
85
+ -webkit-animation-duration: 1000ms;
86
+ animation-duration: 1000ms;
87
+ -webkit-animation-fill-mode: both;
88
+ animation-fill-mode: both; }
89
+
90
+ .owl-carousel .owl-animated-in {
91
+ z-index: 0; }
92
+
93
+ .owl-carousel .owl-animated-out {
94
+ z-index: 1; }
95
+
96
+ .owl-carousel .fadeOut {
97
+ -webkit-animation-name: fadeOut;
98
+ animation-name: fadeOut; }
99
+
100
+ @-webkit-keyframes fadeOut {
101
+ 0% {
102
+ opacity: 1; }
103
+ 100% {
104
+ opacity: 0; } }
105
+
106
+ @keyframes fadeOut {
107
+ 0% {
108
+ opacity: 1; }
109
+ 100% {
110
+ opacity: 0; } }
111
+
112
+ /*
113
+ * Owl Carousel - Auto Height Plugin
114
+ */
115
+ .owl-height {
116
+ transition: height 500ms ease-in-out; }
117
+
118
+ /*
119
+ * Owl Carousel - Lazy Load Plugin
120
+ */
121
+ .owl-carousel .owl-item .owl-lazy {
122
+ opacity: 0;
123
+ transition: opacity 400ms ease; }
124
+
125
+ .owl-carousel .owl-item img.owl-lazy {
126
+ -webkit-transform-style: preserve-3d;
127
+ transform-style: preserve-3d; }
128
+
129
+ /*
130
+ * Owl Carousel - Video Plugin
131
+ */
132
+ .owl-carousel .owl-video-wrapper {
133
+ position: relative;
134
+ height: 100%;
135
+ background: #000; }
136
+
137
+ .owl-carousel .owl-video-play-icon {
138
+ position: absolute;
139
+ height: 80px;
140
+ width: 80px;
141
+ left: 50%;
142
+ top: 50%;
143
+ margin-left: -40px;
144
+ margin-top: -40px;
145
+ background: url("owl.video.play.png") no-repeat;
146
+ cursor: pointer;
147
+ z-index: 1;
148
+ -webkit-backface-visibility: hidden;
149
+ transition: -webkit-transform 100ms ease;
150
+ transition: transform 100ms ease; }
151
+
152
+ .owl-carousel .owl-video-play-icon:hover {
153
+ -webkit-transform: scale(1.3, 1.3);
154
+ -ms-transform: scale(1.3, 1.3);
155
+ transform: scale(1.3, 1.3); }
156
+
157
+ .owl-carousel .owl-video-playing .owl-video-tn,
158
+ .owl-carousel .owl-video-playing .owl-video-play-icon {
159
+ display: none; }
160
161
+ .owl-carousel .owl-video-tn {
162
+ opacity: 0;
163
+ height: 100%;
164
+ background-position: center center;
165
+ background-repeat: no-repeat;
166
+ background-size: contain;
167
+ transition: opacity 400ms ease; }
168
169
+ .owl-carousel .owl-video-frame {
170
+ position: relative;
171
+ z-index: 1;
172
+ height: 100%;
173
+ width: 100%; }
assets/frontend/css/owl.theme.css DELETED
@@ -1,79 +0,0 @@
1
- /*
2
- * Owl Carousel Owl Demo Theme
3
- * v1.3.3
4
- */
5
-
6
- .owl-theme .owl-controls{
7
- margin-top: 10px;
8
- text-align: center;
9
- }
10
-
11
- /* Styling Next and Prev buttons */
12
-
13
- .owl-theme .owl-controls .owl-buttons div{
14
- color: #FFF;
15
- display: inline-block;
16
- zoom: 1;
17
- *display: inline;/*IE7 life-saver */
18
- margin: 5px;
19
- padding: 3px 10px;
20
- font-size: 12px;
21
- -webkit-border-radius: 30px;
22
- -moz-border-radius: 30px;
23
- border-radius: 30px;
24
- background: #869791;
25
- filter: Alpha(Opacity=50);/*IE7 fix*/
26
- opacity: 0.5;
27
- }
28
- /* Clickable class fix problem with hover on touch devices */
29
- /* Use it for non-touch hover action */
30
- .owl-theme .owl-controls.clickable .owl-buttons div:hover{
31
- filter: Alpha(Opacity=100);/*IE7 fix*/
32
- opacity: 1;
33
- text-decoration: none;
34
- }
35
-
36
- /* Styling Pagination*/
37
-
38
- .owl-theme .owl-controls .owl-page{
39
- display: inline-block;
40
- zoom: 1;
41
- *display: inline;/*IE7 life-saver */
42
- }
43
- .owl-theme .owl-controls .owl-page span{
44
- display: block;
45
- width: 12px;
46
- height: 12px;
47
- margin: 5px 7px;
48
- filter: Alpha(Opacity=50);/*IE7 fix*/
49
- opacity: 0.5;
50
- -webkit-border-radius: 20px;
51
- -moz-border-radius: 20px;
52
- border-radius: 20px;
53
- background: #869791;
54
- }
55
-
56
- .owl-theme .owl-controls .owl-page.active span,
57
- .owl-theme .owl-controls.clickable .owl-page:hover span{
58
- filter: Alpha(Opacity=100);/*IE7 fix*/
59
- opacity: 1;
60
- }
61
-
62
- /* If PaginationNumbers is true */
63
-
64
- .owl-theme .owl-controls .owl-page span.owl-numbers{
65
- height: auto;
66
- width: auto;
67
- color: #FFF;
68
- padding: 2px 10px;
69
- font-size: 12px;
70
- -webkit-border-radius: 30px;
71
- -moz-border-radius: 30px;
72
- border-radius: 30px;
73
- }
74
-
75
- /* preloading images */
76
- .owl-item.loading{
77
- min-height: 150px;
78
- background: url(AjaxLoader.gif) no-repeat center center
79
- }