Adds missing property declarations to the WC_Alipay class to resolve deprecated warnings in PHP 8.2 and above. Also refactors the class to use explicit property declarations and minor code style improvements for better compatibility and maintainability.
174 lines
No EOL
3.6 KiB
CSS
Executable file
174 lines
No EOL
3.6 KiB
CSS
Executable file
@font-face {
|
|
font-family: 'Font Awesome 5 Brands';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: url("../fonts/fa-brands-400.eot");
|
|
src: url("../fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../fonts/fa-brands-400.woff2") format("woff2"), url("../fonts/fa-brands-400.woff") format("woff"), url("../fonts/fa-brands-400.ttf") format("truetype"), url("../fonts/fa-brands-400.svg#fontawesome") format("svg");
|
|
}
|
|
|
|
.fab {
|
|
font-family: 'Font Awesome 5 Brands';
|
|
}
|
|
|
|
.payment_method_alipay span.alipay:before {
|
|
content:"\f642";
|
|
font-family: 'Font Awesome 5 Brands';
|
|
}
|
|
|
|
.payment_method_alipay span.alipay {
|
|
color: #0e9dec;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.wooalipay-loader {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #fff;
|
|
z-index: 999999;
|
|
}
|
|
|
|
.wooalipay-loader-inner {
|
|
position: absolute;
|
|
display: inline-block;
|
|
opacity: 1;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%,-50%);
|
|
}
|
|
|
|
.wooalipay-loader-description {
|
|
margin-top: 80px;
|
|
font-size: 12px;
|
|
color: #1890ff;
|
|
font-family: Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;
|
|
}
|
|
|
|
.ant-spin {
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
font-size: 14px;
|
|
font-variant: tabular-nums;
|
|
line-height: 1.5;
|
|
list-style: none;
|
|
-webkit-font-feature-settings: 'tnum';
|
|
font-feature-settings: 'tnum';
|
|
position: absolute;
|
|
display: none;
|
|
color: #1890ff;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
opacity: 0;
|
|
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
}
|
|
|
|
.ant-spin-spinning {
|
|
position: absolute;
|
|
display: inline-block;
|
|
opacity: 1;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%,-50%);
|
|
}
|
|
|
|
.ant-spin-dot {
|
|
position: relative;
|
|
display: inline-block;
|
|
font-size: 20px;
|
|
width: 1em;
|
|
height: 1em;
|
|
}
|
|
|
|
.ant-spin-dot-item {
|
|
position: absolute;
|
|
display: block;
|
|
width: 9px;
|
|
height: 9px;
|
|
background-color: #1890ff;
|
|
border-radius: 100%;
|
|
-webkit-transform: scale(0.75);
|
|
-ms-transform: scale(0.75);
|
|
transform: scale(0.75);
|
|
-webkit-transform-origin: 50% 50%;
|
|
-ms-transform-origin: 50% 50%;
|
|
transform-origin: 50% 50%;
|
|
opacity: 0.3;
|
|
-webkit-animation: antSpinMove 1s infinite linear alternate;
|
|
animation: antSpinMove 1s infinite linear alternate;
|
|
}
|
|
|
|
.ant-spin-dot-item:nth-child(1) {
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.ant-spin-dot-item:nth-child(2) {
|
|
top: 0;
|
|
right: 0;
|
|
-webkit-animation-delay: 0.4s;
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.ant-spin-dot-item:nth-child(3) {
|
|
right: 0;
|
|
bottom: 0;
|
|
-webkit-animation-delay: 0.8s;
|
|
animation-delay: 0.8s;
|
|
}
|
|
|
|
.ant-spin-dot-item:nth-child(4) {
|
|
bottom: 0;
|
|
left: 0;
|
|
-webkit-animation-delay: 1.2s;
|
|
animation-delay: 1.2s;
|
|
}
|
|
|
|
.ant-spin-dot-spin {
|
|
-webkit-transform: rotate(45deg);
|
|
-ms-transform: rotate(45deg);
|
|
transform: rotate(45deg);
|
|
-webkit-animation: antRotate 1.2s infinite linear;
|
|
animation: antRotate 1.2s infinite linear;
|
|
}
|
|
|
|
.ant-spin-lg .ant-spin-dot {
|
|
font-size: 32px;
|
|
}
|
|
.ant-spin-lg .ant-spin-dot i {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
@-webkit-keyframes antSpinMove {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes antSpinMove {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes antRotate {
|
|
to {
|
|
-webkit-transform: rotate(405deg);
|
|
transform: rotate(405deg);
|
|
}
|
|
}
|
|
|
|
@keyframes antRotate {
|
|
to {
|
|
-webkit-transform: rotate(405deg);
|
|
transform: rotate(405deg);
|
|
}
|
|
} |