Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

This is an MU Plugin on my site to tweak the admin dashboard.

View wp-f-admin.css
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
/* 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;
}
View wp-f-admin.css
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<?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.