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

51 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-12-13 18:48:16 +01:00
# ==============================================================================
# CHROME/-UIM SPECIFIC SETTINGS
# ==============================================================================
2016-05-25 16:27:25 +02:00
# Chromium lets us define some colours and settings for better integration
2014-12-13 18:48:16 +01:00
style "chrome-gtk-frame"
{
2014-12-15 18:09:13 +01:00
ChromeGtkFrame::frame-color = @wm_color
2015-03-09 01:11:31 +01:00
ChromeGtkFrame::inactive-frame-color = @unfocused_wm_color
2014-12-13 18:48:16 +01:00
ChromeGtkFrame::frame-gradient-size = 16
2014-12-15 18:09:13 +01:00
ChromeGtkFrame::frame-gradient-color = shade(1.07, @wm_color)
2014-12-13 18:48:16 +01:00
2014-12-15 18:09:13 +01:00
ChromeGtkFrame::incognito-frame-color = shade(0.85, @wm_color)
ChromeGtkFrame::incognito-inactive-frame-color = @wm_color
2014-12-13 18:48:16 +01:00
2014-12-15 18:09:13 +01:00
ChromeGtkFrame::incognito-frame-gradient-color = @wm_color
2014-12-13 18:48:16 +01:00
2014-12-15 18:09:13 +01: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 18:48:16 +01:00
}
2016-05-26 00:52:16 +02:00
class "ChromeGtkFrame" style "chrome-gtk-frame"
2016-05-25 16:27:25 +02: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-26 00:52:16 +02:00
widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
2016-05-25 16:27:25 +02:00
# Chrome Menu item background
2014-12-13 18:48:16 +01:00
style "chrome_menu_item"
{
2015-03-09 01:50:22 +01:00
bg[SELECTED] = @wm_color
2014-12-13 18:48:16 +01:00
}
2016-05-26 00:52:16 +02:00
widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"
2016-05-25 16:27:25 +02:00
# Chrome buttons
2014-12-13 18:48:16 +01:00
widget_class "*Chrom*Button*" style "button"