Last active
February 13, 2020 16:33
-
-
Save heyfletch/8f5931292d3148bb64bc6e5e3a0235bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Update here: https://gist.github.com/heyfletch/8f5931292d3148bb64bc6e5e3a0235bc/ */ | |
#wp-admin-bar-happy-addons, | |
.googlesitekit-cta, | |
#footer-left, | |
#cpt_info_box, | |
.notice.elementor-message, | |
div#autoptimize_admin_feed, | |
a[href="?page=ao_partners"], | |
#c2c, | |
.collapse-button-label, | |
.ac-admin #ac-pro-version, | |
.ac-admin #direct-feedback, | |
.ac-admin #plugin-support, | |
.post-type-elementor_font #icl_div_config /* multilingual cms meta box on elementor custom fonts page */, | |
.promotion--ninja-mail, | |
.nf-cta-bubble, | |
ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu>li.current>a.current:after, | |
span.dashicons.dashicons-admin-settings, | |
#modern-tribe-info /* Modern Tribe Evens Calendar ad */ | |
{ | |
display: none !important; | |
} | |
/* Cloudflare Premium Features*/ | |
#root > div > div.cf-layout__container > div.content-wrapper > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(1) > div:nth-child(3) /* Image Optimization */, | |
#root > div > div.cf-layout__container > div.content-wrapper > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(1) > div:nth-child(5) /* Cache HTML at CDN */, | |
#root > div > div.cf-layout__container > div.content-wrapper > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(3) /* WAF */, | |
#root > div > div.cf-layout__container > div.content-wrapper > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(2) > section /* Advanced DDoS */ | |
{ | |
display: none; | |
} | |
/* Remove bold from "post states", like -- Elementor */ | |
td.title.column-title.has-row-actions.column-primary.page-title strong, .menu-item-title .post-state { | |
font-weight: 100; | |
} | |
/* Webcraftic disable admin notices */ | |
a.wbcr-dan-hide-notice-link { | |
font-weight: normal; | |
text-decoration: none; | |
} | |
/* Wider Admin Menu, WordPress 5.0+ http://wordpress.org/plugins/wider-admin-menu/ */ | |
#wpcontent, #wpfooter { margin-left: 225px; } | |
#adminmenuback, #adminmenuwrap, #adminmenu, #adminmenu .wp-submenu { width: 225px; } | |
#adminmenu .wp-submenu { left: 225px; } | |
#adminmenu .wp-not-current-submenu .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu { min-width: 225px; } | |
body.wp-admin #qm { margin-left: 225px !important; } | |
.auto-fold .edit-post-header { left: 225px; } | |
.auto-fold .components-notice-list { left: 225px; } | |
/* Fix admin submenus from flying out due to CSS ordering issue with "Admin Pages" plugin on Dashboard pages */ | |
ul.wp-submenu.wp-submenu-wrap { | |
margin-left: 0; | |
} | |
/* Custom admin bar styling */ | |
#adminmenu, #wpadminbar * { | |
font-family: Roboto, "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, sans-serif; | |
margin-top: 0; | |
} | |
.wp-menu-name { | |
font-size: 16px; | |
font-weight: 400; | |
margin-left: 7px; | |
} | |
#adminmenu .wp-has-current-submenu ul>li>a, #adminmenu li.menu-top .wp-submenu>li>a { | |
padding-left: 20px; | |
} | |
#wp-admin-bar-top-secondary img { | |
border-radius: 100%; | |
} | |
#wpadminbar .menupop .ab-sub-wrapper { | |
background: #1e0b3d; | |
} | |
#adminmenu .wp-first-item div.wp-menu-name { | |
padding-top: 21px; | |
padding-bottom: 21px; | |
} | |
/* Push dashboard column up, admin bar over */ | |
ul#wp-admin-bar-root-default { | |
margin-left: 230px; | |
} | |
div#adminmenuwrap { | |
margin-top: -32px; | |
z-index: 100000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment