|
@@ -4,9 +4,28 @@
|
|
|
|
|
|
body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
|
|
|
|
|
|
+ .woocommerce-notice--message,
|
|
|
+ .woocommerce-notice--info {
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "info");
|
|
|
+ }
|
|
|
+
|
|
|
+ .woocommerce-notice--success {
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "success");
|
|
|
+ }
|
|
|
+
|
|
|
+ .woocommerce-notice--error {
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "error");
|
|
|
+ }
|
|
|
+
|
|
|
+ .woocommerce-notice--warning {
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "warning");
|
|
|
+ }
|
|
|
+
|
|
|
.woocommerce-message,
|
|
|
+ .woocommerce-info,
|
|
|
+ .woocommerce-success,
|
|
|
.woocommerce-error,
|
|
|
- .woocommerce-info {
|
|
|
+ .woocommerce-warning {
|
|
|
padding: map-deep-get($config-global, "spacing", "unit") map-deep-get($config-global, "spacing", "vertical") map-deep-get($config-global, "spacing", "unit") #{2 * map-deep-get($config-global, "spacing", "vertical")};
|
|
|
margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
|
background-color: map-deep-get($config-global, "color", "background", "light");
|
|
@@ -14,7 +33,15 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
|
|
|
border-top-color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
}
|
|
|
|
|
|
- .woocommerce-message {
|
|
|
+ .woocommerce-message,
|
|
|
+ .woocommerce-info {
|
|
|
+ border-top-color: map-deep-get($config-global, "color", "alert", "info");
|
|
|
+ &:before {
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "info");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .woocommerce-success {
|
|
|
border-top-color: map-deep-get($config-global, "color", "alert", "success");
|
|
|
&:before {
|
|
|
color: map-deep-get($config-global, "color", "alert", "success");
|
|
@@ -28,10 +55,10 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .woocommerce-info {
|
|
|
- border-top-color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
+ .woocommerce-warning {
|
|
|
+ border-top-color: map-deep-get($config-global, "color", "alert", "warning");
|
|
|
&:before {
|
|
|
- color: map-deep-get($config-global, "color", "primary", "default");
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "warning");
|
|
|
}
|
|
|
}
|
|
|
}
|