HEX
Server: nginx/1.22.0
System: Linux iZuf6jdxbygmf6cco977lcZ 5.10.84-10.4.al8.x86_64 #1 SMP Tue Apr 12 12:31:07 CST 2022 x86_64
User: root (0)
PHP: 7.4.29
Disabled: passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,readlink,symlink,popepassthru,stream_socket_server,fsocket,popen
Upload Files
File: /data/wwwroot/wordpress/wp-content/plugins/admin-menu-editor/css/force-dashicons.scss
/*
 Forcibly set menu icons to the selected custom Dashicons.

 Problem:
 Some plugins use CSS to assign icons to their admin menu items. Users want to change the icons.
 In many cases, simply changing the icon URL doesn't work because the plugin CSS overrides it.

 Workaround:
 Add more CSS that overrides the icon styles that were set by other plugins.
*/

//Artificially increase selector specificity by repeating the ID.
#adminmenu#adminmenu#adminmenu a.ame-has-custom-dashicon {
	& > .wp-menu-image::before {
		font-family: "dashicons", sans-serif !important;
		font-size: 20px !important;
	}

	//Some plugins set the icon as a background image instead of a pseudo-element.
	& > .wp-menu-image {
		background-image: none !important;
		position: static;
	}

	@import '_dashicons';
}