first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,206 @@
h2 a:hover,
h3 a.nav-tab:hover {
text-decoration: none
}
@font-face {
font-family: Raleway;
font-style: normal;
font-weight: 400;
src: local('Raleway'), local('Raleway-Regular'), url(https://fonts.gstatic.com/s/raleway/v11/0dTEPzkLWceF7z0koJaX1A.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000
}
.form-table th { width: 400px; }
.btn-group > .btn.active,
.input-group .form-control {
z-index: auto
}
body {
font-family: "Open Sans", sans-serif;
background-color: #f1f1f1
}
.container_title,
.steps,
h2,
label {
font-family: Raleway
}
.wrap {
float: left;
width: 70%;
margin-right: 3%
}
h2 {
font-weight: 400
}
.btn-icon {
height: 50px
}
.control-label {
text-align: right;
padding: 15px 10px 10px 0;
height: 50px
}
.margin-10 {
margin-top: 10px
}
.icon-style-rect-1 .ndd-icon-main-element {
width: 44px;
height: 44px;
border-radius: 8px;
background: rgba(0, 0, 0, .2)
}
input[type=color] {
padding: 0;
width: 50px
}
.tab-pane {
width: 90%;
padding-top: 10px
}
.input-group {
width: 200px;
margin-top: 5px;
}
.btn-group-no-margin {
margin-left: -15px!important
}
input[type=checkbox] {
margin-top: 0
}
.tooltip-inner {
width: 150px;
background-color: #000;
opacity: .8
}
.tooltip-arrow {
opacity: .8
}
.panel-default {
margin-top: 8px
}
#right_column_metaboxes {
width: 25%;
float: left;
margin-top: 70px
}
.main_container {
background-color: #fff;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 2px 1px -1px #ccc
}
.container_title {
border-radius: 5px 5px 0 0;
background: #474747
}
h3 {
margin-top: 0!important;
padding: 16px 16px 16px 20px;
text-align: center;
color: #fff;
font-size: 1.3em;
margin: 1em 0
}
.form-horizontal .form-group {
margin-left: 0;
margin-right: 0;
}
h2 {
font-size: 26px!important
}
h2 a {
color: #23282d
}
h2 a:hover {
color: #0073aa
}
h2 img {
margin-bottom: 4px
}
h3 .nav-tab {
font-size: 14px;
line-height: 22px;
padding: 10px 15px;
border-radius: 4px 4px 0 0;
font-weight: 400
}
.form-table th {
font-weight: normal;
text-align: right;
}
a.nav-tab:focus,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:active { outline: none; -webkit-box-shadow: none;box-shadow: none;text-decoration: none;}
#wpbody-content .metabox-holder p,
.steps,
label {
font-size: 15px
}
.form-horizontal {
padding: 20px
}
.form-horizontal .form-group {
margin-left: 0;
margin-right: 0
}
.form-group.disabled label,
.form-group.disabled-short label {
color: grey
}
#demo {
border: 1px solid #ccc
}
.steps {
margin-bottom: 4px
}
.steps .steps_nr {
font-weight: 700;
padding-right: 8px;
color: #EF3D4A
}
.dashicons-yes {
color: green
}
.image_zoom_promo {
background-color: #bc1117;
border: 5px double #fff;
text-align: center;
margin: 5px auto;
width: 96%;
border-radius: 10px;
opacity: 1!important
}
.input-group.input-group-checkbox {
width: 20px
}
.form-horizontal {
float: left;
width: 100%
}
label {
font-weight: 400
}
.tooltip-inner {
width:150px;
}
#alert_messages {
width: 100%;
float: left;
}
.form-group > .col-sm-7 {
padding-left: 0;
}
.form-group .input-group-text {
width: auto;
}
input[type="checkbox"] {
width: 1.4rem;
height: 1.4rem;
border-radius: 0;
line-height: 2rem;
padding-left: 0.1rem !important;
}

View File

@@ -0,0 +1,268 @@
/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.23, autoprefixer: v9.7.3) */
.wpmc-tabs-wrapper {
width: 100%;
display: block;
margin: 0 auto;
}
.wpmc-tabs-wrapper .wpmc-tabs-list {
background: #f9f9f9;
margin: 0;
padding: 0 !important;
}
.wpmc-tabs-wrapper .wpmc-tab-item {
font-size: 13px !important;
line-height: 13px !important;
text-align: center;
text-transform: uppercase;
position: relative;
display: table-cell;
float: left;
padding-top: 0px;
padding-bottom: 47px;
-webkit-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
width: 25%;
margin-left: 0;
margin-right: 0;
}
.wpmc-1-tabs .wpmc-tab-item {
width: 100%;
}
.wpmc-tabs-list.wpmc-2-tabs .wpmc-tab-item {
width: 50%;
}
.wpmc-tabs-list.wpmc-3-tabs .wpmc-tab-item {
width: 33%;
}
.wpmc-tabs-list.wpmc-4-tabs .wpmc-tab-item {
width: 25%;
}
.wpmc-tabs-list.wpmc-5-tabs .wpmc-tab-item {
width: 20%;
}
.wpmc-tabs-list.wpmc-6-tabs .wpmc-tab-item {
width: 16.6%;
}
.wpmc-tabs-wrapper .wpmc-tab-item:before {
display: block;
content: "";
border-bottom: 2px solid transparent;
height: 0;
position: absolute;
top: 0px;
left: 0;
right: 0;
-webkit-transition: border-color 0.3s;
-o-transition: border-color 0.3s;
transition: border-color 0.3s;
}
.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-number {
display: inline-block;
line-height: 28px;
text-align: center;
vertical-align: middle;
width: 30px;
min-width: 30px;
min-height: 30px;
height: 30px;
margin-top: -14px;
color: #999;
background: #fff;
border-radius: 50%;
position: relative;
-webkit-transition: color 0.3s, background 0.3s;
-o-transition: color 0.3s, background 0.3s;
transition: color 0.3s, background 0.3s;
font-size: 16px;
font-weight: 400;
font-family: Arial, Helvetica, sans-serif;
}
.wpmc-tabs-wrapper .wpmc-tab-item .number-text {
-webkit-transition: color 0.3s;
-o-transition: color 0.3s;
transition: color 0.3s;
}
.wpmc-tabs-wrapper .wpmc-tab-text {
display: none;
font-size: 13px;
line-height: 1.25;
font-weight: normal;
letter-spacing: 0.3px;
text-transform: capitalize;
padding-top: 8px;
white-space: nowrap;
position: absolute;
top: 15px;
width: 100%;
text-align: center;
}
.wpmc-tab-item:first-child .wpmc-tab-text {
position: absolute;
}
.wpmc-tab-item:last-child .wpmc-tab-text {
position: absolute;
left: auto;
-webkit-transform: translate(0,0);
-ms-transform: translate(0,0);
transform: translate(0,0);
}
@media screen and (min-width: 767px) {
.wpmc-tabs-wrapper .wpmc-tabs-list {
display: block;
}
.wpmc-tabs-wrapper .wpmc-tab-item {
display: block;
vertical-align: top;
padding-bottom: 20px;
}
.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-text {
display: block;
position: relative;
top: auto;
left: auto;
right: auto;
}
.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-number {
margin-top: -14px;
}
}
@media screen and (min-width: 1200px) {
.wpmc-tabs-wrapper .wpmc-tab-text {
font-size: 13px;
}
}
.wpmc-tabs-wrapper .wpmc-nav-text {
color: #555;
}
.wpmc-tabs-wrapper .wpmc-nav-text a {
color: #e23636;
}
.wpmc-tabs-wrapper .wpmc-nav-text,
.wpmc-tabs-wrapper .wpmc-nav-buttons {
border-color: #d9d9d9;
}
.woocommerce-checkout .wpmc-tabs-wrapper form label.error {
color: #e23636 !important;
}
.wpmc-tabs-wrapper .wpmc-tabs-list {
font-weight: 600;
}
.wpmc-tabs-wrapper .wpmc-tab-item {
color: #aaa;
}
.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-number {
color: #000;
background: #fff;
border: 1px solid #ccc;
}
.wpmc-tabs-wrapper .wpmc-tab-item.current {
color: #000;
}
.wpmc-tabs-wrapper .wpmc-tab-item.current .wpmc-tab-number {
color: #000;
background: #fff;
border: 2px solid #ccc;
}
.wpmc-tabs-wrapper .wpmc-tab-item.current .wpmc-tab-text {
display: block;
}
.wpmc-tabs-wrapper .wpmc-tab-item:before {
border-bottom-color: #c9c9c9;
}
.wpmc-tabs-wrapper .wpmc-tab-item.visited:before {
border-bottom-color: #000;
}
.wpmc-tabs-wrapper .wpmc-tab-item .number-text {
top: 1px;
}
.wpmc-tabs-wrapper .tab-completed-icon {
top: 2px;
}
.wpmc-nav-wrapper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
margin-top: 1em;
width: calc( 100% + 4px );
clear: both;
}
button#wpmc-back-to-cart, .wpmc-no-back-to-cart #wpmc-prev {
margin-right: auto;
}
.wpmc-nav-wrapper button.wpmc-nav-button {
margin-right: 2px !important;
margin-left: 2px !important;
}
.wpmc-nav-wrapper button#wpmc-prev, .wpmc-nav-wrapper button#wpmc-next, .wpmc-nav-wrapper button#wpmc-skip-login {
display: none !important;
}
.wpmc-nav-wrapper button#wpmc-prev.current, .wpmc-nav-wrapper button#wpmc-next.current, .wpmc-nav-wrapper button#wpmc-skip-login.current {
display: inline-block !important;
}
.wpmc-step-item {
display: none !important;
}
.wpmc-step-item.current {
display: block !important;
}
.woocommerce-checkout form.login .wc-social-login {
display: block !important;
}
.wpmc-step-item #order_review,
.wpmc-step-item #order_review_heading {
width: 100% !important;
}
@-moz-document url-prefix() {
.sq-input {
height: 60px !important;
}
}

View File

@@ -0,0 +1 @@
.wpmc-tabs-wrapper{width:100%;display:block;margin:0 auto}.wpmc-tabs-wrapper .wpmc-tabs-list{background:#f9f9f9;margin:0;padding:0 !important}.wpmc-tabs-wrapper .wpmc-tab-item{font-size:13px !important;line-height:13px !important;text-align:center;text-transform:uppercase;position:relative;display:table-cell;float:left;padding-top:0;padding-bottom:47px;-webkit-transition:all .3s ease 0s;-o-transition:all .3s ease 0s;transition:all .3s ease 0s;width:25%;margin-left:0;margin-right:0}.wpmc-1-tabs .wpmc-tab-item{width:100%}.wpmc-tabs-list.wpmc-2-tabs .wpmc-tab-item{width:50%}.wpmc-tabs-list.wpmc-3-tabs .wpmc-tab-item{width:33%}.wpmc-tabs-list.wpmc-4-tabs .wpmc-tab-item{width:25%}.wpmc-tabs-list.wpmc-5-tabs .wpmc-tab-item{width:20%}.wpmc-tabs-list.wpmc-6-tabs .wpmc-tab-item{width:16.6%}.wpmc-tabs-wrapper .wpmc-tab-item:before{display:block;content:"";border-bottom:2px solid transparent;height:0;position:absolute;top:0;left:0;right:0;-webkit-transition:border-color .3s;-o-transition:border-color .3s;transition:border-color .3s}.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-number{display:inline-block;line-height:28px;text-align:center;vertical-align:middle;width:30px;min-width:30px;min-height:30px;height:30px;margin-top:-14px;color:#999;background:#fff;border-radius:50%;position:relative;-webkit-transition:color .3s,background .3s;-o-transition:color .3s,background .3s;transition:color .3s,background .3s;font-size:16px;font-weight:400;font-family:Arial,Helvetica,sans-serif}.wpmc-tabs-wrapper .wpmc-tab-item .number-text{-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.wpmc-tabs-wrapper .wpmc-tab-text{display:none;font-size:13px;line-height:1.25;font-weight:normal;letter-spacing:.3px;text-transform:capitalize;padding-top:8px;white-space:nowrap;position:absolute;top:15px;width:100%;text-align:center}.wpmc-tab-item:first-child .wpmc-tab-text{position:absolute}.wpmc-tab-item:last-child .wpmc-tab-text{position:absolute;left:auto;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}@media screen and (min-width:767px){.wpmc-tabs-wrapper .wpmc-tabs-list{display:block}.wpmc-tabs-wrapper .wpmc-tab-item{display:block;vertical-align:top;padding-bottom:20px}.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-text{display:block;position:relative;top:auto;left:auto;right:auto}.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-number{margin-top:-14px}}@media screen and (min-width:1200px){.wpmc-tabs-wrapper .wpmc-tab-text{font-size:13px}}.wpmc-tabs-wrapper .wpmc-nav-text{color:#555}.wpmc-tabs-wrapper .wpmc-nav-text a{color:#e23636}.wpmc-tabs-wrapper .wpmc-nav-text,.wpmc-tabs-wrapper .wpmc-nav-buttons{border-color:#d9d9d9}.woocommerce-checkout .wpmc-tabs-wrapper form label.error{color:#e23636 !important}.wpmc-tabs-wrapper .wpmc-tabs-list{font-weight:600}.wpmc-tabs-wrapper .wpmc-tab-item{color:#aaa}.wpmc-tabs-wrapper .wpmc-tab-item .wpmc-tab-number{color:#000;background:#fff;border:1px solid #ccc}.wpmc-tabs-wrapper .wpmc-tab-item.current{color:#000}.wpmc-tabs-wrapper .wpmc-tab-item.current .wpmc-tab-number{color:#000;background:#fff;border:2px solid #ccc}.wpmc-tabs-wrapper .wpmc-tab-item.current .wpmc-tab-text{display:block}.wpmc-tabs-wrapper .wpmc-tab-item:before{border-bottom-color:#c9c9c9}.wpmc-tabs-wrapper .wpmc-tab-item.visited:before{border-bottom-color:#000}.wpmc-tabs-wrapper .wpmc-tab-item .number-text{top:1px}.wpmc-tabs-wrapper .tab-completed-icon{top:2px}.wpmc-nav-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:1em;width:calc(100% + 4px);clear:both}button#wpmc-back-to-cart,.wpmc-no-back-to-cart #wpmc-prev{margin-right:auto}.wpmc-nav-wrapper button.wpmc-nav-button{margin-right:2px !important;margin-left:2px !important}.wpmc-nav-wrapper button#wpmc-prev,.wpmc-nav-wrapper button#wpmc-next,.wpmc-nav-wrapper button#wpmc-skip-login{display:none !important}.wpmc-nav-wrapper button#wpmc-prev.current,.wpmc-nav-wrapper button#wpmc-next.current,.wpmc-nav-wrapper button#wpmc-skip-login.current{display:inline-block !important}.wpmc-step-item{display:none !important}.wpmc-step-item.current{display:block !important}.woocommerce-checkout form.login .wc-social-login{display:block !important}.wpmc-step-item #order_review,.wpmc-step-item #order_review_heading{width:100% !important}@-moz-document url-prefix(){.sq-input{height:60px !important}}

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 24 24"
version="1.1"
id="svg1033"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="checkout-cart.svg">
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-273)">
<g
style="fill:#ffffff"
id="g3086"
transform="matrix(0.03767392,0,0,0.03767392,0.46573382,273.46571)">
<g
style="fill:#ffffff"
id="g3088">
<g
style="fill:#ffffff"
id="g3090">
<path
id="path3092"
d="M 187.57,359.458 H 548.465 L 612.321,131.524 H 518.348 L 484.608,27.304 343.9,72.916 l 19.244,58.608 h -6.623 l -34.74,-104.22 -140.709,45.612 19.244,58.608 H 125.088 L 109.468,69.042 C 101.595,37.801 74.353,15.683 42.987,15.683 H 0 V 41.8 h 42.987 c 19.494,0 36.489,12.996 41.738,32.616 l 69.105,270.421 c -14.246,10.247 -23.618,26.992 -23.618,46.112 0,31.241 26.117,57.358 57.358,57.358 H 539.343 V 422.19 H 187.57 c -16.995,0 -31.241,-14.371 -31.241,-31.241 0.001,-17.12 14.371,-31.491 31.241,-31.491 z M 467.739,59.795 491.232,130.15 H 389.637 L 375.266,89.787 Z m -162.828,0 23.493,70.355 H 226.809 L 212.438,89.787 Z m 273.546,96.472 -49.486,177.199 H 177.198 L 131.586,156.268 Z"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
<path
id="path3094"
d="m 424.751,487.171 c -29.991,0 -54.734,24.743 -54.734,54.734 0,29.991 24.743,54.734 54.734,54.734 31.241,0 54.734,-24.743 54.734,-54.734 10e-4,-29.991 -24.742,-54.734 -54.734,-54.734 z m 0,84.725 c -16.995,0 -29.991,-14.371 -29.991,-29.991 0,-16.995 14.371,-29.991 29.991,-29.991 16.995,0 29.991,12.996 29.991,29.991 10e-4,16.995 -14.37,29.991 -29.991,29.991 z"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
<path
id="path3096"
d="m 224.06,487.171 c -29.991,0 -54.734,24.743 -54.734,54.734 0,29.991 24.743,54.734 54.734,54.734 29.991,0 54.734,-24.743 54.734,-54.734 0,-29.991 -24.743,-54.734 -54.734,-54.734 z m 0,84.725 c -16.995,0 -29.991,-14.371 -29.991,-29.991 0,-16.995 14.371,-29.991 29.991,-29.991 15.62,0 29.991,12.996 29.991,29.991 0,16.995 -14.371,29.991 -29.991,29.991 z"
inkscape:connector-curvature="0"
style="fill:#ffffff" />
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
height="14"
width="14"
version="1.0"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="question_mark.svg">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1094"
inkscape:window-height="675"
id="namedview6"
showgrid="false"
inkscape:zoom="19.47"
inkscape:cx="11.241964"
inkscape:cy="1.3867488"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg2" />
<g
id="layer1"
transform="matrix(0.05392912,0,0,0.05598356,1.607088,1.401644)">
<path
id="path2413"
d="M 100,0 C 44.8,0 0,44.8 0,100 0,155.2 44.8,200 100,200 155.2,200 200,155.2 200,100 200,44.8 155.2,0 100,0 z m 0,12.812 c 48.13,0 87.19,39.058 87.19,87.188 0,48.13 -39.06,87.19 -87.19,87.19 C 51.87,187.19 12.812,148.13 12.812,100 12.812,51.87 51.87,12.812 100,12.812 z m 1.47,21.25 c -5.45,0.03 -10.653,0.737 -15.282,2.063 -4.699,1.346 -9.126,3.484 -12.876,6.219 -3.238,2.362 -6.333,5.391 -8.687,8.531 -4.159,5.549 -6.461,11.651 -7.063,18.687 -0.04,0.468 -0.07,0.868 -0.062,0.876 0.016,0.016 21.702,2.687 21.812,2.687 0.053,0 0.113,-0.234 0.282,-0.937 1.941,-8.085 5.486,-13.521 10.968,-16.813 4.32,-2.594 9.808,-3.612 15.778,-2.969 2.74,0.295 5.21,0.96 7.38,2 2.71,1.301 5.18,3.361 6.94,5.813 1.54,2.156 2.46,4.584 2.75,7.312 0.08,0.759 0.05,2.48 -0.03,3.219 -0.23,1.826 -0.7,3.378 -1.5,4.969 -0.81,1.597 -1.48,2.514 -2.76,3.812 -2.03,2.077 -5.18,4.829 -10.78,9.407 -3.6,2.944 -6.04,5.156 -8.12,7.343 -4.943,5.179 -7.191,9.069 -8.564,14.719 -0.905,3.72 -1.256,7.55 -1.156,13.19 0.025,1.4 0.062,2.73 0.062,2.97 v 0.43 h 21.598 l 0.03,-2.4 c 0.03,-3.27 0.21,-5.37 0.56,-7.41 0.57,-3.27 1.43,-5 3.94,-7.81 1.6,-1.8 3.7,-3.76 6.93,-6.47 4.77,-3.991 8.11,-6.99 11.26,-10.125 4.91,-4.907 7.46,-8.26 9.28,-12.187 1.43,-3.092 2.22,-6.166 2.46,-9.532 0.06,-0.816 0.07,-3.03 0,-3.968 -0.45,-7.043 -3.1,-13.253 -8.15,-19.032 -0.8,-0.909 -2.78,-2.887 -3.72,-3.718 -4.96,-4.394 -10.69,-7.353 -17.56,-9.094 -4.19,-1.062 -8.23,-1.6 -13.35,-1.75 -0.78,-0.023 -1.59,-0.036 -2.37,-0.032 z m -10.908,103.6 v 22 h 21.998 v -22 H 90.562 z"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

View File

@@ -0,0 +1,16 @@
jQuery(document).ready(function( $ ){
$('#wpmc-main_color').wpColorPicker();
$('[data-toggle="tooltip"]').tooltip();
toggle_wpml();
$('#t_wpml').on( 'change', toggle_wpml );
function toggle_wpml() {
var all_text = '#t_login, #t_billing, #t_shipping, #t_order, #t_payment, #t_back_to_cart, #t_skip_login, #t_previous, #t_next';
if ($('#t_wpml').is(':checked') ) {
$(all_text).prop('disabled', true);
} else {
$(all_text).prop('disabled', false);
}
}
});

View File

@@ -0,0 +1,306 @@
jQuery(window).ready(function($){
"use strict";
var wpmc_checkout = {
$tabs : $( '.wpmc-tab-item' ),
$sections : $( '.wpmc-step-item' ),
$buttons : $( '.wpmc-nav-button' ),
$checkout_form : $( 'form.woocommerce-checkout' ),
$coupon_form : $( '#checkout_coupon' ),
$before_form : $( '#woocommerce_before_checkout_form' ),
current_step : $( 'ul.wpmc-tabs-list' ).data( 'current-title' ),
init: function() {
var self = this;
// add the "wpmc_switch_tab" trigger
$( '.woocommerce-checkout' ).on( 'wpmc_switch_tab', function( event, theIndex) {
self.switch_tab( theIndex );
});
$( '.wpmc-step-item:first' ).addClass( 'current' );
// Click on "next" button
$( '#wpmc-next, #wpmc-skip-login').on( 'click', function() {
self.switch_tab( self.current_index() + 1);
});
// Click on "previous" button
$( '#wpmc-prev' ).on( 'click', function() {
self.switch_tab( self.current_index() - 1);
});
// After submit, switch tabs where the invalid fields are
$( document ).on( 'checkout_error', function() {
if ( ! $( '#createaccount' ).is( ':checked') ) {
$( '#account_password_field, #account_username_field' ).removeClass( 'woocommerce-invalid-required-field' );
}
if ( ! $( '#ship-to-different-address-checkbox' ).is( ':checked' ) ) {
$( '.woocommerce-shipping-fields__field-wrapper p' ).removeClass( 'woocommerce-invalid-required-field' );
}
var section_class = $( '.woocommerce-invalid-required-field' ).closest( '.wpmc-step-item' ).attr( 'class' );
$( '.wpmc-step-item' ).each( function( i ) {
if ( $( this ).attr( 'class' ) === section_class ) {
self.switch_tab(i)
}
})
});
// Compatibility with Super Socializer
if ( $( '.the_champ_sharing_container' ).length > 0 ) {
$( '.the_champ_sharing_container' ).insertAfter( $( this ).parent().find( '#checkout_coupon' ) );
}
// Prevent form submission on Enter
$( '.woocommerce-checkout' ).on( 'keydown', function( e ) {
if ( e.which === 13 && ! $('.woocommerce-checkout textarea').is(':focus') ) {
e.preventDefault();
return false;
}
});
// "Back to Cart" button
$( '#wpmc-back-to-cart' ).on( 'click', function() {
window.location.href = $( this ).data( 'href' );
});
// Switch tabs with <- and -> keyboard arrows
if ( WPMC.keyboard_nav === '1' ) {
$( document ).on( 'keydown', function ( e ) {
var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0;
if ( key === 39 ) {
self.switch_tab( self.current_index() + 1 );
}
if ( key === 37 ) {
self.switch_tab( self.current_index() - 1 );
}
});
}
// Change tab if the hash #step-0 is present in the URL
if ( typeof window.location.hash != 'undefined' && window.location.hash ) {
changeTabOnHash( window.location.hash );
}
$( window ).on( 'hashchange', function() {
changeTabOnHash( window.location.hash )
} );
function changeTabOnHash( hash ) {
if ( /step-[0-9]/.test( hash ) ) {
var step = hash.match( /step-([0-9])/ )[1];
self.switch_tab( step );
}
}
// select2
if ( typeof $(this).selectWoo !== 'undefined' ) {
self.wc_country_select_select2();
$( document.body ).on( 'country_to_state_changed', function() {
self.wc_country_select_select2();
});
}
// "Please log in" link.
$( document.body ).on( 'click', 'a.showlogin-wmsc', function(e) {
e.preventDefault();
self.switch_tab( 0 );
});
// customizations
self.customizations();
},
current_index: function() {
return this.$sections.index( this.$sections.filter( '.current' ) );
},
scroll_top: function() {
// scroll to top
if ( $( '.wpmc-tabs-wrapper' ).length === 0 ) {
return;
}
var diff = $( '.wpmc-tabs-wrapper' ).offset().top - $( window ).scrollTop();
var scroll_offset = 70;
if ( typeof WPMC.scroll_top !== 'undefined' ) {
scroll_offset = WPMC.scroll_top;
}
if ( diff < -40 ) {
$( 'html, body' ).animate({
scrollTop: $( '.wpmc-tabs-wrapper' ).offset().top - scroll_offset,
}, 800);
}
},
switch_tab: function( theIndex ) {
var self = this;
$( '.woocommerce-checkout' ).trigger( 'wpmc_before_switching_tab' );
if ( theIndex < 0 || theIndex > this.$sections.length - 1 ) {
return false;
}
this.scroll_top();
$( 'html, body' ).promise().done( function() {
self.$tabs.removeClass( 'previous' ).filter( '.current' ).addClass( 'previous' );
self.$sections.removeClass( 'previous' ).filter( '.current' ).addClass( 'previous' );
$( '.woocommerce-NoticeGroup-checkout:not(wpmc-error)' ).show();
// Change the tab
self.$tabs.removeClass( 'current' );
self.$tabs.eq( theIndex ).addClass( 'current' );
self.current_step = self.$tabs.eq( theIndex ).data( 'step-title' );
$( '.wpmc-tabs-list' ).data( 'current-title', self.current_step );
// Change the section
self.$sections.removeClass( 'current' );
self.$sections.eq( theIndex ).addClass( 'current' );
// Which buttons to show?
self.$buttons.removeClass( 'current' );
self.$coupon_form.hide();
self.$before_form.hide();
// Show "next" button
if ( theIndex < self.$sections.length - 1 ) {
$( '#wpmc-next' ).addClass( 'current' );
}
// Remove errors from previous steps
if ( typeof $( '.woocommerce-NoticeGroup-checkout' ).data( 'for-step' ) !== 'undefined' && $( '.woocommerce-NoticeGroup-checkout' ).data( 'for-step' ) !== self.current_step ) {
$( '.woocommerce-NoticeGroup-checkout' ).remove();
}
// Show "skip login" button
if ( theIndex === 0 && $( '.wpmc-step-login' ).length > 0 ) {
$( '#wpmc-skip-login').addClass( 'current' );
$( '#wpmc-next' ).removeClass( 'current' );
$( '.woocommerce-NoticeGroup-checkout:not(wpmc-error)' ).hide();
}
// Last section
if ( theIndex === self.$sections.length - 1 ) {
$( '#wpmc-prev' ).addClass( 'current' );
$( '#wpmc-submit' ).addClass( 'current' );
self.$checkout_form.removeClass( 'processing' ).unblock();
}
// Show "previous" button
if ( theIndex != 0 ) {
$( '#wpmc-prev' ).addClass( 'current' );
}
if ( $( '.wpmc-step-review.current' ).length > 0 ) {
self.$coupon_form.show();
}
if ( $( '.wpmc-' + self.$before_form.data( 'step' ) + '.current' ).length > 0 ) {
self.$before_form.show();
}
$( '.woocommerce-checkout' ).trigger( 'wpmc_after_switching_tab' );
});
},
wc_country_select_select2: function() {
var self = this;
$( 'select.country_select:not(visible), select.state_select:not(visible)' ).each( function() {
var $this = $( this );
var select2_args = $.extend({
placeholder: $this.attr( 'data-placeholder' ) || $this.attr( 'placeholder' ) || '',
label: $this.attr( 'data-label' ) || null,
width: '100%'
}, self.getEnhancedSelectFormatString() );
$( this )
.on( 'select2:select', function() {
$( this ).trigger( 'focus' ); // Maintain focus after select https://github.com/select2/select2/issues/4384
} )
.selectWoo( select2_args );
});
},
getEnhancedSelectFormatString: function() {
return {
'language': {
errorLoading: function() {
// Workaround for https://github.com/select2/select2/issues/4355 instead of i18n_ajax_error.
return wc_country_select_params.i18n_searching;
},
inputTooLong: function( args ) {
var overChars = args.input.length - args.maximum;
if ( 1 === overChars ) {
return wc_country_select_params.i18n_input_too_long_1;
}
return wc_country_select_params.i18n_input_too_long_n.replace( '%qty%', overChars );
},
inputTooShort: function( args ) {
var remainingChars = args.minimum - args.input.length;
if ( 1 === remainingChars ) {
return wc_country_select_params.i18n_input_too_short_1;
}
return wc_country_select_params.i18n_input_too_short_n.replace( '%qty%', remainingChars );
},
loadingMore: function() {
return wc_country_select_params.i18n_load_more;
},
maximumSelected: function( args ) {
if ( args.maximum === 1 ) {
return wc_country_select_params.i18n_selection_too_long_1;
}
return wc_country_select_params.i18n_selection_too_long_n.replace( '%qty%', args.maximum );
},
noResults: function() {
return wc_country_select_params.i18n_no_matches;
},
searching: function() {
return wc_country_select_params.i18n_searching;
}
}
};
},
customizations: function() {
if ( WPMC.hide_last_prev === '1' ) {
$('.woocommerce-checkout').on('wpmc_after_switching_tab', function() {
$('#wpmc-prev').css('visibility', $('.wpmc-tabs-wrapper li.wpmc-tab-item:last-child').hasClass('current') ? 'hidden' : 'visible');
});
}
if ( WPMC.hide_last_back_to_cart === '1' ) {
$('.woocommerce-checkout').on('wpmc_after_switching_tab', function() {
$('#wpmc-back-to-cart').css('visibility', $('.wpmc-tabs-wrapper li.wpmc-tab-item:last-child').hasClass('current') ? 'hidden' : 'visible');
});
}
if ( WPMC.skip_login_above_form === '1' ) {
if ( $('.wpmc-login.current').length === 1 ) {
$('.wpmc-steps-wrapper').before( $('.wpmc-nav-wrapper'));
}
$('.woocommerce-checkout').on('wpmc_after_switching_tab', function() {
if ( $('.wpmc-login.current').length === 1 ) {
$('.wpmc-steps-wrapper').before( $('.wpmc-nav-wrapper'));
} else {
$('.wpmc-steps-wrapper').after( $('.wpmc-nav-wrapper'));
}
});
}
if ( WPMC.skip_login_next_to_login_button === '1' ) {
$('.woocommerce-form-login__submit').after($('#wpmc-skip-login'));
$('#wpmc-skip-login').css('margin-left', '7px');
}
}
}
wpmc_checkout.init();
});

File diff suppressed because one or more lines are too long