} else {
/* A user without admin privileges */
wp_enqueue_script('GaslightifyJs', plugins_url('js/Gaslightify.js', __FILE__),array(),'1.0.0', true);
- wp_enqueue_style('GaslightifyStyle', plugins_url('css/Gaslightify.css', __FILE__));
+ wp_enqueue_style('GaslightifyClientsStyle', plugins_url('css/GaslightifyClients', __FILE__));
if ( is_multisite() ) {
- wp_enqueue_style('GaslightifyMSStyle', plugins_url('css/GaslightifyMS.css', __FILE__));
+ wp_enqueue_style('GaslightifyMultiSiteStyle', plugins_url('css/GaslightifyMultiSite.css', __FILE__));
}
}
if (!current_user_can('edit_posts')) {
</style>
<?php
}
+ wp_enqueue_style('GaslightifyGlobalStyle', plugins_url('css/GaslightifyGlobal.css', __FILE__));
+ add_editor_style( 'scss/admin/tinymce.css' );
}
add_action('after_setup_theme', 'GLM_general_settings');
update_option('image_default_link_type','none');
}
function my_admin_theme_style() {
-// wp_enqueue_style('my-admin-theme', plugins_url('css/Gaslightify.css', __FILE__));
+// wp_enqueue_style('my-admin-theme', plugins_url('css/GaslightifyClients', __FILE__));
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
add_action('login_enqueue_scripts', 'my_admin_theme_style');
+++ /dev/null
-#ailec-support,
-.update-nag,
-#screen-meta-links,
-select[name="seo_filter"],
-#menu-tools,
-#menu-users,
-#wp-admin-bar-edit-profile,
-#wp-admin-bar-user-info,
-#wp-admin-bar-wp-logo-default,
-#wp-admin-bar-wp-logo-external,
-#wp-admin-bar-comments,
-#wp-admin-bar-new-post,
-#wp-admin-bar-wpseo-menu,
-#footer-thankyou,
-#footer-upgrade,
-#dashboard_primary,
-#dashboard_quick_press,
-#dashboard_activity,
-#wp-version-message,
-#toplevel_page_wpcf7,
-#wp-admin-bar-blog-4-n,
-#wp-admin-bar-blog-4-c,
-.http-off,
-#ngg_page_content #side-container,
-#ngg_about_meta_box,
-#toplevel_page_metaslider > ul,
-#metaslider_social,
-.ngg_admin_notice,
-#wpbody .updated,
-#toplevel_page_ninja-forms,
-#toplevel_page_mainwp_child_tab,
-.cms_tpv_promo_above_wrapper,
-.update-nag {
- display: none !important;
-}
-// To delete the dashboard menu option
-/*#menu-dashboard {
- display: none;
-}*/
-
-#wpadminbar #toplevel_page_metaslider .dashicons-before:before {
- content: "\f233" !important;
-}
-
-// To make the intended action on the initial ninja forms submission page clearer
-#wpbody-content .widefat #the-list tr.no-items td.colspanchange {
- font-size: 18px;
- font-weight: bold;
-}
\ No newline at end of file
-/*
-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
}
#toplevel_page_edit-post_type-nf_sub {
display: none;
-}
+}
\ No newline at end of file
--- /dev/null
+#ailec-support,
+.update-nag,
+#screen-meta-links,
+select[name="seo_filter"],
+#menu-tools,
+#menu-users,
+#wp-admin-bar-edit-profile,
+#wp-admin-bar-user-info,
+#wp-admin-bar-wp-logo-default,
+#wp-admin-bar-wp-logo-external,
+#wp-admin-bar-comments,
+#wp-admin-bar-new-post,
+#wp-admin-bar-wpseo-menu,
+#footer-thankyou,
+#footer-upgrade,
+#dashboard_primary,
+#dashboard_quick_press,
+#dashboard_activity,
+#wp-version-message,
+#toplevel_page_wpcf7,
+#wp-admin-bar-blog-4-n,
+#wp-admin-bar-blog-4-c,
+.http-off,
+#ngg_page_content #side-container,
+#ngg_about_meta_box,
+#toplevel_page_metaslider > ul,
+#metaslider_social,
+.ngg_admin_notice,
+#wpbody .updated,
+#toplevel_page_ninja-forms,
+#toplevel_page_mainwp_child_tab,
+.cms_tpv_promo_above_wrapper,
+.update-nag {
+ display: none !important;
+}
+// To delete the dashboard menu option
+/*#menu-dashboard {
+ display: none;
+}*/
+
+#wpadminbar #toplevel_page_metaslider .dashicons-before:before {
+ content: "\f233" !important;
+}
+
+// To make the intended action on the initial ninja forms submission page clearer
+#wpbody-content .widefat #the-list tr.no-items td.colspanchange {
+ font-size: 18px;
+ font-weight: bold;
+}
\ No newline at end of file
--- /dev/null
+/*
+GaslightMedia, all rights reserved.
+*/
+/*
+ Created on : May 22, 2015, 11:19:44 AM
+ Author : laury
+*/
+ /*
+ * To make the TINYMCE editor in wordpress reflect some of the default styles
+ * we have active on all our themes, thus leading to a more true WYSIWYG
+ * experience.
+ */
+#tinymce h1 {
+ clear: both;
+}
+
+#tinymce h2 {
+ clear: both;
+}
+
+#tinymce h3 {
+ clear: both;
+}
+
+#tinymce h4 {
+ clear: both;
+}
+
+#tinymce h5 {
+ clear: both;
+}
+
+#tinymce h6 {
+ clear: both;
+}
+
+++ /dev/null
-#wp-admin-bar-my-sites {
- display: none !important;
-}
\ No newline at end of file
--- /dev/null
+#wp-admin-bar-my-sites {
+ display: none !important;
+}
\ No newline at end of file