Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Alternate version? #4

Open
ail1020 opened this issue Feb 20, 2018 · 2 comments
Open

Alternate version? #4

ail1020 opened this issue Feb 20, 2018 · 2 comments

Comments

@ail1020
Copy link

ail1020 commented Feb 20, 2018

Can we get an alternate version that keeps the original graph colors (green/blue/etc) and box colors? Basically the styling before this change: 2d415bb

I like your styling overall and want to keep it updated, but I'm not a fan of the colors in the graphs and would prefer the top 4 boxes to have color yet.

@jacobbates
Copy link
Owner

Hi ail1020,

I'll organise this for you, but for now you can do a small modification to the theme file to restore the colors using SSH:

cd /var/www/html/admin/style/vendor/
sudo nano skin-blue.min.css

Add these five lines to the bottom of the file AFTER the existing lines:

.small-box.bg-aqua {background:#004c5f!important;}
.small-box.bg-green {background:#004224!important;}
.small-box.bg-red {background:#581e16!important;}
.small-box.bg-yellow {background:#613e07!important;}
.small-box .icon{color: rgba(0,0,0,0.15)!important;}

Then ctrl+x to save and exit file in the nano editor. Dont forget to Ctrl+f5 in your browser on the dashboard to refresh changes.

The hex colors in the above lines can be replaced with whatever you like :)

@costaste
Copy link
Contributor

This doesn't actually change the charts for queries over time and clients over time. The css that's making them pink and brown is

.chart svg, .chart canvas {
    -webkit-filter: invert(100%);
    filter: invert(100%); 
}

To change it, you can delete those lines from the css file. However then you won't see grid lines on the charts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants