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

63 lines
1.5 KiB
SCSS

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