add .notice-error to selectors
This commit is contained in:
parent
cecbea8148
commit
ff37df4180
@ -1,18 +1,22 @@
|
|||||||
:not(.wrap) ~ div.notice, :not(.wrap) ~ div.updated,
|
:not(.wrap) ~ div.notice, :not(.wrap) ~ div.updated,
|
||||||
:not(.wrap) ~ div.error,
|
:not(.wrap) ~ div.error,
|
||||||
|
:not(.wrap) ~ div.notice-error,
|
||||||
:not(.wrap) ~ div.update-nag {
|
:not(.wrap) ~ div.update-nag {
|
||||||
margin: 5px 20px 15px 2px; }
|
margin: 5px 20px 15px 2px; }
|
||||||
|
|
||||||
.notices-auto-collect #wpbody-content > div.notice, .notices-auto-collect #wpbody-content > div.updated,
|
.notices-auto-collect #wpbody-content > div.notice, .notices-auto-collect #wpbody-content > div.updated,
|
||||||
.notices-auto-collect #wpbody-content > div.error,
|
.notices-auto-collect #wpbody-content > div.error,
|
||||||
|
.notices-auto-collect #wpbody-content > div.notice-error,
|
||||||
.notices-auto-collect #wpbody-content > div.update-nag,
|
.notices-auto-collect #wpbody-content > div.update-nag,
|
||||||
.notices-auto-collect .wrap > div.notice,
|
.notices-auto-collect .wrap > div.notice,
|
||||||
.notices-auto-collect .wrap > div.updated,
|
.notices-auto-collect .wrap > div.updated,
|
||||||
.notices-auto-collect .wrap > div.error,
|
.notices-auto-collect .wrap > div.error,
|
||||||
|
.notices-auto-collect .wrap > div.notice-error,
|
||||||
.notices-auto-collect .wrap > div.update-nag,
|
.notices-auto-collect .wrap > div.update-nag,
|
||||||
.notices-above-title .wrap > div.notice,
|
.notices-above-title .wrap > div.notice,
|
||||||
.notices-above-title .wrap > div.updated,
|
.notices-above-title .wrap > div.updated,
|
||||||
.notices-above-title .wrap > div.error,
|
.notices-above-title .wrap > div.error,
|
||||||
|
.notices-above-title .wrap > div.notice-error,
|
||||||
.notices-above-title .wrap > div.update-nag {
|
.notices-above-title .wrap > div.update-nag {
|
||||||
display: none; }
|
display: none; }
|
||||||
|
|
||||||
@ -31,6 +35,7 @@
|
|||||||
padding: 0; }
|
padding: 0; }
|
||||||
.notice_container > div.notice, .notice_container > div.updated,
|
.notice_container > div.notice, .notice_container > div.updated,
|
||||||
.notice_container > div.error,
|
.notice_container > div.error,
|
||||||
|
.notice_container > div.notice-error,
|
||||||
.notice_container > div.update-nag {
|
.notice_container > div.update-nag {
|
||||||
margin: 5px 12px 15px 12px !important; }
|
margin: 5px 12px 15px 12px !important; }
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,7 @@ var NoticeManager = (function ($, document) {
|
|||||||
|
|
||||||
let selectors_error = [
|
let selectors_error = [
|
||||||
"div.error",
|
"div.error",
|
||||||
|
"div.notice-error",
|
||||||
];
|
];
|
||||||
|
|
||||||
let selectors_all = selectors_notice.concat(selectors_warning, selectors_error);
|
let selectors_all = selectors_notice.concat(selectors_warning, selectors_error);
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
div.updated,
|
div.updated,
|
||||||
div.error,
|
div.error,
|
||||||
|
div.notice-error,
|
||||||
div.update-nag {
|
div.update-nag {
|
||||||
@extend div.notice;
|
@extend div.notice;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user