# Crystal Kuvola
# Version - 1.0 - 05.20.04 / 19:45:12 PM
# Patrick E. Yavitz <pyavitz@comcast.net>

include "iconrc"

style "base"
{
###### GTK Style Colours ######
	fg[ACTIVE]		= "#000000"
	fg[SELECTED]		= "#FFFFFF"
	fg[NORMAL]		= "#000000"
	fg[PRELIGHT]		= "#384074"
	fg[INSENSITIVE]		= "#949494"

	bg[ACTIVE]		= "#E2E2E2"
	bg[SELECTED]		= "#5B98D4"
	bg[NORMAL]		= "#F7F7F7"
	bg[PRELIGHT]		= "#5B98D4"
	bg[INSENSITIVE]		= "#E1E1EA"

	base[ACTIVE]		= "#6BA8E4"
	base[SELECTED]		= "#5B98D4"
	base[NORMAL]		= "#FFFFFF"
	base[PRELIGHT]		= "#E2DEEB"
	base[INSENSITIVE]	= "#DBDBE5"
    	
    	text[ACTIVE]      = "#000000"
    	text[INSENSITIVE] = "#000000"
    	text[NORMAL]      = "#000000"
    	text[PRELIGHT]    = "#000000"
    	text[SELECTED]    = "#ffffff"
  
  GtkRange::slider_width = 15
  GtkScrollbar::min_slider_length = 15
  # Sets the color of the cursor  
  GtkEntry::cursor_color = "#000000" 
  GtkTextView::cursor_color = "#000000"
} class "*" style "base"

style "default"
{
  engine "pixmap" 
	{
	image {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "images/vertical_trough.png"
            border          = { 2, 2, 1, 1 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "images/horizontal_trough.png"
            border          = { 1, 1, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
image { 
            function        = FLAT_BOX
            recolorable     = TRUE
            detail          = "tooltip"
            file            = "images/tooltip.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
####################
	
	image {
            function        = BOX
            recolorable     = TRUE
            detail          = "handlebox_bin"
            file            = "images/handlebox.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
	image {
            function        = BOX
            recolorable     = TRUE
            shadow          = IN
            file            = "images/extraA_box.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
        image {
            function        = BOX
            recolorable     = TRUE
            file            = "images/extraB_box.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
  image {
            function        = HANDLE
            recolorable     = TRUE
            file            = "images/handle_bar.png"
            border          = { 10, 5, 5, 10 }
            stretch         = TRUE
            overlay_file    = "images/handle_vert_thumb.png"
            overlay_border  = { 0, 0, 0, 0 }
            overlay_stretch = FALSE
            orientation     = VERTICAL
        }
    image 
      {
        function        = FOCUS
	recolorable     = TRUE
	overlay_file    = "images/blank.png"
	overlay_border  = { 0,0,0,0 }
	overlay_stretch = TRUE
      }

### These are the text entry box's and borders.
	image {
            function        = HLINE
            recolorable     = TRUE
            file            = "images/horizontal_line.png"
            border          = { 0, 0, 1, 1 }
            stretch         = TRUE
        }
        image {
            function        = VLINE
            recolorable     = TRUE
            file            = "images/vertical_line.png"
            border          = { 1, 1, 0, 0 }
            stretch         = TRUE
        }
image {
            function        = FLAT_BOX
            recolorable     = TRUE
            state           = INSENSITIVE
            detail          = "entry_bg"
            file            = "images/entry_bg.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
        image {
            function        = FLAT_BOX
            recolorable     = TRUE
            detail          = "entry_bg"
            file            = "images/entry_bg.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
    image {
            function        = SHADOW
            recolorable     = TRUE
            shadow          = IN
            file            = "images/shadow_in.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
        }
        image {
            function        = SHADOW
            recolorable     = TRUE
            shadow          = OUT
            file            = "images/shadow_out.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
        }
        image {
            function        = SHADOW
            recolorable     = TRUE
            shadow          = ETCHED_IN
            file            = "images/etched.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
        image {
            function        = SHADOW
            recolorable     = TRUE
            shadow          = ETCHED_OUT
            file            = "images/etched.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
   }
}

# common default
widget_class "*" style "default"

style "window" 
{
	###### Theme Engine Style ######
	engine "smooth" {
	tab_style	= round
		fill {
			style		= gradient
                	quadratic = false
       	 		hdirection = vertical
        		vdirection = horizontal
			
			color1[SELECTED]	= "#EAF5FF"
			color2[SELECTED]	= "#166FD5"
			color1[NORMAL]		= "#DCDCDC"
			color2[NORMAL]		= "#FCFCFC"
			color1[PRELIGHT]	= "#EAF5FF"
			color2[PRELIGHT]	= "#166FD5"
			color1[INSENSITIVE]	= "#FCFCFC"
			color2[INSENSITIVE]	= "#C5C5D0"
		}
	
		line {
			style		= flat
			thickness	= 1
		}

		grip {
			style		= dots_out
			count		= 3
			spacing		= 2
		}
	
		#check {
		#	style	= clean
		#	motif=true
        	#	line {
           	#	style=smooth
           	#	thickness=2
		#}
		arrow {
			style	= wonderland
			solid	= TRUE
		}
	}
}

widget_class "*GtkWindow*" style "window"
class "*GtkWindow*" style "window"

###########################################
# Check & Radio Buttons
###########################################
#

style "CheckRadioButton" {
    engine "pixmap" {
        image {
            function        = FLAT_BOX
            recolorable     = TRUE
            file            = "images/menu_hi-light.png"
            border          = { 10, 10, 10, 10 }
            stretch         = TRUE
        }
    }
}

class "*RadioButton*" style "CheckRadioButton"
class "*CheckButton*" style "CheckRadioButton"

#
###########################################
# Notebooks (Tabs)
###########################################
#

style "Notebook" {

	###### Theme Engine Style ######
	engine "smooth" {
	tab_style	= round
		fill {
			style		= gradient
                	quadratic = false
       	 		hdirection = vertical
        		vdirection = horizontal
			
			color1[SELECTED]	= "#EAF5FF"
			color2[SELECTED]	= "#166FD5"
			color1[NORMAL]		= "#DCDCDC"
			color2[NORMAL]		= "#FCFCFC"
			color1[PRELIGHT]	= "#EAF5FF"
			color2[PRELIGHT]	= "#166FD5"
			color1[INSENSITIVE]	= "#FCFCFC"
			color2[INSENSITIVE]	= "#C5C5D0"
		}
	
		line {
			style		= flat
			thickness	= 1
		}

		grip {
			style		= dots_out
			count		= 3
			spacing		= 2
		}
	
		#check {
		#	style	= clean
		#	motif=true
        	#	line {
           	#	style=smooth
           	#	thickness=2
		#}
		arrow {
			style	= wonderland
			solid	= TRUE
		}
	}
}
widget_class "*Notebook*" style "Notebook"
class "*Notebook*" style "Notebook"

#
###########################################

###########################################
#

style "menuitem" {
	###### GTK Style Colours ######
	text[NORMAL]		= "#000000"
	text[PRELIGHT]		= "#FFFFFF" 
    
	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= gradient
			hdirection	= vertical
			vdirection	= vertical
			
			color1[SELECTED]	= "#EAF5FF"
			color2[SELECTED]	= "#166FD5"
			color1[NORMAL]		= "#DCDCDC"
			color2[NORMAL]		= "#FCFCFC"
			color1[PRELIGHT]	= "#EAF5FF"
			color2[PRELIGHT]	= "#166FD5"
			color1[INSENSITIVE]	= "#DCDCDC"
			color2[INSENSITIVE]	= "#FCFCFC"
		}
	
		line {
			style		= flat
			thickness	= 1
		}

		grip {
			style		= dots_out
			count		= 3
			spacing		= 2
		}
	
		#check {
		#	style	= clean
		#	motif=true
        	#	line {
           	#	style=smooth
           	#	thickness=2
		#}
		arrow {
			style	= wonderland
			solid	= TRUE
		}
	}
}
widget_class "*MenuItem*" style "menuitem"
class "*MenuItem*" style "menuitem"

class "*OptionMenu*" style "menuitem"
widget_class "*OptionMenu*" style "menuitem"

class "*Button*" style "menuitem"
widget_class "*Button*" style "menuitem"

class "*ToggleButton*" style "menuitem"
widget_class "*ToggleButton*" style "menuitem"

class "*TreeItem*" style "menuitem"
widget_class "*TreeItem*" style "menuitem"

class "*ListItem*" style "menuitem"
widget_class "*ListItem*" style "menuitem"
#
###########################################

###########################################
#

style "infobar" {
	######  GTK Style Flags  ###### 
	xthickness		= 2
	ythickness		= 2
    
	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= gradient
			hdirection	= vertical
			vdirection	= horizontal
			
			color1[SELECTED]	= "#EAF5FF"
			color2[SELECTED]	= "#166FD5"
			color1[NORMAL]		= "#DCDCDC"
			color2[NORMAL]		= "#FCFCFC"
			color1[PRELIGHT]	= "#EAF5FF"
			color2[PRELIGHT]	= "#166FD5"
			color1[INSENSITIVE]	= "#FCFCFC"
			color2[INSENSITIVE]	= "#C5C5D0"
		}

		line {
			style		= flat
			thickness	= 2
		}
	
		trough {
			fill {
				style	= solid
			}
		}
	}
}
class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"

#
###########################################

###########################################
#

style "Ruler" {     
	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= gradient
			hdirection	= vertical
			vdirection	= vertical
			
			color1[SELECTED]	= "#EAF5FF"
			color2[SELECTED]	= "#166FD5"
			color1[NORMAL]		= "#DCDCDC"
			color2[NORMAL]		= "#FCFCFC"
			color1[PRELIGHT]	= "#EAF5FF"
			color2[PRELIGHT]	= "#166FD5"
			color1[INSENSITIVE]	= "#FCFCFC"
			color2[INSENSITIVE]	= "#C5C5D0"
		}
	
		line {
			style		= flat
			thickness	= 1
		}

		grip {
			style		= dots_out
			count		= 3
			spacing		= 2
		}
	
		#check {
		#	style	= clean
		#	motif=true
        	#	line {
           	#	style=smooth
           	#	thickness=2
		#}
		arrow {
			style	= wonderland
			solid	= TRUE
		}
	}
}
widget_class "*Ruler*" style "Ruler"
class "*Ruler*" style "Ruler"

#
###########################################

###########################################
#

style "scrollbar" {
	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= gradient
			hdirection	= vertical
			vdirection	= horizontal
			
			color1[SELECTED]	= "#EAF5FF"
			color2[SELECTED]	= "#166FD5"
			color1[NORMAL]		= "#DCDCDC"
			color2[NORMAL]		= "#FCFCFC"
			color1[PRELIGHT]	= "#EAF5FF"
			color2[PRELIGHT]	= "#166FD5"
			color1[INSENSITIVE]	= "#FCFCFC"
			color2[INSENSITIVE]	= "#EBEBEB"
		}
	
		line {
			style		= flat
			thickness	= 2
		}
	
		trough {
			fill {
				style	= solid
			}
		}
	
		grip {
			style=dots_out
        		toolbar_overlap = FALSE
		}
	
		arrow {
			style	= wonderland
			solid	= TRUE
			
			xpadding	= 1
			ypadding	= 1
		}
	}
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"

#
###########################################

###########################################
#

style "Window" {   
    engine "pixmap" {
        image {
            function        = FLAT_BOX
            recolorable     = TRUE
            file            = "images/window_background.png"
            stretch         = FALSE
        }
    }
}

class "*Window*" style "Window"

#
###########################################

###########################################
#

 style "Curve" {
    engine "pixmap" { 
        image {
            function        = FLAT_BOX
            recolorable     = TRUE
            detail          = "curve_bg"
            file            = "images/curve_background.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
    } 
}     
  
class "*Curve*" style "Curve"
