#==================================================================
#			Bisigi Project theme
#==================================================================
#		   http://www.bisigi-project.org
#		===================================
# Author: François Vogelweith <francois.vogelweith@gmail.com> , Jean-Luc Trémelet <jovialissimo@gmail.com>
# License: GPL v3
# Theme: Split
# Description: Murrine / gtk Theme 
#==================================================================

gtk_color_scheme = "fg_color:#101010\nbg_color:#D1D1D1\nbase_color:#F2F2F2\ntext_color:#1A1A1A\nselected_bg_color:#DDDDDD\nselected_fg_color:#333333\ntooltip_bg_color:#333333\ntooltip_fg_color:#fff"

# This specifies the sizes of panel icons. 16 = smaller icons, 24 = default-sized icons.
gtk-icon-sizes = "panel-menu=24,24"

 gtk-icon-sizes = "gtk-button=16,16"  # This makes button icons smaller, which in turn makes buttons smaller.
 gtk-icon-sizes = "gtk-large-toolbar=24,24:gtk-small-toolbar=16,16"  # Uncomment or edit for smaller toolbars.

include "panel.rc" 

#include "panel28.rc"  # Use this instead if you plan to use 28px panels.
#include "panel32.rc"  # Use this instead if you plan to use 32px panels.
#include "panel40.rc"  # Use this instead if you plan to use 40px panels.
#include "panel48.rc"  # Use this instead if you plan to use 48px panels.

style "theme-default"
{
	GtkImage::x-ayatana-indicator-dynamic = 1

	GtkButton      ::child-displacement-x = 0 		
	GtkButton      ::child-displacement-y = 0 
	GtkButton      ::default-border       = { 0, 0, 0, 0 }
	GtkCheckButton ::indicator-size       = 14

	GtkPaned       ::handle-size          = 6

	GtkRange       ::trough-border        = 0 		
	GtkRange       ::slider-width         = 13		
	GtkRange       ::stepper-size         = 10		

	GtkScale       ::slider-length        = 15  		
	GtkScale       ::trough-side-details  = 0		

	GtkProgressBar::min-horizontal-bar-height = 14 #jl
	GtkProgressBar::min-vertical-bar-width = 14 #jl

	GtkMenuBar     ::internal-padding     = 1		
	GtkExpander    ::expander-size        = 16		
	GtkToolbar     ::internal-padding     = 1		
	GtkTreeView    ::expander-size        = 14		
	GtkTreeView    ::vertical-separator   = 0		

	GtkMenu        ::horizontal-padding   = 1		
	GtkMenu        ::vertical-padding     = 1		

	GtkWidget      ::focus-line-width     = 1 

	GtkScrolledWindow ::scrollbar-spacing = 2#jl
	GtkScrolledWindow ::scrollbar-within-bevel = 0#jl
    	GtkRange::trough-under-steppers = 0 #jl
	GtkScrollbar::min-slider-length = 32
	GtkScrollbar::slider-width = 10
	GtkScrollbar::activate-slider = 1#jl
	GtkScrollbar::trough-border = 2

	GtkWidget::link-color = darker (@selected_bg_color)
	GtkWidget::visited-link-color = @text_color

	GtkToolbar	:: shadow-type	= GTK_SHADOW_NONE
	GtkMenuBar::window-dragging = 1
	WnckTasklist   ::fade-overlay-rect = 0
	GtkEntry::honors-transparent-bg-hint = 1
	GtkEntry::state-hint = 0



  	xthickness = 1						
  	ythickness = 1

	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.90, @bg_color)

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

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

	color["info_bg_color"] = "#727272"
	color["info_fg_color"] = "#ffffff"

  engine "murrine" 
  {
		animation           = TRUE
		arrowstyle          = 1
		border_shades       = { 1.0, 0.9} 
		contrast            = 0.87
		handlestyle 	    = 3
		glazestyle          = 0     
		glow_shade          = 1.0
		glowstyle           = 5     
		gradient_shades     = {1.15,1.08,1.07,1.0}
		highlight_shade     = 1.0
		lightborder_shade   = 1.0
		lightborderstyle    = 1     
		listviewheaderstyle = 1     
		listviewstyle       = 2     
		menubaritemstyle    = 1     
		menubarstyle        = 0     
		menuitemstyle       = 0     
		menustyle           = 0     
		prelight_shade 	    = 1.06
		progressbarstyle    = 0    
		reliefstyle	    = 2    
		rgba		    = FALSE
		roundness           = 2
		scrollbarstyle      = 0     
		sliderstyle         = 1     
		stepperstyle        = 1     
		textstyle 	    = 0
		trough_shades 	    = {1.1,0.87}
		toolbarstyle	    = 0     
		expanderstyle       = 1
		separatorstyle      = 1
   }
}

style "evolution-hack" = "theme-default"
{	
	bg[NORMAL]   = shade (1.02, @bg_color)  
	bg[PRELIGHT]   = shade (1.06, @bg_color)  
	bg[ACTIVE]	= shade (0.90, @bg_color)  
	bg[SELECTED]	= @selected_bg_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
}

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

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

style "theme-button" 
{
	xthickness = 3
	ythickness = 3

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

style "theme-notebook" = "theme-wider"
{
	bg[NORMAL] = shade (1.04, @bg_color)  
	bg[ACTIVE] = shade (0.91, @bg_color)
  engine "murrine" 
  {
	roundness = 4  
}
}

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

style "theme-menu" = "theme-wider"
{
	xthickness = 0
	ythickness = 0
	bg[NORMAL] = shade (1.05, @selected_fg_color) 
	bg[SELECTED]	= shade (1.0, @selected_bg_color) 
	fg[NORMAL] = @bg_color
	text[NORMAL] 	= @bg_color
	text[PRELIGHT]	= @selected_fg_color
	fg[ACTIVE] 	= shade (1.15, @bg_color)




        engine "murrine" {
           	gradient_shades     = {1.0,0.9,0.9,0.7}
                glow_shade          = 1.05
		glowstyle           = 2
		highlight_shade     = 1.0
		lightborder_shade   = 0.9  
	}
}

style "theme-menu-item"  = "theme-menu"
{
	xthickness = 0
	ythickness = 3

	fg[PRELIGHT]      = "#000000"

        engine "murrine" {
            glowstyle = 0
            roundness = 3

}
}
style "theme-treeview"
{
	bg[SELECTED]	= shade (0.8, @selected_bg_color) 
	text[ACTIVE]   = "#737373"
}

style "theme-treeview-header" = "theme-default"
{
	xthickness = 2
	ythickness = 1
	bg[NORMAL]        = shade (1.02, @bg_color)  
	bg[PRELIGHT]      = shade (1.06, @bg_color) 
	bg[ACTIVE]        = shade (0.85, @bg_color) 
	bg[INSENSITIVE]   = shade (0.95, @bg_color) 
  engine "murrine" 
  {
	glazestyle = 0  
	roundness = 0 
}
}

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

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

style "theme-progressbar" = "theme-wide"
{
	bg[SELECTED] = shade (1.4, @selected_fg_color)
	fg[PRELIGHT]      = "#FFFFFF"

	engine "murrine"{
	   roundness = 3
           gradient_shades   = {1.0,1.0,1.0,1.0}
	   trough_shades     = {1.1,1.1}
	   contrast          = 1.47
	}
}

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


style "theme-comboboxentry" = "theme-button"
{
	ythickness = 3
	xthickness = 3

	bg[PRELIGHT] = shade (1.0, @selected_bg_color)
	bg[SELECTED] = @selected_bg_color
	bg[ACTIVE]   = shade (0.9, @selected_bg_color)
	fg[PRELIGHT]      = "#000000"
	fg[ACTIVE]      = "#000000"
}

style "theme-spinbutton"
{
	bg[NORMAL]        = shade (1.02, @bg_color) 
	bg[PRELIGHT]      = shade (1.06, @bg_color) 
	bg[ACTIVE]        = shade (0.85, @bg_color) 
	bg[INSENSITIVE]   = shade (0.95, @bg_color) 
}

style "theme-scale"
{
	GtkScale       ::trough-side-details  = 1

	engine "murrine"{
		contrast		= 0.5
		roundness           	= 2
}

	GtkRange       ::slider-width         = 10  
	bg[NORMAL]        = shade (1.02, @bg_color) 
	bg[PRELIGHT]      = shade (1.06, @bg_color) 
	bg[ACTIVE]        = shade (0.85, @bg_color) 
	bg[SELECTED]      = shade (1.85, @selected_fg_color) 
	bg[INSENSITIVE]   = shade (0.95, @bg_color) 
	
}

style "theme-scrollbar" = "theme-button"
{
	bg[SELECTED] = shade (1.4, @selected_fg_color)
	fg[PRELIGHT]      = @selected_fg_color

	engine "murrine"{
	   roundness = 2
           gradient_shades   = {1.0,1.0,1.0,1.0}
	   trough_shades     = {1.0,1.0}
	   contrast          = 1.47
	}
}


style "theme-toolbar"
{


	engine "murrine" {
	    	contrast = 1.2
           	gradient_shades     = {1.0,0.9,0.9,0.7}
                glow_shade          = 1.05
		glowstyle           = 2     
		highlight_shade     = 1.0
		textstyle	    = 0        
	}
}


style "toolbar-item" = "theme-toolbar"
{
}



style "theme-hscrollbar" = "theme-scrollbar"
{
}

style "theme-vscrollbar" = "theme-scrollbar"
{
}

style "theme-menubar" = "theme-default"
{
	bg[NORMAL]    = @selected_fg_color
	bg[PRELIGHT]    = shade (0.8, @selected_bg_color)


	fg[NORMAL]    = @bg_color
	text[NORMAL] = @bg_color 


}

style "metacity-frame"
{
}

style "theme-nautilus-location"
{
	bg[NORMAL] = shade (0.70, @selected_bg_color)  
}

style "theme-radiocheck" = "theme-default"
{
	bg[SELECTED] = @selected_bg_color
	bg[NORMAL]   = mix (0.3, @selected_bg_color, @bg_color)
	bg[PRELIGHT] = @bg_color
}

class "GtkRadio*"	style "theme-radiocheck"
class "GtkCheck*"	style "theme-radiocheck"

style "nautilus-main-full"
{
	NautilusIconContainer	::highlight_alpha	= 255
}

style "nautilus-splitter"
{
	GtkPaned	::handle_size	= 0

	bg[NORMAL]	= shade (0.86, @bg_color)
	bg[PRELIGHT]	= shade (1.08, @selected_bg_color)

}

style "nautilus-sidepane"
{
	bg[NORMAL]	= shade (0.96, @selected_fg_color)
	base[NORMAL]	= @selected_fg_color
	text[NORMAL]      = @base_color
	text[ACTIVE]      = @selected_fg_color
	text[INSENSITIVE] = @base_color

}

style "nautilus-sidepane-frame"
{
	base[NORMAL]	= @selected_fg_color

	engine "murrine"
	{
		contrast	= 0.0
		reliefstyle	= 1
	}
}



style "nautilus-placessidebar"
{
	base[NORMAL]	= @selected_fg_color
}

style "nautilus-notesviewer"
{
	xthickness	= 0
	ythickness	= 0
}

style "nautilus-informationpanel"
{
	bg[NORMAL]	= @selected_fg_color
}

widget	"NautilusNavigationWindow.*"						style "nautilus-main-full"
widget	"NautilusNavigationWindow.*.NautilusSidePane*"				style "nautilus-sidepane"
widget	"NautilusNavigationWindow.*.NautilusSidePane.GtkFrame"			style "nautilus-sidepane-frame"
widget	"NautilusNavigationWindow.*.NautilusNotesViewer"			style "nautilus-notesviewer"
widget	"NautilusNavigationWindow.*.NautilusPlacesSidebar*"			style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.FMTreeView*"				style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.NautilusHistorySidebar*"			style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.NautilusInformationPanel"			style "nautilus-informationpanel"
widget	"NautilusNavigationWindow.*.NautilusEmblemSidebar.*.GtkViewport*"	style "nautilus-informationpanel"
widget	"NautilusNavigationWindow.*.NautilusHorizontalSplitter"			style "nautilus-splitter"

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


class "GtkWidget"    style "theme-default"
class "*HandleBox" style "theme-toolbar"
class "GtkToolbar"   style "theme-toolbar" 
widget_class "*HandleBox" style "theme-toolbar"
widget_class "*<GtkToolbar>.*"   style "toolbar-item"

class "GtkRange"     style "theme-wide"
class "GtkFrame"     style "theme-wide"
class "GtkEntry"     style "theme-wider"
class "MetaFrames"   style "metacity-frame"
class "GtkSeparator" style "theme-wide"
class "GtkWindow"      style "metacity-frame"

class "GtkSpinButton"  style "theme-spinbutton"
class "GtkScale"       style "theme-scale"
class "GtkVScale"      style "theme-scale"
class "GtkHScale"      style "theme-scale"
class "GtkScrollbar"   style "theme-scrollbar"
class "GtkVScrollbar"  style "theme-vscrollbar"
class "GtkHScrollbar"  style "theme-hscrollbar"



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

widget_class "*<GtkButton>"      style "theme-button"
widget_class "*<GtkNotebook>"    style "theme-notebook"
widget_class "*<GtkStatusbar>*"  style "theme-statusbar"

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

widget_class "*<GtkMenuBar>*"           style "theme-menubar"
widget_class "*<GtkMenu>*"              style "theme-menu"
widget_class "*<GtkMenuItem>*"          style "theme-menu-item"

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

widget_class "*<GtkProgressBar>"       style "theme-progressbar"

widget_class "*.<GtkTreeView>.<GtkButton>" style "theme-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>"    style "theme-treeview-header"
widget_class "*.<GtkList>.<GtkButton>"     style "theme-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>"    style "theme-treeview-header"

widget_class "*.ETable.ECanvas"    style "theme-treeview-header"
widget_class "*.ETree.ECanvas"    style "theme-treeview-header"
widget_class "*GtkCTree*"	style "evolution-hack"
widget_class "*GtkList*"	style "evolution-hack"
widget_class "*GtkCList*"	style "evolution-hack"
widget_class "*.ETree.*"	style "evolution-hack"
widget_class "*EInfoLabel*"	style "evolution-hack"

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

widget "*.nautilus-extra-view-widget" style : highest "theme-nautilus-location"

style "theme-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 "theme-text-is-fg-color-workaround"

style "theme-menuitem-text-is-fg-color-workaround"
{
	text[NORMAL]        = @bg_color
	text[PRELIGHT]      = @selected_fg_color
	text[SELECTED]      = @selected_fg_color
	text[ACTIVE]        = @fg_color
	text[INSENSITIVE]   = darker (@bg_color)
}
widget "*.gtk-combobox-popup-menu.*"   style "theme-menuitem-text-is-fg-color-workaround"

style "theme-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)
}

style "theme-fg-is-text-color-workaround-nautilus"
{
	fg[PRELIGHT]    = @text_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
	fg[INSENSITIVE] = darker (@bg_color)
}

widget_class "*<GtkListItem>*" 	style "theme-fg-is-text-color-workaround"
widget_class "*<GtkCList>" 	style "theme-fg-is-text-color-workaround"
widget_class "*Nautilus*Tool*.<GtkComboBox>.<GtkCellView>"   style "theme-fg-is-text-color-workaround"

style "evo-new-button-workaround" 
{
	fg[NORMAL]      = @fg_color
	bg[NORMAL]      = @bg_color
	engine "murrine"
	{
		toolbarstyle = 2
	}
}

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

widget_class "*.GtkNotebook.*.GtkViewport" style "theme-notebook"  

style "rhythmbox-header" = "theme-default"
{
	xthickness = 3
	ythickness = 3
	engine "clearlooks" {
	}
}
widget "*RBSourceHeader*"	style:highest "rhythmbox-header"
widget "*HeaderToolbar*"	style:highest "rhythmbox-header"
widget "*FooterToolbar*"	style:highest "rhythmbox-header"

widget "*swt*toolbar*"	style "theme-default"

style "desktop-icon"     {
	NautilusIconContainer::frame_text = 1
	text[NORMAL] = "#000000"
	base[NORMAL] = "#D1D1D1"
	NautilusIconContainer::normal_alpha = 0
}
widget_class "*DesktopIcon*" style "desktop-icon"


