By Aaron Hampshire

LibreOffice on elementary: Part 2

This is the second part of a series designed to improve LibreOffice's look inside the elementary environment. Today, we will focus on the scrollbars. Many have noticed some very popular applications are not gtk-3 themed such as Firefox, Thunderbird, and LibreOffice.

Although it's just a detail of scrollbar color in Firefox or Thunderbird, it leads to a readability problem in LibreOffice where some tabs are so tiny that it's difficult to read the names of the sheets.

Change Scrollbar Width
To solve that tab size problem, in the terminal:
sudo scratch-text-editor /usr/share/themes/elementary/gtk-2.0/gtkrc
Find the section dealing with the gtkscrollbar and then find ::slider-width and set value the to 10. (The default is 6.) Your changed values should look similar to this:
GtkScrollbar ::has-backward-stepper = 0
GtkScrollbar ::has-forward-stepper = 0
GtkScrollbar ::min-slider-length = 30
GtkScrollbar ::slider-width = 10
GtkScrollbar ::trough-border = 1
...

Change Scrollbar Color
To get elementary-blue scrollbars everywhere, still in the same file, go to the murrine-scrollbar section and find bg[SELECTED]. Set this value to @selected_bg_color. (The default is shade (0.6, @base_color).) Your changed values should look similar to this:
style "murrine-scrollbar"
{
    bg[SELECTED] = @selected_bg_color
    ...
Quit scratch-text-editor to save those new settings and here is the result:
Unfortunately you'll have to make those changes any time elementary-theme gets updated -- unless it became its default settings?

Thanks to GĂ©rald Maruccia and Xime for the tip.