apps.rc
ASCII text
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
8
style "gimp_spin_scale" {
9
10
# Spin background
11
bg[NORMAL] = @base_color
12
13
engine "pixmap" {
14
15
image {
16
function = BOX
17
state = NORMAL
18
detail = "spinbutton_up"
19
overlay_file = "assets/pan-up-alt.png"
20
overlay_stretch = FALSE
21
}
22
23
image {
24
function = BOX
25
state = PRELIGHT
26
detail = "spinbutton_up"
27
overlay_file = "assets/pan-up.png"
28
overlay_stretch = FALSE
29
}
30
31
image {
32
function = BOX
33
state = ACTIVE
34
detail = "spinbutton_up"
35
overlay_file = "assets/pan-up.png"
36
overlay_stretch = FALSE
37
}
38
39
image {
40
function = BOX
41
state = INSENSITIVE
42
detail = "spinbutton_up"
43
overlay_file = "assets/pan-up-alt-insensitive.png"
44
overlay_stretch = FALSE
45
}
46
47
image {
48
function = BOX
49
state = NORMAL
50
detail = "spinbutton_down"
51
overlay_file = "assets/pan-down-alt.png"
52
overlay_stretch = FALSE
53
}
54
55
image {
56
function = BOX
57
state = PRELIGHT
58
detail = "spinbutton_down"
59
overlay_file = "assets/pan-down.png"
60
overlay_stretch = FALSE
61
}
62
63
image {
64
function = BOX
65
state = ACTIVE
66
detail = "spinbutton_down"
67
overlay_file = "assets/pan-down.png"
68
overlay_stretch = FALSE
69
}
70
71
image {
72
function = BOX
73
state = INSENSITIVE
74
detail = "spinbutton_down"
75
overlay_file = "assets/pan-down-alt-insensitive.png"
76
overlay_stretch = FALSE
77
}
78
79
}
80
81
}
82
83
style "chrome_gtk_frame" {
84
85
ChromeGtkFrame::frame-color = @titlebar_bg_color
86
ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
87
88
ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
89
ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color
90
91
ChromeGtkFrame::frame-gradient-size = 0
92
93
}
94
95
# Disable spin button assets for GimpSpinScale
96
class "GimpSpinScale" style "gimp_spin_scale"
97
98
# Chromium lets us define some colours and settings for better integration
99
class "ChromeGtkFrame" style "chrome_gtk_frame"
100