Addition of admin-only style changes
authorLaury GvR <laury@gaslightmedia.com>
Mon, 30 Mar 2015 18:23:04 +0000 (14:23 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 30 Mar 2015 18:23:04 +0000 (14:23 -0400)
Gaslightify.php
css/GaslightifyAdmin.css [new file with mode: 0644]

index a9718a4..469e850 100755 (executable)
@@ -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 (file)
index 0000000..5406a9f
--- /dev/null
@@ -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