Files
module-vendor-sales-report/view/adminhtml/web/css/vendor-report.css

25 lines
1.1 KiB
CSS

/* Vendor Sales Report Menu - Hide icon/pseudo-element reliably
Some Magento admin menu item class names vary depending on how the
menu id is normalized (module and item id). Targetting the generated
class used by this module may not always match, which causes a
leftover glyph/box to appear. Use the menu link href as a reliable
selector and include broader admin menu selectors so the icon is
removed even if the class name differs. */
/* Target by href that contains the admin route for this module */
#menu a[href*="vendorsalesreport/report/index"]::before,
.admin__menu a[href*="vendorsalesreport/report/index"]::before,
/* Fallback: any menu item with vendorsalesreport in its class name */
.admin__menu [class*="vendorsalesreport"] > a::before,
.admin__menu [class*="vendorsalesreport"] > a:before {
content: none !important;
display: none !important;
width: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* Historic selector kept for backward compatibility */
.item-vendorsalesreport > a:before { display: none !important; }