This file is indexed.

/usr/share/themes/Mythbuntu/gtk-2.0/gtkrc is in mythbuntu-default-settings 1.11.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
# Dust theme
# (c) 2010 Rico Sta. Cruz, Kido Mariano, James Schriver
# Licensed under the GPL.
# Requires Murrine GTK Engine v0.91.0

gtk_color_scheme = "fg_color:#323232\nbg_color:#D9D4CC\nbase_color:#fff\ntext_color:#323232\nselected_bg_color:#75645B\nselected_fg_color:#fff\ntooltip_bg_color:#D5C1B6\ntooltip_fg_color:#000"

gtk-auto-mnemonics = 1 

style "default"
{
	xthickness = 1
	ythickness = 1

	GtkWidget::link-color = "#3399ff"
	GtkWidget::new-tooltip-style = 1
	
	GtkScrolledWindow ::scrollbar-spacing = 1
	GtkScrolledWindow ::scrollbar-within-bevel = 0
	
	GtkButton::child-displacement-x = 1
	GtkButton::child-displacement-y = 1
	GtkButton::default-border = { 0, 0, 0, 0 }

	GtkCheckButton::indicator-size = 14

	GtkPaned::handle-size = 6

	GtkRange::trough-border = 2
	GtkRange::slider-width = 13
	GtkRange::stepper-size = 14
        GtkRange::trough-under-steppers = 1

	GtkScale::slider-length = 18
	GtkScale::trough-side-details = 1

	GtkScrollbar::min-slider-length = 30
	GtkScrollbar::activate-slider = 1
	GtkMenuBar::internal-padding = 0
	GtkExpander::expander-size = 15
	GtkToolbar::internal-padding = 1
	GtkTreeView::expander-size = 15
	GtkTreeView::vertical-separator = 0

	GtkMenu::horizontal-padding = 0
	GtkMenu::vertical-padding = 0

	WnckTasklist::fade-overlay-rect = 0
	# The following line hints to gecko (and possibly other appliations)
	# that the entry should be drawn transparently on the canvas.
	# Without this, gecko will fill in the background of the entry.
	GtkEntry::honors-transparent-bg-hint = 1

        GtkEntry::progress-border = { 2, 2, 2, 2 }
	GtkMenuBar::window-dragging = 1

	GtkWidget::link-color = @selected_bg_color
	GtkWidget::visited-link-color = @text_color

	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = @fg_color
	fg[SELECTED]      = @selected_fg_color
	fg[ACTIVE]        = @fg_color
	fg[INSENSITIVE]   = darker (@bg_color)

	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = shade (1.02, @bg_color)
	bg[SELECTED]	  = @selected_bg_color
	bg[INSENSITIVE]   = @bg_color
	bg[ACTIVE]        = shade (0.9, @bg_color)

	base[NORMAL]      = @base_color
	base[PRELIGHT]    = shade (0.95, @bg_color)
	base[ACTIVE]      = mix (0.7, @selected_bg_color, @bg_color)
	base[SELECTED]    = @selected_bg_color
	base[INSENSITIVE] = @bg_color

	text[NORMAL]      = @text_color
	text[PRELIGHT]    = @text_color
	text[ACTIVE]      = @selected_fg_color
	text[SELECTED]    = @selected_fg_color
	text[INSENSITIVE] = darker (@bg_color)

engine "murrine" 
	{
		animation           = TRUE  # FALSE = disabled, TRUE = enabled
		arrowstyle          = 1
		border_shades       = { 1.2, 1.0 } # gradient to draw on border
#		border_colors       = { "#E6DDD5", "#E6DDD5" } 
		colorize_scrollbar  = TRUE  # FALSE = disabled, TRUE = enabled
		comboboxstyle       = 0 # colorize the GtkComboBox below the arrow.
		contrast            = .85  # 0.8 for less contrast, more than 1.0 for more contrast on borders
		#focus_color         = @selected_bg_color
		glazestyle          = 5     # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
		glow_shade          = 1.20  # sets glow amount for buttons or widgets
		glowstyle           = 0     # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal) 
		gradient_shades     = { 1.13, 1.02, 1.00, 1.02 } # default: {1.1,1.0,1.0,1.1}
		highlight_shade     = 1.0   # set highlight amount for buttons or widgets
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 1     # 0 = lightborder on top side, 1 = lightborder on all sides
		listviewheaderstyle = 1     # 0 = flat, 1 = glassy, 2 = raised
		listviewstyle       = 2     # 0 = nothing, 1 = dotted 2 = solid
		menubaritemstyle    = 1     # 0 = menuitem look, 1 = button look
		menubarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menuitemstyle       = 1     # 0 = flat, 1 = glassy, 2 = striped
		menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
		prelight_shade      = 1.25 #to select the shade level used in the scrollbar's slider, GtkComboBox with comboboxstyle = 1 and in the prelight state with gradient_colors.
 		progressbarstyle    = 0     # 0 = no stripes, 1 = diagonal stripes, 2 = vertical stripes 
		reliefstyle	    = 4     # 0 = flat, 1 = inset, 2 = shadow, = 3 for a gradient on shadow, = 4 for a stronger shadow.
		rgba		    = FALSE # FALSE = disabled, TRUE = enabled
		roundness           = 2     # 0 = squared, 1 = old default, more will increase roundness
		scrollbarstyle      = 0     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
		separatorstyle	    = 1
		shadow_shades 	    = { 0.8, 2.2 }
		sliderstyle         = 0     # 0 = nothing added, 1 = handles
		spinbuttonstyle     = 0
		stepperstyle        = 1     # 0 = standard, 1 = integrated stepper handles, 2 = squared steppers with a rounded slider
		#textstyle 	    = 1
		trough_shades       = { 0.98, 1.08 } # draw gradient on trough of GtkScrollbar and GtkProgressbar
		toolbarstyle	    = 1     # 0 = flat, 1 = glassy, 2 = gradient
	}
}

style "wide"
{
	xthickness = 2
	ythickness = 2
}

style "wider"
{
	xthickness = 3
	ythickness = 3
}

style "dark"
{
	bg[NORMAL]	= "#343330"
	bg[SELECTED]    = shade(0.9,@selected_bg_color)
	bg[PRELIGHT]    = shade (0.5, @selected_bg_color)
	bg[ACTIVE]	= mix (0.5, @selected_bg_color, "#343330")
	bg[INSENSITIVE] = "#302F2C"
	
	fg[NORMAL] 	= mix (0.7,  '#ffffef', @fg_color)
	fg[PRELIGHT] 	= mix (0.8,  '#ffffef', @fg_color)
	fg[SELECTED] 	= mix (0.8,  '#ffffef', @fg_color)
	fg[ACTIVE] 	= mix (0.8,  '#ffffef', @fg_color)
	fg[INSENSITIVE] = mix (0.4,  '#ffffef', @fg_color)	
	
}

style "button" = "wider"
{	
	bg[NORMAL]   	= shade (1.10, @bg_color)
	bg[PRELIGHT] 	= mix(0.82,shade (1.1, @bg_color),@selected_bg_color)
	bg[ACTIVE]  	= shade (0.85, @bg_color)
	
	engine "murrine"
	{
		border_shades = { .8, .5} # draw a gradient on the border.
		border_colors = { @bg_color, @bg_color}
		contrast = 1.4
		lightborder_shade = 1.06
	}
}

style "entry" {
	xthickness = 3
	ythickness = 3

	bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
	fg[SELECTED] = @text_color

	engine "murrine" {
		focus_color = shade (0.65, @selected_bg_color)
	}
}

style "toolbar-item" = "button"
{
	bg[NORMAL]   	= "#AFA99F" #shade(0.88,@bg_color)
	bg[PRELIGHT]	= "#EFE9DF" #shade(1.1,@bg_color)
	bg[ACTIVE]   	= "#CFC9BF" #shade(0.6,@bg_color)
	bg[SELECTED]  	= "#AFA99F" #shade(0.88,@bg_color)
	bg[INSENSITIVE]	= "#AFA99F" #shade(0.88,@bg_color)
}

style "toolbar" = "toolbar-item"
{
    xthickness = 1
    ythickness = 1
    
engine "murrine"
	{
		gradient_shades = { 1.00, 0.94, 0.94, 0.85 }
		contrast = 1.15
    	}
}


style "toolbar-sep" = "toolbar-item"
{
    xthickness = 2
}

style "dark-toolbar" = "dark"
{	
	xthickness = 3
	ythickness = 3
  	
	bg[NORMAL] 	= "#343330"
	bg[PRELIGHT] 	=  shade (0.65, @selected_bg_color)
	bg[SELECTED]	=  shade (0.35, @bg_color)
	bg[ACTIVE] 	=  shade (0.35, @bg_color)

	engine "murrine"
	{
		border_shades = {1.3, 1.1} # draw a gradient on the border.
		border_colors = { "#343330", "#343330" }
		glowstyle = 4
		gradient_shades = {1.05,1.0,1.0,0.9} 
	    	highlight_shade = 1.1
	    	lightborder_shade   = 1.05
	    	reliefstyle = 4     # 0 = flat, 1 = inset, 2 = shadow, = 3 for a gradient on shadow, = 4 for a stronger shadow.
	    	contrast = 1.4
	}
}

style "dark-toolbar-sep" = "dark-toolbar"
 { xthickness = 2 }


style "pixmap-dark-toolbar" = "dark-toolbar"
{
	xthickness = 1
	ythickness = 1
	# To-do: make the toolbar recolorable, possibly without using pixmaps
	# We only like this because of the top line, anyway.
	engine "pixmap"{
		image {
	  		function 		= BOX
	  		file 			= "toolbar_o.png"
	  		border			= {1,1,1,1}
	  	}
	  	image
		{
		      	function		= HANDLE
		      	overlay_file		= "handlebox.png"
		      	overlay_stretch 	= FALSE
		      	orientation		= HORIZONTAL
    		}
    		image
		{
		      	function		= HANDLE
		      	overlay_file		= "handlebox.png"
		      	overlay_stretch 	= FALSE
		      	orientation		= VERTICAL
    		}
    		image
		{
		       	function        	= VLINE
		       	recolorable        	= TRUE
		       	file                	= "blank.png"
		}
		image
		{
		      	function            	= HLINE
		      	recolorable        	= TRUE
		      	file                	= "blank.png"
		}
	}
}

style "notebook" = "wider"
{
	bg[NORMAL] = shade (1.0615, @bg_color)	
	bg[ACTIVE] = shade (0.85, @bg_color)		

  	engine "murrine" 
  	{
		contrast = 1.0
    		lightborder_shade = 1.1
   		highlight_shade	= 1.01
  	}
}

style "panel" 
{
  	bg[NORMAL]	= "#343330"                        	# Default top/bottom panel background 
  	bg[NORMAL] 	= "#343330"
  	bg[PRELIGHT] 	= shade(1.0, @selected_bg_color)      	# panel prelight
  	bg[ACTIVE] 	= @selected_bg_color                   	# bottom panel active background
  	bg[SELECTED] 	= @selected_bg_color               	# Active window desktop lower panel background 
  	bg[INSENSITIVE] = shade(0.90, @selected_bg_color)  

  	fg[NORMAL] 	= @selected_fg_color                 	# Default text
  	fg[PRELIGHT] 	= @selected_fg_color               	# Prelight
  	fg[ACTIVE] 	= @selected_fg_color                 	# Bottom panel active text
  	fg[SELECTED]  	= @fg_color                       	# Bottom panel selected window

	engine "murrine"
	{
		border_shades = {1.2, 1.0} 			# draw a gradient on the border.
		border_colors = { "#343330", "#343330" }
	}
  	
}

style "terminal" 
{
text[NORMAL] = "#ffffff"
base[NORMAL] = @selected_bg_color
TerminalScreen::background-darkness=0.75
}

style "murrine-PanelGtkMenubar" 
{
	bg[NORMAL] 	= "#343330"                 		# top desktop panel menu background color
	bg[SELECTED] 	= darker(@selected_bg_color)    	# selected item background
	fg[NORMAL] 	= @bg_color    		  		# default panel text !
	fg[PRELIGHT] 	= @base_color                		# text after dropdown menu

  	#font_name = "Bold"

  	engine "murrine"
  	{
    		contrast = 0.75
    		glazestyle = 3  
    		glow_shade = 1.5	
		glowstyle = 0  
    	}
}

widget "*clock-applet-button*" style "dark-toolbar"

style "menu" = "dark"
{
	xthickness = 0
	ythickness = 0

	#Keep it this dark since OOo likes it
	
	bg[NORMAL] 	= "#343330"
	text[NORMAL] 	= @bg_color
	text[PRELIGHT]	= @selected_fg_color
}

style "menu-item" = "dark"
{
	xthickness = 0
	ythickness = 3
	
	engine "murrine"
	{
		border_shades = { 1.0, .8} # draw a gradient on the border.
		border_colors = { "#795145", "#795145" } 
		glowstyle = 0
	    	gradient_shades = {1.1,1.0,1.0,0.7}
	    	highlight_shade = 1.0
	    	lightborder_shade   = 1.0
	    	roundness = 0
	}
}

style "separator-menu-item"
{
	GtkSeparatorMenuItem::horizontal-padding = 2
	GtkWidget::wide-separators = 1
	GtkWidget::separator-width = 1
	GtkWidget::separator-height = 2
	xthickness = 4
	ythickness = 0
	bg[NORMAL] = "#444"
}

# Based on the default style so that the colors from the button
# style are overriden again.
style "treeview-header" = "default"
{
	xthickness = 2
	ythickness = 1

	bg[NORMAL] = shade(0.9, @bg_color)
        bg[PRELIGHT] = shade(1.0, @bg_color)
        bg[ACTIVE] = shade(0.8, @bg_color)
    
        GtkWidget::focus-line-width = 0
}

style "tooltips"
{
	xthickness = 8
	ythickness = 5

	bg[NORMAL] 	= @tooltip_bg_color
	bg[SELECTED] 	= @selected_bg_color
	fg[NORMAL] 	= @tooltip_fg_color
}

style "progressbar"
{
	xthickness = 0
	ythickness = 0

	fg[PRELIGHT] = @selected_fg_color

}

style "pixmap-statusbar"
{
	ythickness = 3
	xthickness = 3

    	engine "pixmap"
    		{
		image
        	{
            		function 		= RESIZE_GRIP
            		recolorable 		= TRUE
            		detail 			= "statusbar"
            		overlay_file 		= "statusgrip.png"
            		overlay_border 		= {0,0,0,0}
            		overlay_stretch 	= TRUE
        	}
        	image
		{
	   		function		= SHADOW
	  		shadow			= IN
	  		file			= "blank.png"
		}
		image
		{
	   		function		= SHADOW
	   		shadow			= OUT
	   		file			= "blank.png"
		}
		image
		{
	   		function		= SHADOW
	   		shadow			= ETCHED_IN
	   		file			= "blank.png"	
		}
		image
		{
	   		function		= SHADOW
	  		shadow			= ETCHED_OUT
	   		file			= "blank.png"
		}
    }
}

style "comboboxentry" = "wider"
{
}

style "spinbutton"
{
}

style "scale"
{
	bg[PRELIGHT] = shade(0.9,@bg_color)
	engine "murrine"{
	    roundness = 2
	    contrast = 1.1
	    highlight_shade = 1.2
	    lightborder_shade   = 1.1
	    gradient_shades = {1.0,0.85,0.8,1.0}
	    reliefstyle = 2
	}
}

style "menubar" = "dark"
{
	# Static dark color so continuity doesn't break with toolbars
	# when color changes
	bg[NORMAL] = "#343330"
	text[NORMAL] = @bg_color               # Menubar text (OOo)              # Menubar text (OOo)
	
	engine "pixmap"
	{
		image 
		{
	  		function 		= BOX
	  		file 			= "menubar.png"
	  		#border 		= {1,1,1,1}
	  		stretch 		= TRUE
	  	}
	  	image 
		{
		      	function		= HANDLE
		      	overlay_file		= "handlebox.png"
		     	overlay_stretch 	= FALSE
		      	orientation		= HORIZONTAL
		}
        	image 
		{
		      	function			= HANDLE
		      	overlay_file		= "handlebox.png"
		      	overlay_stretch 	= FALSE
		      	orientation		= VERTICAL
		}
    }
}

style "frame"
{
}

style "frame-title" = "frame"
{
	fg[NORMAL] = lighter (@fg_color)
}

# SZ07: This is added to tell the theme how to color checkmarks and radio items that are not in menus.
style "radiocheck"
{
	text[NORMAL]	= @selected_fg_color	# Color for selected checks/radio items.
	text[PRELIGHT]	= @selected_fg_color	# Color for selected checks/radio items on prelight.
	
	engine "murrine"
	{
	    	roundness = 2
	    	contrast = 1.03
	    	highlight_shade = 1.0
	    	lightborder_shade = 1.0
	    	gradient_shades = {1.1,1.0,1.0,0.9}
	    	reliefstyle = 2 
	}
}

style "scrollbar"
{
	engine "murrine"
	{
		border_shades		= { .5, .5} # draw a gradient on the border.
		border_colors       	= { "#D9D4CC", "#D9D4CC" } 
		glazestyle          	= 3     # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
		glow_shade          	= 1.1   # sets glow amount for buttons or widgets
		glowstyle           	= 4     # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal) 
		gradient_shades     	= {1.02,1.01,0.96,0.95} # default: {1.1,1.0,1.0,1.1}
		highlight_shade     	= 1.1   # set highlight amount for buttons or widgets
		lightborder_shade   	= 1.3   # sets lightborder amount for buttons or widgets
		roundness 		= 5
	}

	bg[SELECTED] = shade (0.6, @bg_color)
}

style "hscrollbar"
{
}

style "vscrollbar"
{
}

style "nautilus-location"
{
	bg[NORMAL] = mix(0.60, @bg_color, @selected_bg_color)
}

#########################################
# Matches
#########################################

widget "ido-offscreen-scale" style "menubar"
widget "*IdoEntryMenuItem*" style "wide"

# default style is applied to every widget
class "GtkWidget"    style "default"

# Increase the x/ythickness in some widgets
class "GtkRange"     style "default"
class "GtkFrame"     style "frame"
class "GtkSeparator" style "wide"
class "GtkEntry"     style "entry"
class "GtkStatusbar" style "pixmap-statusbar"
class "GtkMenuBar"   style:highest "menubar"
class "GtkRadioButton"	style "radiocheck"	# SZ07: Added for the checkmarks/radio
class "GtkCheckButton"	style "radiocheck"	# SZ07: Added for the checkmarks/radio

# Toolbar default: dark
#class "*HandleBox" style "pixmap-dark-toolbar"
#class "GtkToolbar"   style "pixmap-dark-toolbar" 
#widget_class "*HandleBox" style "pixmap-dark-toolbar"
#widget_class "*<GtkToolbar>.*"   style "dark-toolbar"

# Toolbar default: light
class "*HandleBox" style "toolbar"
class "GtkToolbar"   style "toolbar" 
widget_class "*HandleBox" style "toolbar"
widget_class "*<GtkToolbar>.*"   style "toolbar-item"

#
# Toolbar exceptions:
# Browser-type and viewer-type applications get a dark toolbar.
# Everything below the toolbar for these apps are the content. This will make
# a separation on function (toolbar) and content (client area).
#

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
style "text-is-fg-color-workaround"
{
	text[NORMAL]      = @fg_color
	text[PRELIGHT]    = @fg_color
	text[SELECTED]    = @selected_fg_color
	text[ACTIVE]      = @fg_color
	text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround"

style "text-is-fg-color-workaround-dark"
{
	#Make it work with this theme!
	text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
	text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
}

#  Nautilus toolbar
widget_class "*Nautilus*Toolbar*" style "pixmap-dark-toolbar"
widget_class "*Nautilus*Tool*GtkButton" style "dark-toolbar"
widget_class "*Nautilus*Tool*.*.*" style "dark-toolbar"
widget_class "*Nautilus*Tool*GtkToggleButton" style "dark-toolbar"
widget_class "*Nautilus*Tool*Separator*" style "dark-toolbar-sep"
widget_class "*Nautilus*Tool*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"

# Evince/EOG
widget_class "*EggEditable*Toolbar*" style "pixmap-dark-toolbar"
widget_class "*EggEditable*Toolbar*.*.*.*" style "dark-toolbar"
widget_class "*EggEditable*Tool*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"

widget "*fullscreen-toolbar" style "pixmap-dark-toolbar"
widget "*fullscreen-toolbar.*" style "dark-toolbar"
widget "*fullscreen-toolbar*.GtkComboBox.GtkCellView"   style "text-is-fg-color-workaround-dark"

# Epiphany
widget_class "*EphyToolbar*" style "pixmap-dark-toolbar"
widget_class "*EphyToolbar*.*.*.*" style "dark-toolbar"
widget_class "*EphyTool*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"
 
# Brasero
widget_class "*rasero*Toolbar*"   style "pixmap-dark-toolbar" 
widget_class "*rasero*Toolbar*.*"   style "dark-toolbar" 
widget_class "*rasero*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"

#gThumb
widget_class "*Gth*Toolbar*"   style "pixmap-dark-toolbar" 
widget_class "*Gth*Toolbar*.*"   style "dark-toolbar" 
widget_class "*Gth*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"
widget_class "*GthFull*"   style "pixmap-dark-toolbar" #Doesn't work

#Totem
widget "*totem*" style "dark"
style "totem-dark" 
{
	text[NORMAL] = mix (0.7,  '#ffffef', @fg_color)
	text[PRELIGHT] = mix (0.8,  '#ffffef', @fg_color)
	
	engine "murrine"
	{
		border_colors = { "#343330", "#343330" }
	}
}

widget "*tmw_main_pane.EvSidebar.*GtkComboBox.*"	style "totem-dark"
widget "*tmw_main_pane*GtkButton*"	style "totem-dark" #Doesn't work
widget "*tmw_main_pane*GtkToolButton"	style "totem-dark"
widget "*tmw_main_pane*GtkToggleButton"	style "totem-dark"

class "GtkSpinButton"  style "spinbutton"
class "GtkScale"       style "scale"
class "GtkVScale"      style "scale"
class "GtkHScale"      style "scale"
class "GtkScrollbar"   style "scrollbar"
class "GtkVScrollbar"  style "vscrollbar"
class "GtkHScrollbar"  style "hscrollbar"
class "GtkButton"      style "button"

# 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.

widget_class "*<GtkNotebook>*<GtkEventBox>"     style "notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "notebook"
widget_class "*<GtkNotebook>*<GtkLayout>"       style "notebook"
widget_class "*<GtkNotebook>"    	       	style "notebook"

widget_class "*<GtkComboBoxEntry>*" 		style "comboboxentry"
widget_class "*<GtkCombo>*"         		style "comboboxentry"

widget_class "*<GtkMenuBar>.*"			style "menu-item"
widget_class "*<GtkMenu>*"              	style "menu"
widget_class "*<GtkMenuItem>"         		style "menu-item"
widget_class "*<GtkSeparatorMenuItem>*" 	style "separator-menu-item"
widget_class "*<GtkCheckMenuItem>*" 		style "radiocheck"
widget_class "*<GtkRadioMenuItem>*" 		style "radiocheck"

widget_class "*<GtkFrame>"  			style "frame"
widget_class "*.<GtkFrame>.<GtkLabel>" 		style "frame-title"

widget_class "*<GtkStatusbar>*"  		style "wider"
widget_class "*<GtkProgressBar>"       		style "progressbar"

# Treeview header
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"

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

# The panel menubar
widget_class "*Panel*<GtkMenuBar>*"		style:highest "murrine-PanelGtkMenubar"

#XFCE panel
widget_class "*notif*"				style "panel"
widget_class "*Notif*"				style "panel"
widget_class "*Tray*"				style "panel"
widget_class "*tray*"				style "panel"
widget "*Xfce*Panel*"				style "panel"
class "*Xfce*Panel*"				style "panel"

#Fix textboxes on toolbars (memenu LP:#532843)
style "text-dark" = "default" 
{
}

widget_class "*<GtkToolbar>*<GtkEntry>*" 	style "text-dark"
widget_class "*<GtkMenu>*<GtkEntry>*" 		style "text-dark"


widget "gtk-tooltip*" 				style "tooltips"

###################################################
# Special cases and work arounds
###################################################

# Nautilus sidebar
widget_class "*NautilusSidePane.GtkFrame"	style "pixmap-statusbar"

# Workarounds for Evolution
widget_class "*.ETable.ECanvas"    		style "treeview-header"
widget_class "*.ETree.ECanvas"    		style "treeview-header"

# Monodevelop uses an OptionPanel widget, which incidentally is dark in our theme.
# Undo it:
widget "*OptionPanel*"				style "button"
widget "*optionPanel*"				style "button"

# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" 		style : highest "nautilus-location"

style "menuitem-text-is-fg-color-workaround" 
{
	text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
	text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
}
widget "*.gtk-combobox-popup-menu.*"   style "menuitem-text-is-fg-color-workaround"

# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "fg-is-text-color-workaround"
{
	fg[NORMAL]      = @text_color
	fg[PRELIGHT]    = @text_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
	fg[INSENSITIVE] = darker (@bg_color)
}
widget_class "*<GtkListItem>*" style "fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "fg-is-text-color-workaround"

style "evo-new-button-workaround" 
{
	engine "murrine"
	{
		toolbarstyle = 0
	}
}

widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo-new-button-workaround"

#Rhythmbox toolbar near the search entry. Use default + wide so that it doesn't turn dark.
style "rhythmbox-header" = "default"
{
	xthickness = 3
	ythickness = 3
	engine "murrine" {
	}
}
widget "*RBSourceHeader*"	style:highest "rhythmbox-header"
widget "*HeaderToolbar*"	style:highest "rhythmbox-header"
widget "*FooterToolbar*"	style:highest "rhythmbox-header"

widget "*swt*toolbar*"	style "default"

# RSC: Fix for CPU frequency applet
style "applet-text" = "panel"
{
	fg[NORMAL] = @bg_color
}

widget_class "*CPUFreqApplet*" style:highest "applet-text"

# Firefox specific things:
#widget "MozillaGtkWidget*Menu*"	style "default"
widget "MozillaGtkWidget*Tool*"	style "toolbar-item"
class "TerminalScreen" style "terminal"