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

44 lines
916 B
SCSS
Raw Normal View History

@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 {
box-sizing: content-box !important;
height: em(23px);
width: em(23px);
padding: em($gap-smaller);
}
}
}