2025-01-24 17:01:03 +01:00
|
|
|
// Grid layout.
|
|
|
|
.ppcp-r-settings-block.ppcp--grid > .ppcp--content {
|
|
|
|
--block-separator-gap: 0;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
gap: 16px;
|
|
|
|
|
|
|
|
@media screen and (max-width: 767px) {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
2024-10-29 12:39:44 +01:00
|
|
|
}
|
|
|
|
|
2025-01-24 17:01:03 +01:00
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Theming & visual styles.
|
|
|
|
.ppcp-r-settings-block__payment-methods {
|
|
|
|
.ppcp-r-settings-block {
|
2024-11-21 11:38:01 +01:00
|
|
|
display: flex;
|
2024-12-08 09:33:49 +01:00
|
|
|
align-items: flex-start;
|
|
|
|
border: 1px solid $color-gray-300;
|
2025-01-24 17:01:03 +01:00
|
|
|
border-radius: var(--container-border-radius);
|
2024-12-08 09:33:49 +01:00
|
|
|
padding: 16px;
|
|
|
|
min-height: 200px;
|
2024-10-29 12:39:44 +01:00
|
|
|
|
2025-01-24 17:01:03 +01:00
|
|
|
.ppcp--method-inner {
|
2024-12-08 09:33:49 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2024-10-29 12:39:44 +01:00
|
|
|
|
2025-01-24 17:01:03 +01:00
|
|
|
.ppcp--method-title-wrapper {
|
2024-12-08 09:33:49 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0 0 8px 0;
|
|
|
|
gap: 12px;
|
|
|
|
}
|
|
|
|
|
2025-01-24 17:01:03 +01:00
|
|
|
.ppcp--method-description {
|
2024-12-08 09:33:49 +01:00
|
|
|
p {
|
2025-01-24 17:01:03 +01:00
|
|
|
@include font(13, 20, 400);
|
2024-12-08 09:33:49 +01:00
|
|
|
margin: 0;
|
|
|
|
color: $color-text-tertiary;
|
|
|
|
}
|
2024-11-21 11:38:01 +01:00
|
|
|
|
2024-12-08 09:33:49 +01:00
|
|
|
margin: 0 0 12px 0;
|
2024-11-21 11:38:01 +01:00
|
|
|
}
|
|
|
|
|
2025-01-24 17:01:03 +01:00
|
|
|
.ppcp--method-title {
|
2024-12-08 09:33:49 +01:00
|
|
|
@include font(13, 20, 500);
|
|
|
|
color: $color-black;
|
|
|
|
display: block;
|
|
|
|
}
|
2024-11-21 11:38:01 +01:00
|
|
|
|
2025-01-24 17:01:03 +01:00
|
|
|
.ppcp--method-settings {
|
2025-01-24 17:06:15 +01:00
|
|
|
padding: 0;
|
2024-12-08 09:33:49 +01:00
|
|
|
transition: 0.2s ease-out transform;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
zoom: 1.005;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-01-27 10:55:17 +01:00
|
|
|
.ppcp--method-icon {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
2024-12-08 09:33:49 +01:00
|
|
|
button.is-secondary {
|
|
|
|
@include small-button;
|
|
|
|
}
|
|
|
|
|
2025-01-24 17:01:03 +01:00
|
|
|
.ppcp--method-footer {
|
2024-12-08 09:33:49 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
2024-11-21 11:38:01 +01:00
|
|
|
}
|
2024-10-29 12:39:44 +01:00
|
|
|
}
|