apps.rc
1# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
2#
3# This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
4# custom widgets, programs giving us a chance to alter their UI to fit more with
5# the theme or stuff that is supposed to look different, like panels.
6
7# TODO: This could really look nicer
8style "gimp_spin_scale" {
9 # Spin background
10 bg[NORMAL] = @base_color
11
12 engine "pixmap" {
13 image {
14 function = BOX
15 state = NORMAL
16 detail = "spinbutton_up"
17 overlay_file = "assets/pan-up-alt.png"
18 overlay_stretch = FALSE
19 }
20
21 image {
22 function = BOX
23 state = PRELIGHT
24 detail = "spinbutton_up"
25 overlay_file = "assets/pan-up.png"
26 overlay_stretch = FALSE
27 }
28
29 image {
30 function = BOX
31 state = ACTIVE
32 detail = "spinbutton_up"
33 overlay_file = "assets/pan-up.png"
34 overlay_stretch = FALSE
35 }
36
37 image {
38 function = BOX
39 state = INSENSITIVE
40 detail = "spinbutton_up"
41 overlay_file = "assets/pan-up-alt-disabled.png"
42 overlay_stretch = FALSE
43 }
44
45 image {
46 function = BOX
47 state = NORMAL
48 detail = "spinbutton_down"
49 overlay_file = "assets/pan-down-alt.png"
50 overlay_stretch = FALSE
51 }
52
53 image {
54 function = BOX
55 state = PRELIGHT
56 detail = "spinbutton_down"
57 overlay_file = "assets/pan-down.png"
58 overlay_stretch = FALSE
59 }
60
61 image {
62 function = BOX
63 state = ACTIVE
64 detail = "spinbutton_down"
65 overlay_file = "assets/pan-down.png"
66 overlay_stretch = FALSE
67 }
68
69 image {
70 function = BOX
71 state = INSENSITIVE
72 detail = "spinbutton_down"
73 overlay_file = "assets/pan-down-alt-disabled.png"
74 overlay_stretch = FALSE
75 }
76 }
77}
78
79style "chrome_gtk_frame" {
80 ChromeGtkFrame::frame-color = @titlebar_bg_color
81 ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
82 ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
83 ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color
84
85 ChromeGtkFrame::frame-gradient-size = 0
86}
87
88# Disable spin button assets for GimpSpinScale
89class "GimpSpinScale" style "gimp_spin_scale"
90
91# Chromium lets us define some colours and settings for better integration
92class "ChromeGtkFrame" style "chrome_gtk_frame"
93