2020-04-08 15:29:48 +00:00
|
|
|
.wp-block-woocommerce-checkout .with-scroll-to-top__scroll-point {
|
|
|
|
top: -96px;
|
|
|
|
}
|
|
|
|
|
2020-07-31 15:17:01 +00:00
|
|
|
.wc-block-checkout__use-address-for-billing {
|
|
|
|
margin-top: em($gap-large);
|
2019-12-16 22:13:41 +00:00
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
|
2020-04-14 11:43:10 +00:00
|
|
|
.wc-block-checkout__shipping-option {
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-shipping-rates-control__package:not(:first-of-type) {
|
2020-04-14 11:43:10 +00:00
|
|
|
margin-top: $gap-larger;
|
|
|
|
}
|
2020-03-13 15:49:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-checkout__sidebar {
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-product-name {
|
2020-04-24 12:23:25 +00:00
|
|
|
color: inherit;
|
2020-06-12 12:07:02 +00:00
|
|
|
padding-right: $gap-small;
|
2020-06-05 15:03:48 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
// Required by IE11.
|
|
|
|
flex-basis: 0;
|
2020-04-24 12:23:25 +00:00
|
|
|
}
|
2020-06-05 15:03:48 +00:00
|
|
|
}
|
2020-04-24 12:23:25 +00:00
|
|
|
|
2020-06-05 12:18:16 +00:00
|
|
|
.wc-block-components-express-checkout-continue-rule {
|
2020-03-19 10:39:04 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0 $gap-larger;
|
|
|
|
margin: $gap-large 0;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: " ";
|
|
|
|
flex: 1;
|
2020-06-23 10:13:53 +00:00
|
|
|
border-bottom: 1px solid;
|
|
|
|
opacity: 0.3;
|
2020-03-19 10:39:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-16 16:38:24 +00:00
|
|
|
.wc-block-checkout__actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-04-03 13:17:09 +00:00
|
|
|
margin: 0 0 $gap-large*2;
|
|
|
|
padding: 0 0 0 $gap-larger;
|
2020-03-16 16:38:24 +00:00
|
|
|
|
|
|
|
.wc-block-components-checkout-place-order-button {
|
|
|
|
width: 50%;
|
|
|
|
padding: 1em;
|
|
|
|
height: auto;
|
|
|
|
margin-left: auto;
|
2020-04-15 16:09:15 +00:00
|
|
|
|
|
|
|
.wc-block-components-button__text {
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
fill: $white;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
}
|
2020-03-16 16:38:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-19 10:39:04 +00:00
|
|
|
|
|
|
|
// Loading placeholder state.
|
|
|
|
.wc-block-checkout--is-loading {
|
2020-06-05 12:18:16 +00:00
|
|
|
.wc-block-components-express-checkout,
|
2020-03-19 10:39:04 +00:00
|
|
|
.wc-block-checkout__actions button {
|
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
}
|
2020-06-05 12:18:16 +00:00
|
|
|
.wc-block-components-express-checkout {
|
2020-03-19 10:39:04 +00:00
|
|
|
min-height: 150px;
|
|
|
|
}
|
2020-06-23 10:13:53 +00:00
|
|
|
.wc-block-components-express-checkout-continue-rule > span {
|
2020-03-19 10:39:04 +00:00
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
width: 150px;
|
|
|
|
}
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-form {
|
|
|
|
.wc-block-components-checkout-step__title {
|
2020-06-08 11:13:34 +00:00
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
display: block;
|
|
|
|
width: 10em;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
border-radius: 50%;
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
width: 1.5em;
|
|
|
|
}
|
|
|
|
}
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step__container::after {
|
2020-06-08 11:13:34 +00:00
|
|
|
@include placeholder();
|
|
|
|
}
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step__content > span {
|
2020-03-19 10:39:04 +00:00
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
display: block;
|
|
|
|
min-height: 100px;
|
|
|
|
}
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkout-step::before,
|
|
|
|
.wc-block-components-checkout-step::after {
|
2020-03-19 10:39:04 +00:00
|
|
|
@include placeholder();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wc-block-checkout__sidebar .components-card {
|
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
min-height: 460px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-sidebar-layout.wc-block-checkout--skeleton {
|
2020-03-19 10:39:04 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-17 09:53:42 +00:00
|
|
|
.is-loading + .wc-block-components-sidebar-layout.wc-block-checkout--skeleton {
|
2020-03-19 10:39:04 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2020-03-31 10:47:48 +00:00
|
|
|
.wc-block-checkout-empty,
|
|
|
|
.wc-block-checkout-error {
|
2020-03-19 15:50:36 +00:00
|
|
|
padding: $gap-largest;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
|
2020-03-31 10:47:48 +00:00
|
|
|
.wc-block-checkout-empty__image,
|
|
|
|
.wc-block-checkout-error__image {
|
2020-03-19 15:50:36 +00:00
|
|
|
max-width: 150px;
|
|
|
|
margin: 0 auto 1em;
|
|
|
|
display: block;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2020-03-31 10:47:48 +00:00
|
|
|
.wc-block-checkout-empty__title,
|
|
|
|
.wc-block-checkout-error__title {
|
2020-03-19 15:50:36 +00:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-03-31 10:47:48 +00:00
|
|
|
.wc-block-checkout-empty__description,
|
|
|
|
.wc-block-checkout-error__description {
|
2020-03-19 15:50:36 +00:00
|
|
|
display: block;
|
|
|
|
margin: 0.25em 0 1em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-05 08:10:02 +00:00
|
|
|
.is-mobile {
|
2020-04-03 13:17:09 +00:00
|
|
|
.wc-block-checkout__actions {
|
|
|
|
.wc-block-components-checkout-return-to-cart-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-components-checkout-place-order-button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-05 08:10:02 +00:00
|
|
|
.is-mobile,
|
|
|
|
.is-small,
|
|
|
|
.is-medium {
|
2020-04-03 13:17:09 +00:00
|
|
|
.wc-block-checkout__main {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-checkout__sidebar {
|
|
|
|
margin-bottom: $gap-largest;
|
|
|
|
order: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-05 08:10:02 +00:00
|
|
|
.is-small,
|
|
|
|
.is-medium,
|
|
|
|
.is-large {
|
2020-03-04 15:13:38 +00:00
|
|
|
.wc-block-checkout__billing-fields,
|
2020-03-03 10:46:53 +00:00
|
|
|
.wc-block-checkout__shipping-fields {
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-address-form {
|
2020-03-13 14:41:04 +00:00
|
|
|
margin-left: #{-$gap-small / 2};
|
|
|
|
margin-right: #{-$gap-small / 2};
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-text-input,
|
|
|
|
.wc-block-components-country-input,
|
|
|
|
.wc-block-components-select {
|
2020-03-13 14:41:04 +00:00
|
|
|
float: left;
|
|
|
|
margin-left: #{$gap-small / 2};
|
|
|
|
margin-right: #{$gap-small / 2};
|
|
|
|
position: relative;
|
|
|
|
width: calc(50% - #{$gap-small});
|
2020-03-17 11:45:33 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-select {
|
2020-03-17 11:45:33 +00:00
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-07-31 15:17:01 +00:00
|
|
|
|
|
|
|
&:nth-last-of-type(2),
|
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-03-13 14:41:04 +00:00
|
|
|
}
|
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-address-form__company,
|
|
|
|
.wc-block-components-address-form__address_1,
|
|
|
|
.wc-block-components-address-form__address_2 {
|
2020-03-13 14:41:04 +00:00
|
|
|
width: calc(100% - #{$gap-small});
|
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-checkbox {
|
2020-03-13 14:41:04 +00:00
|
|
|
clear: both;
|
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
}
|
|
|
|
}
|
2020-04-24 12:23:25 +00:00
|
|
|
}
|
|
|
|
|
2020-05-05 08:10:02 +00:00
|
|
|
.is-large {
|
2020-04-24 12:23:25 +00:00
|
|
|
.wc-block-checkout__actions {
|
|
|
|
padding-right: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-checkout__shipping-option {
|
2020-06-17 09:53:42 +00:00
|
|
|
.wc-block-components-radio-control__input {
|
2020-04-24 12:23:25 +00:00
|
|
|
margin-left: -8px;
|
|
|
|
}
|
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
}
|