first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
/* Payment & Shipping Methods */
.active-payments-main.widefat {
border-collapse: collapse;
overflow: hidden;
width: auto;
}
.active-payments-main.widefat th {
color: #32373c;
}
.active-payments-main.widefat td,
.active-payments-main.widefat th {
border: 1px solid #e5e5e5;
}
.active-payments-main.widefat td,
.active-payments-main.widefat thead th {
text-align: center;
}
.active-payments-main.widefat input[type="number"] {
padding: 3px 5px;
width: 100px;
}
.active-payments-main.widefat tr.shipping-zone {
background-color: #f9f9f9;
}
.active-payments-main.widefat .hover {
background-color: #fefbcc;
}
.active-payments-main.widefat tfoot {
border-top: 2px solid #e5e5e5;
}
/* Fees */
.active-payments-fees.widefat td.title {
font-weight: bold;
padding: 0 10px;
vertical-align: middle;
}
.active-payments-fees.widefat .checkbox {
text-align: center;
vertical-align: middle;
}
.active-payments-fees.widefat td p {
margin: 0;
}
/* Settings */
.active-payments .metabox-holder {
float: left;
}
.stuffbox .inside {
padding: 10px;
}

View File

@@ -0,0 +1 @@
.active-payments-main.widefat{border-collapse:collapse;overflow:hidden;width:auto}.active-payments-main.widefat th{color:#32373c}.active-payments-main.widefat td,.active-payments-main.widefat th{border:1px solid #e5e5e5}.active-payments-main.widefat td,.active-payments-main.widefat thead th{text-align:center}.active-payments-main.widefat input[type="number"]{padding:3px 5px;width:100px}.active-payments-main.widefat tr.shipping-zone{background-color:#f9f9f9}.active-payments-main.widefat .hover{background-color:#fefbcc}.active-payments-main.widefat tfoot{border-top:2px solid #e5e5e5}.active-payments-fees.widefat td.title{font-weight:bold;padding:0 10px;vertical-align:middle}.active-payments-fees.widefat .checkbox{text-align:center;vertical-align:middle}.active-payments-fees.widefat td p{margin:0}.active-payments .metabox-holder{float:left}.stuffbox .inside{padding:10px}

View File

@@ -0,0 +1,19 @@
(function ($) {
$(function () {
$(".active-payments-main").delegate('td', 'mouseover mouseleave', function (e) {
if (e.type == 'mouseover') {
$(this).parent().addClass("hover");
$("colgroup").eq($(this).index()).addClass("hover");
} else {
$(this).parent().removeClass("hover");
$("colgroup").eq($(this).index()).removeClass("hover");
}
});
});
})(jQuery);
jQuery(document).ready(function () {
jQuery('input[to_number=1]').each(function () {
jQuery(this).attr('type', 'number');
});
});

View File

@@ -0,0 +1 @@
(function(a){a(function(){a(".active-payments-main").delegate("td","mouseover mouseleave",function(b){if(b.type=="mouseover"){a(this).parent().addClass("hover");a("colgroup").eq(a(this).index()).addClass("hover")}else{a(this).parent().removeClass("hover");a("colgroup").eq(a(this).index()).removeClass("hover")}})})})(jQuery);jQuery(document).ready(function(){jQuery("input[to_number=1]").each(function(){jQuery(this).attr("type","number")})});

View File

@@ -0,0 +1,7 @@
jQuery( function( $ ) {
"use strict";
$('body').on('change', 'input[name="payment_method"]', function() {
$('body').trigger('update_checkout');
});
});

View File

@@ -0,0 +1 @@
jQuery(function(a){a("body").on("change",'input[name="payment_method"]',function(){a("body").trigger("update_checkout")})});