wonder-image 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DOCS.md +12 -0
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/babel.config.json +3 -0
- package/demo/backend/body-end.php +10 -0
- package/demo/backend/head.php +93 -0
- package/demo/frontend/body-end.php +19 -0
- package/demo/frontend/head.php +244 -0
- package/demo/wonder-image.php +41 -0
- package/dist/0d01fa889dc2b0202b98.png +0 -0
- package/dist/203d1199e7aef04c0a34.gif +0 -0
- package/dist/26d6ed3fa1c815e4c78f.png +0 -0
- package/dist/39795c0b4513de014cf8.woff +0 -0
- package/dist/40b30ca122107c2852be.png +0 -0
- package/dist/4a7b4107b62ef059ba65.png +0 -0
- package/dist/4dce7f71b08755f19759.png +0 -0
- package/dist/60af14fddca897f348bb.png +0 -0
- package/dist/67172a36bcdeaca8592a.png +0 -0
- package/dist/a85c6dc53638f894de38.png +0 -0
- package/dist/b7bcc075b395c14ce8c2.woff2 +0 -0
- package/dist/backend/body-end.js +3 -0
- package/dist/backend/body-end.js.LICENSE.txt +44 -0
- package/dist/backend/body-end.js.map +1 -0
- package/dist/backend/head.css +2 -0
- package/dist/backend/head.css.map +1 -0
- package/dist/backend/head.js +3 -0
- package/dist/backend/head.js.LICENSE.txt +46 -0
- package/dist/backend/head.js.map +1 -0
- package/dist/backend/lib.js +2 -0
- package/dist/backend/lib.js.LICENSE.txt +1 -0
- package/dist/frontend/body-end.js +3 -0
- package/dist/frontend/body-end.js.LICENSE.txt +46 -0
- package/dist/frontend/body-end.js.map +1 -0
- package/dist/frontend/head.css +2 -0
- package/dist/frontend/head.css.map +1 -0
- package/dist/frontend/head.js +3 -0
- package/dist/frontend/head.js.LICENSE.txt +46 -0
- package/dist/frontend/head.js.map +1 -0
- package/dist/frontend/lib.css +2 -0
- package/dist/frontend/lib.css.map +1 -0
- package/dist/frontend/lib.js +3 -0
- package/dist/frontend/lib.js.LICENSE.txt +151 -0
- package/dist/frontend/lib.js.map +1 -0
- package/dist/lib/autonumeric/autonumeric.js +3 -0
- package/dist/lib/autonumeric/autonumeric.js.LICENSE.txt +47 -0
- package/dist/lib/autonumeric/autonumeric.js.map +1 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.css +2 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.css.map +1 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.js +3 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.js.LICENSE.txt +42 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.js.map +1 -0
- package/dist/lib/bootstrap/bootstrap-icons.css +2 -0
- package/dist/lib/bootstrap/bootstrap-icons.css.map +1 -0
- package/dist/lib/bootstrap/bootstrap-icons.js +3 -0
- package/dist/lib/bootstrap/bootstrap-icons.js.LICENSE.txt +13 -0
- package/dist/lib/bootstrap/bootstrap-icons.js.map +1 -0
- package/dist/lib/bootstrap/bootstrap.css +2 -0
- package/dist/lib/bootstrap/bootstrap.css.map +1 -0
- package/dist/lib/bootstrap/bootstrap.js +3 -0
- package/dist/lib/bootstrap/bootstrap.js.LICENSE.txt +44 -0
- package/dist/lib/bootstrap/bootstrap.js.map +1 -0
- package/dist/lib/chartjs/chart.js +3 -0
- package/dist/lib/chartjs/chart.js.LICENSE.txt +1467 -0
- package/dist/lib/chartjs/chart.js.map +1 -0
- package/dist/lib/datatables/datatables.css +2 -0
- package/dist/lib/datatables/datatables.css.map +1 -0
- package/dist/lib/datatables/datatables.js +3 -0
- package/dist/lib/datatables/datatables.js.LICENSE.txt +8988 -0
- package/dist/lib/datatables/datatables.js.map +1 -0
- package/dist/lib/editorjs/editor.js +3 -0
- package/dist/lib/editorjs/editor.js.LICENSE.txt +5812 -0
- package/dist/lib/editorjs/editor.js.map +1 -0
- package/dist/lib/fancyapps/fancyapps.css +2 -0
- package/dist/lib/fancyapps/fancyapps.css.map +1 -0
- package/dist/lib/fancyapps/fancyapps.js +3 -0
- package/dist/lib/fancyapps/fancyapps.js.LICENSE.txt +19 -0
- package/dist/lib/fancyapps/fancyapps.js.map +1 -0
- package/dist/lib/filepond/filepond.css +2 -0
- package/dist/lib/filepond/filepond.css.map +1 -0
- package/dist/lib/filepond/filepond.js +3 -0
- package/dist/lib/filepond/filepond.js.LICENSE.txt +2797 -0
- package/dist/lib/filepond/filepond.js.map +1 -0
- package/dist/lib/fullcalendar/fullcalendar.js +3 -0
- package/dist/lib/fullcalendar/fullcalendar.js.LICENSE.txt +3787 -0
- package/dist/lib/fullcalendar/fullcalendar.js.map +1 -0
- package/dist/lib/jquery/jquery-plugin.css +2 -0
- package/dist/lib/jquery/jquery-plugin.css.map +1 -0
- package/dist/lib/jquery/jquery-plugin.js +3 -0
- package/dist/lib/jquery/jquery-plugin.js.LICENSE.txt +60 -0
- package/dist/lib/jquery/jquery-plugin.js.map +1 -0
- package/dist/lib/jquery/jquery.js +3 -0
- package/dist/lib/jquery/jquery.js.LICENSE.txt +3240 -0
- package/dist/lib/jquery/jquery.js.map +1 -0
- package/dist/lib/jstree/jstree.css +2 -0
- package/dist/lib/jstree/jstree.css.map +1 -0
- package/dist/lib/jstree/jstree.js +3 -0
- package/dist/lib/jstree/jstree.js.LICENSE.txt +42 -0
- package/dist/lib/jstree/jstree.js.map +1 -0
- package/dist/lib/moment/moment.js +3 -0
- package/dist/lib/moment/moment.js.LICENSE.txt +772 -0
- package/dist/lib/moment/moment.js.map +1 -0
- package/dist/lib/quilljs/quill.css +2 -0
- package/dist/lib/quilljs/quill.css.map +1 -0
- package/dist/lib/quilljs/quill.js +3 -0
- package/dist/lib/quilljs/quill.js.LICENSE.txt +3038 -0
- package/dist/lib/quilljs/quill.js.map +1 -0
- package/dist/lib/swiperjs/swiper-plugin.css +2 -0
- package/dist/lib/swiperjs/swiper-plugin.css.map +1 -0
- package/dist/lib/swiperjs/swiper-plugin.js +3 -0
- package/dist/lib/swiperjs/swiper-plugin.js.LICENSE.txt +1113 -0
- package/dist/lib/swiperjs/swiper-plugin.js.map +1 -0
- package/dist/lib/swiperjs/swiper.css +2 -0
- package/dist/lib/swiperjs/swiper.css.map +1 -0
- package/dist/lib/swiperjs/swiper.js +3 -0
- package/dist/lib/swiperjs/swiper.js.LICENSE.txt +651 -0
- package/dist/lib/swiperjs/swiper.js.map +1 -0
- package/dist/lib/videojs/video.css +2 -0
- package/dist/lib/videojs/video.css.map +1 -0
- package/dist/lib/videojs/video.js +3 -0
- package/dist/lib/videojs/video.js.LICENSE.txt +23391 -0
- package/dist/lib/videojs/video.js.map +1 -0
- package/package.json +95 -0
- package/src/build/backend/css/header.css +252 -0
- package/src/build/backend/css/input.css +295 -0
- package/src/build/backend/css/list.css +57 -0
- package/src/build/backend/css/order.css +99 -0
- package/src/build/backend/js/ajax.js +96 -0
- package/src/build/backend/js/alert.js +78 -0
- package/src/build/backend/js/bootstrap.js +52 -0
- package/src/build/backend/js/form/editor.js +293 -0
- package/src/build/backend/js/form/file.js +142 -0
- package/src/build/backend/js/form/filepond.js +11 -0
- package/src/build/backend/js/form/input.js +313 -0
- package/src/build/backend/js/form/inputRow.js +164 -0
- package/src/build/backend/js/form/send.js +14 -0
- package/src/build/backend/js/form/set.js +314 -0
- package/src/build/backend/js/jquery.js +15 -0
- package/src/build/backend/js/list.js +19 -0
- package/src/build/backend/js/modal.js +31 -0
- package/src/build/backend/js/pageSetUp.js +125 -0
- package/src/build/backend/js/utility.js +38 -0
- package/src/build/frontend/css/class/dimension.css +3376 -0
- package/src/build/frontend/css/class/function.css +316 -0
- package/src/build/frontend/css/class/grid.css +240 -0
- package/src/build/frontend/css/class/margin.css +823 -0
- package/src/build/frontend/css/class/padding.css +760 -0
- package/src/build/frontend/css/class/position.css +351 -0
- package/src/build/frontend/css/class/resize.css +24 -0
- package/src/build/frontend/css/class/section.css +41 -0
- package/src/build/frontend/css/class/text.css +244 -0
- package/src/build/frontend/css/components/alert.css +42 -0
- package/src/build/frontend/css/components/button.css +107 -0
- package/src/build/frontend/css/components/dropdown.css +118 -0
- package/src/build/frontend/css/components/form/address.css +26 -0
- package/src/build/frontend/css/components/form/checkbox.css +65 -0
- package/src/build/frontend/css/components/form/date.css +133 -0
- package/src/build/frontend/css/components/form/input.css +176 -0
- package/src/build/frontend/css/components/form/select.css +69 -0
- package/src/build/frontend/css/components/header/hamburger/hamburger-1.css +56 -0
- package/src/build/frontend/css/components/header/hamburger/hamburger.css +58 -0
- package/src/build/frontend/css/components/header/header.css +57 -0
- package/src/build/frontend/css/components/header/mobile-nav.css +79 -0
- package/src/build/frontend/css/components/modal.css +76 -0
- package/src/build/frontend/css/components/spinner.css +37 -0
- package/src/build/frontend/css/generator/dimension.php +93 -0
- package/src/build/frontend/css/generator/margin.php +48 -0
- package/src/build/frontend/css/generator/padding.php +48 -0
- package/src/build/frontend/css/lib.css +3 -0
- package/src/build/frontend/css/main.css +37 -0
- package/src/build/frontend/js/alert.js +64 -0
- package/src/build/frontend/js/aos.js +9 -0
- package/src/build/frontend/js/dropdown.js +73 -0
- package/src/build/frontend/js/form/input.js +211 -0
- package/src/build/frontend/js/form/list.js +155 -0
- package/src/build/frontend/js/form/select.js +108 -0
- package/src/build/frontend/js/form/send.js +137 -0
- package/src/build/frontend/js/header.js +12 -0
- package/src/build/frontend/js/modal.js +26 -0
- package/src/build/frontend/js/pageSetUp.js +35 -0
- package/src/build/frontend/js/scroll.js +70 -0
- package/src/build/frontend/js/utility.js +21 -0
- package/src/build/global/js/canvas.js +82 -0
- package/src/build/global/js/fetch.js +47 -0
- package/src/build/global/js/form/autonumeric.js +136 -0
- package/src/build/global/js/form/phone.js +19 -0
- package/src/build/global/js/utility.js +88 -0
- package/src/build/global/js/video.js +7 -0
- package/src/build/lib/editorjs/gallery.js +39 -0
- package/src/build/lib/editorjs/hyperlink.js +170 -0
- package/src/build/lib/editorjs/video.js +61 -0
- package/src/build/lib/swiperjs/effect-carousel.css +24 -0
- package/src/build/lib/swiperjs/effect-carousel.esm.js +102 -0
- package/src/build/lib/swiperjs/effect-shutters.css +33 -0
- package/src/build/lib/swiperjs/effect-shutters.esm.js +114 -0
- package/src/build/lib/swiperjs/effect-slicer.css +39 -0
- package/src/build/lib/swiperjs/effect-slicer.esm.js +198 -0
- package/src/build/lib/swiperjs/swiper-gl.css +44 -0
- package/src/build/lib/swiperjs/swiper-gl.esm.js +6063 -0
- package/src/export/backend/body-end.js +4 -0
- package/src/export/backend/head.js +25 -0
- package/src/export/backend/lib.js +0 -0
- package/src/export/frontend/body-end.js +9 -0
- package/src/export/frontend/head.js +42 -0
- package/src/export/frontend/lib.js +17 -0
- package/src/export/lib/autonumeric/autonumeric.js +3 -0
- package/src/export/lib/bootstrap/bootstrap-datepicker.js +4 -0
- package/src/export/lib/bootstrap/bootstrap-icons.js +2 -0
- package/src/export/lib/bootstrap/bootstrap.js +3 -0
- package/src/export/lib/chartjs/chart.js +4 -0
- package/src/export/lib/datatables/datatables.js +6 -0
- package/src/export/lib/editorjs/editor.js +48 -0
- package/src/export/lib/fancyapps/fancyapps.js +7 -0
- package/src/export/lib/filepond/filepond.js +51 -0
- package/src/export/lib/fullcalendar/fullcalendar.js +29 -0
- package/src/export/lib/jquery/jquery-plugin.js +14 -0
- package/src/export/lib/jquery/jquery.js +4 -0
- package/src/export/lib/jstree/jstree.js +2 -0
- package/src/export/lib/moment/moment.js +12 -0
- package/src/export/lib/quilljs/quill.js +4 -0
- package/src/export/lib/swiperjs/swiper-plugin.js +20 -0
- package/src/export/lib/swiperjs/swiper.js +4 -0
- package/src/export/lib/videojs/video.js +3 -0
- package/webpack.config.js +79 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
#hamburger-1 {
|
|
2
|
+
position: relative;
|
|
3
|
+
float: left;
|
|
4
|
+
width: 30px;
|
|
5
|
+
height: 18px;
|
|
6
|
+
margin: 16px 0;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
#hamburger-1 .bar {
|
|
10
|
+
position: absolute;
|
|
11
|
+
width: 30px;
|
|
12
|
+
height: 3px;
|
|
13
|
+
border-radius: 1.5px;
|
|
14
|
+
background: #ffffff;
|
|
15
|
+
transition: .4s;
|
|
16
|
+
}
|
|
17
|
+
#hamburger-1.thin {
|
|
18
|
+
height: 17px;
|
|
19
|
+
margin: 16.5px 0;
|
|
20
|
+
}
|
|
21
|
+
#hamburger-1.thin .bar {
|
|
22
|
+
height: 2px;
|
|
23
|
+
}
|
|
24
|
+
#hamburger-1:hover .bar {
|
|
25
|
+
width: 30px;
|
|
26
|
+
}
|
|
27
|
+
#hamburger-1 .bar-1 {
|
|
28
|
+
width: 22.5px;
|
|
29
|
+
}
|
|
30
|
+
#hamburger-1 .bar-2 {
|
|
31
|
+
top: 50%;
|
|
32
|
+
transform: translateY(-50%);
|
|
33
|
+
}
|
|
34
|
+
#hamburger-1 .bar-3 {
|
|
35
|
+
float: right;
|
|
36
|
+
right: 0;
|
|
37
|
+
width: 22.5px;
|
|
38
|
+
bottom: 0;
|
|
39
|
+
}
|
|
40
|
+
#hamburger-1.click .bar-1 {
|
|
41
|
+
width: 30px;
|
|
42
|
+
top: 50%;
|
|
43
|
+
transform: translateY(-50%) rotate(45deg);
|
|
44
|
+
}
|
|
45
|
+
#hamburger-1.click .bar-2 {
|
|
46
|
+
transform: translateY(-50%) rotate(-45deg);
|
|
47
|
+
}
|
|
48
|
+
#hamburger-1.click .bar-3 {
|
|
49
|
+
width: 30px;
|
|
50
|
+
bottom: 50%;
|
|
51
|
+
transform: translateY(50%) rotate(45deg);
|
|
52
|
+
}
|
|
53
|
+
#hamburger-1 .bar-4,
|
|
54
|
+
#hamburger-1 .bar-5 {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
#hamburger {
|
|
2
|
+
position: relative;
|
|
3
|
+
float: left;
|
|
4
|
+
width: 30px;
|
|
5
|
+
height: 18px;
|
|
6
|
+
margin: 16px 0;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
#hamburger .bar{
|
|
10
|
+
position: absolute;
|
|
11
|
+
width: 30px;
|
|
12
|
+
height: 3px;
|
|
13
|
+
background: #ffffff;
|
|
14
|
+
}
|
|
15
|
+
#hamburger.thin {
|
|
16
|
+
height: 17px;
|
|
17
|
+
margin: 16.5px 0;
|
|
18
|
+
}
|
|
19
|
+
#hamburger.thin .bar {
|
|
20
|
+
height: 2px;
|
|
21
|
+
}
|
|
22
|
+
#hamburger.click .bar-1,
|
|
23
|
+
#hamburger.click .bar-2,
|
|
24
|
+
#hamburger.click .bar-3{
|
|
25
|
+
width: 0px;
|
|
26
|
+
}
|
|
27
|
+
#hamburger .bar-1 {
|
|
28
|
+
margin-top: 0;
|
|
29
|
+
transition: .2s;
|
|
30
|
+
}
|
|
31
|
+
#hamburger .bar-2 {
|
|
32
|
+
margin-top: 7.5px;
|
|
33
|
+
transition: .4s;
|
|
34
|
+
}
|
|
35
|
+
#hamburger .bar-3 {
|
|
36
|
+
margin-top: 15px;
|
|
37
|
+
transition: .6s;
|
|
38
|
+
}
|
|
39
|
+
#hamburger .bar-4,
|
|
40
|
+
#hamburger .bar-5{
|
|
41
|
+
left: 50%;
|
|
42
|
+
top: 50%;
|
|
43
|
+
width: 0;
|
|
44
|
+
transition-duration: .3s;
|
|
45
|
+
transition-delay: 0s;
|
|
46
|
+
}
|
|
47
|
+
#hamburger.click .bar-4,
|
|
48
|
+
#hamburger.click .bar-5{
|
|
49
|
+
width: 30px;
|
|
50
|
+
transition-duration: .3s;
|
|
51
|
+
transition-delay: .6s;
|
|
52
|
+
}
|
|
53
|
+
#hamburger .bar-4 {
|
|
54
|
+
transform: translate(-50%, -50%) rotate(45deg);
|
|
55
|
+
}
|
|
56
|
+
#hamburger .bar-5 {
|
|
57
|
+
transform: translate(-50%, -50%) rotate(-45deg);
|
|
58
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
header {
|
|
2
|
+
position: fixed;
|
|
3
|
+
width: 100%;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
height: var(--header-height);
|
|
7
|
+
padding: calc(var(--spacer) * 4) 0;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
|
|
10
|
+
z-index: 99;
|
|
11
|
+
}
|
|
12
|
+
header .content {
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
header .nav-list {
|
|
16
|
+
line-height: calc(var(--header-height) - (var(--spacer) * 8));
|
|
17
|
+
}
|
|
18
|
+
header .nav-list .nav {
|
|
19
|
+
position: relative;
|
|
20
|
+
float: left;
|
|
21
|
+
padding: 0 calc(var(--spacer) * 3);
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
}
|
|
24
|
+
header .nav-list .nav:first-child {
|
|
25
|
+
padding-left: 0;
|
|
26
|
+
}
|
|
27
|
+
header .nav-list .nav:last-child {
|
|
28
|
+
padding-right: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.scroll-line {
|
|
32
|
+
width: 2px;
|
|
33
|
+
height: 40px;
|
|
34
|
+
left: 50%;
|
|
35
|
+
transform: translateX(-50%);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.scroll-line:after {
|
|
39
|
+
content: '';
|
|
40
|
+
position: absolute;
|
|
41
|
+
float: left;
|
|
42
|
+
left: 0;
|
|
43
|
+
bottom: 0;
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: 100%;
|
|
46
|
+
background: #ffffff;
|
|
47
|
+
animation-name: scroll-line;
|
|
48
|
+
animation-duration: 1s;
|
|
49
|
+
animation-delay: .3s;
|
|
50
|
+
animation-iteration-count: infinite;
|
|
51
|
+
animation-direction: alternate;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes scroll-line {
|
|
55
|
+
from { height: 100%; }
|
|
56
|
+
to { height: 40%; }
|
|
57
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
#nav-mobile {
|
|
2
|
+
position: fixed;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: calc(100% - var(--header-height));
|
|
5
|
+
top: -100%;
|
|
6
|
+
margin-top: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
transition: .6s;
|
|
9
|
+
transition-delay: .6s;
|
|
10
|
+
z-index: 98;
|
|
11
|
+
}
|
|
12
|
+
#nav-mobile:before {
|
|
13
|
+
content: '';
|
|
14
|
+
position: fixed;
|
|
15
|
+
float: left;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
backdrop-filter: blur(7.5px) saturate(200%);
|
|
21
|
+
-webkit-backdrop-filter: blur(7.5px) saturate(200%);
|
|
22
|
+
background-color: rgba(0, 0, 0, .3);
|
|
23
|
+
opacity: 0;
|
|
24
|
+
transition: .3s;
|
|
25
|
+
transition-delay: .7s;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
#nav-mobile.show {
|
|
29
|
+
top: 0;
|
|
30
|
+
margin-top: var(--header-height);
|
|
31
|
+
opacity: 1;
|
|
32
|
+
transition-duration: .3s;
|
|
33
|
+
transition-delay: 0s;
|
|
34
|
+
}
|
|
35
|
+
#nav-mobile.show:before {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
transition-delay: 0s;
|
|
38
|
+
}
|
|
39
|
+
#nav-mobile .content {
|
|
40
|
+
padding: 40px;
|
|
41
|
+
max-height: calc(100% - 80px);
|
|
42
|
+
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
|
|
43
|
+
overflow: scroll;
|
|
44
|
+
}
|
|
45
|
+
#nav-mobile .nav-list {
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
#nav-mobile .nav-list .nav {
|
|
49
|
+
position: relative;
|
|
50
|
+
float: left;
|
|
51
|
+
width: 100%;
|
|
52
|
+
left: -100%;
|
|
53
|
+
padding: calc(var(--spacer) * 4) 0;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
transition: .3s;
|
|
56
|
+
}
|
|
57
|
+
#nav-mobile .nav-list .nav:first-child { padding-top: 0; }
|
|
58
|
+
#nav-mobile .nav-list .nav:last-child { padding-bottom: 0; }
|
|
59
|
+
#nav-mobile.show .nav-list .nav{ left: 0; }
|
|
60
|
+
#nav-mobile.show .nav-list .nav:nth-child(1) { transition-delay: .3s; }
|
|
61
|
+
#nav-mobile.show .nav-list .nav:nth-child(2) { transition-delay: .4s; }
|
|
62
|
+
#nav-mobile.show .nav-list .nav:nth-child(3) { transition-delay: .5s; }
|
|
63
|
+
#nav-mobile.show .nav-list .nav:nth-child(4) { transition-delay: .6s; }
|
|
64
|
+
#nav-mobile.show .nav-list .nav:nth-child(5) { transition-delay: .7s; }
|
|
65
|
+
#nav-mobile.show .nav-list .nav:nth-child(6) { transition-delay: .8s; }
|
|
66
|
+
#nav-mobile.show .nav-list .nav:nth-child(7) { transition-delay: .9s; }
|
|
67
|
+
#nav-mobile.show .nav-list .nav:nth-child(8) { transition-delay: 1s; }
|
|
68
|
+
#nav-mobile.show .nav-list .nav:nth-child(9) { transition-delay: 1.05s; }
|
|
69
|
+
#nav-mobile.show .nav-list .nav:nth-child(10) { transition-delay: 1.10s; }
|
|
70
|
+
#nav-mobile.show .nav-list .nav:nth-child(11) { transition-delay: 1.15s; }
|
|
71
|
+
#nav-mobile.show .nav-list .nav:nth-child(12) { transition-delay: 1.20s; }
|
|
72
|
+
#nav-mobile.show .nav-list .nav:nth-child(13) { transition-delay: 1.25s; }
|
|
73
|
+
#nav-mobile.show .nav-list .nav:nth-child(14) { transition-delay: 1.30s; }
|
|
74
|
+
#nav-mobile.show .nav-list .nav:nth-child(15) { transition-delay: 1.35s; }
|
|
75
|
+
#nav-mobile.show .nav-list .nav:nth-child(16) { transition-delay: 1.40s; }
|
|
76
|
+
#nav-mobile.show .nav-list .nav:nth-child(17) { transition-delay: 1.45s; }
|
|
77
|
+
#nav-mobile.show .nav-list .nav:nth-child(18) { transition-delay: 1.50s; }
|
|
78
|
+
#nav-mobile.show .nav-list .nav:nth-child(19) { transition-delay: 1.55s; }
|
|
79
|
+
#nav-mobile.show .nav-list .nav:nth-child(20) { transition-delay: 1.60s; }
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.wi-modal {
|
|
2
|
+
position: fixed;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
padding: 0;
|
|
6
|
+
backdrop-filter: blur(7.5px) saturate(200%);
|
|
7
|
+
-webkit-backdrop-filter: blur(7.5px) saturate(200%);
|
|
8
|
+
background-color: rgba(0, 0, 0, .3);
|
|
9
|
+
opacity: 0;
|
|
10
|
+
transition: .5s;
|
|
11
|
+
z-index: 100;
|
|
12
|
+
top: 0;
|
|
13
|
+
}
|
|
14
|
+
.wi-modal.wi-show {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
.wi-modal .wi-modal-content {
|
|
18
|
+
width: 90%;
|
|
19
|
+
top: -100%;
|
|
20
|
+
max-width: 500px;
|
|
21
|
+
border-radius: var(--modal-border-radius);
|
|
22
|
+
border-width: var(--modal-border-width);
|
|
23
|
+
border-color: var(--modal-border-color);
|
|
24
|
+
background: var(--modal-bg);
|
|
25
|
+
color: var(--modal-tx);
|
|
26
|
+
transition-delay: .5s;
|
|
27
|
+
transition: .5s;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
}
|
|
30
|
+
.wi-modal.wi-show .wi-modal-content {
|
|
31
|
+
top: 40px;
|
|
32
|
+
}
|
|
33
|
+
.wi-modal .wi-modal-header,
|
|
34
|
+
.wi-modal .wi-modal-body,
|
|
35
|
+
.wi-modal .wi-modal-footer {
|
|
36
|
+
width: calc(100% - 32px);
|
|
37
|
+
padding: 16px;
|
|
38
|
+
}
|
|
39
|
+
.wi-modal .wi-modal-body {
|
|
40
|
+
max-height: calc(100vh - (40px * 2) - (16px * 6) - 24px - 40px);
|
|
41
|
+
overflow: scroll;
|
|
42
|
+
}
|
|
43
|
+
.wi-modal .wi-modal-header {
|
|
44
|
+
border-bottom:var(--modal-border-width) solid var(--modal-border-color);
|
|
45
|
+
}
|
|
46
|
+
.wi-modal .wi-modal-footer {
|
|
47
|
+
border-top: var(--modal-border-width) solid var(--modal-border-color);
|
|
48
|
+
}
|
|
49
|
+
.wi-modal .wi-modal-header .wi-modal-title {
|
|
50
|
+
width: calc(100% - 20px);
|
|
51
|
+
font-size: 20px;
|
|
52
|
+
line-height: 24px;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
}
|
|
55
|
+
.wi-modal .wi-modal-header .wi-modal-close {
|
|
56
|
+
width: 20px;
|
|
57
|
+
height: 24px;
|
|
58
|
+
line-height: 24px;
|
|
59
|
+
font-size: 20px;
|
|
60
|
+
color: var(--modal-tx);
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
text-align: right;
|
|
63
|
+
opacity: .7;
|
|
64
|
+
transition: .3s;
|
|
65
|
+
}
|
|
66
|
+
.wi-modal .wi-modal-header .wi-modal-close:hover {
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
.wi-modal .wi-modal-form {
|
|
70
|
+
position: relative;
|
|
71
|
+
float: left;
|
|
72
|
+
width: 100%;
|
|
73
|
+
max-width: 100%;
|
|
74
|
+
padding: 0;
|
|
75
|
+
margin: 0;
|
|
76
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.spinner-border {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
width: 1em;
|
|
4
|
+
height: 1em;
|
|
5
|
+
vertical-align: -0.125em;
|
|
6
|
+
border-radius: 50%;
|
|
7
|
+
border: 2px solid currentColor;
|
|
8
|
+
border-right-color: transparent !important;
|
|
9
|
+
animation: 0.75s linear infinite spinner-border;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes spinner-border {
|
|
14
|
+
to { transform: rotate(360deg) }
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.spinner-grow {
|
|
18
|
+
display: inline-block;
|
|
19
|
+
width: 1em;
|
|
20
|
+
height: 1em;
|
|
21
|
+
vertical-align: -0.125em;
|
|
22
|
+
border-radius: 50%;
|
|
23
|
+
background: currentColor;
|
|
24
|
+
opacity: 0;
|
|
25
|
+
animation: 0.75s linear infinite spinner-grow;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@keyframes spinner-grow {
|
|
30
|
+
0% {
|
|
31
|
+
transform: scale(0);
|
|
32
|
+
}
|
|
33
|
+
50% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
transform: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
$FRONTEND = true;
|
|
4
|
+
$PRIVATE = false;
|
|
5
|
+
$PERMIT = [];
|
|
6
|
+
|
|
7
|
+
$ROOT = $_SERVER['DOCUMENT_ROOT'];
|
|
8
|
+
require_once $ROOT."/vendor/wonder-image/app/wonder-image.php";
|
|
9
|
+
|
|
10
|
+
header("Content-type: text/css");
|
|
11
|
+
|
|
12
|
+
$PC = "";
|
|
13
|
+
$TABLET = "";
|
|
14
|
+
$PHONE = "";
|
|
15
|
+
|
|
16
|
+
for ($i=0; $i <= 150; $i+=5) {
|
|
17
|
+
|
|
18
|
+
# Percentuale
|
|
19
|
+
$PC .= ".w-$i { width: $i% !important; }";
|
|
20
|
+
$PC .= ".max-w-$i { max-width: $i% !important; }";
|
|
21
|
+
$PC .= ".min-w-$i { min-width: $i% !important; }";
|
|
22
|
+
$PC .= ".h-$i { height: $i% !important; }";
|
|
23
|
+
$PC .= ".max-h-$i { max-height: $i% !important; }";
|
|
24
|
+
$PC .= ".min-h-$i { min-height: $i% !important; }";
|
|
25
|
+
|
|
26
|
+
# Viewport
|
|
27
|
+
$PC .= ".vw-$i { width: {$i}vw !important; }";
|
|
28
|
+
$PC .= ".max-vw-$i { max-width: {$i}vw !important; }";
|
|
29
|
+
$PC .= ".min-vw-$i { min-width: {$i}vw !important; }";
|
|
30
|
+
$PC .= ".vh-$i { height: {$i}vh !important; }";
|
|
31
|
+
$PC .= ".max-vh-$i { max-height: {$i}vh !important; }";
|
|
32
|
+
$PC .= ".min-vh-$i { min-height: {$i}vh !important; }";
|
|
33
|
+
|
|
34
|
+
# Percentuale
|
|
35
|
+
$TABLET .= ".w-t-$i { width: $i% !important; }";
|
|
36
|
+
$TABLET .= ".max-w-t-$i { max-width: $i% !important; }";
|
|
37
|
+
$TABLET .= ".min-w-t-$i { min-width: $i% !important; }";
|
|
38
|
+
$TABLET .= ".h-t-$i { height: $i% !important; }";
|
|
39
|
+
$TABLET .= ".max-h-t-$i { max-height: $i% !important; }";
|
|
40
|
+
$TABLET .= ".min-h-t-$i { min-height: $i% !important; }";
|
|
41
|
+
|
|
42
|
+
# Viewport
|
|
43
|
+
$TABLET .= ".vw-t-$i { width: {$i}vw !important; }";
|
|
44
|
+
$TABLET .= ".max-vw-t-$i { max-width: {$i}vw !important; }";
|
|
45
|
+
$TABLET .= ".min-vw-t-$i { min-width: {$i}vw !important; }";
|
|
46
|
+
$TABLET .= ".vh-t-$i { height: {$i}vh !important; }";
|
|
47
|
+
$TABLET .= ".max-vh-t-$i { max-height: {$i}vh !important; }";
|
|
48
|
+
$TABLET .= ".min-vh-t-$i { min-height: {$i}vh !important; }";
|
|
49
|
+
|
|
50
|
+
# Percentuale
|
|
51
|
+
$PHONE .= ".w-p-$i { width: $i% !important; }";
|
|
52
|
+
$PHONE .= ".max-w-p-$i { max-width: $i% !important; }";
|
|
53
|
+
$PHONE .= ".min-w-p-$i { min-width: $i% !important; }";
|
|
54
|
+
$PHONE .= ".h-p-$i { height: $i% !important; }";
|
|
55
|
+
$PHONE .= ".max-h-p-$i { max-height: $i% !important; }";
|
|
56
|
+
$PHONE .= ".min-h-p-$i { min-height: $i% !important; }";
|
|
57
|
+
|
|
58
|
+
# Viewport
|
|
59
|
+
$PHONE .= ".vw-p-$i { width: {$i}vw !important; }";
|
|
60
|
+
$PHONE .= ".max-vw-p-$i { max-width: {$i}vw !important; }";
|
|
61
|
+
$PHONE .= ".min-vw-p-$i { min-width: {$i}vw !important; }";
|
|
62
|
+
$PHONE .= ".vh-p-$i { height: {$i}vh !important; }";
|
|
63
|
+
$PHONE .= ".max-vh-p-$i { max-height: {$i}vh !important; }";
|
|
64
|
+
$PHONE .= ".min-vh-p-$i { min-height: {$i}vh !important; }";
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
echo "$PC";
|
|
69
|
+
echo "@media (max-width: 1000px) { $TABLET }";
|
|
70
|
+
echo "@media (max-width: 768px) { $PHONE }";
|
|
71
|
+
|
|
72
|
+
?>
|
|
73
|
+
.w-auto { width: auto !important; }
|
|
74
|
+
.w-fit { width: fit-content !important; }
|
|
75
|
+
|
|
76
|
+
.h-auto { height: auto !important; }
|
|
77
|
+
.h-fit { height: fit-content !important; }
|
|
78
|
+
|
|
79
|
+
@media (max-width: 1000px) {
|
|
80
|
+
.w-t-auto { width: auto !important; }
|
|
81
|
+
.w-t-fit { width: fit-content !important; }
|
|
82
|
+
|
|
83
|
+
.h-t-auto { height: auto !important; }
|
|
84
|
+
.h-t-fit { height: fit-content !important; }
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (max-width: 768px) {
|
|
88
|
+
.w-p-auto { width: auto !important; }
|
|
89
|
+
.w-p-fit { width: fit-content !important; }
|
|
90
|
+
|
|
91
|
+
.h-p-auto { height: auto !important; }
|
|
92
|
+
.h-p-fit { height: fit-content !important; }
|
|
93
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
$FRONTEND = true;
|
|
4
|
+
$PRIVATE = false;
|
|
5
|
+
$PERMIT = [];
|
|
6
|
+
|
|
7
|
+
$ROOT = $_SERVER['DOCUMENT_ROOT'];
|
|
8
|
+
require_once $ROOT."/vendor/wonder-image/app/wonder-image.php";
|
|
9
|
+
|
|
10
|
+
header("Content-type: text/css");
|
|
11
|
+
|
|
12
|
+
$PC = "";
|
|
13
|
+
$TABLET = "";
|
|
14
|
+
$PHONE = "";
|
|
15
|
+
|
|
16
|
+
for ($i=0; $i <= 12; $i++) {
|
|
17
|
+
|
|
18
|
+
$PC .= ".m-$i { margin: calc(var(--spacer) * $i) !important; }";
|
|
19
|
+
$PC .= ".mh-$i { margin: calc(var(--spacer) * $i) 0px !important; }";
|
|
20
|
+
$PC .= ".mw-$i { margin: 0px calc(var(--spacer) * $i) !important; }";
|
|
21
|
+
$PC .= ".mt-$i { margin-top: calc(var(--spacer) * $i) !important; }";
|
|
22
|
+
$PC .= ".mr-$i { margin-right: calc(var(--spacer) * $i) !important; }";
|
|
23
|
+
$PC .= ".mb-$i { margin-bottom: calc(var(--spacer) * $i) !important; }";
|
|
24
|
+
$PC .= ".ml-$i { margin-left: calc(var(--spacer) * $i) !important; }";
|
|
25
|
+
|
|
26
|
+
$TABLET .= ".m-t-$i { margin: calc(var(--spacer) * $i) !important; }";
|
|
27
|
+
$TABLET .= ".mh-t-$i { margin: calc(var(--spacer) * $i) 0px !important; }";
|
|
28
|
+
$TABLET .= ".mw-t-$i { margin: 0px calc(var(--spacer) * $i) !important; }";
|
|
29
|
+
$TABLET .= ".mt-t-$i { margin-top: calc(var(--spacer) * $i) !important; }";
|
|
30
|
+
$TABLET .= ".mr-t-$i { margin-right: calc(var(--spacer) * $i) !important; }";
|
|
31
|
+
$TABLET .= ".mb-t-$i { margin-bottom: calc(var(--spacer) * $i) !important; }";
|
|
32
|
+
$TABLET .= ".ml-t-$i { margin-left: calc(var(--spacer) * $i) !important; }";
|
|
33
|
+
$PHONE .= ".m-p-$i { margin: calc(var(--spacer) * $i) !important; }";
|
|
34
|
+
|
|
35
|
+
$PHONE .= ".mh-p-$i { margin: calc(var(--spacer) * $i) 0px !important; }";
|
|
36
|
+
$PHONE .= ".mw-p-$i { margin: 0px calc(var(--spacer) * $i) !important; }";
|
|
37
|
+
$PHONE .= ".mt-p-$i { margin-top: calc(var(--spacer) * $i) !important; }";
|
|
38
|
+
$PHONE .= ".mr-p-$i { margin-right: calc(var(--spacer) * $i) !important; }";
|
|
39
|
+
$PHONE .= ".mb-p-$i { margin-bottom: calc(var(--spacer) * $i) !important; }";
|
|
40
|
+
$PHONE .= ".ml-p-$i { margin-left: calc(var(--spacer) * $i) !important; }";
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
echo "$PC";
|
|
45
|
+
echo "@media (max-width: 1000px) { $TABLET }";
|
|
46
|
+
echo "@media (max-width: 768px) { $PHONE }";
|
|
47
|
+
|
|
48
|
+
?>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
$FRONTEND = true;
|
|
4
|
+
$PRIVATE = false;
|
|
5
|
+
$PERMIT = [];
|
|
6
|
+
|
|
7
|
+
$ROOT = $_SERVER['DOCUMENT_ROOT'];
|
|
8
|
+
require_once $ROOT."/vendor/wonder-image/app/wonder-image.php";
|
|
9
|
+
|
|
10
|
+
header("Content-type: text/css");
|
|
11
|
+
|
|
12
|
+
$PC = "";
|
|
13
|
+
$TABLET = "";
|
|
14
|
+
$PHONE = "";
|
|
15
|
+
|
|
16
|
+
for ($i=0; $i <= 12; $i++) {
|
|
17
|
+
|
|
18
|
+
$PC .= ".p-$i { padding: calc(var(--spacer) * $i) !important; box-sizing: border-box !important; }";
|
|
19
|
+
$PC .= ".ph-$i { padding-top: calc(var(--spacer) * $i) !important; padding-bottom: calc(var(--spacer) * $i) !important; }";
|
|
20
|
+
$PC .= ".pw-$i { padding-left: calc(var(--spacer) * $i) !important; padding-right: calc(var(--spacer) * $i) !important; }";
|
|
21
|
+
$PC .= ".pt-$i { padding-top: calc(var(--spacer) * $i) !important; }";
|
|
22
|
+
$PC .= ".pr-$i { padding-right: calc(var(--spacer) * $i) !important; }";
|
|
23
|
+
$PC .= ".pb-$i { padding-bottom: calc(var(--spacer) * $i) !important; }";
|
|
24
|
+
$PC .= ".pl-$i { padding-left: calc(var(--spacer) * $i) !important; }";
|
|
25
|
+
|
|
26
|
+
$TABLET .= ".p-t-$i { padding: calc(var(--spacer) * $i) !important; }";
|
|
27
|
+
$TABLET .= ".ph-t-$i { padding-top: calc(var(--spacer) * $i) !important; padding-bottom: calc(var(--spacer) * $i) !important; }";
|
|
28
|
+
$TABLET .= ".pw-t-$i { padding-left: calc(var(--spacer) * $i) !important; padding-right: calc(var(--spacer) * $i) !important; }";
|
|
29
|
+
$TABLET .= ".pt-t-$i { padding-top: calc(var(--spacer) * $i) !important; }";
|
|
30
|
+
$TABLET .= ".pr-t-$i { padding-right: calc(var(--spacer) * $i) !important; }";
|
|
31
|
+
$TABLET .= ".pb-t-$i { padding-bottom: calc(var(--spacer) * $i) !important; }";
|
|
32
|
+
$TABLET .= ".pl-t-$i { padding-left: calc(var(--spacer) * $i) !important; }";
|
|
33
|
+
|
|
34
|
+
$PHONE .= ".p-p-$i { padding: calc(var(--spacer) * $i) !important; }";
|
|
35
|
+
$PHONE .= ".ph-p-$i { padding-top: calc(var(--spacer) * $i) !important; padding-bottom: calc(var(--spacer) * $i) !important; }";
|
|
36
|
+
$PHONE .= ".pw-p-$i { padding-left: calc(var(--spacer) * $i) !important; padding-right: calc(var(--spacer) * $i) !important; }";
|
|
37
|
+
$PHONE .= ".pt-p-$i { padding-top: calc(var(--spacer) * $i) !important; }";
|
|
38
|
+
$PHONE .= ".pr-p-$i { padding-right: calc(var(--spacer) * $i) !important; }";
|
|
39
|
+
$PHONE .= ".pb-p-$i { padding-bottom: calc(var(--spacer) * $i) !important; }";
|
|
40
|
+
$PHONE .= ".pl-p-$i { padding-left: calc(var(--spacer) * $i) !important; }";
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
echo "$PC";
|
|
45
|
+
echo "@media (max-width: 1000px) { $TABLET }";
|
|
46
|
+
echo "@media (max-width: 768px) { $PHONE }";
|
|
47
|
+
|
|
48
|
+
?>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
html, body {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: 0;
|
|
5
|
+
margin: 0;
|
|
6
|
+
font-family: var(--font-family);
|
|
7
|
+
font-weight: var(--font-weight);
|
|
8
|
+
font-size: var(--font-size);
|
|
9
|
+
line-height: var(--line-height);
|
|
10
|
+
background: var(--bg-color);
|
|
11
|
+
color: var(--tx-color);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body.block-scroll {
|
|
15
|
+
overflow: hidden
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
header,
|
|
19
|
+
footer,
|
|
20
|
+
header div,
|
|
21
|
+
header img,
|
|
22
|
+
footer div,
|
|
23
|
+
footer img,
|
|
24
|
+
section div,
|
|
25
|
+
section img,
|
|
26
|
+
section table {
|
|
27
|
+
position: relative;
|
|
28
|
+
float: left;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
section table {
|
|
32
|
+
border-collapse: collapse;
|
|
33
|
+
}
|
|
34
|
+
section table th,
|
|
35
|
+
section table td {
|
|
36
|
+
padding: 0 !important;
|
|
37
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
function alertContainer() {
|
|
2
|
+
|
|
3
|
+
if (document.querySelector('.alert-container')) {
|
|
4
|
+
|
|
5
|
+
var container = document.querySelector('.alert-container');
|
|
6
|
+
|
|
7
|
+
}else{
|
|
8
|
+
|
|
9
|
+
var container = document.createElement('div');
|
|
10
|
+
container.classList.add('alert-container');
|
|
11
|
+
container.classList.add('p-f');
|
|
12
|
+
container.classList.add('top');
|
|
13
|
+
container.classList.add('start');
|
|
14
|
+
container.classList.add('w-100');
|
|
15
|
+
container.classList.add('h-100');
|
|
16
|
+
container.classList.add('no-interaction');
|
|
17
|
+
container.style.zIndex = "1000";
|
|
18
|
+
|
|
19
|
+
document.body.insertBefore(container, document.body.firstChild);
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return container;
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function alertToast(alert) {
|
|
28
|
+
|
|
29
|
+
var container = alertContainer();
|
|
30
|
+
|
|
31
|
+
if (alert == 801) {
|
|
32
|
+
|
|
33
|
+
container.innerHTML += NO_INTERNET_ALERT;
|
|
34
|
+
|
|
35
|
+
} else {
|
|
36
|
+
|
|
37
|
+
$.ajax({
|
|
38
|
+
type: "POST",
|
|
39
|
+
url: pathApp+'/api/alert.php',
|
|
40
|
+
data: {
|
|
41
|
+
post: 'true',
|
|
42
|
+
frontend: 'true',
|
|
43
|
+
alert: alert
|
|
44
|
+
},
|
|
45
|
+
success: function (data) {
|
|
46
|
+
|
|
47
|
+
container.innerHTML += data;
|
|
48
|
+
|
|
49
|
+
var url = new URL(window.location.href);
|
|
50
|
+
url.searchParams.delete('alert');
|
|
51
|
+
window.history.replaceState(null, null, url);
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
setTimeout(() => {
|
|
59
|
+
document.querySelectorAll('.wi-alert.wi-show').forEach(element => {
|
|
60
|
+
element.classList.remove('wi-show');
|
|
61
|
+
});
|
|
62
|
+
}, 4000);
|
|
63
|
+
|
|
64
|
+
}
|