I am using this to load css styles in the admin area (for any user who is not an administrator):
function wpse_admin_styles() {
if ( !current_user_can( 'manage_options' ) ) {
echo '<style>
.fun-stuff-here {color:aqua;}
</style>
';
}
}
add_action('admin_head', 'wpse_admin_styles');
But I need to have some styles only load if the admin page being viewed is a page (not a post or custom post type post)
Is this possible? I think the answer selected in this WPSE question has some potential, but I don't know how to add in the necessary code to what I have: How to add an admin function only to posts, not pages?
I also came across this Wordpress Support Forum post. The OP's reply near the bottom (8th post from the top) looked promising, but in use it applies the CSS to all Pages, Posts and Custom Post Type sections: http://wordpress.org/support/topic/add-new-page-button-in-admin-area