Popup styling... [SOLVED]

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
User avatar
invex
Level 3
Level 3
Posts: 161
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 440 times
Last edited by invex on Wed Jan 08, 2020 1:14 pm, edited 1 time in total.
JosephM
Level 6
Level 6
Posts: 1229
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 3
Level 3
Posts: 161
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 17
Level 17
Posts: 7289
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
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 3
Level 3
Posts: 161
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 3
Level 3
Posts: 161
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
Level 20
Level 20
Posts: 10572
Joined: Thu Jun 21, 2018 5:11 pm

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 3
Level 3
Posts: 161
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling... [SOLVED]

Post by invex »

Yes. Just to be sure I even rebooted.
gm10
Level 20
Level 20
Posts: 10572
Joined: Thu Jun 21, 2018 5:11 pm

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 3
Level 3
Posts: 161
Joined: Sun Aug 14, 2016 12:38 pm

Re: Popup styling... [SOLVED]

Post by invex »

Fantastic! Thank you VERY much.
User avatar
invex
Level 3
Level 3
Posts: 161
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 :)
Post Reply

Return to “Cinnamon”