Skip to content

@Ipstenu /wp-f-admin.css secret
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is an MU Plugin on my site to tweak the admin dashboard.
/* HTML Editor */
#content #editor, #editorcontainer #content, #editorcontainer textarea#content, #editorcontainer textarea, div#postdivrich.postarea #editorcontainer textarea#content { font: normal 12px/1.5 Monaco, monospace !important; }
/* smilies */
img.wp-smiley { max-height: 35px;}
/* Scheduled Posts */
.status-future .column-date abbr { color: #523F6D;}
/* Dashboard */
.postbox .inside,
.stuffbox .inside,
#the-comment-list .comment-item h4,
p, .wp_attachment_details label[for="content"],
#dash-right-now .sub p {
font-size: 14px;
}
#dash-right-now .sub {
color: #666;
}
#future-posts ul span, #published-posts ul span {
color: #999;
}
#dashboard-widgets .postbox .inside {
margin-bottom: 0px;
}
form#quick-press {
display: none;
}
<?php
/*
Plugin Name: Admin Styling
Plugin URI:
Description: Restyling parts of the Admin End
Version: 1.0
Author: Mika Epstein
Author URI: http://www.ipstenu.org/
*/
// CSS
function helf_admin_theme_style() {
wp_enqueue_style('my-admin-theme', '/wp-content/mu-plugins/wp-f-admin.css' );
}
add_action('admin_enqueue_scripts', 'helf_admin_theme_style');
// Main Dash as two columns
// http://wordpress.stackexchange.com/questions/126301/wordpress-3-8-dashboard-1-column-screen-options
function helf_admin_dash_column() {
if ( empty ( $GLOBALS['pagenow'] ) || 'index.php' !== $GLOBALS['pagenow'] )
return;
?>
<style>
.postbox-container {
min-width: 50% !important;
}
.meta-box-sortables.ui-sortable.empty-container {
display: none;
}
</style>
<?php
}
add_action( 'admin_head', 'helf_admin_dash_column');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.