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,225 @@
.bm-settings-banner {
border: 1px solid #c3c4c7;
position: relative;
font-size: 15px;
padding: 10px;
margin: 5px 0 15px;
background-color: white;
&-title {
padding: 5px;
background: #f0f0f1;
font-size: 15px;
font-weight: bold;
margin: 0px 0px 15px 0px;
}
&-row {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
margin: 0px 0px 15px 0px;
.bm-settings-banner-image {
width: 100px;
height: 100%;
margin: 0px 70px 0px 0px;
}
span a,
span span a {
text-decoration: none;
color: #0068B4;
}
.banner-txt {
margin-right: 55px;
height: 40px;
> a span ,
> span:last-child {
padding-left: 25px;
}
&-icon {
font-size: 15px;
margin: 0px 15px 0px 0px;
font-weight: bolder;
}
}
}
&-row-iconBox {
display: flex;
flex-direction: row;
justify-content: space-around;
margin: 0px 0px 15px 0px;
border-top: 1px solid #c3c4c7;
.bm-settings-banner-icon-box {
display: flex;
align-items: center;
justify-content: center;
height: 100px;
margin: 0px 10px 0px 0px;
a {
margin-left: 5px;
text-decoration: none;
color: #0068B4;
}
span {
font-size: 14px;
&:first-child {
align-items: center;
display: flex;
border: 2px solid #0068B4;
border-radius: 50%;
width: 20px;
padding: 10px;
margin: 0px 10px 0px 0px;
height: 20px;
justify-content: center;
}
}
}
}
}
.bm-modalbackground {
position: relative;
}
.bm-modal-content {
padding: 0px 30px 30px 30px;
display: none;
position: fixed;
width: 33.333% !important;
top: 20% !important;
left: 33.3333% !important;
background: white !important;
z-index: 2 !important;
.bm-close {
font-size: 40px;
margin: 5px;
right: 0;
position: absolute;
cursor: pointer;
}
p {
font-weight: bold;
font-size: 15px;
margin: 20px 0px;
}
}
.bm-modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.25);
z-index: 1;
&.active {
display: block !important;
}
}
/* label text under the radio buttons start */
label[for=no], label[for=yes] {
top: 37px;
position: absolute;
@media screen and (max-width: 782px) {
top: 46px;
}
}
input#yes[name="woocommerce_bluemedia_testmode"] {
margin-right: 20px;
}
/* label text under the radio buttons end */
.p-info {
margin-left: 234px;
display: block;
}
.woocommerce table.form-table {
th label .woocommerce-help-tip {
margin: 0px 0px 1px 4px !important;
position: relative !important;
right: unset !important;
top: unset !important;
}
}
.bm-settings-channel-list {
.bm-payment-channels-wrapper {
ul.woocommerce-shipping-methods {
> div {
> li {
> ul {
.bm-group-name {
display: block;
font-weight: bolder;
margin-bottom: 5px;
flex: 1 0 100%;
}
> li {
display: flex;
align-items: center;
column-gap: 10px;
.bm-payment-channel-method-logo img {
width: 75px;
}
}
}
}
&.bm-group-przelew-internetowy {
margin-bottom: 1em;
> li > ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px;
> li {
> .bm-payment-channel-method-logo img {
width: 60px !important;
height: 30px;
object-fit: cover;
}
.bm-inside-expandable-group {
display: none;
}
}
}
}
}
}
}
}
.bm_settings_no_form {
> h2,
> p,
> table {
display: none;
}
}

View File

@@ -0,0 +1,295 @@
#payment ul.wc_payment_methods {
.payment_method_bluemedia {
img {
width: 100px;
height: 80px;
object-fit: contain;
}
}
> li.wc_payment_method.payment_method_bluemedia {
img {
float: unset !important;
max-height: unset !important;
box-sizing: border-box;
}
> label {
display: inline-flex;
align-items: center;
> img {
margin-left: 15px;
}
}
> .payment_box.payment_method_bluemedia {
.payment_box.payment_method_bacs {
padding: 0;
> .bm-payment-channels-wrapper {
ul.woocommerce-shipping-methods {
display: grid;
grid-template-areas:
"blik"
"carts"
"pbl"
"wallets"
"fr"
"installment";
grid-template-rows: auto;
grid-auto-columns: auto;
> div {
margin: 8px 0;
> li {
> ul {
margin-left: 0;
li.bm-payment-channel {
&-item,
&-group-item {
padding: 5px;
border: 1px solid transparent !important;
&.selected,
&.bm-selected-group {
border: 1px solid #87ca8d !important;
}
> label {
display: flex;
align-items: center;
column-gap: 5px;
cursor: pointer;
font-size: .9em;
text-indent: initial;
min-height: 100px;
@media only screen and (max-width: 375px) {
min-height: 75px;
}
> input {
&[type="radio"] {
cursor: pointer;
margin-left: 0;
max-width: 1.5em;
}
}
.bm-payment-channel-method-logo,
.bm-payment-channel-group-method-logo {
display: initial;
height: unset;
max-width: 90px;
width: 100%;
}
.bm-payment-channel-method-name,
.bm-payment-channel-group-method-name {
word-wrap: break-word;
}
}
> span.bm-payment-channel-method-desc {
display: none;
font-size: .9em;
}
}
&-item {
&.selected {
grid-template-areas: "input label"
". desc";
> span.bm-payment-channel-method-desc {
display: block;
grid-area: desc;
margin-top: 5px;
}
}
}
}
}
}
&.bm-group {
&-blik {
grid-area: blik;
.bm-blik {
&-overlay {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9999;
background-color: rgba(255, 255, 255, 1);
border: #CCC5C5 1px solid;
border-radius: 10px;
box-shadow: 5px 5px 10px;
color: #CCC5C5;
font-size: 33px;
padding: 1.3em;
max-width: 600px;
width: 80vw;
p {
text-align: center;
&::after {
content: "";
display: block;
background-image: url("https://platnosci.bm.pl/pomoc/grafika/509.gif");
background-size: cover;
background-position: center center;
margin: 10px auto 0;
height: 55px;
width: 123px;
}
span {
display: inline-block;
&.bm-blik-overlay-status {
font-weight: bold;
&--success {
color: #0e7b17;
}
&--process {
color: #CCC5C5;
}
&--error {
color: #A7301F;
}
}
}
}
}
&-code-wrapper {
> * {
display: block;
}
input {
margin-right: 0;
width: 100%;
}
}
}
}
&-karta-platnicza,
&-platnosc-karta {
grid-area: carts;
}
&-portfel-elektroniczny,
&-przelew-internetowy {
grid-area: wallets;
}
&-pbl {
grid-area: pbl;
}
&-raty-online {
grid-area: installment;
}
&-szybki-przelew {
grid-area: fr;
}
&-apple-pay {
display: none;
}
&-expandable {
.bm-group-expandable-wrapper {
display: none;
flex-wrap: wrap;
gap: 5px;
&.active {
display: flex;
}
> li {
display: block;
position: relative;
width: auto;
> label {
display: block;
margin: 0;
min-height: unset;
@media only screen and (max-width: 375px) {
min-height: unset;
}
> input {
&[type="radio"] {
display: block !important;
height: 100%;
width: 100%;
margin-right: 0;
position: absolute;
top: 0;
left: 0;
opacity: 0;
z-index: 2;
}
}
.bm-payment-channel-method-logo {
width: 65px;
height: 65px;
object-fit: contain;
margin-left: auto;
margin-right: auto;
min-height: unset;
}
> p {
display: none;
}
}
> span.bm-payment-channel-method-desc {
margin-top: 0 !important;
}
}
}
}
}
}
}
}
}
}
}
}
/* Compatibility with Astra theme - start */
body.theme-astra {
.woocommerce-checkout #payment .payment_method_bluemedia img {
margin: 0;
}
.payment_box.payment_method_bluemedia > .bm-payment-channels-wrapper {
margin-left: 0;
}
.woocommerce .woocommerce-checkout #payment ul.wc_payment_methods li.payment_method_bluemedia ul#shipping_method li {
padding-left: 0;
}
}
/* Compatibility with Astra theme - end */