Add support for setting-based payment method dependencies

This commit is contained in:
Daniel Dudzic 2025-03-03 14:26:08 +01:00
parent 6fc9aad4ea
commit e8be67d286
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
19 changed files with 563 additions and 201 deletions

View file

@ -93,6 +93,29 @@
}
}
.ppcp-r-payment-methods {
.ppcp-highlight {
animation: ppcp-highlight-fade 2s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid $color-blueberry;
border-radius: var(--container-border-radius);
position: relative;
z-index: 1;
}
@keyframes ppcp-highlight-fade {
0%, 20% {
background-color: rgba($color-blueberry, 0.08);
border-color: $color-blueberry;
border-width: 1px;
}
100% {
background-color: transparent;
border-color: $color-gray-300;
border-width: 1px;
}
}
}
// Disabled state styling.
.ppcp--method-item--disabled {
position: relative;