Jump to content
bonienl

Dynamix color theme GRAY

44 posts in this topic Last Reply

Recommended Posts

I'm extremely excited for this! Thanks so much for the hard work!

Sent from my Nexus 6P using Tapatalk

Share this post


Link to post
On 5/15/2017 at 0:13 PM, kyis said:

What could be nice is a toggle to enable a custom css file globally. Say you put a css file in a predetermined location on your flash drive and if custom css is enabled, the file is included in every pages, that way overriding colors and other aspects of the GUI becomes much easier. I use Stylish to get that effect but it only works on browsers where it's installed and setup, it's a crutch.

 

The GUI loads two css files from the folder /webGui/styles, these are "default-<name>.css" and "dynamix-<name>.css"

Currently the names "white" and "black" are available.

You can create your own theme by introducing a new name and make the appropriate files, e.g. "default-gray.css" and "dynamix-gray.css".

The new name becomes automatically available as a theme choice under Display settings.

Share this post


Link to post

@bonienl you just opened a door I didn't even know was there. xD I'll be using that, thanks!

 

Edit: found the css files in /usr, I guess that means any new file needs to be copied from flash at boot after the gui plugin is loaded somehow. Would that be done in the go file or as a cron job (or somewhere else)?

Edited by kyis

Share this post


Link to post
On 5/18/2017 at 2:01 AM, bonienl said:

 

The GUI loads two css files from the folder /webGui/styles, these are "default-<name>.css" and "dynamix-<name>.css"

Currently the names "white" and "black" are available.

You can create your own theme by introducing a new name and make the appropriate files, e.g. "default-gray.css" and "dynamix-gray.css".

The new name becomes automatically available as a theme choice under Display settings.

 

If we copy and edit to create our own version, how often would the original CSS's change in structure (add sections, rename sections, etc.) so that we would have to create all the changes again? 

 

I used to fiddle with the CSS's from sonarr/medusa/nzbget to get it to my liking. But then in some version they would change something that would necessitate re-figuring out all the changes I made. These were very time consuming edits.

Edited by hernandito

Share this post


Link to post
43 minutes ago, hernandito said:

 

If we copy and edit to create our own version, how often would the original CSS's change in structure (add sections, rename sections, etc.) so that we would have to create all the changes again?

 

I try to keep existing names as much as possible, not to break anything (think of plugins), once in a while new elements are introduced.

Share this post


Link to post

I guess releases and structure changes are less often that the stuff I am used to.

 

Thank you Bonienl... you work is greatly appreciated.

Share this post


Link to post
On 18.05.2017 at 8:01 AM, bonienl said:

The GUI loads two css files from the folder /webGui/styles

 

Where can I find those?

Share this post


Link to post
13 minutes ago, Stripe said:

 

Where can I find those?

/usr/local/emhttp/plugins/dynamix/styles

Share this post


Link to post

I don't have  the emhttp folder in /usr/local. I tried to use Krusader and search for default-white.css but it didn't find anything...

Share this post


Link to post

Ok, I'm a little bit confused... here is a screenshot of Krusader window and as you can see there is no emhttp folder in usr/local, but when I use Putty and MC, the emhttp is where it should be... why I don't see it in Krusader?

screen1.png

Share this post


Link to post

Isn't Krusader running inside in a Docker? If so, then you dont have unraid system mapped to it's volumes.

 

Or is that from running in GUI mode?

Edited by BRiT

Share this post


Link to post

Docker. I'm a linux newbie so it's not obvious to me, why I see some of the subfolders and some not...

Share this post


Link to post
21 minutes ago, Stripe said:

Docker. I'm a linux newbie so it's not obvious to me, why I see some of the subfolders and some not...

As BriT stated, you probably haven't given Krusader access to unRaid beyond the shares.  You can try looking in /UNRAID.  If you still don't see the appropriate folders, then change on the tempate for Krusader the mapped folder from /mnt/user (or /mnt) to /

Share this post


Link to post
57 minutes ago, Stripe said:

Ok, thank you guys.

 

BTW Squid, I can't get used to your new avatar ;) 

It was Victoria Day weekend (or May Two Four depending upon your perspective ;-) ).  Time to change it back now....

Edited by Squid

Share this post


Link to post

I cannot wait for this new dark design. I was just thinking that the original 'Black' theme looked a bit dated today. Then I found this while looking for ways to modify it. Now I plan to wait for the next version and hope it's soon. ;-)

Share this post


Link to post
3 hours ago, Smaandar said:

Now I plan to wait for the next version and hope it's soon

Sooner than you think

 

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.