From: Laury GvR Date: Mon, 30 Mar 2015 18:23:04 +0000 (-0400) Subject: Addition of admin-only style changes X-Git-Tag: v1.4^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=9c49461e05be1643a30c9b18c5e547e03178a4b4;p=WP-Plugins%2FGaslightify.git Addition of admin-only style changes --- diff --git a/Gaslightify.php b/Gaslightify.php index a9718a4..469e850 100755 --- a/Gaslightify.php +++ b/Gaslightify.php @@ -4,7 +4,7 @@ Plugin Name: Gaslightify Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates Description: A gasline to a Wordpress website. -Version: 1.36 +Version: 1.39 Author: Gaslight Media Author URI: http://www.gaslightmedia.com License: Gaslight Media @@ -22,6 +22,7 @@ add_action('admin_enqueue_scripts', 'interface_client_safeguard'); function interface_client_safeguard() { if ( current_user_can( 'manage_options' ) ) { /* A user with admin privileges */ + wp_enqueue_style('GaslightifyAdminStyle', plugins_url('css/GaslightifyAdmin.css', __FILE__)); } else { /* A user without admin privileges */ diff --git a/css/GaslightifyAdmin.css b/css/GaslightifyAdmin.css new file mode 100644 index 0000000..5406a9f --- /dev/null +++ b/css/GaslightifyAdmin.css @@ -0,0 +1,19 @@ +/* +To change this license header, choose License Headers in Project Properties. +To change this template file, choose Tools | Templates +and open the template in the editor. +*/ +/* + Created on : Mar 24, 2015, 3:43:53 PM + Author : laury +*/ + + +#wpadminbar #toplevel_page_metaslider .dashicons-before:before { + content: "\f233" !important; +} +#wpadminbar #wp-admin-bar-my-sites .ab-sub-wrapper { + max-height: 500px !important; + min-width: 100% !important; + overflow-y: scroll !important; +} \ No newline at end of file