1#########################################
2#	BlackMate			#
3#					#
4# Created by Wolfgang Ulbrich		#
5# (aka Nice&Gently aka raveit65)				#
6#					#
7# chat-to-me@raveit.de			#
8#					#
9# Based on Murrine			#
10#########################################
11
12#gtk_color_scheme = "bg_color:#3b3b3e\nbg_active_color:#666669\nscroll_slider:#3b3b3b"
13
14gtk-auto-mnemonics = 1 # press alt for underline
15
16
17style "murrine-default"
18{
19	GtkScale	::slider-length		= 28
20	GtkScale	::trough-side-details	= 1  # 0 = thin slider, >0 = thick slider
21
22	GtkButton	::child-displacement-x	= 0
23	GtkButton	::child-displacement-y	= 0
24	GtkButton	::default-border	= { 0, 0, 0, 0 }
25
26	GtkExpander	::expander_size		= 16	# expander arrow size
27
28	GtkMenuItem	:: arrow-scaling	= 0.7	# scale of menu arrow
29	#GtkMenuItem	:: horizontal-padding	= 6	# padding to left and
30							# right of the menu item;
31							# is also related to
32							# panel
33
34	# these remove bar separators
35	GtkMenuBar	::shadow_type		= GTK_SHADOW_NONE
36	#GtkToolbar	::shadow_type		= GTK_SHADOW_NONE
37
38	GtkPaned	::handle_size		= 6
39
40	GtkRange	::trough_border		= 0
41	#GtkRange	::slider_width		= 15
42	GtkRange	::trough-under-steppers	= 0	# round scroll bar
43	#GtkRange	::stepper_size		= 15
44
45	GtkScrollbar	::min_slider_length	= 36
46	GtkScrollbar	::activate-slider	= 1
47	GtkCheckButton	::indicator_size	= 14
48	GtkMenuBar	::internal-padding	= 0
49	GtkTreeView	::expander_size		= 14
50	#GtkTreeView	::vertical-separator	= 0
51	#GtkTreeView	::indent-expanders	= 1
52
53	# GtkToolbar	::button-relief     = GTK_RELIEF_NORMAL
54	# GtkScrollbar	::has-secondary-forward-stepper = 1
55	# GtkScrollbar	::has-secondary-backward-stepper = 1
56
57	xthickness = 1
58	ythickness = 1
59
60	#GtkTreeView	::odd_row_color		= "#F5F5F5"
61	#GtkTreeView	::even_row_color	= "#FAFAFA"
62
63	GtkEntry::progress-border = {2, 2, 2, 2}
64	# A workaround for gecko (and possibly other appliations):
65	GtkEntry::honors-transparent-bg-hint = 1
66
67	GtkWidget	::link-color		= "#2EB8E6" #"#9499FF"
68	GtkWidget	::visited-link-color	= "#FF6666" #"#ff80ff"
69
70	fg[NORMAL]        = "#ffffff"
71	fg[PRELIGHT]      = "#ffffff"
72	fg[ACTIVE]        = "#ffffff"
73	fg[SELECTED]      = "#ffffff"
74	fg[INSENSITIVE]   = "#b3b3b3"
75
76	bg[NORMAL]        = "#3b3b3e"
77	bg[PRELIGHT]      = shade (0.5, "#3b3b3e")
78	bg[ACTIVE]        = shade (1.1, "#3b3b3e")
79	bg[SELECTED]      = "#666669" # scaler trough, pressed buttons
80	bg[INSENSITIVE]   = "#3b3b3e"
81
82	base[NORMAL]      = "#3b3b3e" # for some old GTK2 apps
83	base[PRELIGHT]    = "#ffffff"
84	base[ACTIVE]      = shade (1.22, "#666669")
85	base[SELECTED]    = "#666669" # selected text
86	base[INSENSITIVE] = "#595959" # "#B3B3B3"
87
88	text[NORMAL]      = "#FFFFFF"
89	text[PRELIGHT]    = "#FFFFFF"
90	text[ACTIVE]      = "#FFFFFF"
91	text[SELECTED]    = "#FFFFFF"
92	text[INSENSITIVE] = "#B3B3B3"
93
94    engine "murrine"
95    {
96	#rgba = FALSE
97	focus_color = "#4d4d4d"
98	focusstyle = 0
99	glazestyle = 4
100	#contrast = 0.5
101	highlight_shade = 1.0
102	glow_shade = 1.0
103	gradient_shades     = {1.06, 1.06, 0.94, 0.94}
104	arrowstyle = 1		# triangular arrows
105	menustyle = 0		# without vertical bar
106	menubaritemstyle = 0	# 0 = menuitem look, 1 = button look
107	menubarstyle = 2	# 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
108	menuitemstyle = 0	# 0 = flat, 1 = glassy, 2 = striped
109	toolbarstyle = 1	# 0 = flat, 1 = glassy, 2 = gradient
110        roundness = 3
111	separatorstyle = 1	# smooth separator
112	sliderstyle = 1		# handles
113	border_shades = { 1.3, 1.0 }	# gradient on entry borders
114	prelight_shade = 0.95  # shade level for scrollbar's slider, comboboxstyle, and prelight state with gradient_colors
115	#spinbuttonstyle = 1		# with separator
116	trough_shades = { 0.88, 2.0 }	# gradient on trough of GtkScrollbar and GtkProgressbar
117	colorize_scrollbar  = FALSE
118	scrollbarstyle = 0     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal
119	stepperstyle = 1     # 0 = standard, 1 = integrated stepper handles, 2 = squared steppers with round slider
120	expanderstyle = 2		# expander button with +/-
121    }
122}
123
124style "menu"
125{
126	bg[NORMAL]   = shade (0.9, "#666669")
127	fg[NORMAL]   =  "#ffffff"
128	text[NORMAL] =  "#ffffff"
129
130	engine "pixmap" # just for similarity to the GTK3 theme
131	{
132		image
133		{
134			function	= BOX
135			file		= "assets/bg.png"
136			stretch		= TRUE
137		}
138	}
139}
140
141style "menuitem"
142{
143	fg[PRELIGHT]   = "#ffffff"
144	bg[SELECTED]   = shade (1.08, "#666669")
145#	fg[PRELIGHT]   = "#000000"
146	text[PRELIGHT] = "#ffffff"
147#	bg[SELECTED]   = shade (4.2, "#3b3b3e")
148
149	xthickness = 2
150	ythickness = 3
151
152	engine "murrine"
153	{
154		#rgba = TRUE
155		menuitemstyle = 1
156		border_shades = {0.8, 0.3}
157		glow_shade = 2.0
158		gradient_shades = {1.0, 0.9, 0.6, 0.4}
159	}
160}
161
162style "menubar-menuitem"
163{
164	fg[NORMAL]     = "#ffffff"
165	fg[PRELIGHT]   = "#ffffff"
166	bg[SELECTED]   = shade (1.2, "#666669")
167
168	xthickness = 2
169	ythickness = 3
170
171	engine "murrine"
172	{
173		#rgba = TRUE
174		menuitemstyle = 0
175		border_shades = {1.3, 1.0}
176		glow_shade = 2.0
177		gradient_shades = {1.0, 1.0, 0.77, 0.77}
178	}
179}
180
181style "misc-sep"
182{
183	xthickness = 2
184	ythickness = 2
185
186	engine "murrine"
187	{
188		separatorstyle = 1
189	}
190}
191
192style "murrine-button"
193{
194	#xthickness = 3
195	#ythickness = 3
196
197	bg[NORMAL]      = shade (0.6, "#4D4D4D") #1.0
198	bg[PRELIGHT]    = shade (0.7, "#4D4D4D")
199	#bg[SELECTED]    = shade (1.0, "#3b3b3e")
200	bg[ACTIVE]      = shade (0.9, "#4D4D4D")
201	bg[INSENSITIVE] = "#4D4D4D"
202	fg[ACTIVE]      = "#ffffff"
203	fg[PRELIGHT]    = "#ffffff"
204
205	engine "murrine"
206	{
207		glow_shade = 1.20
208		lightborder_shade = 1.06
209		gradient_shades = {3.3, 1.0, 0.6, 0.5}
210		contrast = 0.8
211	}
212}
213
214style "murrine-togglebutton"
215{
216	fg[NORMAL]   = "#ffffff"
217	fg[ACTIVE]   = "#ffffff"
218	fg[PRELIGHT]   = "#ffffff"
219	bg[ACTIVE]   = shade (0.58, "#4D4D4D")
220	bg[PRELIGHT] = shade (0.58, "#4D4D4D")
221	engine "murrine"
222	{
223		gradient_shades = {3.0, 1.0, 0.6, 0.5}
224	}
225}
226
227style "murrine-menubar"
228{
229	#xthickness = 3
230	#ythickness = 0
231	#bg[NORMAL] = "#3b3b3e"
232	fg[SELECTED] = "#ffffff"
233	engine "murrine"
234	{
235		#contrast = 0.5
236	}
237}
238
239style "murrine-toolbar"
240{
241	xthickness = 3
242	#ythickness = 0
243	#bg[NORMAL] = "#3b3b3e"
244	engine "murrine"
245	{
246		gradient_shades = {0.6, 1.0, 1.32, 1.73}
247		contrast = 0.0
248	}
249}
250
251style "murrine-progressbar"
252{
253	xthickness = 0
254	ythickness = 0
255	bg[SELECTED] = shade (0.6, "#3B3B3E")	# sets the progressbar color
256
257	engine "murrine"
258	{
259		glazestyle = 1
260		highlight_shade = 1.1
261		glow_shade = 2.0
262		gradient_shades = {1.4, 1.0, 1.0, 1.4}
263		progressbarstyle = 0	# 0 = nothing, 1 = striped, 2 = cells
264        	contrast = 1.130 # Darken unfilled progressbar background
265        	roundness = 12
266		#animation = TRUE
267    	}
268}
269
270style "murrine-statusbar" {
271	xthickness = 0
272	engine "pixmap"
273	{
274	    image
275	    {
276		function		= RESIZE_GRIP
277		recolorable		= TRUE
278		state			= NORMAL
279		detail			= "statusbar"
280		overlay_file	= "assets/resize-grip.png"
281		overlay_border	= {0,0,0,0 }
282		overlay_stretch	= FALSE
283	    }
284	}
285}
286
287style "murrine-scale"
288{
289	bg[NORMAL]      = shade (0.95, "#3b3b3e")
290	bg[PRELIGHT]    = shade (1.1, "#3b3b3e")
291	bg[INSENSITIVE] = shade (0.99, "#3b3b3e")
292
293	engine "murrine"
294	{
295		gradient_shades     = {1.2,1.0,1.0,0.9}
296		sliderstyle = 1  # 0 = nothing added, 1 = handles
297		contrast = 1.130
298		glazestyle = 0  # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
299		glow_shade = 1.14  # sets glow amount for buttons or widgets
300		glowstyle = 0   # 0=top, 1=bottom, 2=top and bottom, 3=center (vertical), 4=center (horizontal)
301		highlight_shade = 1.02  # set highlight amount for buttons or widgets
302		roundness = 6
303	}
304}
305
306style "scrollbar"
307{
308	GtkScrollbar::slider-width = 11
309
310	bg[NORMAL]      = shade (2.5, "#3b3b3b")
311	bg[PRELIGHT]    = shade (2.8, "#3b3b3b")
312	bg[ACTIVE]      = shade (3.0, "#3b3b3b")
313	bg[INSENSITIVE]	= shade (1.5, "#3b3b3b")
314
315	engine "murrine"
316	{
317		#rgba = FALSE
318		border_shades = {0.3, 0.8} # draw a gradient on the border.
319		border_colors = { "#3b3b3e", "#3b3b3e" }
320		#contrast = 1.0
321		glow_shade = 1.14   # sets glow amount for buttons or widgets
322		glowstyle = 0    # 0=top, 1=bottom, 2=top and bottom, 3=center (vertical), 4=center (horizontal)
323		highlight_shade = 1.02  # set highlight amount for buttons or widgets
324		lightborder_shade = 1.2   # sets lightborder amount for buttons or widgets
325		gradient_shades = {0.34, 0.6, 0.6, 0.34}
326		roundness = 8
327		trough_shades = {1.0, 1.0} #{0.8, 2.0}
328		contrast = 0.0
329	}
330}
331
332style "hscrollbar"
333{
334}
335
336style "vscrollbar"
337{
338}
339
340style "murrine-radiocheck"
341{
342	bg[SELECTED] = shade (1.3, "#3b3b3e")
343	bg[PRELIGHT] = shade (1.44, "#3b3b3e")
344	bg[ACTIVE]   = shade (0.2, "#3b3b3e")  # for Synaptic
345	fg[ACTIVE]   = "#ffffff"  # for Synaptic
346	fg[PRELIGHT] = "#ffffff"  # for Synaptic
347	text[NORMAL] = "#ffffff"
348
349	engine "murrine"
350	{
351		#glow_shade = 2.0
352		#gradient_shades = {1.2, 1.2, 0.7, 0.7}  # affects Synaptic buttons!
353	}
354}
355
356style "murrine-handle"
357{
358	engine "murrine"
359	{
360		# The gradient shades should be the same as for the toolbar
361		gradient_shades = {0.6, 1.0, 1.32, 1.73}
362		contrast = 0.0
363	}
364}
365style "murrine-wide"
366{
367	xthickness = 2
368	ythickness = 2
369}
370
371style "metacity-frame"
372{
373	bg[SELECTED] = "#86ABD9"
374}
375
376style "murrine-tasklist"
377{
378	xthickness = 5
379	ythickness = 3
380}
381
382style "murrine-tooltips"
383{
384	xthickness = 4
385	ythickness = 4
386	bg[NORMAL] = "#000000"
387}
388
389style "misc-panel"
390{
391	engine "murrine"
392	{
393		rgba = FALSE
394		roundness=3
395	}
396
397	bg[NORMAL]   = shade (0.7, "#4D4D4D")  # for the (dark) Ambiance background
398	bg[PRELIGHT] = "#c6b9a6" #for the (dark) Ambiance background
399#	bg[SELECTED]   = shade (4.2, "#3b3b3e")  # to be compatible with menus
400	fg[NORMAL]   = "#FFFFFF"  # for dark panel
401	#fg[PRELIGHT] = "#FFFFFF"
402
403#	font_name = "Bitstream Charter Bold 9"
404	xthickness = 2
405	ythickness = 2
406}
407
408# syncronize panel menus
409style "applet"
410{
411	bg[NORMAL]   = shade (0.7, "#4D4D4D")  # for the (dark) Ambiance background
412	bg[ACTIVE]   = shade (0.78, "#666669")  # to be compatible with menus
413	fg[ACTIVE]   = "#FFFFFF"
414	bg[PRELIGHT] = shade (0.68, "#666669") #for the (dark) Ambiance background
415	fg[PRELIGHT] = "#FFFFFF"
416}
417
418style "view"
419{
420	# It's better not to have too bright text views.
421	base[NORMAL] = "#ECECEC"
422	text[NORMAL] = "#000000"
423}
424
425style "entry"
426{
427	base[NORMAL] = "#424245"
428	fg[INSENSITIVE] = "#666666"
429	xthickness = 0
430	ythickness = 0
431	GtkEntry::inner-border = {4, 4, 4, 4}
432	GtkEntry::state-hint = 1
433
434	engine "pixmap" # just for similarity to the GTK3 theme
435	{
436		image
437		{
438			state           = NORMAL
439			function	= FLAT_BOX
440			file		= "assets/bg-entry.png"
441			border          = {3, 3, 3, 3}
442			stretch		= TRUE
443		}
444		image
445		{
446			state           = INSENSITIVE
447			function	= FLAT_BOX
448		}
449		image
450		{
451			#state           = NORMAL
452			function	= FLAT_BOX
453			file		= "assets/bg-entry.png"
454			border          = {3, 3, 3, 3}
455			stretch		= TRUE
456			overlay_file	= "assets/border-entry.png"
457			overlay_border	= {3, 3, 3, 3}
458			overlay_stretch	= TRUE
459		}
460	}
461}
462
463style "combobox"
464{
465	ythickness = 3
466	xthickness = 3
467	GtkEntry::state-hint = 0
468
469	engine "murrine"
470	{
471		#rgba = FALSE
472		border_shades = {1.5, 1.2}
473		focus_color = shade (1.48, "#3b3b3e")
474		contrast = 0.8
475	}
476}
477
478style "comboboxentry"
479{
480	ythickness = 3
481	xthickness = 3
482
483	engine "murrine"
484	{
485		#rgba = FALSE
486		border_shades = {1.5, 1.2}
487		focus_color = shade (1.48, "#3b3b3e")
488		contrast = 0.8
489	}
490}
491
492style "spinbutton"
493{
494	base[NORMAL] = "#424245"
495	fg[INSENSITIVE] = "#666666"
496	xthickness = 4
497	ythickness = 3
498	GtkEntry::inner-border = {2, 2, 2, 2}
499	GtkEntry::state-hint = 0
500
501	engine "murrine"
502	{
503		gradient_shades = {2.5, 1.5, 0.8, 0.4}
504		border_shades = {2.6, 0.9}
505		focus_color = "#3b3b3e"
506		contrast = 0.8
507	}
508}
509
510style "murrine-notebook"
511{
512	#bg[ACTIVE]   = "#D0C9C2"
513	#bg[NORMAL]   = "#f5f2ef"
514	#bg[SELECTED] = "#3b3b3e"
515
516	bg[NORMAL] = "#4D4D4D"	# selected tab
517	bg[ACTIVE] = shade (0.8, "#4D4D4D")	# unselected tab
518
519	xthickness = 3
520	ythickness = 3
521
522	GtkNotebook::tab-overlap = -1
523	GtkNotebook::tab-roundness = 0
524
525	engine "murrine"
526	{
527		glazestyle = 1
528		highlight_shade = 1.0
529        	glow_shade = 2.0
530        	gradient_shades = {2.5, 1.5, 1.0, 1.0}
531		roundness = 5
532		#contrast = 1.1
533		#lightborder_shade = 1.5
534		# disable the ugly button look in tabs if focused
535		focusstyle = 0
536	}
537}
538
539style "treeview-header"
540{
541	xthickness = 2
542	ythickness = 1
543
544	engine "murrine"
545	{
546		#contrast = 0.8
547	}
548}
549
550style "info"
551{
552	fg[NORMAL] = "#666666"
553}
554
555style "chrome-gtk-frame"
556{
557	ChromeGtkFrame::frame-color = "#000000"
558	ChromeGtkFrame::inactive-frame-color = "#353538"
559
560	ChromeGtkFrame::frame-gradient-size = 120
561	ChromeGtkFrame::frame-gradient-color = "#444447"
562
563	ChromeGtkFrame::scrollbar-trough-color = "#ffffff"
564	ChromeGtkFrame::scrollbar-slider-prelight-color = "#C5C5C5"  #"#666669"
565	ChromeGtkFrame::scrollbar-slider-normal-color = "#B3B3B3"
566}
567
568class "ChromeGtkFrame" style "chrome-gtk-frame"
569########################################
570# Common
571#########
572class "GtkWidget"	style "murrine-default"
573class "GtkFrame"	style "murrine-wide"
574class "MetaFrames"	style "metacity-frame"
575class "GtkWindow"	style "metacity-frame"
576class "GtkProgressBar"	style "murrine-progressbar"
577class "GtkScale"	style "murrine-scale"
578class "GtkHandleBox"	style "murrine-handle"
579class "GtkRange"	style "murrine-wide"
580class "GtkEntry"	style "entry"
581class "GtkToolbar"	style "murrine-toolbar"
582class "GtkMenuBar"	style "murrine-menubar"
583class "GtkNotebook"	style "murrine-notebook"
584class "GtkScrollbar"	style "scrollbar"
585class "GtkVScrollbar"	style "vscrollbar"
586class "GtkHScrollbar"	style "hscrollbar"
587class "GtkRadioButton"	style:highest "murrine-radiocheck"
588class "GtkCheckButton"	style:highest "murrine-radiocheck"
589
590widget_class "*<GtkMenu>*"			style "menu"
591widget_class "*<GtkSpinButton>*"		style "spinbutton"
592widget_class "*.<GtkTextView>*"			style "view"
593widget_class "*<GtkMenuItem>*"			style "menuitem"
594widget_class "*<GtkMenuBar>.<GtkMenuItem>*"	style "menubar-menuitem"
595widget_class "*<GtkStatusbar>*"	style "murrine-statusbar"
596widget_class "*<GtkInfoBar>*"			style "info"
597########################################
598# Tooltips
599###########
600widget_class "*.tooltips.*.GtkToggleButton"	style "murrine-tasklist"
601widget "gtk-tooltips"				style "murrine-tooltips"
602widget "gtk-tooltip"				style "murrine-tooltips"
603########################################
604# panel
605########
606class "Panel"					style "misc-panel"
607class "*Separator*"				style "misc-sep"
608# syncronize panel menus
609widget_class "*MatePanelAppletFrameDBus*" style "applet"
610widget "*PanelApplet*"				style "applet"
611# This is suitable for dark panels:
612widget_class "*PanelWidget*"			style "misc-panel"
613widget "*fast-user-switch-applet*"		style "misc-panel"
614########################################
615# Combo
616#########
617widget_class "*<GtkCombo>*"			style:highest "comboboxentry"
618widget_class "*<GtkComboBox>*"			style "combobox"
619widget_class "*<GtkComboBoxEntry>*"		style:highest "comboboxentry"
620########################################
621# Buttons
622##########
623# All buttons:
624widget_class "*<GtkButton>"			style "murrine-button"
625# High contrast for toggle buttons and their labels:
626widget_class "*.<GtkToggleButton>*"		style "murrine-togglebutton"
627# No high contrast for combo boxes, their labels and their arrows:
628widget_class "*<GtkComboBox>.*"			style "murrine-button"
629# No high contrast for toggle buttons, their labels and arrows on toolbars:
630widget_class "*<GtkToolbar>.*"			style "murrine-button"
631widget_class "*.<GtkRadioButton>.<GtkLabel>"	style "murrine-radiocheck"
632widget_class "*.<GtkCheckButton>.<GtkLabel>"	style "murrine-radiocheck"
633########################################
634widget_class "*.<GtkTreeView>.<GtkButton>"	style "treeview-header"
635widget_class "*.<GtkCTree>.<GtkButton>"		style "treeview-header"
636widget_class "*.<GtkList>.<GtkButton>"		style "treeview-header"
637widget_class "*.<GtkCList>.<GtkButton>"		style "treeview-header"
638
639# Workarounds for Evolution (taken from Ambiance)
640widget_class "*.ETable.ECanvas"			style "treeview-header"
641widget_class "*.ETree.ECanvas"			style "treeview-header"
642
643include "Styles/caja.rc"
644include "Styles/terminal.rc"
645