2020-04-08 15:29:48 +00:00
|
|
|
.wp-block-woocommerce-checkout .with-scroll-to-top__scroll-point {
|
|
|
|
top: -96px;
|
|
|
|
}
|
|
|
|
|
2020-01-03 14:23:49 +00:00
|
|
|
.wc-block-checkout__add-note,
|
2020-04-06 15:57:38 +00:00
|
|
|
.wc-block-checkout__keep-updated {
|
2019-12-16 22:13:41 +00:00
|
|
|
margin-top: $gap;
|
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
|
2020-03-13 15:49:33 +00:00
|
|
|
.wc-block-checkout .wc-block-shipping-rates-control__package:not(:first-of-type) {
|
|
|
|
margin-top: $gap-larger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-checkout__sidebar {
|
|
|
|
.wc-block-order-summary {
|
|
|
|
border: none;
|
|
|
|
|
2020-04-03 13:17:09 +00:00
|
|
|
&.is-opened {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-03-13 15:49:33 +00:00
|
|
|
> .components-panel__body-title > .components-panel__body-toggle {
|
|
|
|
padding: $gap-small 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-panel__body-toggle {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary__button-icon {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary__button-text {
|
|
|
|
margin-left: $gap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary__row {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary-item {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary-item__image,
|
|
|
|
.wc-block-order-summary-item__description,
|
|
|
|
.wc-block-order-summary-item__total-price {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary-item__image {
|
|
|
|
width: 48px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary-item__quantity {
|
|
|
|
align-items: center;
|
|
|
|
background: #fff;
|
|
|
|
border: 2px solid currentColor;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: flex;
|
|
|
|
font-size: 11px;
|
|
|
|
min-height: 22px;
|
|
|
|
position: absolute;
|
|
|
|
justify-content: center;
|
|
|
|
right: -6px;
|
|
|
|
top: -6px;
|
|
|
|
min-width: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary-item__description {
|
|
|
|
padding-left: $gap-small;
|
|
|
|
padding-right: $gap-small;
|
|
|
|
}
|
|
|
|
|
2020-04-09 12:50:00 +00:00
|
|
|
.wc-block-order-summary-item__header {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2020-03-13 15:49:33 +00:00
|
|
|
.wc-block-product-name {
|
2020-04-09 12:50:00 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
margin-right: 0.5em;
|
2020-03-13 15:49:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary-item__prices {
|
|
|
|
font-size: 0.875em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-19 10:39:04 +00:00
|
|
|
.wc-block-component-express-checkout-continue-rule {
|
|
|
|
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;
|
|
|
|
border-bottom: 1px solid $core-grey-light-600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
border-radius: 3px;
|
|
|
|
height: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-19 10:39:04 +00:00
|
|
|
|
|
|
|
// Loading placeholder state.
|
|
|
|
.wc-block-checkout--is-loading {
|
|
|
|
.wc-block-component-express-checkout,
|
|
|
|
.wc-block-checkout__actions button {
|
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
}
|
|
|
|
.wc-block-component-express-checkout {
|
|
|
|
min-height: 150px;
|
|
|
|
}
|
|
|
|
.wc-block-component-express-checkout-continue-rule span {
|
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
.wc-block-checkout-form {
|
|
|
|
fieldset span {
|
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
display: block;
|
|
|
|
min-height: 100px;
|
|
|
|
}
|
|
|
|
.wc-block-checkout-step::before,
|
|
|
|
.wc-block-checkout-step::after {
|
|
|
|
@include placeholder();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wc-block-checkout__sidebar .components-card {
|
|
|
|
@include placeholder();
|
|
|
|
@include force-content();
|
|
|
|
min-height: 460px;
|
|
|
|
}
|
|
|
|
}
|
2020-03-27 20:56:48 +00:00
|
|
|
.wc-block-sidebar-layout.wc-block-checkout--skeleton {
|
2020-03-19 10:39:04 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2020-03-27 20:56:48 +00:00
|
|
|
.is-loading + .wc-block-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-04-03 13:17:09 +00:00
|
|
|
@include breakpoint( "<480px" ) {
|
|
|
|
.wc-block-checkout__actions {
|
|
|
|
.wc-block-components-checkout-return-to-cart-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-components-checkout-place-order-button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( "<782px" ) {
|
|
|
|
.wc-block-checkout__main {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-checkout__sidebar {
|
|
|
|
margin-bottom: $gap-largest;
|
|
|
|
order: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-checkout__main-totals {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-03 10:46:53 +00:00
|
|
|
@include breakpoint( ">480px" ) {
|
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 {
|
|
|
|
.wc-block-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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-text-input,
|
2020-03-17 11:45:33 +00:00
|
|
|
.wc-block-country-input,
|
2020-03-13 14:41:04 +00:00
|
|
|
.wc-block-select {
|
|
|
|
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
|
|
|
|
|
|
|
.wc-block-select {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-03-13 14:41:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-address-form__company,
|
|
|
|
.wc-block-address-form__address_1,
|
|
|
|
.wc-block-address-form__address_2 {
|
|
|
|
width: calc(100% - #{$gap-small});
|
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
|
2020-03-13 14:41:04 +00:00
|
|
|
.wc-block-checkbox {
|
|
|
|
clear: both;
|
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
}
|
|
|
|
}
|
2020-03-13 15:49:33 +00:00
|
|
|
|
|
|
|
.wc-block-checkout__sidebar {
|
|
|
|
.wc-block-totals-table-item {
|
|
|
|
padding-left: $gap-small;
|
|
|
|
padding-right: $gap-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-coupon-code .components-panel__body-toggle {
|
|
|
|
padding-left: $gap-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-coupon-code__row {
|
|
|
|
padding-left: $gap-small;
|
|
|
|
padding-right: $gap-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary {
|
|
|
|
> .components-panel__body-title > .components-panel__body-toggle {
|
|
|
|
padding-left: $gap-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-block-order-summary__row {
|
|
|
|
padding: 0 $gap-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( ">782px" ) {
|
|
|
|
.wc-block-checkout__sidebar {
|
|
|
|
.wc-block-order-summary {
|
|
|
|
margin: -20px;
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 13:17:09 +00:00
|
|
|
|
|
|
|
.wc-block-checkout__actions {
|
|
|
|
padding-right: 36px;
|
|
|
|
}
|
2020-03-03 10:46:53 +00:00
|
|
|
}
|