1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
style "notebook-close" { stock["gtk-close"] = {{ "images/other/close.png", *, *, * }} } # Close icon on tabs
style "notebook"
{
GtkWidget::interior-focus = 1
xthickness = 3
ythickness = 3
# A color is set here to fix the background of boxes in mate-system-monitor on the resources
# tab. However this causes tabs in libre office to be surrrounded by this color. Probably needs
# a proper app specific fix for system-monitor
#bg[NORMAL] = shade (1.1, @bg_color)
engine "pixmap"
{
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "images/notebook/tab-bottom.svg"
border = {5, 5, 5, 5}
stretch = TRUE
gap_side = TOP
}
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "images/notebook/tab-top.svg"
border = {5, 5, 5, 5}
stretch = TRUE
gap_side = BOTTOM
}
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "images/notebook/tab-left.svg"
border = {5, 5, 5, 5}
stretch = TRUE
gap_side = RIGHT
}
image
{
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "images/notebook/tab-right.svg"
border = {5, 5, 5, 5}
stretch = TRUE
gap_side = LEFT
}
image
{
function = EXTENSION
recolorable = TRUE
file = "images/notebook/tab-top-active.svg"
border = {5, 5, 5, 5}
stretch = TRUE
gap_side = BOTTOM
}
image
{
function = EXTENSION
recolorable = TRUE
file = "images/notebook/tab-bottom-active.svg"
border = {5, 5, 5, 5}
stretch = TRUE
gap_side = TOP
}
image
{
function = EXTENSION
recolorable = TRUE
file = "images/notebook/tab-left-active.svg"
border = {5, 5, 5, 5}
stretch = TRUE
gap_side = RIGHT
}
image
{
function = EXTENSION
recolorable = TRUE
file = "images/notebook/tab-right-active.svg"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_side = LEFT
}
# How to draw boxes with a gap on one side (ie the page of a notebook)
image
{
function = BOX_GAP
recolorable = TRUE
file = "images/notebook/notebook.svg"
border = {3, 3, 3, 3}
stretch = TRUE
gap_file = "images/notebook/gap-top.svg"
gap_border = {10, 10, 10, 10}
gap_start_file = "images/notebook/gap-top-left.svg"
gap_start_border = { 10, 10, 10, 10 }
gap_end_file = "images/notebook/gap-top-right.svg"
gap_end_border = {10, 10, 10, 10}
gap_side = TOP
}
image
{
function = BOX_GAP
recolorable = TRUE
file = "images/notebook/notebook.svg"
border = {3, 3, 3, 3}
stretch = TRUE
gap_file = "images/notebook/gap-bottom.svg"
gap_border = {10, 10, 10, 10}
gap_start_file = "images/notebook/gap-bottom-left.svg"
gap_start_border = {10, 10, 10, 10}
gap_end_file = "images/notebook/gap-bottom-right.svg"
gap_end_border = {10, 10, 10, 10}
gap_side = BOTTOM
}
image
{
function = BOX_GAP
recolorable = TRUE
file = "images/notebook/notebook.svg"
border = {3, 3, 3, 3}
stretch = TRUE
gap_file = "images/notebook/gap-left.svg"
gap_border = {10, 10, 10, 10}
gap_start_file = "images/notebook/gap-top-left.svg"
gap_start_border = {10, 10, 10, 10}
gap_end_file = "images/notebook/gap-bottom-left.svg"
gap_end_border = {10, 10, 10, 10}
gap_side = LEFT
}
image
{
function = BOX_GAP
recolorable = TRUE
file = "images/notebook/notebook.svg"
border = {3, 3, 3, 3}
stretch = TRUE
gap_file = "images/notebook/gap-right.svg"
gap_border = {10, 10, 10, 10}
gap_start_file = "images/notebook/gap-top-right.svg"
gap_start_border = {10, 10, 10, 10}
gap_end_file = "images/notebook/gap-bottom-right.svg"
gap_end_border = {10, 10, 10, 10}
gap_side = RIGHT
}
# How to draw the box of a notebook when it isnt attached to a tab
image
{
function = BOX
recolorable = TRUE
file = "images/notebook/notebook.svg"
border = {3, 3, 3, 3}
stretch = TRUE
}
# Remove focus lines from tabs
image
{
function = FOCUS
file = "images/other/null.png"
border = {1, 1, 1, 1}
stretch = TRUE
}
}
}
style "notebook-fill"
{
bg[NORMAL] = shade (1.1, @bg_color)
}
|