Files
paper-gtk-theme/Paper/gtk-2.0/apps/chrome.rc

51 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-12-13 12:48:16 -05:00
# ==============================================================================
# CHROME/-UIM SPECIFIC SETTINGS
# ==============================================================================
2016-05-25 10:27:25 -04:00
# Chromium lets us define some colours and settings for better integration
2014-12-13 12:48:16 -05:00
style "chrome-gtk-frame"
{
2014-12-15 12:09:13 -05:00
ChromeGtkFrame::frame-color = @wm_color
2015-03-08 20:11:31 -04:00
ChromeGtkFrame::inactive-frame-color = @unfocused_wm_color
2014-12-13 12:48:16 -05:00
ChromeGtkFrame::frame-gradient-size = 16
2014-12-15 12:09:13 -05:00
ChromeGtkFrame::frame-gradient-color = shade(1.07, @wm_color)
2014-12-13 12:48:16 -05:00
2014-12-15 12:09:13 -05:00
ChromeGtkFrame::incognito-frame-color = shade(0.85, @wm_color)
ChromeGtkFrame::incognito-inactive-frame-color = @wm_color
2014-12-13 12:48:16 -05:00
2014-12-15 12:09:13 -05:00
ChromeGtkFrame::incognito-frame-gradient-color = @wm_color
2014-12-13 12:48:16 -05:00
2014-12-15 12:09:13 -05:00
ChromeGtkFrame::scrollbar-trough-color = shade(0.912, @wm_color)
ChromeGtkFrame::scrollbar-slider-prelight-color = shade(1.04, @wm_color)
ChromeGtkFrame::scrollbar-slider-normal-color = @wm_color
2014-12-13 12:48:16 -05:00
}
2016-05-25 18:52:16 -04:00
class "ChromeGtkFrame" style "chrome-gtk-frame"
2016-05-25 10:27:25 -04:00
# Chromium uses base as the fill colour of its own entries
# This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg
# That results in Chromium using it for the fill, so we need to handle that
style "chrome_entry" {
base[NORMAL] = @base_color
base[INSENSITIVE] = @base_color
}
2016-05-25 18:52:16 -04:00
widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
2016-05-25 10:27:25 -04:00
# Chrome Menu item background
2014-12-13 12:48:16 -05:00
style "chrome_menu_item"
{
2015-03-08 20:50:22 -04:00
bg[SELECTED] = @wm_color
2014-12-13 12:48:16 -05:00
}
2016-05-25 18:52:16 -04:00
widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"
2016-05-25 10:27:25 -04:00
# Chrome buttons
2014-12-13 12:48:16 -05:00
widget_class "*Chrom*Button*" style "button"