Page 1 of 1

Popup styling... [SOLVED]

Posted: Tue Jan 07, 2020 10:34 pm
by invex
What file would I have to edit to remove the round corners?
(I'm quite sure it isn't in cinnamon.css.)
Thanks in advance.

Re: Popup styling...

Posted: Tue Jan 07, 2020 11:37 pm
by JosephM
That's going to depend on the theme you are using. But it's style by the gtk theme so it will be in your themes gtk-3.0 folder.

Re: Popup styling...

Posted: Wed Jan 08, 2020 2:13 am
by invex
Thank you.
In my theme's directory, I see two Gtk-3x subdirectories.
Both .css files are tiny with nothing related to corner radius.

Re: Popup styling...

Posted: Wed Jan 08, 2020 2:42 am
by smurphos
invex wrote: Wed Jan 08, 2020 2:13 am Thank you.
In my theme's directory, I see two Gtk-3x subdirectories.
Both .css files are tiny with nothing related to corner radius.
What theme is it? It's distributing it's css as a gresource file so can't be directly edited.

Edit - it's OK - from here I remember you are using Adapta installed via a deb file - viewtopic.php?p=1636237#p16362370

Solution - use the Cinnamon Spices version of Adapta which provides the css in a non-obfuscated format.

Re: Popup styling...

Posted: Wed Jan 08, 2020 1:05 pm
by invex
Thank you for the tip!
I'll check it out.

Re: Popup styling... [SOLVED]

Posted: Wed Jan 08, 2020 2:27 pm
by invex
Sorry to bother you.
I tried Adapta from Spices and I replaced all border-radius: 2px with border-radius: 0px in cinnamon.css and both instances of gtk.css.
The rounded corners of the popups are still there.
Could it be that it's hard-coded?

Re: Popup styling... [SOLVED]

Posted: Wed Jan 08, 2020 2:52 pm
by gm10
Did you switch themes after making those changes? Or alternatively logged out and back in? For your changes won't affect running processes otherwise.

Re: Popup styling... [SOLVED]

Posted: Wed Jan 08, 2020 4:33 pm
by invex
Yes. Just to be sure I even rebooted.

Re: Popup styling... [SOLVED]

Posted: Wed Jan 08, 2020 4:53 pm
by gm10
Ok, I had a look. Here's your problem: https://github.com/linuxmint/cinnamon-s ... n.css#L100 (it's an .svg graphic, not a border-radius)

Re: Popup styling... [SOLVED]

Posted: Wed Jan 08, 2020 5:24 pm
by invex
Fantastic! Thank you VERY much.

Re: Popup styling... [SOLVED]

Posted: Wed Jan 08, 2020 6:37 pm
by invex
It wasn't the svg file.
I changed Themes/Controls and now it's perfect :)