/* * Backup before modifying * * * Try running Xournal++ like this: GTK_DEBUG=interactive xournalpp * * See: https://wiki.gnome.org/action/show/Projects/GTK/Inspector */ /*Style the Floating Toolbox!*/ #floatingToolbox>GtkBox { background-color: rgba(0,0,0,0.05); border-radius:10%; } #floatingToolbox GtkBox GtkToolbar { background-color: rgba(255,255,255,0); } #floatingToolbox GtkButton { background-color: rgba(255,255,255,1); border-radius: 50%; } /*Fix ugly Background drop down button * * We need to select the button beside two labels or we will affect * the pen tool when in FloatingToolbox (and can't see activation highlight). * * Ideally we will give name properties to all of the widgets created in * code as well as specifying names in glade files. * * Note: in glade files, property with name="name". i.e. floatingToolbox */ GtkToolItem>GtkBox>GtkLabel+GtkLabel+GtkButton { border-width:0; box-shadow:none; background-image:none } /* If you want to change the size of toolbar buttons try these: * All toolbars: */ /* GtkToolbar GtkButton { padding: 2 } */ /* Or for individual toolbars: tbLeft1 tbLeft2 tbTop1 tbTop2 tbBottom1 tbFloat4 etc: */ /* #tbLeft2 GtkButton { padding: 2 } */