# Author: ZgegBall
# Theme: Airlines
# Description: Murrine gtk Theme


# These are the official colors of the theme, you can change them in GNOME's appearance preferences.
gtk_color_scheme = "fg_color:#101010\nbg_color:#E6E6E6\nbase_color:#fff\ntext_color:#1A1A1A\nselected_bg_color:#687582\nselected_fg_color:#FFFFFF\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000"

# 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"
{
	GtkButton      ::child-displacement-x = 0 		# déplacement du texte lorsque l'on clic
	GtkButton      ::child-displacement-y = 0 
	GtkButton      ::default-border       = { 0, 0, 0, 0 }
	GtkCheckButton ::indicator-size       = 14


	GtkPaned       ::handle-size          = 6

	GtkRange       ::trough-border        = 4 		# espace zone de défillement par exemple
	GtkRange       ::slider-width         = 10		# largeur zone de défillement
	GtkRange       ::stepper-size         = 15		# espace au dessus et en dessous la zone de défillement

	GtkScale       ::slider-length        = 14  		# taille du curseur des échelles de progression
	GtkScale       ::trough-side-details  = 1		# échelle de progression en couleur
	GtkScrollbar   ::min-slider-length    = 50  

	GtkMenuBar     ::internal-padding     = 3		# hauteur barre "fichier - édition - affichage"
	GtkExpander    ::expander-size        = 16		# hauteur des flèches qui servent à minimiser certaines zones
	GtkToolbar     ::internal-padding     = 3		# hauteur zone avec des icones (ex: barre "nouveau - ouvrir - enregistrer..."
	GtkTreeView    ::expander-size        = 14		# ex: hauteur de zone de sélection des thèmes
	GtkTreeView    ::vertical-separator   = 0		# zone objet verticale

	GtkMenu        ::horizontal-padding   = 2		# largeur bord horizontaux des menus
	GtkMenu        ::vertical-padding     = 1		# hauteur bord verticaux des menu

	GtkWidget      ::focus-line-width     = 1 
  	GtkScrolledWindow ::scrollbar-spacing  = 5 		# espace entre la scrollbar et le reste de la fenetre 

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


  	xthickness = 1						# taille de l'espace entre l'interieur et le bord de fenetre
  	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 (1.50, @selected_bg_color)  		# a changer pour la selection
	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)

  engine "murrine" 
  {
		animation           = TRUE  # FALSE = disabled, TRUE = enabled
		arrowstyle          = 2
		colorize_scrollbar  = TRUE  # FALSE = disabled, TRUE = enabled
		focus_color         = "#D0D0D0"
		contrast            = 0.7   # 0.8 for less contrast, more than 1.0 for more contrast on borders
		glazestyle          = 0     # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
		gradient_shades     = {1.1,1.0,1.0,0.87} # default: {1.1,1.0,1.0,1.1}
		highlight_shade     = 1.0  # set highlight amount for buttons or widgets
		lightborder_shade   = 1.0   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all sides
		listviewheaderstyle = 1     # 0 = flat, 1 = glassy, 2 = raised
		listviewstyle       = 0     # 0 = nothing, 1 = dotted
		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
		menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
		reliefstyle	    = 2     # 0 = flat, 1 = inset, 2 = shadow
		rgba		    = FALSE  # FALSE = disabled, TRUE = enabled
		roundness           = 3     # 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
		sliderstyle         = 0     # 0 = nothing added, 1 = handles (curseur dans l'echelle de progression)
		stepperstyle        = 1     # 0 = standard, 1 = integrated stepper handles, 2 = unknown
		toolbarstyle	    = 2     # 0 = flat, 1 = glassy, 2 = gradient
 		textstyle    	    = 0
 		progressbarstyle    = 0     # 0 = no stripes, 1 = diagonal stripes, 2 = vertical stripes
		trough_shades       = { 0.98, 1.08 }
		expanderstyle       = 2
		separatorstyle      = 1  
   }
}

style "evolution-hack" = "theme-default"
{	
	bg[NORMAL]   = shade (1.02, @bg_color)  
	bg[PRELIGHT]   = shade (1.06, @bg_color)  
	bg[ACTIVE]	= shade (1.65, @selected_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" = "theme-wider"
{
	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" 
  {
	roundness = 15  
}
}

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

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

style "theme-menu" = "theme-wider"
{
	bg[NORMAL] = shade (1.05, @bg_color) 
  engine "murrine" 
  {
	highlight_shade = 0.82  
	roundness = 15  
}
}

style "theme-menu-item"  = "theme-wider"
{
	fg[PRELIGHT] = @selected_fg_color  
	bg[SELECTED]    = shade (1.25, @selected_bg_color) 
	bg[PRELIGHT]    = shade (1.25, @selected_bg_color)  
}

style "theme-treeview"
{
	bg[SELECTED]	= shade (1.12, @selected_bg_color) 
}

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[PRELIGHT] = "#56687A"
	fg[PRELIGHT]      = "#ffffff" 
}

style "theme-statusbar" = "theme-default"
{
	ythickness = 3
	xthickness = 3
	#bg[NORMAL] = @bg_color
}


style "theme-comboboxentry"
{
  engine "murrine" 
  {
	roundness = 3 
}
}

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"
{
	GtkRange       ::slider-width         = 14  
	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" 
  {
	roundness = 15 
}
}

style "theme-hscale" = "theme-scale"
{
}

style "theme-vscale" = "theme-scale"
{
}

style "theme-scrollbar"
{
	
	bg[NORMAL]        ="#C9C9C9"
	bg[SELECTED]        ="#C9C9C9"
}

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

style "theme-toolbar" = "theme-default"
{	
    	xthickness = 2
	ythickness = 2

	bg[NORMAL] 	  = "#C9C9C9"    	

	engine "murrine"
	{
                highlight_shade     = 1.03
	}
}

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

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

style "theme-menubar" = "theme-default"
{
	bg[NORMAL] = "#C9C9C9"

  engine "murrine" 
  {
	roundness = 15  
}
}

style "metacity-frame"
{
}

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

style "theme-radiocheck" = "theme-default"
{

}

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, @bg_color)
	base[NORMAL]	= "#C9C9C9"
}

style "nautilus-sidepane-frame"
{
	base[NORMAL]	= "#C9C9C9"

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



style "nautilus-placessidebar"
{
	base[NORMAL]	= "#C9C9C9"
}

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

style "nautilus-informationpanel"
{
	bg[NORMAL]	= "#C9C9C9"
}


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 "GtkToolbar"   style "theme-default" 
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-vscale"
class "GtkHScale"      style "theme-hscale"
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]        = @fg_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)
}
widget_class "*<GtkListItem>*" 	style "theme-fg-is-text-color-workaround"
widget_class "*<GtkCList>" 	style "theme-fg-is-text-color-workaround"



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

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"



style "murrine-evo-new-button-workaround"
{

	engine "murrine"
	{
		toolbarstyle = 0
	}
}
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"

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


