woocommerce/plugins/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-shipping-method-block/style.scss

56 lines
1.2 KiB
SCSS
Raw Normal View History

.wc-block-checkout__shipping-method-container {
2022-10-04 12:02:28 +00:00
width: 100%;
display: flex;
gap: $gap;
justify-content: space-between;
}
.edit-post-visual-editor .wc-block-checkout__shipping-method-option,
.wc-block-checkout__shipping-method-option {
2022-10-04 12:02:28 +00:00
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
min-height: 80px;
flex-basis: 0;
gap: 4px;
padding: 16px 12px;
color: inherit;
background-color: transparent;
border: none;
box-shadow: none !important;
2022-10-04 12:02:28 +00:00
outline: 1px solid currentColor;
border-radius: 0 !important;
&.components-button:hover:not(:disabled),
&.components-button:focus:not(:disabled),
&:focus,
&:hover {
background-color: #d5d5d5;
border-color: #d5d5d5;
color: #333;
}
&.wc-block-checkout__shipping-method-option--selected {
outline: 3px solid currentColor;
2022-10-04 12:02:28 +00:00
}
}
.wc-block-checkout__shipping-method-option-icon {
2022-10-04 12:02:28 +00:00
fill: currentColor;
}
.wc-block-checkout__shipping-method-option-title {
2022-10-04 12:02:28 +00:00
@include font-size(regular, 1rem);
font-weight: bold;
}
.wc-block-checkout__shipping-method-option-price {
2022-10-04 12:02:28 +00:00
@include font-size(small, 1rem);
em {
text-transform: uppercase;
font-style: inherit;
}
2022-10-04 12:02:28 +00:00
}