woocommerce/plugins/woocommerce-blocks/assets/js/blocks/customer-account/style.scss

43 lines
877 B
SCSS

@mixin flex-justify-content($justification) {
float: none;
justify-content: $justification;
}
.is-layout-constrained > .wp-block-woocommerce-customer-account.alignright {
@include flex-justify-content(flex-end);
}
.is-layout-constrained > .wp-block-woocommerce-customer-account.alignleft {
@include flex-justify-content(flex-start);
}
.is-layout-constrained > .wp-block-woocommerce-customer-account.aligncenter {
@include flex-justify-content(center);
}
.wp-block-woocommerce-customer-account {
display: flex;
a {
text-decoration: none !important;
align-items: center;
display: flex;
color: currentColor !important;
&:hover {
text-decoration: underline !important;
}
.icon {
height: em(16px);
width: em(16px);
}
.wc-block-customer-account__account-icon {
height: em(23px);
width: em(23px);
padding: em($gap-smaller);
}
}
}