apps.rc
Unicode text, UTF-8 text
1# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et: 2 3style "toplevel_hack" { 4engine "adwaita" {} 5} 6 7# TODO: This could really look nicer 8style "gimp_spin_scale" { 9 10# Spin background 11bg[NORMAL] = @base_color 12 13engine "pixmap" { 14 15image { 16function = BOX 17state = NORMAL 18detail = "spinbutton_up" 19overlay_file = "assets/pan-up-alt.png" 20overlay_stretch = FALSE 21} 22 23image { 24function = BOX 25state = PRELIGHT 26detail = "spinbutton_up" 27overlay_file = "assets/pan-up.png" 28overlay_stretch = FALSE 29} 30 31image { 32function = BOX 33state = ACTIVE 34detail = "spinbutton_up" 35overlay_file = "assets/pan-up.png" 36overlay_stretch = FALSE 37} 38 39image { 40function = BOX 41state = INSENSITIVE 42detail = "spinbutton_up" 43overlay_file = "assets/pan-up-alt-insensitive.png" 44overlay_stretch = FALSE 45} 46 47image { 48function = BOX 49state = NORMAL 50detail = "spinbutton_down" 51overlay_file = "assets/pan-down-alt.png" 52overlay_stretch = FALSE 53} 54 55image { 56function = BOX 57state = PRELIGHT 58detail = "spinbutton_down" 59overlay_file = "assets/pan-down.png" 60overlay_stretch = FALSE 61} 62 63image { 64function = BOX 65state = ACTIVE 66detail = "spinbutton_down" 67overlay_file = "assets/pan-down.png" 68overlay_stretch = FALSE 69} 70 71image { 72function = BOX 73state = INSENSITIVE 74detail = "spinbutton_down" 75overlay_file = "assets/pan-down-alt-insensitive.png" 76overlay_stretch = FALSE 77} 78 79} 80 81} 82 83style "chrome-gtk-frame" { 84 85ChromeGtkFrame::frame-color = @headerbar_bg_color 86ChromeGtkFrame::inactive-frame-color = @headerbar_bg_color 87ChromeGtkFrame::incognito-frame-color = @headerbar_bg_color 88ChromeGtkFrame::incognito-inactive-frame-color = @headerbar_bg_color 89 90ChromeGtkFrame::frame-gradient-size = 0 91 92} 93 94style "chrome_entry" { 95base[NORMAL] = @base_color 96base[INSENSITIVE] = @base_color 97} 98 99# Disable spin button assets for GimpSpinScale 100class "GimpSpinScale" style "gimp_spin_scale" 101 102# Chromium lets us define some colours and settings for better integration 103class "ChromeGtkFrame" style "chrome-gtk-frame" 104# Chromium uses base as the fill colour of its own entries 105# This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg 106# That results in Chromium using it for the fill, so we need to handle that 107widget_class "*Chrom*<GtkEntry>" style "chrome_entry" 108 109# TODO: find out what does does exactly 110# This uses the Adwaita engine for something, I'm not sure for what 111# However disabling it glitches out some separators in Libreoffice 112class "GtkWindow" style "toplevel_hack" 113