2020-08-31 10:17:42 +00:00
|
|
|
.wc-block-components-form {
|
2020-03-04 15:13:38 +00:00
|
|
|
counter-reset: checkout-step;
|
|
|
|
}
|
|
|
|
|
2020-08-31 10:17:42 +00:00
|
|
|
.wc-block-components-form .wc-block-components-checkout-step {
|
2019-12-06 13:18:55 +00:00
|
|
|
position: relative;
|
2020-01-13 15:21:20 +00:00
|
|
|
border: none;
|
2023-05-22 07:03:50 +00:00
|
|
|
padding: 0 0 0 $gap-larger;
|
2020-01-13 15:21:20 +00:00
|
|
|
background: none;
|
|
|
|
margin: 0;
|
2020-04-03 13:17:09 +00:00
|
|
|
|
2021-09-10 14:04:42 +00:00
|
|
|
.is-mobile &,
|
|
|
|
.is-small & {
|
|
|
|
padding-left: 0;
|
2020-11-20 10:44:24 +00:00
|
|
|
}
|
2019-12-06 13:18:55 +00:00
|
|
|
}
|
|
|
|
|
2020-11-20 10:48:26 +00:00
|
|
|
.wc-block-components-checkout-step--disabled {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step__container {
|
2020-06-08 11:13:34 +00:00
|
|
|
position: relative;
|
2023-04-21 20:11:10 +00:00
|
|
|
|
|
|
|
textarea {
|
|
|
|
font-style: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
}
|
2020-06-08 11:13:34 +00:00
|
|
|
}
|
|
|
|
|
2021-07-22 11:03:00 +00:00
|
|
|
.wc-block-components-checkout-step__content > * {
|
2023-10-13 11:13:50 +00:00
|
|
|
margin-bottom: $gap;
|
2021-07-22 11:03:00 +00:00
|
|
|
}
|
|
|
|
.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__content > :last-child {
|
|
|
|
margin-bottom: 0;
|
2023-10-13 11:13:50 +00:00
|
|
|
padding-bottom: $gap;
|
2020-06-08 11:13:34 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step__heading {
|
2020-06-12 12:07:02 +00:00
|
|
|
margin: em($gap-small) 0 em($gap);
|
2020-06-05 10:00:19 +00:00
|
|
|
position: relative;
|
2021-09-10 14:04:42 +00:00
|
|
|
|
|
|
|
.wc-block-components-express-payment-continue-rule + .wc-block-components-checkout-step & {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2020-06-08 11:13:34 +00:00
|
|
|
}
|
2019-12-06 13:18:55 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step:first-child .wc-block-components-checkout-step__heading {
|
2020-06-12 12:07:02 +00:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step__title {
|
2020-06-08 11:13:34 +00:00
|
|
|
margin: 0 $gap-small 0 0;
|
2019-12-06 13:18:55 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step__heading-content {
|
2020-05-29 10:16:33 +00:00
|
|
|
@include font-size(smaller);
|
2019-12-06 13:18:55 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: bold;
|
2020-06-23 10:13:53 +00:00
|
|
|
color: inherit;
|
2019-12-06 13:18:55 +00:00
|
|
|
}
|
|
|
|
}
|
2020-04-24 12:23:25 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step__description {
|
2020-05-29 10:16:33 +00:00
|
|
|
@include font-size(small);
|
2020-04-24 12:23:25 +00:00
|
|
|
line-height: 1.25;
|
|
|
|
margin-bottom: $gap;
|
2019-12-06 13:18:55 +00:00
|
|
|
}
|
|
|
|
|
2020-07-31 15:17:01 +00:00
|
|
|
.wc-block-components-checkout-step--with-step-number {
|
|
|
|
.wc-block-components-checkout-step__title::before {
|
|
|
|
@include reset-box();
|
|
|
|
background: transparent;
|
|
|
|
counter-increment: checkout-step;
|
|
|
|
content: "\00a0" counter(checkout-step) ".";
|
|
|
|
content: "\00a0" counter(checkout-step) "." / "";
|
|
|
|
position: absolute;
|
2021-09-10 14:04:42 +00:00
|
|
|
left: -$gap-large;
|
2020-07-31 15:17:01 +00:00
|
|
|
top: 0;
|
|
|
|
text-align: center;
|
|
|
|
transform: translateX(-50%);
|
2023-01-19 16:40:52 +00:00
|
|
|
white-space: nowrap;
|
2021-09-10 14:04:42 +00:00
|
|
|
|
|
|
|
.is-mobile &,
|
|
|
|
.is-small & {
|
|
|
|
position: static;
|
|
|
|
transform: none;
|
|
|
|
left: auto;
|
|
|
|
top: auto;
|
|
|
|
content: counter(checkout-step) ".\00a0";
|
|
|
|
content: counter(checkout-step) ".\00a0" / "";
|
|
|
|
}
|
2020-07-31 15:17:01 +00:00
|
|
|
}
|
2020-03-30 12:43:42 +00:00
|
|
|
|
2020-07-31 15:17:01 +00:00
|
|
|
.wc-block-components-checkout-step__container::after {
|
|
|
|
content: "";
|
|
|
|
height: 100%;
|
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
|
|
|
border-left: 1px solid $universal-border-light;
|
2020-07-31 15:17:01 +00:00
|
|
|
position: absolute;
|
2021-09-10 14:04:42 +00:00
|
|
|
left: -$gap-large;
|
2020-07-31 15:17:01 +00:00
|
|
|
top: 0;
|
|
|
|
}
|
2021-09-10 14:04:42 +00:00
|
|
|
|
|
|
|
.is-mobile &,
|
|
|
|
.is-small & {
|
|
|
|
.wc-block-components-checkout-step__title::before {
|
|
|
|
position: static;
|
|
|
|
transform: none;
|
|
|
|
left: auto;
|
|
|
|
top: auto;
|
|
|
|
content: counter(checkout-step) ".\00a0";
|
|
|
|
content: counter(checkout-step) ".\00a0" / "";
|
|
|
|
}
|
|
|
|
.wc-block-components-checkout-step__container::after {
|
|
|
|
content: unset;
|
|
|
|
}
|
|
|
|
}
|
2020-03-30 12:43:42 +00:00
|
|
|
}
|
2021-09-16 12:16:21 +00:00
|
|
|
|
|
|
|
.editor-styles-wrapper {
|
|
|
|
.wp-block h4.wc-block-components-checkout-step__title {
|
|
|
|
@include font-size(regular);
|
|
|
|
line-height: 24px;
|
|
|
|
margin: 0 $gap-small 0 0;
|
|
|
|
}
|
|
|
|
}
|