The FlatStudio theme for gtk+ is probably my preferred theme... I love the darkness, it's easy on the eyes, and it shows off the work I'm doing.
Anyway, this page wouldn't be here if there were no issues. It seems there is no support and updating for the theme at the moment. It was last updated for gtk+ 3.8, and, with the continuous changes in gtk, that means several breakages.
The one that most annoyed me was that things with embedded GtkBoxes or GtkGrids (such as notebook tabs, or buttons, with a label and an icon), were broken.
After quite some learning, it turns out that this problem seems to be caused an error in the CSS defined by FlatStudio. (Please correct me if I'm wrong!). FlatStudio defines (as do many themes) a default configuration for all widgets in gtk.css, but then forgets to override it for GtkBoxes and GtkGrids. So these two inherit the gray background, while they should be transparent.
To solve the problem, I defined two mini-files, one each for GtkGrid and GtkBox, with an override for background color. I also added an include in gtk.css to get them included. Et voilā... Nice tabs and buttons again!
All this is in the directory where the FlatStudio theme resides. This
Here I added two small files with the overrides for GtkGrid and GtkBox. I could have used just one file, but it's just nicer this way. The files are these:Save as box.css Save as grid.css
Then I edited gtk.css to include both files. Near the end, add the two includes for grid and box:
Warning: mysql_connect(): No such file or directory in /home/jcoppens/jcoppens.com/php/std_lib.php on line 1579
Could not connect to the database manager:
Error reported: No such file or directory
|(c) John Coppens ON6JC/LW3HAZ|