christianwach / civicrm-admin-utilities

CiviCRM Admin Utilities is a WordPress plugin that modifies and enhances CiviCRM's appearance and behaviour in single site and multisite WordPress installs.
https://wordpress.org/plugins/civicrm-admin-utilities/
GNU General Public License v2.0
20 stars 10 forks source link

WP-Style Branch - Admin Color Schemes #5

Open themak1985 opened 5 years ago

themak1985 commented 5 years ago

First off - WP-Style Branch is simply amazing. Gives wordpress users a much nicer experience for CiviCRM - especially since Shoreditch is unlikely to make its move to Wordpress anytime soon.

After discovering this branch - I was excited to see it was compatible with Admin Color Schemes - but I noticed that it only seems to work with the built in ones - not the custom ones - such as via https://github.com/helen/admin-color-schemer/ or https://wordpress.org/plugins/admin-color-schemes/

Most likely its those plugins that are causing the issue - but thought I would share.

christianwach commented 5 years ago

@themak1985 I'm not quite sure how to resolve this, but thanks for the report. It's good to know about plugins which might not be compatible. If this issue gets popular when I've released the theme into the wild, I'll spend some time on compatibility.

themak1985 commented 3 years ago

Hey there @christianwach - now that wordpress updated its Admin Color Schemer and released a new set of Admin Color Schemes, it would be great if a) CiviCRM Admin Utilities would pick up these new schemes (i think the biggest issue is menu right now, but other attributes like button colors do not transfer to civicrm, but background color does work) or b) can we override the menu color choice to match our scheme in civicrm display preferences. Right now it just defaults to black and will not change to any color I choose. If this functionality already exists, what setting do I have incorrect?

I have been experimenting with the new schemer, check out some screenshots for example.

Screen Shot 2021-02-10 at 8 37 40 PM Screen Shot 2021-02-10 at 8 37 22 PM Screen Shot 2021-02-10 at 8 37 02 PM

christianwach commented 3 years ago

If this functionality already exists, what setting do I have incorrect?

@themak1985 It doesn't and you haven't.

If you really want this compatibility to happen, there are a couple of options... I probably don't need to spell them out :-)

themak1985 commented 3 years ago

I just realized, you manually added stylesheets for all the admin color themes. for some reason I thought it was just inheriting the style and color choices. I tried to manually add a new lines of CSS for the custom style sheet, but that did not work for some reason, I will have to investigate further. Thanks!

christianwach commented 3 years ago

I thought it was just inheriting the style and color choices.

@themak1985 Ha, I wish! :-)