woocommerce/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/shipping-rates-control/style.scss

75 lines
1.4 KiB
SCSS
Raw Normal View History

.wc-block-shipping-rates-control__package-title {
font-weight: bold;
}
.wc-block-shipping-rates-control__package-items {
color: $core-grey-dark-400;
display: block;
font-size: 0.875em;
list-style: none;
margin: 0 0 $gap-small;
padding: 0;
}
.wc-block-shipping-rates-control__package-item {
display: inline-block;
margin: 0;
padding: 0;
}
.wc-block-shipping-rates-control__package-item:not(:last-child)::after {
content: ", ";
white-space: pre;
}
.wc-block-cart__shipping-address,
.wc-block-cart__shipping-address button {
color: $core-grey-dark-400;
}
.components-notice.wc-block-shipping-rates-control__no-results-notice {
margin-bottom: $gap;
}
// Resets when it's inside a panel.
.wc-block-shipping-rates-control {
.wc-block-shipping-rates-control__package.components-panel__body {
border-bottom: none;
&,
&.is-opened {
padding-bottom: 0;
}
.components-panel__body-title {
margin-bottom: 0;
}
.components-panel__body-toggle {
padding-bottom: 14px;
padding-top: 14px;
}
.wc-block-shipping-rates-control__package-title {
font-weight: normal;
}
.wc-block-shipping-rates-control__package-items {
margin: 0;
}
.wc-block-radio-control {
width: 100%;
}
.wc-block-radio-control__option {
margin-right: 0;
max-width: none;
&:first-child {
border-top: 1px solid $core-grey-light-600;
}
}
}
}