[Solved] What is class to theme the right pane of Nemo?

Forum rules
Before you post please read how to get help
Post Reply
a-bentofreire
Level 1
Level 1
Posts: 33
Joined: Sat Jan 14, 2017 4:02 am

[Solved] What is class to theme the right pane of Nemo?

Post by a-bentofreire » Wed Feb 28, 2018 11:50 pm

Hi,

I'm using the Mint-Yltra-Dark theme on Linux Mint 18.3 Cinnamon.
It's beautiful and it works well.
However, when I'm using Nemo with the right pane, I can't tell which pane is active,
and many times when I press back the unexpected pane changes its location.
I would like to modify the theme in order to have a different background color for nemo's right pane.

I have edited the /home/<user>/.themes/Mint-Y-Yltra-Dark/cinnamon/cinnamon.css, but I didn't found any place where I could override nemo's right panel.
Help would be appreciated

Thank you
Alexandre
Last edited by a-bentofreire on Mon Mar 05, 2018 10:53 pm, edited 2 times in total.

Penn
Level 5
Level 5
Posts: 752
Joined: Tue Jun 10, 2014 1:12 pm

Re: What is class to theme the right pane of Nemo?

Post by Penn » Thu Mar 01, 2018 4:53 pm

It isn't in cinnamon.css. It is GTK 3.0 but precisely where depends on your theme and I'm not familiar with the exact theme name you have there.

If the single pane color isn't set separately from general gtk colors such as xed's pane the only place for the color is in the .view area but if that theme is truly tailored for Cinnamon it will have a section for nemo (such as in Mint-x there are multiple Nemo specific properties in /path/to/theme_name/gtk-3.0/apps). If you want to adjust the active pane or single pane color either find or is it isn't present add a section for

Code: Select all

NemoWindow .view {
    background-color: #0000ff;
}
which would give you a full blue pane.

The inactive pane value should already be there if you have a Nemo section but if it isn't add (and change according to preference)

Code: Select all

.nemo-inactive-pane .view {
    background-color: shade(@theme_base_color, 0.93);
    color: shade(@theme_fg_color, 1.2);
}
I'm guessing from your phrasing you already know that would make the inactive pane a bit darker than your theme_base_color

a-bentofreire
Level 1
Level 1
Posts: 33
Joined: Sat Jan 14, 2017 4:02 am

Re: What is class to theme the right pane of Nemo?

Post by a-bentofreire » Mon Mar 05, 2018 10:31 pm

Works perfectly. Thank you. Thumbs Up.

Post Reply

Return to “Themes, Icons, & Wallpaper”