Popup styling... [SOLVED]

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
invex
Level 4
Level 4
Posts: 219
Joined: Sun Aug 14, 2016 12:38 pm

Popup styling... [SOLVED]

Post 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.
Attachments
Menu_877.png
Menu_877.png (76.61 KiB) Viewed 1383 times
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JosephM
Level 6
Level 6
Posts: 1463
Joined: Sun May 26, 2013 6:25 pm

Re: Popup styling...

Post 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.
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
invex
Level 4
Level 4
Posts: 219
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling...

Post 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.
Attachments
Selection_878.png
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: Popup styling...

Post 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.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
invex
Level 4
Level 4
Posts: 219
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling...

Post by invex »

Thank you for the tip!
I'll check it out.
User avatar
invex
Level 4
Level 4
Posts: 219
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling... [SOLVED]

Post 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?
gm10

Re: Popup styling... [SOLVED]

Post 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.
User avatar
invex
Level 4
Level 4
Posts: 219
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling... [SOLVED]

Post by invex »

Yes. Just to be sure I even rebooted.
gm10

Re: Popup styling... [SOLVED]

Post 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)
User avatar
invex
Level 4
Level 4
Posts: 219
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling... [SOLVED]

Post by invex »

Fantastic! Thank you VERY much.
User avatar
invex
Level 4
Level 4
Posts: 219
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling... [SOLVED]

Post by invex »

It wasn't the svg file.
I changed Themes/Controls and now it's perfect :)
Locked

Return to “Cinnamon”