Fix message display on my account page.

This commit is contained in:
Jeff Stieler 2022-01-04 13:48:21 -07:00
parent 487c4f6e17
commit f07a9d40ad
1 changed files with 41 additions and 37 deletions

View File

@ -27,6 +27,8 @@
@import "mixins"; @import "mixins";
$tt2-gray: #f7f7f7;
/** /**
* Main layout. * Main layout.
*/ */
@ -88,17 +90,15 @@
display: none; display: none;
} }
.woocommerce-notices-wrapper {
.woocommerce-message, .woocommerce-message,
.woocommerce-error, .woocommerce-error,
.woocommerce-info { .woocommerce-info {
margin-bottom: 5rem; background: $tt2-gray;
background: #f7f7f7;
border-top-color: var( --wp--preset--color--primary ); border-top-color: var( --wp--preset--color--primary );
border-top-style: solid; border-top-style: solid;
padding: 1rem; padding: 1rem 1.5rem;
list-style: none; list-style: none;
font-size: var(--wp--preset--font-size--small);
&[role='alert']::before { &[role='alert']::before {
color: var( --wp--preset--color--background ); color: var( --wp--preset--color--background );
@ -114,6 +114,11 @@
margin-top: -0.5rem; margin-top: -0.5rem;
background: #ebe9eb; background: #ebe9eb;
color: var(--wp--preset--color--black); color: var(--wp--preset--color--black);
&:hover,
&:visited {
color: var(--wp--preset--color--black);
}
} }
} }
@ -136,7 +141,6 @@
content: '\2713'; content: '\2713';
} }
} }
}
a.button, button[name='add-to-cart'], input[name='submit'], button.single_add_to_cart_button { a.button, button[name='add-to-cart'], input[name='submit'], button.single_add_to_cart_button {
display: inline-block; display: inline-block;