File: gtkrc

package info (click to toggle)
gtk2-engines-aurora 1.5.1-4.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,120 kB
  • sloc: sh: 8,854; ansic: 5,305; xml: 1,031; makefile: 37
file content (422 lines) | stat: -rw-r--r-- 12,068 bytes parent folder | download | duplicates (4)
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# ===[ buttons ]===
#  the prelight of toggle buttons is darkened slightly 
#

# ===[ scroll bars ]===
#  bg[ACTIVE] is trough color
#  bg[NORMAL] & bg[NORMAL] are scrollbar colors

# ===[ check and radio buttons ]===
#  bg[SELECTED] is the selected background colour
#  text[SELECTED] is the selected check/circle color
#  text[INSENSITIVE] is the disabled check/circle colour
#  base[*] is used for all other background states
#  --on prelight the bg is lightened slightly
#  --bg is lightened slightly when check/radio not drawn (for all states)



#default color scheme
gtk_color_scheme = "fg_color:#000000\nbg_color:#C7C7C7\nbase_color:#ffffff\ntext_color:#000000\nselected_bg_color:#247EB3\nselected_fg_color:#ffffff\ntooltip_bg_color:#634110\ntooltip_fg_color:#FFFFFF"
gtk-menu-popup-delay = 40
gtk-button-images = 0

style "theme-default"
{

  GtkButton::default_border = { 0, 0, 0, 0 }
  GtkButton::child-displacement-x = 0
  GtkButton::child-displacement-y = 1
  #GtkWidget::focus-padding = 0

  GtkRange::trough-border = 0
  GtkRange::slider-width = 19
  GtkRange::stepper-size = 19

  GtkScrollbar::min_slider_length = 36
  GtkScrollbar::has-secondary-backward-stepper = 1

  GtkPaned::handle_size  = 8

  GtkMenuBar::internal-padding  = 0
  GtkTreeView::expander_size     = 13 #15
  GtkExpander::expander_size     = 13 #17
  
  GtkScale::slider-length = 25
  GtkScale::slider-width  = 17
  GtkScale::trough-border = 0

  GtkWidget::link-color = "#0062dc" # blue
  GtkWidget::visited-link-color = "#8c00dc" #purple

  WnckTasklist::fade-overlay-rect = 0
  WnckTasklist::fade-loop-time = 5.0 # 5 seconds
  WnckTasklist::fade-opacity = 0.5 # final opacity

  #makes menu only overlap border
  GtkMenu::horizontal-offset = -1

  #removes extra padding at top and bottom of menus.  Makes menuitem overlap border
  GtkMenu::vertical-padding = 0

  #set to the same as roundness, used for better hotspot selection of tabs
  GtkNotebook::tab-curvature = 2
  GtkNotebook::tab-overlap = 4

  GtkMenuItem::arrow-spacing = 10
  #Spacing between edge with indicator and text
  GtkOptionMenu  ::indicator-size = {11, 5}
  #GtkOptionMenu  ::indicator-spacing = {6, 5, 4, 4}

  GtkCheckButton ::indicator-size = 15
  GtkCheckButton ::indicator-spacing = 1
  GtkRadioButton ::indicator-size = 15

  GtkTreeView::horizontal_separator = 2
  GtkTreeView::odd_row_color = mix(0.98, shade (0.93, @base_color), @selected_bg_color)

  GtkScrolledWindow::scrollbar-spacing = 0
  GtkScrolledWindow::scrollbars-within-bevel = 1

  xthickness = 1
  ythickness = 1

  fg[NORMAL]       	=  @fg_color
  fg[ACTIVE]       	=  @fg_color
  fg[PRELIGHT]     	=  @fg_color
  fg[SELECTED]     	=  @selected_fg_color
  fg[INSENSITIVE]  	=  shade (3.0,@fg_color)

  bg[NORMAL]       	=  @bg_color
  bg[ACTIVE]        =  shade (0.95,@bg_color)
  bg[PRELIGHT]      =  mix(0.92, shade (1.1,@bg_color), @selected_bg_color)
  bg[SELECTED]      =  @selected_bg_color
  bg[INSENSITIVE]  	=  shade (1.06,@bg_color)

  base[NORMAL]     	=  @base_color
  base[ACTIVE]     	=  shade (0.65,@base_color)
  base[PRELIGHT]   	=  @base_color
  base[SELECTED]     =  @selected_bg_color
  base[INSENSITIVE]	=  shade (1.025,@bg_color)

  text[NORMAL]     	=  @text_color
  text[ACTIVE]      	=  shade (0.95,@base_color)
  text[PRELIGHT]   	=  @text_color
  text[SELECTED]   	=  @selected_fg_color
  text[INSENSITIVE]	=  mix (0.675,shade (0.95,@bg_color),@fg_color)

  engine "aurora" 
  {
	  menubarstyle    = 1 # 0 = flat, 1 = gradient, 2 = sunken
	  curvature       = 2.0
	  arrowsize       = 1.0# controls combo_arrow circle size.  Diameter set by (11 + 2 * arrowsize)
	  old_arrowstyle  = FALSE #set to TRUE for original circled arrows
	  animation       = TRUE # FALSE = disabled, TRUE = enabled
  }
}


style "theme-wide" = "theme-default"
{
  xthickness = 2
  ythickness = 2
}

style "theme-wider" = "theme-default"
{
  xthickness = 3
  ythickness = 3
}

style "theme-button" = "theme-wider"
{
  bg[NORMAL]   =  shade (1.16,@bg_color)
  bg[ACTIVE]   =  shade (0.84,@bg_color)
  bg[PRELIGHT] =  mix(0.93, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
  bg[SELECTED] =  shade (1.10,@selected_bg_color)
  engine "aurora" 
  {
	  curvature       = 2.5
  }
}

style "theme-entry" = "theme-button" { ythickness = 4 }

style "theme-frame" = "theme-wide" { }

style "theme-toolbar"
{
  xthickness = 2
  ythickness = 2
  bg[NORMAL] =  shade (1.078,@bg_color) #mix(0.98, shade (1.0475,@bg_color), shade (1.1,@selected_bg_color)) #slightly tinted
}


style "theme-handlebox"
{
  bg[NORMAL] = shade (0.95,@bg_color)
}

style "theme-scale"
{
  bg[NORMAL]   =  shade (1.06, @bg_color)
  bg[PRELIGHT] =  mix(0.85, shade (1.1,@bg_color), @selected_bg_color)
  bg[SELECTED] =  shade (1.10,@selected_bg_color)
}

style "theme-range"
{
  bg[NORMAL]   =  shade (1.12,@bg_color)#shade (1.085,@bg_color)
  bg[ACTIVE]   =  @bg_color
  bg[PRELIGHT] =  mix(0.95, shade (1.10,@bg_color), @selected_bg_color)

  #Arrows
  text[NORMAL]      =  shade (0.275,@selected_fg_color) #shade (0.925,@fg_color)
  text[PRELIGHT]    =  @selected_fg_color
  text[ACTIVE]      =  shade (0.10,@selected_fg_color)
  text[INSENSITIVE] =  mix (0.80,shade (0.90,@bg_color),@fg_color)
}

style "theme-notebook" = "theme-wider"
{
  bg[NORMAL] =  shade (1.08,@bg_color)
  fg[ACTIVE] =  shade (0.32, @bg_color)
  fg[ACTIVE] =  shade (0.32, @bg_color)
  bg[ACTIVE] =  shade (0.87,@bg_color)
}

style "theme-paned" {
  bg[PRELIGHT] =  shade (1.1,@bg_color)
}


style "theme-panel"{
#	fg[NORMAL] = shade (1.1, @bg_color)
#    bg[NORMAL] = shade (0.2, @bg_color)
#	bg[PRELIGHT] = @selected_bg_color
    # Menu
    fg[PRELIGHT] = @selected_fg_color
    #bg[SELECTED] = @selected_bg_color
  font_name  = "Bold 9"
    text[PRELIGHT] = @selected_fg_color
    #text[SELECTED] = @selected_bg_color
	#text[NORMAL] = shade (1.1, @bg_color)
}


style "theme-menu"
{
  xthickness = 0
  ythickness = 0
  bg[NORMAL] = shade (1.16,@bg_color)
  text[PRELIGHT] 	 =  @selected_fg_color
  fg[PRELIGHT] 	 =  @selected_fg_color

}

style "theme-menu-item" = "theme-menu"
{
	xthickness = 3
	ythickness = 3
#font_name  = "Bold 9"
  #text[PRELIGHT] 	 =  @selected_fg_color
  #fg[PRELIGHT] 	 =  @selected_fg_color

}

style "theme-menubar"
{ 
#  xthickness = 0
#  ythickness = 0
  #bg[NORMAL] = shade (0.95,@bg_color)
}
style "theme-menubar-item" = "theme-menu-item" {
#	xthickness = 4
#	ythickness = 4
#font_name  = "Bold 9"
  #fg[NORMAL] 	 =  @selected_fg_color
  #text[PRELIGHT] 	 =  @selected_fg_color
  #fg[PRELIGHT] 	 =  @selected_fg_color
  #text[INSENSITIVE] 	 =  shade (0.60,@selected_fg_color)
  #fg[INSENSITIVE] 	 =  shade (0.60,@selected_fg_color)
}

style "theme-tree"
{
  xthickness = 2
  ythickness = 1

  font_name  = "Bold 9"
  GtkWidget::focus-padding = 0

  bg[NORMAL]   =  shade (1.05,@bg_color)
  bg[PRELIGHT] = shade (1.15,@bg_color)
  bg[ACTIVE]   =  mix(0.87,  shade (1.05,@bg_color), @selected_bg_color)
}

style "theme-tree-arrow"
{
  bg[NORMAL]   =  mix(0.70, shade (0.60,@bg_color), shade (0.80,@selected_bg_color))
  bg[PRELIGHT] =  mix(0.80, @bg_color, @selected_bg_color)

}

style "theme-progressbar"
{
  font_name  = "Bold"
  bg[NORMAL]   =  shade (1.20,@bg_color)
  bg[SELECTED] = @selected_bg_color
  fg[PRELIGHT]  		= @selected_fg_color
}

style "theme-tooltips" = "theme-wider"
{
  bg[NORMAL]    =  @tooltip_bg_color
  fg[NORMAL]    =  @tooltip_fg_color
  text[NORMAL]  =  @tooltip_fg_color
}

style "theme-combo" = "theme-button" { 
  xthickness = 4
  ythickness = 4
}

style "theme-combo-box" = "theme-button" {
  xthickness = 3
  ythickness = 2
}

style "theme-entry-combo-box" = "theme-button" {
  xthickness = 6
  ythickness = 3
}

style "theme-combo-arrow" = "theme-button"
{
  xthickness = 1
  ythickness = 1
}

style "theme-view"
{
  xthickness = 0
  ythickness = 0
}

style "theme-check-radio-buttons" = "theme-button"
{
  GtkWidget::interior-focus = 0
  GtkWidget::focus-padding = 1
  text[SELECTED]     =  @selected_fg_color
  text[INSENSITIVE]	=  shade (0.625,@bg_color)
  base[PRELIGHT]     =  mix(0.80, @base_color, @selected_bg_color)
  bg[INSENSITIVE]    =  shade (1.10,@bg_color)
  bg[SELECTED]       =  @selected_bg_color
}

style "theme-calendar"
{
  xthickness = 0
  ythickness = 0
  bg[NORMAL]        =  shade (0.92,@bg_color)
  bg[PRELIGHT]        =  shade (0.92,@bg_color)
  bg[ACTIVE]        =  shade (0.85,@bg_color)
  text[PRELIGHT]   	=  @selected_fg_color
}

style "theme-separator-menu-item"
{
	GtkSeparatorMenuItem::horizontal-padding = 2
	# We are setting the desired height by using wide-separators
	# There is no other way to get the odd height ...
	GtkWidget::wide-separators = 1
	GtkWidget::separator-width = 1
	GtkWidget::separator-height = 5
	xthickness = 1
	ythickness = 0
}

# widget styles
class "GtkWidget"       style "theme-default"
class "GtkScale"        style "theme-scale"
class "GtkRange"        style "theme-range"
class "GtkPaned"        style "theme-paned"
class "GtkFrame"        style "theme-frame"
class "GtkMenu"         style "theme-menu"
class "GtkMenuBar"      style "theme-menubar"
class "GtkEntry"        style "theme-entry"
class "GtkProgressBar"  style "theme-progressbar"
class "GtkToolbar"      style "theme-toolbar"
class "GtkSeparator"    style "theme-wide"
class "GtkCalendar"     style "theme-calendar"

widget_class "*<GtkMenuItem>*" style "theme-menu-item"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "theme-menubar-item"
widget_class "*<GtkSeparatorMenuItem>*" style "theme-separator-menu-item"

widget_class "*<GtkButton>"      style "theme-button"
widget_class "*<GtkCheckButton>" style  "theme-check-radio-buttons"
widget_class "*<GtkHandleBox>"   style "theme-handlebox"

widget_class "*<GtkNotebook>"    style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkEventBox>" style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>" style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkViewport>" style "theme-notebook"
widget_class "*<GtkNotebook>.<GtkLabel>*" style "theme-notebook" #for tabs

# combobox stuff
widget_class "*<GtkCombo>*"    style "theme-combo"
widget_class "*<GtkComboBox>*<GtkButton>"    style "theme-combo-box"
#widget_class "*<GtkComboBoxEntry>*" style "theme-entry-combo-box"
#widget_class "*<GtkSpinButton>*"    style "theme-combo"

# tooltips stuff
widget "gtk-tooltip*"  style "theme-tooltips"

# treeview stuff
widget_class "*<GtkTreeView>.<GtkButton>*" style "theme-tree"
widget_class "*<GtkCTree>.<GtkButton>*" 	style "theme-tree"
widget_class "*<GtkList>.<GtkButton>*" 	style "theme-tree"
widget_class "*<GtkCList>.<GtkButton>*" 	style "theme-tree"

#For arrow bg
widget_class "*<GtkTreeView>.<GtkButton>*<GtkArrow>" style "theme-tree-arrow"
widget_class "*<GtkCTree>.<GtkButton>*<GtkArrow>" 	style "theme-tree-arrow"
widget_class "*<GtkList>.<GtkButton>*<GtkArrow>" 	style "theme-tree-arrow"


#######################################################
##  GNOME specific
#######################################################

#Panel
#widget "*PanelWidget*" 					style "theme-toolbar"
#widget "*PanelApplet*" 					style "theme-panel"
#widget "*fast-user-switch*"				style "theme-panel" # Workaround for Fast User Switch applet
#class "PanelApp*" 					style "theme-toolbar"
#class "PanelToplevel*" 					style "theme-toolbar"

widget_class "*.ETree.ECanvas" 	style "theme-tree" #evolution
widget_class "*.ETable.ECanvas" 	style "theme-tree" #evolution

style "panelbuttons" = "theme-button"
{
  # as buttons are draw lower this helps center text
  xthickness = 3
  ythickness = 3
}

widget_class "*Panel*<GtkButton>*" style "panelbuttons"

#nautilus search stripe and other specialties
style "extra-view" = "theme-default"{
	bg[NORMAL] = shade(0.4,@bg_color)
	fg[NORMAL] = @selected_fg_color
} 
#nautilus search stripe
widget "*.nautilus-extra-view-widget.*Button*.GtkLabel*" style:highest "theme-button"
widget "*.nautilus-extra-view-widget" style:highest "extra-view"
widget "*.nautilus-extra-view-widget.*.GtkLabel*" style:highest "extra-view"