Fix: add support for rtl-languages to checkout-step-bars

This commit is contained in:
Richard Schreiber
2021-10-27 16:16:04 +02:00
committed by GitHub
parent 4bdfd56264
commit a4aed96784

View File

@@ -16,18 +16,11 @@ html.rtl {
.cart-row > div { .cart-row > div {
float: right; float: right;
} }
.checkout-flow .checkout-step:last-child .checkout-step-bar-right, .checkout-flow .checkout-step:first-child .checkout-step-bar-left { .checkout-flow .checkout-step:before {
background: $gray-lighter; left: 50%;
} }
.checkout-flow .checkout-step.step-current .checkout-step-bar-left { .checkout-flow .checkout-step:after {
background: $gray-lighter; left: 0;
}
.checkout-flow .checkout-step.step-current .checkout-step-bar-right,
.checkout-flow .checkout-step.step-done .checkout-step-bar-right, .checkout-flow .checkout-step.step-done .checkout-step-bar-left {
background: $brand-primary;
}
.checkout-flow .checkout-step:last-child .checkout-step-bar-left, .checkout-flow .checkout-step:first-child .checkout-step-bar-right {
background: transparent;
} }
.cart-modify { .cart-modify {
margin-left: 0; margin-left: 0;