woocommerce/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/style.scss

49 lines
942 B
SCSS
Raw Normal View History

.wc-block-component-express-checkout {
margin: auto;
border: 2px solid $black;
border-radius: 5px;
padding: 8px;
.wc-block-component-express-checkout__title {
position: relative;
background-color: $white;
padding-left: $gap-small;
padding-right: $gap-small;
margin-top: -24px;
margin-left: $gap-small;
margin-bottom: $gap-small;
color: $black;
font-weight: bold;
display: inline-block;
vertical-align: middle;
}
.wc-block-component-express-checkout__content {
padding: 0 $gap-large;
}
.wc-block-component-express-checkout-payment-event-buttons {
list-style: none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
padding: 0;
margin: 0 0 $gap;
overflow: hidden;
> li {
display: inline-block;
width: 50%;
> img {
width: 100%;
}
}
> li:nth-child(even) {
padding-left: $gap-smaller;
}
> li:nth-child(odd) {
padding-right: $gap-smaller;
}
}
}