PageRenderTime 20ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/gtk-2.0/gtkrc

http://github.com/daz4126/Blackbird
#! | 760 lines | 637 code | 123 blank | 0 comment | 0 complexity | d9dac9f105a1a4cb6a6abd61c0c74b64 MD5 | raw file
  1# Author: Simon Steinbeiß
  2# Theme: Blackbird
  3# based on "Greybird" by Simon Steinbeiß
  4# Description: As is the original theme, this theme is 100% free and open source.
  5
  6gtk_color_scheme	= "bg_color:#5C5E61\nselected_bg_color:#7CA4CF\nbase_color:#D7D7D7" # Background, base.
  7gtk_color_scheme	= "fg_color:#EEEEEC\nselected_fg_color:#1F1F1F\ntext_color:#1F1F1F" # Foreground, text. 
  8gtk_color_scheme	= "tooltip_bg_color:#FCF5B8\ntooltip_fg_color:#1F1F1F" # Tooltips.
  9gtk_color_scheme	= "link_color:#74a0c6" # Hyperlinks
 10gtk_color_scheme	= "panel_bg:#686868" # Panel bg color
 11gtk_color_scheme	= "fm_color:#F7F7F7" # Color used in Nautilus and Thunar.
 12#gtk_color_scheme        = "nox_bgr: #5C5E61;nox_fgr: #EEEEEC;nox_bas: #D7D7D7;nox_txt: #1F1F1F;fg_color: #EEEEEC;bg_color: #5C5E61;text_color: #1F1F1F;base_color: #D7D7D7;selected_fg_color: #1F1F1F;selected_bg_color: #7CA4CF;tooltip_fg_color: #1F1F1F;tooltip_bg_color: #FCF5B8;clr_red: #EF2929;clr_grn: #8AE234;clr_blu:#729FCF"
 13gtk_color_scheme	= "bg_color_dark:#686868\ntext_color_dark:#FFF"
 14
 15gtk-icon-sizes		= "panel-menu=16,16:panel=16,16:gtk-button=16,16"			# Set icon size for button without text
 16gtk-button-images	= 0					# Disables icons for buttons with text
 17gtk-toolbar-style	= 0					# Disables text in toolbar
 18gtk-auto-mnemonics	= 1					# Disables ugly lines under menu items
 19
 20####################
 21## Default Styles ##
 22####################
 23
 24style "murrine-default"
 25{
 26	GnomeHRef		::link_color  				= @link_color		
 27	GtkHTML			::link-color				= @link_color
 28 	GtkIMHtmlr		::hyperlink-color 			= @link_color
 29	GtkIMHtml		::hyperlink-color			= @link_color
 30	GtkWidget		::link-color				= @link_color
 31	GtkWidget		::visited-link-color			= @text_color
 32
 33	GtkButton		::child-displacement-x 			= 1
 34	GtkButton		::child-displacement-y 			= 1
 35	GtkButton		::default-border       			= { 0, 0, 0, 0 }
 36	GtkCheckButton		::indicator-size       			= 15
 37
 38	GtkEntry		::honors-transparent-bg-hint 		= 1
 39	GtkEntry		::progress-border			= { 3, 3, 3, 3 }
 40	GtkEntry		::state-hint 				= 0
 41
 42	GtkImage		::x-ayatana-indicator-dynamic 		= 1
 43
 44	GtkMenu			::horizontal-padding			= 0
 45	GtkMenu			::vertical-padding			= 0
 46
 47	GtkPaned		::handle-size          			= 3
 48
 49	GtkNotebook		::tab-overlap				=-2
 50
 51	GtkProgressBar		::min-vertical-bar-width		= 10
 52	GtkProgressBar		::min-horizontal-bar-height		= 10
 53
 54	GtkRange		::trough-border				= 2
 55	GtkRange		::slider-width				= 9
 56	GtkRange		::stepper-size				= 13
 57	GtkRange		::stepper_spacing			= 0
 58 
 59	GtkScale		::slider-length				= 13
 60	GtkScale		::slider-width				= 13
 61	GtkScale		::trough-side-details			= 1
 62
 63	GtkScrollbar		::min-slider-length			= 50
 64	GtkScrollbar		::slider-width				= 9
 65	GtkScrollbar		::trough-border				= 3
 66	#GtkScrollbar		::trough-under-steppers			= 0
 67	GtkScrollbar		::has-backward-stepper 			= 1
 68	#GtkScrollbar		::arrow-scaling				= 0.8
 69	#GtkScrollbar		::has_secondary_backward_stepper	= 1 
 70	GtkScrollbar		::has-forward-stepper			= 1 
 71	#GtkScrollbar		::has_secondary_forward_stepper		= 0 
 72
 73	GtkScrolledWindow	::scrollbar-spacing			= 0
 74	GtkScrolledWindow	::scrollbars-within-bevel		= 1
 75	#GtkTable		::scrollbars-within-bevel		= 1
 76
 77	GtkMenuBar		::internal-padding			= 0
 78	GtkMenuBar		::window-dragging			= 1
 79
 80	GtkExpander		::expander-size				= 12
 81	GtkToolbar		::internal-padding			= 0
 82	GtkTreeView		::expander-size				= 10
 83	GtkTreeView		::vertical-separator			= 0
 84
 85	GtkWidget		::new-tooltip-style			= 1
 86	GtkWidget		::focus-line-width			= 1
 87	GtkWidget		::focus-padding				= 0
 88	
 89	GtkWindow		::resize-grip-height			= 13
 90        GtkWindow		::resize-grip-width			= 13
 91
 92	xthickness = 1
 93	ythickness = 1
 94
 95	fg[NORMAL]        = @fg_color
 96	fg[PRELIGHT]      = @fg_color
 97	fg[SELECTED]      = @selected_fg_color
 98	fg[ACTIVE]        = @fg_color
 99	fg[INSENSITIVE]   = darker (@bg_color)
100
101	bg[NORMAL]        = @bg_color
102	bg[PRELIGHT]      = shade (1.02, @bg_color)
103	bg[SELECTED]	  = @selected_bg_color
104	bg[INSENSITIVE]   = @bg_color
105	bg[ACTIVE]        = shade (1.04, @bg_color)
106
107	base[NORMAL]      = @base_color
108	base[PRELIGHT]    = shade (0.95, @bg_color)
109	base[ACTIVE]      = shade (0.92, @selected_bg_color)
110	base[SELECTED]    = shade (0.93, @selected_bg_color)
111	base[INSENSITIVE] = @bg_color
112
113	text[NORMAL]      = @text_color
114	text[PRELIGHT]    = @text_color
115	text[ACTIVE]      = @selected_fg_color
116	text[SELECTED]    = @selected_fg_color
117	text[INSENSITIVE] = darker (@bg_color)
118
119	engine "murrine" 
120	{
121		animation           = TRUE
122		arrowstyle          = 2                 # 0 = normal arrows, 1 = filled arrows		
123		border_shades       = { 1.2, 1.0 }      # gradient to draw on border
124		cellstyle	    = 0
125		colorize_scrollbar  = FALSE		
126		comboboxstyle       = 0                 # 0 = normal combobox, 1 = colorized combobox below arrow		
127		contrast            = 0.4               # 0.8 for less contrast, more than 1.0 for more contrast on borders
128		expanderstyle	    = 0
129		focus_color         = mix (0.1, @bg_color, shade (0.7, @selected_bg_color))
130		#focus_color         = shade (1.1, @selected_bg_color) #mix (0.1, @bg_color, shade (1.1, @selected_bg_color))
131		focusstyle	    = 3
132		glazestyle          = 1                 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
133		gradient_shades     = {1.2,1.0,1.0,0.9} #{1.1,1.0,1.0,0.87}
134		glowstyle           = 4                 # 0,1,2,3,4
135		glow_shade          = 1.1
136		highlight_shade     = 1.0               # set highlight amount for buttons or widgets
137		lightborder_shade   = 1.1               # sets lightborder amount for buttons or widgets
138		lightborderstyle    = 0                 # 0 = lightborder on top side, 1 = lightborder on all sides
139		listviewheaderstyle = 1                 # 0 = flat, 1 = glassy, 2 = raised
140		listviewstyle       = 1                 # 0 = nothing, 1 = dotted
141		menubaritemstyle    = 0                 # 0 = menuitem look, 1 = button look
142		menubarstyle        = 2                 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
143		menuitemstyle       = 0                 # 0 = flat, 1 = glassy, 2 = striped
144		menustyle           = 0                 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
145		prelight_shade      = .95               # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors		
146		progressbarstyle    = 1                 # 0 = nothing, 1 = stripes, 2 = lines
147		reliefstyle         = 3                 # 0 = flat, 1 = inset, 2 = shadow
148		rgba                = FALSE             # FALSE = disabled, TRUE = enabled
149		roundness           = 3                 # 0 = squared, 1 = old default, more will increase roundness
150		scrollbarstyle      = 0                 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
151		separatorstyle      = 1                 # 0 = Hard seperators 1 = Smooth seperators
152		sliderstyle         = 0                 # 0 = nothing added, 1 = handles
153		stepperstyle        = 1                 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
154		shadow_shades       = { 0.8, 2.2 }      # gradient for shadows.		
155		textstyle           = 0                 # 0 = normal text, 1 = inset		
156		toolbarstyle        = 2                 # 0 = flat, 1 = glassy, 2 = gradient		
157		trough_shades	    = { 0.75, 0.9 }	# draw gradient on trough of GtkScrollbar and GtkProgressbar
158		trough_border_shades = { 0.9, 0.7 }	}
159}
160
161### RESIZE GRIP PIXMAP Proof of concept ###
162
163style "resize-grip" #= "murrine-default"
164{
165	engine "pixmap"	{
166		image {
167			function	= RESIZE_GRIP
168			recolorable	= FALSE
169			overlay_file	= "resize_grip.png"
170			overlay_border	= {0,0,0,0 }
171			overlay_stretch	= FALSE
172		}
173        }
174}
175
176style "murrine-paned" = "murrine-default"
177{
178	engine "murrine"
179	{
180		contrast = 1.0
181	}
182}
183
184### THEME MODULES ###
185
186style "evolution-hack" = "murrine-default" # Hacks for Evolution Mail.
187{	
188	bg[NORMAL]     = shade (1.14, @bg_color) # Color for evo treeview headers.
189	bg[PRELIGHT]   = shade (1.18, @bg_color) # Color for evo treeview header prelight.
190	bg[ACTIVE]     = shade (0.75, @bg_color) # Color for unfocused evo selected items.
191	bg[SELECTED]   = @selected_bg_color      # Color for evo selected items.
192	fg[ACTIVE]     = @selected_fg_color      # Color for evo active text.
193	fg[SELECTED]   = @selected_fg_color      # Color for evo selected text.
194}
195
196style "murrine-dark" {
197	
198	GtkMenuBar	:: shadow-type		= GTK_SHADOW_NONE
199	
200	bg[NORMAL]	= @bg_color_dark
201	bg[ACTIVE]	= shade (0.7, @bg_color_dark)
202	bg[PRELIGHT]	= shade (0.7, @bg_color_dark)
203	bg[SELECTED]	= shade (0.6, @bg_color_dark)
204	
205	fg[NORMAL]	= @text_color_dark
206	fg[PRELIGHT]	= @text_color_dark
207	fg[ACTIVE]	= @text_color_dark
208	fg[SELECTED]	= @text_color_dark
209	
210	text[NORMAL]   = @text_color_dark
211	text[PRELIGHT] = @text_color_dark
212	text[ACTIVE]   = @text_color_dark
213	text[SELECTED]   = @text_color_dark
214	
215	engine "murrine" 
216	{
217		roundness = 0 # Roundness of menu items.
218	}
219}
220
221style "murrine-wide-dark" = "murrine-dark"
222{
223	ythickness        = 2
224	xthickness        = 4
225}
226
227style "tabwin-dark" = "murrine-dark" {
228	bg[NORMAL]	= "#646e7b"
229	bg[SELECTED]	= "#75808f"
230}
231
232style "murrine-wide"
233{
234	xthickness = 2
235	ythickness = 2
236}
237
238style "murrine-wider"
239{
240	xthickness = 3
241	ythickness = 3
242}
243
244style "murrine-angled"
245{
246	engine "murrine" 
247	{
248		roundness = 0 # Roundness of menu items.
249	}
250}
251
252style "murrine-entry" = "murrine-wider" {
253
254	bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
255	fg[SELECTED] = @text_color
256
257	engine "murrine" {
258		contrast      = 0.4
259		reliefstyle   = 4
260		border_shades = {1.03,0.8}
261		shadow_shades = {0.5,0.0}
262	}
263}
264
265style "murrine-button" = "murrine-wider"
266{	
267	bg[NORMAL]        = shade (1.02, @bg_color) 
268	bg[PRELIGHT]      = mix(0.7, shade(0.7,@bg_color), shade (0.8, @selected_bg_color))
269	bg[ACTIVE]        = shade (0.85, @bg_color)
270	bg[SELECTED]      = shade (0.5, @selected_bg_color)  
271	bg[INSENSITIVE]   = shade (0.95, @bg_color)
272
273  	engine "murrine" 
274	{
275		contrast            = 0.8
276		highlight_shade     = 1.0
277		lightborder_shade   = 1.1
278		gradient_shades     = {1.1,1.05,0.95,0.95} #{1.3,1.10,0.95,0.92} 
279		border_shades       = { 1.1, 0.9 }
280		shadow_shades       = {0.5,0.0}
281		reliefstyle         = 3
282		roundness	    = 2
283	}
284}
285
286style "murrine-notebook"
287{
288	bg[NORMAL]	= shade (1.05, @bg_color) # Tab background.
289	bg[ACTIVE]	= shade (0.85, @bg_color) # Unfocused tab background.
290	#bg[NORMAL]	= @base_color
291	engine "murrine" 
292	{
293		roundness       = 3
294		contrast        = 1.1
295	}
296}
297
298style "murrine-menu"
299{
300	#ythickness        = 2
301	#xthickness        = 4
302	GtkMenuBar	:: shadow-type		= GTK_SHADOW_NONE
303	
304	bg[SELECTED]      = shade (0.85, @selected_bg_color)
305	bg[NORMAL]        = @bg_color
306	bg[PRELIGHT]      = shade (0.85, @selected_bg_color)
307	bg[ACTIVE]        = @bg_color
308	bg[INSENSITIVE]   = @bg_color
309	fg[NORMAL]        = @fg_color # Color for normal text.
310	fg[PRELIGHT]      = @base_color
311	fg[SELECTED]      = @base_color
312	fg[ACTIVE]        = @base_color
313	fg[INSENSITIVE]   = shade (0.75, @bg_color) # Text color for non-interactive menu items
314	text[NORMAL]      = @text_color # Color for menu-item radio/checks.
315	base[NORMAL]      = @bg_color # Color for menu-item radio/checks background.
316	text[PRELIGHT]    = @base_color
317	text[SELECTED]    = @base_color
318	text[ACTIVE]      =@base_color
319	text[INSENSITIVE] = @text_color
320	
321	engine "murrine" 
322	{
323		roundness = 0 # Roundness of menu items.
324		contrast = 0.9
325	}
326}
327
328
329style "murrine-menubar" = "murrine-menu" {
330	bg[SELECTED]	= shade (0.7, @bg_color_dark)
331}
332
333style "menubar-menuitem"
334{
335	#ythickness        = 2
336	#xthickness        = 4
337	bg[PRELIGHT]   = @selected_bg_color
338	bg[SELECTED]   = @selected_bg_color
339	fg[NORMAL]     = @base_color
340	fg[PRELIGHT]   = @base_color
341	fg[SELECTED]   = @base_color
342	text[NORMAL]   = @base_color
343	text[PRELIGHT] = @base_color
344	text[SELECTED] = @base_color
345}
346
347style "menubar-menuitem-prelight"
348{
349	fg[PRELIGHT] = @base_color
350}
351
352style "murrine-treeview"
353{
354  	engine "murrine" 
355	{
356		roundness = 0
357		gradient_shades     = {1.1,1.1,1.1,1.0}
358	}
359}
360
361style "murrine-treeview-header" = "murrine-button"
362{
363	xthickness   = 2
364	ythickness   = 1
365	
366	bg[NORMAL]	 = shade (1.14, @bg_color)  # Color for treeview headers.
367	bg[PRELIGHT] = shade (0.98, @bg_color)  # Color for treeview header prelight.
368	bg[ACTIVE]   = shade (0.85, @bg_color)  # Color for pressed-treeview.
369  	
370	engine "murrine" 
371	{
372		roundness = 0  # This makes treeview progressbars square.
373		gradient_shades     = {0.98,1.0,1.3,1.35}
374	}
375}
376
377style "murrine-frame-title"
378{
379	fg[NORMAL] = lighter (@fg_color)
380}
381
382style "murrine-tooltips" = "murrine-wider"
383{
384	xthickness = 7
385	ythickness = 4
386
387	bg[NORMAL] = @tooltip_bg_color
388	bg[SELECTED] = "#000000"
389	fg[NORMAL] = @tooltip_fg_color
390
391	engine "murrine"
392	{
393		roundness	= 0
394		trough_shades	= { 0.15, 0.3 }
395	}
396}
397
398style "murrine-progressbar"
399{
400	xthickness   = 0
401	ythickness   = 0
402
403	fg[PRELIGHT] = @selected_fg_color
404	bg[NORMAL]   = shade (1.05, @bg_color)
405	bg[SELECTED]	= mix (0.4, @bg_color, shade (0.9, @selected_bg_color))
406
407	engine "murrine" {
408		gradient_shades = {1.15,1.05,1.0,0.95}
409		trough_shades	= {0.95, 1.15}
410		trough_border_shades	= { 0.8, 0.7 }
411		roundness 	= 4
412		contrast	= 0.8
413		border_shades	= { 1.0, 0.8 }
414		lightborder_shade   = 1.0
415		glowstyle	= 0
416		glow_shade	= 1.0
417	}
418}
419
420style "murrine-scrollbar" {
421	
422	GtkScrollbar::stepper-size	= 0
423	GtkScrollbar::arrow-scaling	= 0.0
424	
425	bg[NORMAL]	= shade (1.3, @base_color)
426	bg[SELECTED]	= shade (1.30, @bg_color)
427	bg[ACTIVE]	= shade (1.75, @base_color)
428	bg[PRELIGHT]	= shade (0.75, @bg_color)
429	bg[INSENSITIVE]	= shade (0.95, @bg_color)
430	
431	engine "murrine" {
432		#arrowstyle	= 0
433		colorize_scrollbar = TRUE
434		roundness	= 10
435		border_shades	= {0.5, 0.5}
436		trough_shades	= {2.0, 2.2}
437		contrast	= 0.0
438		gradient_shades	= {1.2,1.2,1.15,1.15}
439		#prelight_shade	= 0.9
440	}
441}
442
443style "murrine-statusbar"
444{
445	xthickness = 2
446}
447
448style "murrine-comboboxentry"
449{
450	text[NORMAL]		= @text_color
451	text[PRELIGHT]		= @text_color
452	
453	fg[NORMAL]	= @text_color
454	fg[PRELIGHT]	= @text_color
455	
456	engine "murrine"
457	{
458		contrast      = 0.4
459		reliefstyle   = 4
460		border_shades = {1.03,0.8}
461		shadow_shades = {0.5,0.0}
462	}
463}
464
465style "murrine-combo" = "murrine-comboboxentry"
466{
467	bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-spinbuttons.
468}
469
470style "murrine-scale" = "murrine-button"
471{
472	GtkWidget	::focus-line-width	= 0
473	GtkWidget	::focus-padding		= 2
474	bg[ACTIVE]				= @base_color
475	bg[NORMAL]				= @panel_bg
476	bg[PRELIGHT]				= shade (0.5, @panel_bg)
477	bg[INSENSITIVE]				= @panel_bg
478	bg[SELECTED]				= @panel_bg
479	
480	engine "murrine"
481	{
482		roundness 		= 5
483		border_shades		= { 1.0, 1.0 }
484		contrast		= 0.5
485		trough_shades		= { 0.8, 0.8 }
486		trough_border_shades	= { 0.9, 0.9 }
487		highlight_shade		= 1.00
488		lightborder_shade	= 1.7
489		gradient_shades		= {1.0,1.0,1.0,1.0}
490		border_shades		= { 1.0, 1.0 }
491		shadow_shades		= { 0.5, 0.5 }
492	}
493}
494
495style "murrine-scale-dark" = "murrine-scale"
496{
497	bg[ACTIVE]				= @panel_bg
498	bg[NORMAL]				= @text_color_dark
499	bg[PRELIGHT]				= shade (0.5, @panel_bg)
500	bg[INSENSITIVE]				= @text_color_dark
501	bg[SELECTED]				= @text_color_dark
502	engine "murrine"
503	{
504		roundness 		= 5
505	}
506}
507
508style "murrine-hscale" = "murrine-scale"
509{
510}
511
512style "murrine-vscale" = "murrine-scale"
513{
514}
515
516style "murrine-nautilus-location" # Workaround for nautilus' messages.
517{
518	bg[NORMAL] = shade (1.25, @selected_bg_color)
519}
520
521style "murrine-radiocheck"
522{
523	bg[NORMAL]	= shade (1.06, @bg_color) 
524	bg[PRELIGHT]	= shade (1.06, @bg_color)  
525	bg[ACTIVE]	= shade (0.85, @bg_color)
526	bg[SELECTED]	= shade (1.0, @selected_bg_color)  
527	bg[INSENSITIVE]	= shade (0.95, @bg_color)
528
529  	engine "murrine" 
530	{
531		contrast		= .8
532		lightborder_shade	= 1.9
533	}
534}
535
536style "murrine-toolbar" = "murrine-default"
537{
538	bg[NORMAL] = @bg_color
539	engine "murrine" {
540		contrast			= 1.13
541		toolbarstyle			= 1
542		lightborder_shade		= 1.0
543		gradient_shades     		= {1.0,0.94,0.94,0.88}
544	}
545}
546
547style "xfce-header"
548{
549	base[NORMAL]	 = shade (1.18, @bg_color)
550	engine "murrine" {
551		gradient_shades = {0.1,0.5,0.6,1.0}
552	}
553}
554
555style "xfdesktop-windowlist" #= "murrine-menu"
556{
557	bg[NORMAL]	= @base_color
558	fg[INSENSITIVE]   = shade (0.95, @base_color)
559	text[INSENSITIVE]   = shade (0.95, @base_color)
560}
561
562
563style "murrine-borderless"
564{
565#	GtkPaned::border_width = 0
566#	base[NORMAL] = @base_color
567#	base[NORMAL] = @base_color
568#	base[ACTIVE] = @base_color
569#	base[SELECTED]	= @base_color
570#	base[INSENSITIVE] = @base_color
571	bg[NORMAL] = @base_color
572#	bg[ACTIVE] = @base_color
573#	bg[SELECTED]	= @base_color
574#	bg[INSENSITIVE] = @base_color
575#	fg[INSENSITIVE] = @base_color
576#	text[INSENSITIVE] = @base_color
577	engine "murrine"
578	{
579	#	roundness	= 0
580	#	contrast	= 0.0
581	}
582}
583
584###############################################################################
585# The following part of the gtkrc applies the different styles to the widgets.
586###############################################################################
587
588class "GtkWindow*" style "resize-grip"
589
590# Murrine default style is applied to every widget.
591class "GtkWidget"    style "murrine-default"
592
593# Increase the x/ythickness in some widgets.
594class "GtkFrame"     style "murrine-wide"
595class "GtkEntry"     style "murrine-entry"
596class "GtkSeparator" style "murrine-wide"
597class "GtkCalendar"  style "murrine-wide"
598class "GtkToolbar"   style "murrine-toolbar"
599class "GtkHandleBox*" style "murrine-toolbar"
600
601class "GtkSpinButton"  style "murrine-combo"
602class "GtkScale"       style "murrine-scale"
603class "GtkVScale"      style "murrine-vscale"
604class "GtkHScale"      style "murrine-hscale"
605
606class "GtkScrollbar"   style "murrine-scrollbar"
607class "GtkVScrollbar"  style "murrine-scrollbar"
608class "GtkHScrollbar"  style "murrine-scrollbar"
609
610class "GtkRadio*"	style "murrine-radiocheck"
611class "GtkCheck*"	style "murrine-radiocheck"
612
613# General matching following, the order is choosen so that the right styles override each other eg. progressbar needs to be more important then the menu match.
614
615widget_class "*<GtkNotebook>*<GtkEventBox>"     style "murrine-notebook"
616widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "murrine-notebook"
617widget_class "*<GtkNotebook>*<GtkLayout>"       style "murrine-notebook"
618widget_class "*<GtkNotebook>*<GtkLabel>"	style "murrine-notebook"
619
620#widget_class "*GtkVBox.GtkFrame.GtkTable"	style "murrine-angled" ##(GtkVBox.GtkFrame.GtkTable.GtkVScrollbar)
621#widget_class "*GtkTable*"	style "murrine-angled" #GtkWindow.GtkVBox.GtkHBox.GtkTable.GtkVBox.GtkNotebook.GtkTable.GtkVPaned.GtkVScrollbar
622#widget_class "*GtkTable*GtkVScrollbar"	style "murrine-scrollbar"
623#widget_class "*GtkTable*GtkHScrollbar"	style "murrine-scrollbar"
624
625widget_class "*<GtkButton>"      style "murrine-button"
626widget_class "*<GtkNotebook>"    style "murrine-notebook"
627widget_class "*<GtkStatusbar>*"  style "murrine-statusbar"
628#widget "*Gnumeric*GtkVBox.GtkNotebook"	style "murrine-borderless"
629
630#widget_class "GimpDisplayShell*GtkTable*" style "murrine-default"
631#widget_class "*GimpStatusbar*" style "murrine-default"
632#widget_class "*Gnumeric*"	style "murrine-borderless"
633
634widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
635widget_class "*<GtkCombo>*"         style "murrine-combo"
636
637widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar-menuitem"
638widget_class "*<GtkMenu>*"              style "murrine-menu"
639widget_class "*<GtkMenuBar>*"		style "murrine-menu"
640# Scale widget in menus (e.g. ubuntu's sound indicator)
641widget_class "*<GtkMenuItem>.*.<GtkScale>" style "murrine-scale"
642
643widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
644widget_class "*.<GtkTreeView>*"        style "murrine-treeview"
645
646widget_class "*GtkHPaned" style "murrine-paned"
647widget_class "*GtkVPaned" style "murrine-paned"
648
649widget_class "*<GtkProgress>"	       style "murrine-progressbar"
650widget_class "*<GtkProgressBar>"       style "murrine-progressbar"
651
652widget_class "*<GtkRadioButton>*"		style "murrine-radiocheck"
653widget_class "*<GtkCheckButton>*"		style "murrine-radiocheck"
654
655# Treeview header
656widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
657widget_class "*.<GtkCTree>.<GtkButton>"    style "murrine-treeview-header"
658widget_class "*.<GtkList>.<GtkButton>"     style "murrine-treeview-header"
659widget_class "*.<GtkCList>.<GtkButton>"    style "murrine-treeview-header"
660widget_class "*.<GtkCMCTree>.<GtkButton>"    style "murrine-treeview-header" # Claws-Mail treeview-headers
661widget_class "*.<GtkCMCList>.<GtkButton>"    style "murrine-treeview-header" # Claws-Mail treeview-headers
662widget_class "*GnmSimpleCanvas*"		style "murrine-treeview-header" # Gnumeric treeview-headers
663
664widget_class "*XfceHeading*"			style "xfce-header"
665widget_class "*XfceDesktop*"			style "xfdesktop-windowlist"
666
667# Workarounds for Evolution
668widget_class "*.ETable.ECanvas"    style "murrine-treeview-header"
669widget_class "*.ETree.ECanvas"    style "murrine-treeview-header"
670widget_class "*GtkCTree*"	style "evolution-hack"
671widget_class "*GtkList*"	style "evolution-hack"
672widget_class "*GtkCList*"	style "evolution-hack"
673widget_class "*.ETree.*"	style "evolution-hack"
674widget_class "*EInfoLabel*"	style "evolution-hack"
675
676# The window of the tooltip is called "gtk-tooltip"
677################################
678# FIXME:
679# This will not work if one embeds eg. a button into the tooltip.
680# As far as I can tell right now we will need to rework the theme
681# quite a bit to get this working correctly.
682# (It will involve setting different priorities, etc.)
683################################
684widget "gtk-tooltip*" style "murrine-tooltips"
685
686###################################################
687# SPECIAL CASES AND WORKAROUNDS
688###################################################
689
690# Special case the nautilus-extra-view-widget
691# ToDo: A more generic approach for all applications that have a widget like this.
692widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
693
694# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
695# Note that the work around assumes that the combobox is _not_ in appears-as-list mode.
696# This style does not affect GtkComboBoxEntry, it does have an effect on comboboxes in appears-as-list mode though.
697style "murrine-text-is-fg-color-workaround"
698{
699	text[NORMAL]      = @fg_color
700	text[PRELIGHT]    = @fg_color
701	text[SELECTED]    = @selected_fg_color
702	text[ACTIVE]      = @fg_color
703	text[INSENSITIVE] = darker (@bg_color)
704}
705widget_class "*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround"
706
707style "murrine-menuitem-text-is-fg-color-workaround"
708{
709	text[NORMAL]        = @fg_color
710	text[PRELIGHT]      = @selected_fg_color
711	text[SELECTED]      = @selected_fg_color
712	text[ACTIVE]        = @fg_color
713	text[INSENSITIVE]   = darker (@bg_color)
714}
715widget "*.gtk-combobox-popup-menu.*"   style "murrine-menuitem-text-is-fg-color-workaround"
716
717# Work around the usage of GtkLabel inside GtkListItems to display text.
718# This breaks because the label is shown on a background that is based on the base color set.
719style "murrine-fg-is-text-color-workaround"
720{
721	fg[NORMAL]      = @text_color
722	fg[PRELIGHT]    = @text_color
723	fg[ACTIVE]      = @selected_fg_color
724	fg[SELECTED]    = @selected_fg_color
725	fg[INSENSITIVE] = darker (@bg_color)
726}
727widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
728# The same problem also exists for GtkCList and GtkCTree.
729# Only match GtkCList and not the parent widgets, because that would also change the headers.
730widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
731widget_class "*<EelEditableLabel>" style "murrine-fg-is-text-color-workaround"
732
733widget "xfwm4-tabwin*" style "tabwin-dark"
734
735
736
737# Google Chrome/Chromium theming (requires 9.0.597 or newer)
738style "chrome-gtk-frame"
739{
740    ChromeGtkFrame::frame-color = shade (0.5, @bg_color)
741    ChromeGtkFrame::inactive-frame-color = shade (0.5, @bg_color)
742
743    ChromeGtkFrame::frame-gradient-size = 100
744    ChromeGtkFrame::frame-gradient-color = shade (1.08,@bg_color)
745    ChromeGtkFrame::inactive-frame-gradient-color = shade (1.08,@bg_color)
746
747    ChromeGtkFrame::scrollbar-trough-color = @base_color
748    ChromeGtkFrame::scrollbar-slider-prelight-color = @panel_bg
749    ChromeGtkFrame::scrollbar-slider-normal-color = shade (1.4, @panel_bg)
750}
751
752class "ChromeGtkFrame" style "chrome-gtk-frame"
753
754
755# panel theming
756include "apps/panel.rc"
757# application specific theming
758include "apps/terminal.rc"
759include "apps/thunar.rc"
760include "apps/gmusicbrowser.rc"