Layout tweaks. Changed new page classes to kebab case to avoid future stylelint selector warnings. Styling notices when they appear above the purple header.
This commit is contained in:
parent
8553519657
commit
584b0a0a61
|
@ -685,6 +685,33 @@
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.woocommerce-page-wc-marketplace {
|
||||||
|
|
||||||
|
.woocommerce-layout {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpbody {
|
||||||
|
|
||||||
|
.notice {
|
||||||
|
margin-left: 20px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notice:first-of-type {
|
||||||
|
margin: 42px 20px 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.woocommerce-embed-page.woocommerce-page-wc-marketplace {
|
||||||
|
|
||||||
|
#screen-meta-links {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.woocommerce-message,
|
.woocommerce-message,
|
||||||
.woocommerce-BlankState {
|
.woocommerce-BlankState {
|
||||||
a.button-primary,
|
a.button-primary,
|
||||||
|
@ -2764,6 +2791,16 @@ ul.wc_coupon_list_block {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.woocommerce-page-wc-marketplace {
|
||||||
|
|
||||||
|
#wpbody {
|
||||||
|
|
||||||
|
.notice:first-of-type {
|
||||||
|
margin-top: 52px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-customer_message .note-on {
|
.column-customer_message .note-on {
|
||||||
|
@ -7338,15 +7375,6 @@ table.bar_chart {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* stylelint-disable selector-class-pattern */
|
|
||||||
.woocommerce-embed-page.woocommerce_page_wc-addons {
|
|
||||||
|
|
||||||
#screen-meta-links {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 600px) {
|
@media screen and (min-width: 600px) {
|
||||||
|
|
||||||
.wc-addons-wrap {
|
.wc-addons-wrap {
|
||||||
|
|
|
@ -805,9 +805,9 @@ class WC_Admin_Addons {
|
||||||
*/
|
*/
|
||||||
public static function filter_admin_body_classes( string $admin_body_class = '' ) {
|
public static function filter_admin_body_classes( string $admin_body_class = '' ) {
|
||||||
if ( isset( $_GET['section'] ) && 'helper' === $_GET['section'] ) {
|
if ( isset( $_GET['section'] ) && 'helper' === $_GET['section'] ) {
|
||||||
return " $admin_body_class woocommerce_page_wc-subscriptions ";
|
return " $admin_body_class woocommerce-page-wc-subscriptions ";
|
||||||
}
|
}
|
||||||
|
|
||||||
return " $admin_body_class woocommerce_page_wc-marketplace ";
|
return " $admin_body_class woocommerce-page-wc-marketplace ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue