############################################################################
####### Blappleness          ##############################################
############################################################################
############################################################################
################### Ninez <triplesquarednine@gmail.com #####################
# Orignal theme Marp-1-blue by Malys777 - ..::malys::.. <malysss@seznam.cz>#
############################################################################
#    Blappleness: GTK2 - GTK3 - Metacity themes
#    Copyright (C) 2011  Ninez
#  
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.

include "icons/icon.rc"
include "Handles/status.rc"
include "Images/gtktreeview.rc"
include "Buttons/Buttons.rc"
include "nautilus/nautilus.rc"
include "Menu-Menubar/menu-item.rc"
include "Menu-Menubar/Icon View.rc"
#include "Menu-Menubar/menubar.rc"
include "windowbg/windowbg.rc"
include "panel.rc"
include "Scrollbars/Scrollbars.rc"


############################################################################
################# [NINEZNINEZNINEZNIEZ] ####################################
############################################################################
gtk_color_scheme = "fg_color:#eee\nbg_color:#292929\nbg_color1:#3d3d3d\nbase_color:#212121\ntext_color:#e1e1e1\nd_text_color:#555555\nselected_bg_color:#3E3E3E\nselected_fg_color:#ffffff\ntooltip_bg_color:#000000\ntooltip_fg_color:#FFFFFF\nlink_color:#ffffff"

gtk-icon-sizes = "panel-menu=20,20:gtk-button=20,20"

gtk-auto-mnemonics = 1 


style "default"
{
	#According to http://orford.org/gtk/ gtk-font-name is no longer used. Use font_name? Neither works on this theme unless used in a style
	#Also, use it inside the default style
	
	font_name = "Luxi Sans 9"
   GtkWidget::new-tooltip-style = 1

   GtkImage::x-ayatana-indicator-dynamic = 1
   GtkEntry::honors-transparent-bg-hint = 1
   GtkEntry::state-hint = 0
   GtkScrolledWindow ::scrollbar-spacing = 8
   GtkScrolledWindow ::scrollbar-within-bevel = 8
   GtkWidget::link-color = @link_color
   GtkIMHtml::hyperlink-color = @link_color
   GtkHTML::link-color = @link_color
   GtkToolbar:: shadow-type = GTK_SHADOW_NONE
   GtkMenuBar:: shadow-type = GTK_SHADOW_NONE
   GtkMenuBar::window-dragging = 1
   WnckTasklist::fade-overlay-rect =0
   GtkMenu::horizontal-padding = 1
   GtkMenu::vertical-padding = 4
   GtkTreeView::expander-size = 15
   GtkTreeView::indent-expanders = 1
   GtkTreeView::vertical-separator = 0
   GtkExpander::expander-size = 15


  GtkWidget::interior_focus		= 7
  GtkWidget::focus_padding	= 0
  GtkButton::default_border	= { 0, 0, 0, 0 }
  GtkButton::default_outside_border	= { 0, 0, 0, 0 }
 
  GtkRange::trough_border			= 0
  GtkRange::slider_width			= 15
  GtkRange::stepper_size			= 15
   GtkRange::trough-under-steppers = 1
 
  GtkVScale::slider_length = 31
  GtkVScale::slider_width = 22
  GtkHScale::slider_length = 31
  GtkHScale::slider_width = 22

  GtkPaned::handle_size				= 4
  GtkScrollbar::min_slider_length		= 50
   
  GtkCheckButton::indicator_size		= 12
  GtkCheckButton::indicator_spacing	= 3
  GtkMenuBar::internal_padding		= 3
  GtkOptionMenu::indicator_size		= { 15, 8 }
  GtkOptionMenu::indicator_spacing	= { 8, 2, 0, 0 }
  GtkStatusbar::shadow_type = GTK_SHADOW_NONE
  GtkSpinButton::shadow_type = GTK_SHADOW_NONE
   


  xthickness            		= 2
  ythickness            		= 2
    


############################################################################
################# color definice ###########################################
############################################################################

	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = @fg_color
	fg[ACTIVE]        = @fg_color
	fg[SELECTED]      = @selected_fg_color
	fg[INSENSITIVE]   = @d_text_color

	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = shade (1.02, @bg_color)
	bg[ACTIVE]        = shade (0.8, @bg_color)
	bg[SELECTED]	  = @selected_bg_color
	bg[INSENSITIVE]   = @bg_color1
        #bg_pixmap[NORMAL] = "/Others/test-image.png"

	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] = @d_text_color

	text[NORMAL]      = @text_color
	text[PRELIGHT]    = @text_color
	text[ACTIVE]      = @selected_fg_color
	text[SELECTED]    = @selected_fg_color
	text[INSENSITIVE] = @d_text_color


  engine "pixmap"
  {
  

    
    image
    {
      function			= HANDLE
      recolorable		= TRUE
      overlay_file		= "Handles/handle-v.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image
    {
      function			= HANDLE
      recolorable		= TRUE
      overlay_file		= "Handles/handle-h.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }

############################################################################
################# SHADOWS ##################################################
############################################################################
      
    image
    {
      function			= SHADOW
      shadow			= IN
      recolorable		= TRUE
      file				= "Shadows/shadow-out.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE

    }
    image
    {
       function			= SHADOW
       shadow			= OUT
       recolorable		= TRUE
       file				= "Shadows/shadow-out.png"
       border			= { 1, 1, 1, 1 }
       stretch			= TRUE
    }



    image
    {
       function			= SHADOW
       shadow			= ETCHED_IN
       recolorable		= TRUE
       file				= "Frame-Gap/frame1.png"				
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW
       shadow			= ETCHED_OUT
       recolorable		= TRUE
       file				= "Shadows/shadow-out.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
    }
    image
    {
       function			= SHADOW_GAP
       recolorable		= TRUE 
       file				= "Frame-Gap/frame1.png"
       border			= { 2, 2, 2, 2 }
       stretch			= TRUE
       gap_start_file		= "Frame-Gap/frame-gap-start.png"
       gap_start_border	= { 2, 0, 2, 0 }
       gap_end_file		= "Frame-Gap/frame-gap-end.png"
       gap_end_border	= { 0, 2, 2, 0 }
       gap_side			= TOP
    }
    image
    {
       function			= VLINE
       recolorable		= TRUE
       file				= "Lines/line-v.png"
       border			= { 1, 1, 0, 0 }
       stretch			= TRUE
    }
    image
    {
      function			= HLINE
      recolorable		= TRUE
      file				= "Lines/line-h.png"
      border			= { 0, 0, 1, 1 }
      stretch			= TRUE
    }

    # focus

    image
    {
      function		= FOCUS
      recolorable		= TRUE
      file				= "Others/focus.png"
      border			= { 6, 0, 6, 0 }
      stretch			= TRUE
    }	

    # arrows

    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "Arrows/arrow-up.png"
      overlay_border	= { 2, 2, 2, 2}
      overlay_stretch	= FALSE
      arrow_direction	= UP
    }
    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "Arrows/arrow-down.png"
      overlay_border	= { 2, 2, 2, 2 }
      overlay_stretch	= FALSE
      arrow_direction	= DOWN
    }
    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "Arrows/arrow-left.png"
      overlay_border	= { 2, 2, 2, 2 }
      overlay_stretch	= FALSE
      arrow_direction	= LEFT
    }
    image
    {
      function			= ARROW
      recolorable		= TRUE
      overlay_file		= "Arrows/arrow-right.png"
      overlay_border	= { 2, 2, 2, 2 }
      overlay_stretch	= FALSE
      arrow_direction	= RIGHT
    }
    image 
      {
        function			= BOX
	recolorable		= TRUE
	file        			= "Toolbar/toolbutton-normal.png"
	border      		= { 4, 4, 4, 4 }
	stretch         		= TRUE
      }
  }
}

class "GtkWidget"          style "default"

############################################################################
################# BUTTONS ##################################################
############################################################################

style "button"	= "default"	
{
}


style "checkradiobutton" {
  engine "pixmap" {
    image 
	{
	function			= FLAT_BOX
	recolorable		= TRUE
	file				= "Check-Radio/highlight.png"
	border			= { 2, 5, 2, 5 }
	stretch			= TRUE
       }
    }
}

class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"


style "optionmenu"	
{
fg[NORMAL] = "#ffffff"
 text[NORMAL] = "#ffffff"
  engine "pixmap"
  {
    image
    {
      function			= BOX
      recolorable		= TRUE
      state				= PRELIGHT
      file				= "Combo/combo-prelight.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      recolorable		= TRUE
      state				= NORMAL
      file				= "Combo/combo-normal.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }

  image
    {
      function			= BOX
      recolorable		= TRUE
      state				= ACTIVE
      file				= "Combo/combo-prelight.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
 image
    {
      function			= BOX
      recolorable		= TRUE
      state				= INSENSITIVE
      file				= "Combo/combo-normal.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= TAB
      state				= INSENSITIVE
      recolorable		= TRUE
      overlay_file		= "Combo/combo-arrow-insens.png"
      overlay_stretch	= FALSE
    }
    image
    {
      function			= TAB
      recolorable		= TRUE
      state				= NORMAL
      overlay_file		= "Combo/combo-arrow.png"
      overlay_border	= { 0, 0, 0, 0 }
      overlay_stretch	= FALSE
    }
  image
    {
      function			= TAB
      recolorable		= TRUE
      state				= PRELIGHT
      overlay_file		= "Combo/combo-arrow-prelight.png"
      overlay_border	= { 0, 0, 0, 0 }
      overlay_stretch	= FALSE
    }
  }
}

widget_class "*Combo*" style "optionmenu"

############################################################################
################# RADIO ####################################################
############################################################################


style "radiobutton"	= "default"
{
  engine "pixmap" 
    {
	
        image 
	{
            function        = OPTION
            recolorable     = TRUE
            state = NORMAL
            shadow          = OUT
            overlay_file    = "Check-Radio/option1.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = OPTION
            recolorable     = TRUE
            state = PRELIGHT
            shadow          = OUT
            overlay_file    = "Check-Radio/option1.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = OPTION
            recolorable     = TRUE
            state = ACTIVE
            shadow          = OUT
            overlay_file    = "Check-Radio/option1.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = OPTION
            recolorable     = TRUE
            state = INSENSITIVE
            shadow          = OUT
            overlay_file    = "Check-Radio/option1.png"
            overlay_stretch = FALSE
        }

	
        image 
	{
            function        = OPTION
            recolorable     = TRUE
	    state = NORMAL
            shadow          = IN
            overlay_file    = "Check-Radio/option2.png"
            overlay_stretch = FALSE
        }

  image 
	{
            function        = OPTION
            recolorable     = TRUE
	    state = PRELIGHT
            shadow          = IN
            overlay_file    = "Check-Radio/option4.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = OPTION
            recolorable     = TRUE
	    state = ACTIVE
            shadow          = IN
            overlay_file    = "Check-Radio/option4.png"
            overlay_stretch = FALSE
        }


     image 
	{
            function        = OPTION
            recolorable     = TRUE
	    state = INSENSITIVE
            shadow          = IN
            overlay_file    = "Check-Radio/option1.png"
            overlay_stretch = FALSE
        }

	
	image 
	{
          function        = FLAT_BOX
            recolorable     = TRUE
      stretch			= TRUE
            file            = "Check-Radio/checklight.png"
          border          = { 2, 2, 2, 2 }
        }

    }
}

############################################################################
################# CHECK-RADIO ##############################################
############################################################################

style "checkbutton"	= "default"
{
  engine "pixmap" 
    {
	
        image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = NORMAL
            shadow          = OUT
            overlay_file    = "Check-Radio/check1.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = PRELIGHT
            shadow          = OUT
            overlay_file    = "Check-Radio/check1.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = ACTIVE
            shadow          = OUT
            overlay_file    = "Check-Radio/check1.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
            state = INSENSITIVE
            shadow          = OUT
            overlay_file    = "Check-Radio/check1.png"
            overlay_stretch = FALSE
        }

	
        image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = NORMAL
            shadow          = IN
            overlay_file    = "Check-Radio/check2.png"
            overlay_stretch = FALSE
        }

  image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = PRELIGHT
            shadow          = IN
            overlay_file    = "Check-Radio/check4.png"
            overlay_stretch = FALSE
        }

 image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = ACTIVE
            shadow          = IN
            overlay_file    = "Check-Radio/check4.png"
            overlay_stretch = FALSE
        }


     image 
	{
            function        = CHECK
            recolorable     = TRUE
	    state = INSENSITIVE
            shadow          = IN
            overlay_file    = "Check-Radio/check1.png"
            overlay_stretch = FALSE
        }

	image 
	{
          function        = FLAT_BOX
            recolorable     = TRUE
      stretch			= TRUE
            file            = "Check-Radio/checklight.png"
          border          = { 2, 2, 2, 2 }
        }

    }
}

############################################################################
################# ENTRY ####################################################
############################################################################

style "entry"			
{

  xthickness            			= 1
  ythickness            			= 1
	GtkWidget::interior_focus	= 7
 GtkEntry::shadow_type = GTK_SHADOW_NONE
  engine "pixmap"
  {
    image
    {
      function			= FOCUS
      recolorable			= TRUE
      file				= "Buttons/button-normal.png"
      border			= { 3,3,3,3 }
      stretch			= TRUE
    }	
 image
    {
      function			= BOX
      recolorable			= TRUE
	shadow			= IN
      state				= NORMAL
      file				= "Buttons/button-normal.png"
      border			= { 3,3,3,3 }
      stretch			= TRUE
    }	

image
    {
      function			= BOX
      recolorable			= TRUE
	shadow			= OUT
      state				= NORMAL
      file				= "Buttons/button-normal.png"
      border			= { 3,3,3,3 }
      stretch			= TRUE
    }	

  image
   {
     function		= SHADOW
     detail			= "entry"
     shadow		= IN
     recolorable		= TRUE
     file			= "Buttons/button-normal.png"
     border			= { 3,3,3,3 }
     stretch		= TRUE
   }

  }
}

############################################################################
################# SPIN BUTTONS #############################################
############################################################################

style "spinbutton"	= "entry"
{


  engine "pixmap"
  {
    image
    {
      function			= ARROW
    }

############################################################################
################# UP  ######################################################
############################################################################
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-up.png"
      overlay_stretch	= FALSE
    }

   image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-up-prelight.png"
      overlay_stretch	= FALSE
    }

   image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-up-disable.png"
      overlay_stretch	= FALSE
    }

   image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-up-prelight.png"
      overlay_stretch	= FALSE
    }

############################################################################
################# DOWN #####################################################
############################################################################

    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-down.png"
      overlay_stretch	= FALSE
    }

    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-down-prelight.png"
      overlay_stretch	= FALSE
    }

    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-down-disable.png"
      overlay_stretch	= FALSE
    }

    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_down"
      recolorable		= TRUE
      file				= "Spin/spin.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
 	overlay_file		= "Spin/spin-down-prelight.png"
      overlay_stretch	= FALSE
    }

  }
}


############################################################################
################# PROGRESSBAR ##############################################
############################################################################

style "progressbar" {
  #fg[PRELIGHT]       = "#ffffff"
  #text[PRELIGHT]       = "#ffffff"
  xthickness            		= 1
  ythickness            		= 1
  engine "pixmap" 
  {
    image
    {
      function			= BOX

      detail			= "trough"
      file				= "ProgressBar/trough-progressbar-horiz.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }

    image
    {
      function			= BOX

      detail			= "bar"
      file				= "ProgressBar/progressbar-horiz.png"
      border			= { 1, 1, 1, 1 }
      stretch			= FALSE
      orientation		= HORIZONTAL
    }
    
    image
    {
      function			= BOX

      detail			= "trough"
      file				= "ProgressBar/trough-progressbar-vert.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      orientation		= VERTICAL
    }

    image
    {
      function			= BOX

      detail			= "bar"
      file				= "ProgressBar/progressbar-vert.png"
      border			= { 1, 1, 1, 1 }
      stretch			= FALSE
      orientation		= VERTICAL
    }  

  }
}

############################################################################
################# RANGE ####################################################
############################################################################

style "range"			= "default"
{	
  engine "pixmap" 
  {
    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "Range/trough-horizontal.png"
      border			= { 9, 9, 2, 2 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }	
    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "Range/trough-vertical.png"
      border			= { 2, 2, 9, 9 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
############################################################################
################# SLIDERS ##################################################
############################################################################

    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-horiz.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
     state           		= PRELIGHT
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-horiz-prelight.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-horiz.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }

############################################################################
################# VERTICAL #################################################
############################################################################

    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-vert.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
     state           		= PRELIGHT
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-vert-prelight.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-vert.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
  }
}

############################################################################
################# TOOLBAR ##################################################
############################################################################

style "toolbar"
{
       engine "pixmap"
	{
		image
		{
			function	= BOX
			file		= "Toolbar/bg-toolbar.png"
			border	= { 4, 4, 4, 4 }
			stretch	= TRUE

    		}
 	}
}
widget_class "*BonoboDockItem" style "toolbar"
class "*BonoboDockItem" style "toolbar"

widget_class "*HandleBox" style "toolbar"
class "*HandleBox" style "toolbar"

widget_class "*Toolbar" style "toolbar"
class "*Toolbar" style "toolbar"

############################################################################
################# TOOLBAR BUTTONS ##########################################
############################################################################

style "toolbuttons"  = "default"

{
 xthickness            			= 1
  ythickness            			= 1
	GtkWidget::focus_padding = 2

	engine "pixmap" {
      
image
		{
			function        			= BOX
			recolorable     		= TRUE
			state				= NORMAL
			file            			= "Toolbar/toolbutton-normal.png"
			border          			= { 4, 4, 4, 4 }
			stretch         			= TRUE
		}
		
image
		{
			function        			= BOX
			recolorable     		= TRUE
			state				= PRELIGHT
			file            			= "Toolbar/toolbutton-prelight.png"
			border          			= { 4, 4, 4, 4 }
			stretch         			= TRUE
		}

image
		{
			function        			= BOX
			recolorable     		= TRUE
			state				= ACTIVE
			file            			= "Toolbar/toolbutton-pressed.png"
			border          			= { 4, 4, 4, 4 }
			stretch         			= TRUE
		}  
image
		{
			function        			= BOX
			recolorable     		= TRUE
			state				= INSENSITIVE
			file            			= "Toolbar/toolbutton-normal.png"
			border          			= { 4, 4, 4, 4 }
			stretch         			= TRUE
		}  

	}

}
widget_class "*Tool*GtkToggleButton" style "toolbuttons"
widget_class "*Tool*GtkButton" style "toolbuttons"

############################################################################
################# MENU #####################################################
############################################################################

style "menu"		= "default"	
{
	xthickness			= 0
	ythickness			= 0
  engine "pixmap"
  {
    image
    {
      function			= BOX
     recolorable    		= TRUE
      detail				= "menu"
      file				= "Menu-Menubar/menu.png"
      border			= { 2, 2, 2, 2 }
      stretch			= TRUE

		}

 	}
}

############################################################################
################# MENUITEM #################################################
############################################################################

style "menuitem"	= "default"
{
  xthickness		= 3
  ythickness		= 3
  #fg[NORMAL]    	= "#b0b0b0"
  #fg[PRELIGHT] 		= "#d0d0d0"  
  
  

  engine "pixmap"
  {
    image
    {
      function			= BOX
      recolorable		= TRUE
      file			= "Menu-Menubar/borderx.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function				= ARROW
      recolorable			= TRUE
      state				= NORMAL
      overlay_file			= "Menu-Menubar/arrow-right.png"
      overlay_stretch	= FALSE
      arrow_direction	= RIGHT
    }
  image
    {
      function				= ARROW
      recolorable			= TRUE
      state				= PRELIGHT
      overlay_file			= "Menu-Menubar/arrow-right-prelight.png"
      overlay_stretch	= FALSE
      arrow_direction	= RIGHT
    }
  }
}

############################################################################
################# MENUBAR ##################################################
############################################################################

style "menubar"	= "default"	
{
#font_name = "Purisa Bold 9"
#font_name = "Purisa Bold 9"
  fg[NORMAL] = "#dddddd"
  #text[NORMAL] = "#ffffff"
  #fg[PRELIGHT] = "#ffffff"
  #fg[ACTIVE] = "#ffffff"
  fg[INSENSITIVE] = "#aaaaaa"
  text[PRELIGHT] = "#eeeeee"

xthickness			= 1
ythickness			= 1



	engine "pixmap"
	{
	
		image
		{
			function	= BOX
			state = NORMAL
			file		= "Menu-Menubar/menurow.png"
			border	= { 2, 2, 2, 2 }
			stretch	= TRUE
    		}
                 image
		{
			function	= BOX
			state = ACTIVE
			file		= "Menu-Menubar/menurow.png"
			border	= { 2, 2, 2, 2 }
			stretch	= TRUE
    		}

		image
		{
			function	= BOX
			state = INSENSITIVE
			file		= "Menu-Menubar/menurow.png"
			border	= { 2, 2, 2, 2 }
			stretch	= TRUE
    		}

		  image
    {
      function			= BOX
      recolorable		= TRUE
			state = PRELIGHT
     file				= "Menu-Menubar/menurow.png"

      border			= { 10, 10, 10, 10 }
      stretch			= TRUE
    }

 	}
}

style "tearoffmenuitem"	= "menuitem"
{
  engine "pixmap"
  {
    image
    {
      function			= ARROW
      file				= "Arrows/arrow-left.png"
      stretch			= TRUE
      arrow_direction	= LEFT
    }
#    image
#    {
#      function	= HLINE
#      file			= "cuthere.png"
#      border		= { 0, 0, 0, 0 }
#      stretch		= TRUE
#    }

  }
}

############################################################################
################# NOTEBOOK #################################################
############################################################################

style "notebook"		= "default"
{

  xthickness            			= 4
  ythickness            			= 4

  engine "pixmap" 
    {
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/tab-bottom.png"
	border			= { 4,4,4,4}
	stretch			= TRUE
	gap_side			= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/tab-top.png"
	border			= {  4,4,4,4}
	stretch			= TRUE
	gap_side			= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/tab-left.png"
	border			= {  4,4,4,4}
	stretch			= TRUE
	gap_side			= RIGHT
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE
	state			= ACTIVE
	file				= "Tabs/tab-right.png"
	border			= { 4,4,4,4}
	stretch			= TRUE
	gap_side			= LEFT
      }	
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE

	file				= "Tabs/tab-top-active.png"
	border			= { 4,4,4,4}
	stretch			= TRUE
	gap_side			= BOTTOM
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE

	file				= "Tabs/tab-bottom-active.png"
	border			= { 4,4,4,4}
	stretch			= TRUE
	gap_side			= TOP
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE

	file				= "Tabs/tab-left-active.png"
	border			= {  4,4,4,4}
	stretch			= TRUE
	gap_side			= RIGHT
      }
    image 
      {
        function			= EXTENSION
	recolorable		= TRUE

	file				= "Tabs/tab-right-active.png"
	border			= {  4,4,4,4}
	stretch			= TRUE
	gap_side			= LEFT
      }
#

#
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png" 
	border			= { 5, 5, 5, 5 }
	stretch			= TRUE
	gap_file			= "Others/null.png"
	gap_border     	= { 0, 0, 0, 0 }
	gap_start_file		= "Others/null.png"
	gap_start_border	= { 0, 0, 0, 0 }
	gap_end_file		= "Others/null.png"
	gap_end_border	= { 0, 0, 0, 0 }
	gap_side			= TOP
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png"
	border			= { 5, 5, 5, 5 }
	stretch			= TRUE
	gap_file			= "Others/null.png"
	gap_border		= { 10, 10,5, 5 }
	gap_start_file		= "Others/null.png"
	gap_start_border	= { 10, 10, 5, 5 }
	gap_end_file		= "Others/null.png"
	gap_end_border	= { 10, 10, 5, 5 }
	gap_side			= BOTTOM
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png"
	border			= { 5, 5, 5, 5 }
	stretch			= TRUE
	gap_file			= "Others/null.png"
	gap_border		= { 0, 1, 0, 0 }
	gap_start_file		= "Others/null.png"
	gap_start_border	= { 0, 0, 2, 0 }
	gap_end_file		= "Others/null.png"
	gap_end_border	= { 0, 2, 1, 0 }
	gap_side			= LEFT
      }
    image 
      {
        function			= BOX_GAP
	recolorable		= TRUE
	file				= "Tabs/notebook.png" 
	border			= { 5, 5, 5, 5 }
	stretch			= TRUE
	gap_file			= "Others/null.png"
	gap_border		= { 0, 0, 1, 0 }
	gap_start_file		= "Others/null.png"
	gap_start_border	= { 2, 0, 2, 0 }
	gap_end_file		= "Others/null.png"
	gap_end_border	= { 0, 0, 0, 2 }
	gap_side			= RIGHT
      }
#

#
    image 
      {
        function			= BOX
	recolorable		= TRUE
	file				= "Tabs/notebook.png"
	border			= { 6,6,6,6 }
	stretch			= TRUE
      }
  }
}

style "tooltips"		= "default"

{
       xthickness            			= 5
       ythickness            			= 5

	fg[NORMAL]   = "#ffffff"
	
	bg[NORMAL]   = "#000000"
	bg[SELECTED] = "#888888"
	bg[ACTIVE]   = "#888888"


		engine "pixmap"
        {
	image
	 {


		function	= FLAT_BOX
		recolorable	= TRUE
		file	        = "panel/tooltip.png"
		border          = {5, 5, 5, 5}
		stretch	        = TRUE

	 }
        }
}
widget "gtk-tooltip*" style "tooltips"
############################################################################
################# RULER ####################################################
############################################################################

style "ruler"			= "default"
{
  engine "pixmap" {
    image 
      {
        function			= BOX
	recolorable		= TRUE
	detail			= "vruler"
	file				= "Others/ruler.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
    image 
      {
        function			= BOX
	recolorable		= TRUE
	detail			= "hruler"
	file				= "Others/ruler.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
  }
}

############################################################################
################# HANDLES ##################################################
############################################################################


style "handlebox"	= "default"
{
  engine "pixmap"
  {
    image
    {

    }

    image
    {
      function			= HANDLE
      recolorable		= TRUE
      overlay_file		= "Handles/handle-v.png"
      overlay_stretch	        = FALSE
      orientation		= VERTICAL
    }
    image
    {
      function			= HANDLE
      overlay_file		= "Handles/handle-h.png"
      overlay_stretch 	        = FALSE
      orientation		= HORIZONTAL
    }
  }
}


style "flat" 		= "default"
{
  engine "pixmap"
  {
    image
    {
      function		= SHADOW
    }
  }
}


style "layout"	= "default"
{
  engine "pixmap"
  {
   image
   {
     function		= SHADOW
     detail			= "entry"
     shadow		= IN
     recolorable	= FALSE
     file			= "Shadows/text.png"
     border		= { 1, 1, 1, 1 }
     stretch		= TRUE
   }
    image
    {
      function		= BOX
      detail		= "button"
      state			= NORMAL
      file			= "Buttons/button-normal.png"
      recolorable	= TRUE
      border		= { 2, 3, 2, 3 }
      stretch		= TRUE
    }
  }
}
############################################################################
################# TERMINAL #################################################
############################################################################

style "terminal" 
{
	#text[NORMAL] = "#ffffff"
	#base[NORMAL] = "#66CCFF"

	TerminalScreen::background-darkness = 0.70
}
class "TerminalScreen" style "terminal"

############################################################################
################# LIST HEADERS #############################################
############################################################################

style "list-header"
{
   #ythickness = 0
   GtkTreeView::odd_row_color = "#222222"
   GtkTreeView::even_row_color = "#222222"

 fg[NORMAL] = "#ffffff"
 text[NORMAL] = "#ffffff"


   engine "pixmap" 
	{

    	image
      		{
        		function        	= BOX
			recolorable    = TRUE

			state		= NORMAL
			file            	= "ListHeaders/list_header.png"
			border          	= { 2, 2, 2, 2 }
			stretch         	= TRUE
      		}


    	image
      		{
        		function        	= BOX
			recolorable    = TRUE

			state		= PRELIGHT
			file            	= "ListHeaders/list_header-prelight.png"
			border          	= { 2, 2, 2, 2 }
			stretch         	= TRUE
      		}

	image
      		{
        		function        	= BOX
			recolorable    = TRUE

			state		= ACTIVE
			file			= "ListHeaders/list_header-pressed.png"
			border          	= { 2, 2, 2, 2}
			stretch         	= TRUE
      		}

	image
      		{
        		function        	= BOX
			recolorable    = TRUE

			state		= SELECTED
			file			= "ListHeaders/list_header-prelight.png"
			border          	= { 2, 2, 2, 2 }
			stretch         	= TRUE
      		}
	image
      		{
        		function        	= BOX
			recolorable    = TRUE

			state		= INSENSITIVE
			file			= "ListHeaders/list_header-insens.png"
			border          	= { 2, 2, 2, 2 }
			stretch         	= TRUE
      		}
         

  	}
    	
}

widget_class "*List" style "list-header"
widget_class "*GtkTree*" style "list-header"
widget_class "*GtkCList*" style "list-header"
#widget_class "*Tree*" style "list-header"





style "unstyle"
{
  engine ""
  {
  }
}



style "SPbutton"
{
  engine "pixmap"
  {
    image
    {
      function		= BOX
      shadow		= IN
      recolorable	= TRUE
      file			= "Shadows/shadow-out.png"
      border		= { 2, 2, 2, 2 }
      stretch		= TRUE
    }
    image
    {
      function		= BOX
    }

  }
}


style "treecol"
{
    bg[NORMAL] = "#ffffff"

}



class "GtkButton"          			style "button"
#widget_class "*GtkButton.*" style "button"


class "GtkRadioButton"     		style "radiobutton"
class "GtkRadioMenuItem"    	style "radiobutton"
class "GtkCheckButton"     		style "checkbutton"
class "GtkCheckMenuItem"   		style "checkbutton"
class "GtkOptionMenu"      		style "optionmenu"
class "GtkCombo*"      		style "optionmenu"
class "*Font*"      		style "optionmenu"
class "GtkEntry"           			style "entry"
class "GtkOldEditable" 			style "entry"
class "GtkSpinButton"   	 		style "spinbutton"
class "GtkRuler"           			style "ruler"
class "GtkScrollbar"       			style "scrollbar"

class "GtkProgressBar"     		style "progressbar"
class "GtkRange"         			style "range"
class "GtkMenu"       			style "menu"

#class "GtkMenuBar*" 		        style "menubar"


widget_class "*MenuBar.*" style "menubar"


class "GtkMenuItem"           			style "menuitem"
class "GtkTearoffMenuItem"		style "menuitem"
class "GtkNotebook"      			style "notebook"
class "GtkToolbar"       			style "flat"					
class "GtkHandleBox"    		style "handlebox"
class "GtkEventBox"    			style "flat"
class "GtkPaned"       			style "handlebox"
class "GtkLayout"     			style "layout"
class "SPButton"         			style "SPbutton"
widget "gtk-tooltips"  			style "tooltips"
class "SPColorSlider" 			style "unstyle"

############################################################################
################# PANEL-TEXT-BUTTON ########################################
############################################################################

style "panel"
{
	xthickness = 0
	ythickness = 0

	GtkWidget::focus_padding = 0

	fg[NORMAL]	= shade (0.70, @fg_color)
	fg[PRELIGHT]	= shade (1.50, @fg_color)

        #bg_pixmap[NORMAL] = "/panel/panel_image.png"

	engine "pixmap" {

		image
		{
			function	= BOX
			recolorable	= TRUE
			state		= NORMAL
			file		= "panel/panelbutton1.png"
			border		= { 2, 2, 2, 2 }
			stretch		= TRUE
		}

		image
		{
			function	= BOX
			recolorable	= TRUE
			state		= PRELIGHT
			file		= "panel/panelbutton2.png"
			border		= { 5, 5, 5, 5 }
			stretch		= TRUE
		}

		image
		{
			function	= BOX
			recolorable	= TRUE
			shadow		= OUT
			state		= PRELIGHT
			file		= "panel/panelbutton2.png"
			border		= { 5, 5, 5, 5 }
			stretch		= TRUE
		}

		image
		{
			function	= BOX
			recolorable	= TRUE
			shadow		= IN
			state		= PRELIGHT
			file		= "panel/panelbutton2.png"
			border		= { 5, 5, 5, 5 }
			stretch		= TRUE
		}

		image
		{
			function	= BOX
			recolorable	= TRUE
			state		= ACTIVE
			file		= "panel/panelbutton3.png"
			border		= { 5, 5, 5, 5 }
			stretch		= TRUE
		}

		image
		{
			function	= BOX
			recolorable	= TRUE
			state		= INSENSITIVE
			file		= "panel/panelbutton1.png"
			border		= { 2, 2, 2, 2 }
			stretch		= TRUE
		}
		image
		{
			function	= HANDLE
			recolorable	= TRUE
			overlay_file	= "panel/panel_handle-v.png"
			overlay_stretch	= FALSE
			orientation	= VERTICAL
		}
		image
		{
			function	= HANDLE
			overlay_file	= "panel/panel_handle-h.png"
			overlay_stretch	= FALSE
			orientation	= HORIZONTAL
		}

	}

}

class "*Mail*" 				style "panel"
class "*notif*" 			style "panel"
class "*Notif*" 			style "panel"
widget_class "*Mail*" 			style "panel"
widget_class "*notif*" 			style "panel"
widget_class "*Notif*" 			style "panel"
widget_class "*BonoboDockItem" 		style "panel"
class "*BonoboDockItem" 		style "panel"
class "*Panel*Applet*" 			style "panel"
widget_class "*Panel*GtkToggleButton" 	style "panel"
widget_class "*Panel*GtkButton" 	style "panel"
widget_class "*.Panel*Button*GtkLabel" 	style "panel"
widget_class "*.Panel*GtkLabel" 	style "panel"
widget "*PanelWidget*" 			style "panel" 
widget "*PanelApplet*" 			style "panel"


class "GtkMenuBar*" 		        style "panel"
class "GtkProgressBar"     		style "progressbar"



############################################################################
################# END ######################################################
############################################################################
