GTK 3.18 --> GTK 3.20+

Style your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
smurphos
Level 18
Level 18
Posts: 8501
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

GTK 3.18 --> GTK 3.20+

Post by smurphos »

Hi,

Struggling to convert the syntax of this snippet of GTK3.18 CSS to GTK 3.20+ CSS. In GTK3.18 it allows for a different background colour in the inactive pane in Nemo in dual pane mode. Any ideas?

Code: Select all

NemoWindow .nemo-inactive-pane .view {background-color: #color1; }
The original line and these variations do not work - testing with Nemo on a Manjaro Cinnamon machine with GTK 3.2something.

.nemo-window is used in the GTK3.20 theme I'm using as a base.

Code: Select all

.nemo-window nemo-inactive-pane view { background-color: #color1; }

.nemo-window nemo-inactive-pane .view { background-color: #color1; }

.nemo-window .nemo-inactive-pane .view { background-color: #color1; }

.NemoWindow nemo-inactive-pane view { background-color: #color1; }

.NemoWindow nemo-inactive-pane .view { background-color: #color1; }

.NemoWindow .nemo-inactive-pane .view { background-color: #color1; }
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
JosephM
Level 6
Level 6
Posts: 1458
Joined: Sun May 26, 2013 6:25 pm

Re: GTK 3.18 --> GTK 3.20+

Post by JosephM »

This should work. It works here under gtk3.22

Code: Select all

.nemo-window .nemo-inactive-pane .view
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.
User avatar
smurphos
Level 18
Level 18
Posts: 8501
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: GTK 3.18 --> GTK 3.20+

Post by smurphos »

Thank-you, I will give it a try again.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Locked

Return to “Themes, Icons & Wallpaper”