2021-09-16 12:16:21 +00:00
|
|
|
.wp-block-woocommerce-checkout {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.with-scroll-to-top__scroll-point {
|
|
|
|
top: -96px;
|
|
|
|
}
|
Update the border colors in the Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/11474)
* Change border color to Gutenberg 100 for Cart and Checkout blocks
* Change form input color to Gutenberg 900 for Cart and Checkout blocks
* Fix additional border colors of Checkout block
* Update borders and form field colors in Cart Block
* Change border color to $universal-border-light
* Change border color for cart line items to $universal-border-light
* Change form input fields border color to $universal-border-dark
- Add $universal-border-dark color variable for woocommerce/woocommerce-blocks#1e1e1e on white.
* Fix colors of text area border and form steps
* Change form input fields border color to $universal-border-dark
- Add $universal-border-dark color variable for woocommerce/woocommerce-blocks#1e1e1e on white.
* Fix form steps
* Update universal dark border rgba value
- Update universal dark border rgba value from rgba(0, 0, 0, 0.882) to rgba(17, 17, 17, .80) to keep it consistent with universal-border colors
* Update $universal-border-light color
* Update the opacity of the borders
* Update the border color to rgba (17, 17, 17, 0.12)
* Roll back $universal-border-light value to the original value: 0.115
* Remove Opacity and pass it as argument in with-translucent-border
- We have with-translucent-border option that accepts border and opacity for pseudo elements.
* Remove additional spaces
* Replace with-translucent-border with normal border
- Since we're are not mixing the opacity to the border color so we don't need to use mixin with-translucent-border.
* Fix applied css and add low contrast Color usage details
- Fix minor CSS as per the standards.
- Add comments for universal border colors that they're low contrast colors and should be used for decorative elements only
* Fix border gap and double border for multiple shipping packages
* Fix payment method borders and Cart line items borders
- Change border bottom to border-top for cart line items.
- Fix payment method radio control borders.
* Fix local pickup border
- Local pickup was using with-translucent-borders so it has some opacity, changed it to border-bottom.
* Add border-bottom to cart items
* Remove additional border from Cart items
* Fix radio and checkbox borders as per the design
* Fix shipping method borders and background color as per the design.
* Force align left on the description for the local pickup options.
* Update border color in quantity selector component
* Fix Shipping options radio selection alignment
- Add left padding to wc-block-components-shipping-rates-control__package element.
* Update colors and variables
* Change checkbox and radio button colors
- Change checkbox and radio button colors from rgba(25, 23, 17, 0.3) to rgba(25, 23, 17, 0.48).
* Remove bottom property from express payment style
2023-12-07 17:37:48 +00:00
|
|
|
.wc-block-components-shipping-rates-control__package {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2021-09-16 12:16:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-woocommerce-checkout.is-loading {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0 auto $gap;
|
|
|
|
position: relative;
|
|
|
|
.wp-block-woocommerce-checkout-totals-block {
|
|
|
|
width: 35%;
|
2022-03-28 13:00:20 +00:00
|
|
|
padding-left: math.percentage(math.div($gap-large, 1060px));
|
2021-09-16 12:16:21 +00:00
|
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-fields-block {
|
|
|
|
width: 65%;
|
2022-03-28 13:00:20 +00:00
|
|
|
padding-right: math.percentage(math.div($gap-largest, 1060px)); // ~1060px is the default width of the content area in Storefront.
|
2021-09-16 12:16:21 +00:00
|
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-totals-block,
|
|
|
|
.wp-block-woocommerce-checkout-fields-block {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
@include placeholder();
|
|
|
|
margin: 0 0 1.5em 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-contact-information-block,
|
|
|
|
.wp-block-woocommerce-checkout-payment-block {
|
|
|
|
min-height: 10em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-shipping-address-block {
|
|
|
|
min-height: 24em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-actions-block {
|
|
|
|
width: 50%;
|
|
|
|
min-height: 4em;
|
|
|
|
margin-left: 50%;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-order-summary-block {
|
|
|
|
min-height: 47em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.wc-block-components-panel > h2 {
|
|
|
|
@include font-size(regular);
|
|
|
|
@include reset-box();
|
2023-04-21 20:11:10 +00:00
|
|
|
@include reset-color();
|
2021-09-16 12:16:21 +00:00
|
|
|
@include reset-typography();
|
|
|
|
.wc-block-components-panel__button {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wc-block-components-totals-item,
|
|
|
|
.wc-block-components-panel {
|
|
|
|
padding-left: $gap;
|
|
|
|
padding-right: $gap;
|
|
|
|
}
|
2023-04-21 20:11:10 +00:00
|
|
|
.wc-block-components-totals-coupon-link {
|
|
|
|
margin-left: $gap;
|
|
|
|
margin-right: $gap;
|
|
|
|
}
|
2021-09-16 12:16:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// Skeleton is shown before mobile classes are appended.
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
|
|
.wp-block-woocommerce-checkout.is-loading {
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0 auto $gap;
|
|
|
|
|
|
|
|
.wp-block-woocommerce-checkout-fields-block {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.wp-block-woocommerce-checkout-totals-block {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
.wc-block-components-totals-item,
|
|
|
|
.wc-block-components-panel {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2023-04-21 20:11:10 +00:00
|
|
|
.wc-block-components-totals-coupon-link {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2021-09-16 12:16:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// For Twenty Twenty we need to increase specificity a bit more.
|
|
|
|
.theme-twentytwenty .wp-block-woocommerce-checkout.is-loading {
|
|
|
|
.wp-block-woocommerce-checkout-totals-block .wc-block-components-panel > h2 {
|
|
|
|
@include font-size(large);
|
|
|
|
@include reset-box();
|
|
|
|
}
|
|
|
|
}
|