summaryrefslogtreecommitdiff
path: root/desktop-themes/GreenLaguna/gtk-2.0/gtkrc
blob: 26086e823642b23e510ca685309db3f171213348 (plain)
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
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
#########################################
#	GreenLaguna			#
#					#
# Created by Wolfgaang Ulbrich		#
#					#
# chat-to-me@raveit.de			#
#					#
# Based on Murrine			#
#########################################

gtk_color_scheme = "bg_color:#E9EFE7\nbg_active_color:#70816A" #bg_active_color: #e1d9d1

gtk-auto-mnemonics = 1 # press alt for underline


style "murrine-default"
{
	GtkScale       ::slider-length     = 28
	GtkScale       ::trough-side-details = 1  # 0 = thin slider, >0 = thick slider

	GtkButton      ::child-displacement-x = 0
	GtkButton      ::child-displacement-y = 0
	GtkButton      ::default-border       = { 0, 0, 0, 0 }

	GtkExpander	::expander_size	      = 16	# expander arrow size

	GtkMenuItem	:: arrow-scaling      = 0.7	# scale of menu arrow
	#GtkMenuItem	:: horizontal-padding = 6	# padding to left and
							# right of the menu item;
							# is also related to
							# panel

	# these remove bar separators
	GtkMenuBar     ::shadow_type          = GTK_SHADOW_NONE
	#GtkToolbar     ::shadow_type          = GTK_SHADOW_NONE

	GtkPaned       ::handle_size       = 6

	GtkRange       ::trough_border     = 0
	#GtkRange       ::slider_width      = 15
	GtkRange::trough-under-steppers    = 0	# round scroll bar
	#GtkRange       ::stepper_size      = 15

	GtkScrollbar   ::min_slider_length = 36
	GtkScrollbar   ::activate-slider = 1
	GtkCheckButton ::indicator_size    = 14
	GtkMenuBar     ::internal-padding  = 0
	GtkTreeView    ::expander_size     = 14
	#GtkTreeView    ::vertical-separator = 0
	#GtkTreeView    ::indent-expanders = 1

	# GtkToolbar     ::button-relief     = GTK_RELIEF_NORMAL
	# GtkScrollbar   ::has-secondary-forward-stepper = 1
	# GtkScrollbar   ::has-secondary-backward-stepper = 1

	xthickness = 1
	ythickness = 1

	GtkTreeView::odd_row_color = "#EFF5ED"
	GtkTreeView::even_row_color = "#F8FAF7"

	GtkEntry::progress-border = {2, 2, 2, 2}
	# A workaround for gecko (and possibly other appliations):
	GtkEntry::state-hint = 0
	GtkEntry::honors-transparent-bg-hint = 1

	fg[NORMAL]        = "#101010"
	fg[PRELIGHT]      = "#000000"
	fg[ACTIVE]        = "#000000"
	fg[SELECTED]      = "#ffffff"
	fg[INSENSITIVE]   = "#ADB3AB"

	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = "#F1F5F0"
	bg[ACTIVE]        = "#D5E1D1"
	bg[SELECTED]      = @bg_active_color # scaler trough, pressed buttons
	bg[INSENSITIVE]   = "#E5EBE3"

	base[NORMAL]      = "#ffffff"
	base[PRELIGHT]    = "#ffffff"
	base[ACTIVE]      = shade (1.22, @bg_active_color)
	base[SELECTED]    = @bg_active_color # selected text
	base[INSENSITIVE] = "#E5EBE3"

	text[NORMAL]      = "#000000"
	text[PRELIGHT]    = "#000000"
	text[ACTIVE]      = "#FFFFFF"
	text[SELECTED]    = "#FFFFFF"
	text[INSENSITIVE] = "#ADB3AB"

    engine "murrine" 
    {
	#rgba = FALSE
	focus_color = "#ADC6A6"
	glazestyle = 4
	#contrast = 0.5
	highlight_shade = 1.0
        glow_shade = 1.0
        gradient_shades     = {1.06, 1.06, 0.94, 0.94}
	arrowstyle = 1		# triangular arrows
	menustyle = 0		# without vertical bar
	menubaritemstyle = 0	# 0 = menuitem look, 1 = button look
	menubarstyle = 2	# 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
	menuitemstyle = 0	# 0 = flat, 1 = glassy, 2 = striped
	toolbarstyle = 1	# 0 = flat, 1 = glassy, 2 = gradient
        roundness = 3
	separatorstyle = 1	# smooth separator
	sliderstyle = 1		# handles
	border_shades = { 1.3, 1.0 }	# gradient on entry borders
	prelight_shade = 0.95  # shade level for scrollbar's slider, comboboxstyle, and prelight state with gradient_colors
	#spinbuttonstyle = 1		# with separator
	trough_shades = { 0.88, 2.0 }	# gradient on trough of GtkScrollbar and GtkProgressbar
	colorize_scrollbar  = FALSE
	scrollbarstyle = 0     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal
	stepperstyle = 1     # 0 = standard, 1 = integrated stepper handles, 2 = squared steppers with round slider
	expanderstyle = 2		# expander button with +/-
    }
}

style "menu"
{
	bg[NORMAL]   = shade (0.4, @bg_color)
	fg[NORMAL]   =  "#ffffff"
	text[NORMAL] =  "#ffffff"

	engine "pixmap" # just for similarity to the GTK3 theme
	{
		image
		{
			function	= BOX
			file		= "bg.png"
			stretch		= TRUE
		}
	}
}

style "menuitem"
{
	fg[PRELIGHT]   = "#000000"
	bg[SELECTED]   = shade (1.08, @bg_color)

	xthickness = 2
	ythickness = 3

	engine "murrine" 
	{
		#rgba = TRUE
		menuitemstyle = 1
		border_shades = {0.6, 0.3}
		glow_shade = 2.0
		gradient_shades = {1.0, 0.9, 0.6, 0.4}
	}
}

style "menubar-menuitem"
{
	fg[PRELIGHT]   = "#ffffff"
	bg[SELECTED]   = shade (0.57, @bg_color)

	xthickness = 2
	ythickness = 3

	engine "murrine" 
	{
		#rgba = TRUE
		roundness = 2
		menuitemstyle = 0
		border_shades = { 1.5, 1.5 }
		#glow_shade = 2.0
		gradient_shades = {1.0, 1.0, 1.0, 1.0} #{1.0, 1.0, 0.77, 0.77}
	}
}

style "misc-sep"
{
	xthickness = 2
	ythickness = 2

	engine "murrine"
	{
		separatorstyle = 1
	}
}

style "murrine-button"
{
	#xthickness = 3
	#ythickness = 3

	bg[NORMAL]      = shade (0.9, @bg_color) #1.0
	bg[PRELIGHT]    = shade (1.0, @bg_color)
	#bg[SELECTED]    = shade (1.0, @bg_color)
	bg[ACTIVE]      = shade (0.9, @bg_color)
	bg[INSENSITIVE] = @bg_color
	fg[ACTIVE]      = "#000000"
	fg[PRELIGHT]    = "#000000"
	text[PRELIGHT]  = "#000000"

	engine "murrine"
	{
		glow_shade = 1.20
		lightborder_shade = 1.06
		gradient_shades = {1.2, 1.2, 0.93, 0.93}
		contrast = 0.8
	}
}

style "murrine-togglebutton"
{
	bg[ACTIVE]   = "#ADC6A6"
	bg[PRELIGHT] = "#ADC6A6"
}

style "murrine-menubar"
{
	#xthickness = 3
	#ythickness = 0
	#bg[NORMAL] = @bg_color
	engine "murrine"
	{
		#contrast = 0.5
	}
}

style "murrine-toolbar"
{
	xthickness = 3
	#ythickness = 0
	#bg[NORMAL] = @bg_color
	engine "murrine"
	{
		gradient_shades = {0.8, 0.9, 1.0, 1.06}
		contrast = 0.0
	}
}

style "murrine-progressbar"
{
	xthickness = 0
	ythickness = 0
	bg[SELECTED] = "#C3C5C3"	# sets the progressbar color

	engine "murrine" 
	{
		glazestyle = 1
		highlight_shade = 1.1
		glow_shade = 2.0
		gradient_shades = {3.0, 1.0, 1.0, 3.0}
		progressbarstyle = 1	# 0 = nothing, 1 = striped, 2 = cells
        	contrast = 1.130 # Darken unfilled progressbar background
        	roundness = 12
		#animation = TRUE
    	}
}

style "murrine-scale"
{
	bg[NORMAL]      = shade (0.95, @bg_color)
	bg[PRELIGHT]    = shade (1.1, @bg_color)
	bg[INSENSITIVE] = shade (0.99, @bg_color)

	engine "murrine"
	{
		gradient_shades     = {1.2,1.0,1.0,0.9}
		sliderstyle = 1  # 0 = nothing added, 1 = handles
		contrast = 1.130
		glazestyle = 0  # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
		glow_shade = 1.14  # sets glow amount for buttons or widgets
		glowstyle = 0   # 0=top, 1=bottom, 2=top and bottom, 3=center (vertical), 4=center (horizontal)  
		highlight_shade = 1.02  # set highlight amount for buttons or widgets
		roundness = 6
	}
}

style "scrollbar"
{
	GtkScrollbar::slider-width = 11

	bg[NORMAL]      = shade (1.0, @bg_color)
	bg[PRELIGHT]    = shade (1.05, @bg_color)
	bg[ACTIVE]	= shade (1.05, @bg_color)
	bg[INSENSITIVE]	= shade (0.99, @bg_color)

	engine "murrine"
	{
		#rgba = FALSE
		border_shades = {0.8, 0.8} # draw a gradient on the border.
		border_colors = { @bg_color, @bg_color }
		#contrast = 1.0
		glow_shade = 1.14   # sets glow amount for buttons or widgets
		glowstyle = 0    # 0=top, 1=bottom, 2=top and bottom, 3=center (vertical), 4=center (horizontal) 
		highlight_shade = 1.0  # set highlight amount for buttons or widgets
		lightborder_shade = 1.2   # sets lightborder amount for buttons or widgets
		gradient_shades = {1.1, 1.0, 0.93, 0.87}
		roundness = 8
		trough_shades = {1.0, 1.0} #{0.77, 2.0}
		contrast = 0.0
	}
}

style "hscrollbar"
{
}

style "vscrollbar"
{
}

style "murrine-radiocheck"
{
	bg[SELECTED] = shade (0.8, @bg_color)
	bg[PRELIGHT] = shade (0.94, @bg_color)
	bg[ACTIVE]   = shade (0.7, @bg_color)  # for Synaptic
	fg[ACTIVE]   = "#000000"  # for Synaptic
	fg[PRELIGHT] = "#000000"  # for Synaptic

	engine "murrine"
	{
		#glow_shade = 2.0
		#gradient_shades = {1.2, 1.2, 0.7, 0.7}  # affects Synaptic buttons!
	}
}

style "murrine-handle"
{
	engine "murrine"
	{
		# The gradient shades should be the same as for the toolbar
		gradient_shades = {0.8, 0.9, 1.0, 1.06}
		contrast = 0.0
	}
}
style "murrine-wide"
{
	xthickness = 2
	ythickness = 2
}

style "metacity-frame"
{
	bg[SELECTED] = "#99D986"
}
style "murrine-tasklist"
{
	xthickness = 5
	ythickness = 3
}

style "murrine-tooltips"
{
	xthickness = 4
	ythickness = 4
	bg[NORMAL] = { 1.0,1.0,0.75 }
}

style "misc-panel"
{
	engine "murrine"
	{
		rgba = FALSE
		roundness=3
	}

	bg[NORMAL]   = "#C2D0BD"  # for the (light) Ambiance background
#	bg[NORMAL]   = "#5A6C5F"  # for the (dark) Ambiance background
	bg[PRELIGHT] = "#AEC6A6" #for the (light) Ambiance background
#	bg[PRELIGHT] = "#C7E3BE" #for the (dark) Ambiance background
	bg[SELECTED] = shade (0.6, @bg_color)  # to be compatible with menus
#	bg[SELECTED] = shade (1.08, @bg_color)  # to be compatible with menus (dark) Ambiance background
	fg[NORMAL]   = "#000000"  # for light panel
#	fg[NORMAL]   = "#FFFFFF"  # for dark panel
#	fg[PRELIGHT] = "#000000"  # for dark panel
#	fg[SELECTED] = "#000000"  # for dark panel

#	font_name = "Bitstream Charter Bold 9"
	xthickness = 2
	ythickness = 2
}

style "entry"
{
	xthickness = 3
	ythickness = 3
	engine "murrine"
	{
		border_shades = {1.5, 1.2}
		focus_color = shade (0.48, @bg_color)
		contrast = 0.8
	}
}

style "comboboxentry" 
{
	ythickness = 3
	xthickness = 3

	#fg[ACTIVE] = "#FFFFFF"
	text[PRELIGHT]   = "#FFFFFF"

	engine "murrine"
	{
		#rgba = FALSE
		border_shades = {1.5, 1.2}
		focus_color = shade (0.48, @bg_color)
		contrast = 0.8
	}
}

style "spinbutton"
{
	xthickness = 4

	engine "murrine"
	{
		#rgba = FALSE
	}
}

style "murrine-notebook"
{
	#bg[ACTIVE]   = "#D0C9C2"
	#bg[NORMAL]   = "#f5f2ef"
	#bg[SELECTED] = @bg_color

	bg[NORMAL] = shade (1.0, @bg_color)	# selected tab entire
	bg[ACTIVE] = shade (0.87, @bg_color)	# unselected tab

	xthickness = 3
	ythickness = 3

	GtkNotebook::tab-overlap = -1
	GtkNotebook::tab-roundness = 0

	engine "murrine" 
	{
		glazestyle = 1
		highlight_shade = 1.0
        	glow_shade = 2.0
        	gradient_shades     = {1.5, 1.5, 0.8, 0.8}
		roundness=5
		#contrast = 1.1
		#lightborder_shade = 1.5
	}
}

style "treeview-header"
{
	xthickness = 2
	ythickness = 1

	engine "murrine"
	{
		#contrast = 0.8
	}
}

style "chrome-gtk-frame"
{
	ChromeGtkFrame::frame-color = "#A3B39E" #@fg_color
	ChromeGtkFrame::inactive-frame-color = "#A3B39E" #lighter(@fg_color)

	ChromeGtkFrame::frame-gradient-size = 10
	ChromeGtkFrame::frame-gradient-color = @bg_color

	ChromeGtkFrame::scrollbar-trough-color = @bg_color
	ChromeGtkFrame::scrollbar-slider-prelight-color = "#B8C5B4"  #@bg_active_color
	ChromeGtkFrame::scrollbar-slider-normal-color = "#A3B39E"
}

class "ChromeGtkFrame" style "chrome-gtk-frame"
########################################
# Common
#########
class "GtkWidget"	style "murrine-default"
class "GtkFrame"	style "murrine-wide"
class "MetaFrames"	style "metacity-frame"
class "GtkWindow"	style "metacity-frame"
class "GtkProgressBar"	style "murrine-progressbar"
class "GtkScale"	style "murrine-scale"
class "GtkHandleBox"	style "murrine-handle"
class "GtkRange"	style "murrine-wide"
class "GtkEntry"	style "entry"
class "GtkSpinButton"	style "spinbutton"
widget_class "*<GtkMenu>*"		style "menu"
class "GtkToolbar"	style "murrine-toolbar"
class "GtkMenuBar"	style "murrine-menubar"
class "GtkNotebook"	style "murrine-notebook"
class "GtkScrollbar"	style "scrollbar"
class "GtkVScrollbar"	style "vscrollbar"
class "GtkHScrollbar"	style "hscrollbar"
class "GtkRadioButton"	style:highest "murrine-radiocheck"	
class "GtkCheckButton"	style:highest "murrine-radiocheck"

widget_class "*<GtkMenuItem>*"			style "menuitem"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*"	style "menubar-menuitem"
########################################
# Tooltips
###########
widget_class "*.tooltips.*.GtkToggleButton"	style "murrine-tasklist"
widget "gtk-tooltips"				style "murrine-tooltips"
widget "gtk-tooltip"				style "murrine-tooltips"
########################################
# panel
########
class "Panel"					style "misc-panel"
class "*Separator*"				style "misc-sep"
# This is suitable for dark panels:
widget "*PanelApplet*"				style "misc-panel"
widget_class "*PanelWidget*"			style "misc-panel"
widget "*fast-user-switch-applet*"		style "misc-panel"
########################################
# Combo
#########
widget_class "*<GtkComboBoxEntry>*"		style:highest "comboboxentry"
widget_class "*<GtkCombo>*"			style:highest "comboboxentry"
widget_class "*<GtkComboBox>*"			style "comboboxentry"
########################################
# Buttons
##########
# All buttons:
widget_class "*<GtkButton>"			style "murrine-button"
# High contrast for toggle buttons and their labels:
widget_class "*.<GtkToggleButton>*"		style "murrine-togglebutton"
# No high contrast for combo boxes, their labels and their arrows:
widget_class "*<GtkComboBox>.*"			style "murrine-button"
# No high contrast for toggle buttons, their labels and arrows on toolbars:
widget_class "*<GtkToolbar>.*"			style "murrine-button"
widget_class "*.<GtkRadioButton>.<GtkLabel>"	style "murrine-radiocheck"
widget_class "*.<GtkCheckButton>.<GtkLabel>"	style "murrine-radiocheck"
########################################
widget_class "*.<GtkTreeView>.<GtkButton>"	style "treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>"		style "treeview-header"
widget_class "*.<GtkList>.<GtkButton>"		style "treeview-header"
widget_class "*.<GtkCList>.<GtkButton>"		style "treeview-header"

# Workarounds for Evolution (taken from Ambiance)
widget_class "*.ETable.ECanvas"			style "treeview-header"
widget_class "*.ETree.ECanvas"			style "treeview-header"

include "Styles/caja.rc"