LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help on CSS for gnome-3.20 GTK3 (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-on-css-for-gnome-3-20-gtk3-4175586951/)

mangya 08-13-2016 02:54 AM

Need help on CSS for gnome-3.20 GTK3
 
2 Attachment(s)
Hello All

I want to increase and darken shadow of windows in gnome 3.20. I don't know much of css, but after lot of browsing, I came across this.

Code:

$ cat ~/.config/gtk-3.0/gtk.css
window {
  box-shadow: 3px 3px 5px black;
}

Now, I get beautiful shadows for windows. But not all windows are getting that css. Some windows are getting shadows and some others don't (default shadow).

What code I have to put so that all windows will have shadows.

Screenshot attached:
  1. With shadow - gedit window
  2. Without shadow - vlc player window (not getting custom shadow on this. The one visible is default one)
Any help will be much appreciated.

Thanks.

ondoho 08-14-2016 05:52 AM

vlc uses qt as a toolkit, and not gtk3.

if you want the same shadows for ALL windows, you need to
a) use a compositor or window manager that has that feature
b) disable that sort of stuff for gtk3

mangya 08-15-2016 09:55 PM

Quote:

Originally Posted by ondoho (Post 5590636)
vlc uses qt as a toolkit, and not gtk3.

if you want the same shadows for ALL windows, you need to
a) use a compositor or window manager that has that feature
b) disable that sort of stuff for gtk3

Thanks


All times are GMT -5. The time now is 03:18 PM.