# This colors up google-chrome frame
# see https://code.google.com/p/chromium/wiki/LinuxGtkThemeIntegration
style "chrome-gtk-frame"
{
 color["activef_color"]  = "#_subst_active_frame_color_"
 color["inactivef_color"]  = "#_subst_inactive_frame_color_"
# color["fg_color"]  = { 0.761, 0.761, 0.761 }
# color["bg_color"]  = "#dfdbd2"

 ChromeGtkFrame::frame-color = @activef_color
 ChromeGtkFrame::frame-gradient-size = _subst_frame_gradient_size_
 ChromeGtkFrame::frame-gradient-color = lighter(@activef_color)
 ChromeGtkFrame::inactive-frame-color = @inactivef_color
 ChromeGtkFrame::inactive-frame-gradient-size = _subst_inactive_frame_gradient_size_
 ChromeGtkFrame::inactive-frame-gradient-color = @inactivef_color

# ChromeGtkFrame::incognito-frame-color = "#4b6e99"
# ChromeGtkFrame::incognito-inactive-frame-color = "#e3e2e0"
# ChromeGtkFrame::incognito-frame-gradient-color = shade (0.95,"#4b6e99")
# ChromeGtkFrame::incognito-inactive-frame-gradient-color = shade (0.95,"#e3e2e0")

# ChromeGtkFrame::scrollbar-trough-color = @bg_color
# ChromeGtkFrame::scrollbar-slider-prelight-color = "#F8F6F2"
# ChromeGtkFrame::scrollbar-slider-normal-color = "#E7E0D3"
}
class "ChromeGtkFrame" style "chrome-gtk-frame"

# ##----------------------------------------
# ##fix ugly background color flashing -> start
# ##remove this workaround, as fixed by upstream
# style "default"
# {
#   color["bgselected_color1"]  = "#_subst_background_selected_color_"
#   bg[SELECTED] = shade (0.94, @bgselected_color1)
# }
# class "*" style "default"
# 
# style "MenuItem"
# {
#   text[SELECTED] = "#_subst_foreground_color_"
# }
# class "*MenuItem" style "MenuItem"
# ##fix ugly background color flashing -> end
# ##----------------------------------------

# google-chrome icon theme
gtk-icon-theme-name="gchq4rith"
gtk-fallback-icon-theme="crystalsvg"

## set properties for gtk theme,
## should be mostly derived from system
#gtk-theme-name="Default"
#gtk-icon-theme-name="crystalsvg"
#gtk-fallback-icon-theme="hicolor"
#gtk-toolbar-style=GTK_TOOLBAR_ICONS
#gtk-menu-images=0
#gtk-button-images=0

## gtk font, since v.38
## but should be per user setting
#gtk-font-name="Droid Sans 9"
#
#style "chromeq4-system-font"
#{
#  font_name="Droid Sans"
#}
#widget_class "*" style "chromeq4-system-font"

## tuning font for address bar and widgets, but excluding menu
## not effective since v.36
#style "chromeq4-system-font"
#{
#  font_name="Liberation Sans 10.5"
#}
#widget_class "*View*" style "chromeq4-system-font"
