# Theme Name  : Smooth-Line
# Author(s)   : Andrew Johnson ala ajgenius (ajgenius@ajgenius.us)
# Description :
#
# A clean, hopefully useable, theme intended to go well as
# a nice default. Initially created with DropLine Gnome in mind,
# as a replacement for the basic bland and rather unfortunate Industrial.
#
# Designed much with the same ideas as SmoothGNOME, and therefore
# sharing some of the same stylistic principles. Namely - UI and color
# consistancy always have priority over flash and sparkle.

######  Default Widget Style  ###### 
style "default" {
	######  GTK Style Flags  ###### 
	GtkWidget::interior_focus		= 0	
	GtkWidget::focus-line-pattern 		= ""
	GtkWidget::focus_padding		= 0
	
	GtkButton::default_spacing		= 6
	GtkButton::default_border		= {0, 0, 0, 0}
	GtkButton::default_outside_border	= {0, 0, 0, 0}

	GtkCheckButton::indicator_size		= 13
	GtkRadioButton::indicator_size		= 12

	GtkPaned::handle_size			= 6

	GtkRange::trough_border			= 2
	GtkRange::slider_width			= 15
	GtkRange::stepper_size			= 15
	GtkRange::stepper_spacing		= 0

        GtkScrollbar::min_slider_length 	= 15

	###  Nautilus Specific Style Flags  ###
	NautilusIconContainer::selection_box_alpha	= 64
	NautilusIconContainer::highlight_alpha		= 255
	NautilusIconContainer::light_info_color		= "#FFFFFF"
	NautilusIconContainer::dark_info_color		= "#0B4884"
	NautilusIconContainer::frame_text 		= 0

	###### GTK Style Colours ######
	fg[ACTIVE]		= "#000000"
	fg[SELECTED]		= "#FFFFFF"
	fg[NORMAL]		= "#000000"
	fg[PRELIGHT]		= "#000000"
	fg[INSENSITIVE]		= "#9E9E9E"

	bg[ACTIVE]		= "#CFCFCF"
	bg[SELECTED]		= "#627EBD"
	bg[NORMAL]		= "#E7E7E7"
	bg[PRELIGHT]		= "#F0F0F0"
	bg[INSENSITIVE]		= "#CFCFCF"

	base[ACTIVE]		= "#D8D8D8"
	base[SELECTED]		= "#627EBD"
	base[NORMAL]		= "#F8F8F8"
	base[PRELIGHT]		= "#BCBCBC"
	base[INSENSITIVE]	= "#B0B0B0"

	text[ACTIVE]		= "#000000"
	text[SELECTED]		= "#FFFFFF"
	text[NORMAL]		= "#000000"
	text[PRELIGHT]		= "#000000"
	text[INSENSITIVE]	= "#9E9E9E"

	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= shaded
			hdirection	= vertical
			vdirection	= horizontal
			quadratic	= FALSE
			
			shade1		= 1.6
			shade2		= 0.9
		}

		line {
			style		= soft
			thickness	= 2
		}

		edge {    
			line {
				style		= smooth
				thickness	= 2
			}
		}

		focus {
			foreground[ACTIVE]	= "#627EBD"
			foreground[SELECTED]	= "#627EBD"
			foreground[NORMAL]	= "#627EBD"
			foreground[PRELIGHT]	= "#627EBD"
		}
		
		grip {
			style		= ns_buds_in
			line {
				style		= smooth
				thickness	= 2
			}
		}

		check {
			style	= clean
			motif	= FALSE
		}

		option {
			style	= round
			motif	= FALSE
		}

		arrow {
			style	= wonderland
			solid	= TRUE
		}

		tabs {
			style	= round
		}
		
	}
} 
widget_class "*" style "default"


######  Toolbar/Menubar etc. Style  ###### 
style "toolbar" {
	######  GTK Style Flags  ###### 
	GtkWidget::interior_focus		= 1
	GtkWidget::focus_padding		= 1

	GtkMenuBar::internal-padding		= 0

	###### GTK Style Colours ######
	bg[PRELIGHT]		= "#627EBD"

	base[PRELIGHT]		= "#627EBD"

	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style	= solid
		}
	
		line {
			style		= smooth
			thickness	= 1
		}
	
		grip {
			style		= ns_buds_in

			fill {
				style		= shaded
				hdirection	= vertical
				vdirection	= horizontal

				shade1		= 1.6
				shade2		= 0.9
			}
		}
	}
}
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"

widget_class "*MenuBar" style "toolbar"
class "*MenuBar" style "toolbar"	


######  MenuItem Style  ###### 
style "menuitem" {
	######  GTK Style Flags  ###### 
	GtkWidget::interior_focus		= 1
	GtkWidget::focus_padding		= 1

	###### GTK Style Colours ######
	bg[PRELIGHT]		= "#627EBD" #Menu Item

	text[PRELIGHT]		= "#000000" #Check and Radio

	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= shaded
			hdirection	= vertical
			vdirection	= horizontal
			
			shade1		= 1.9
			shade2		= 0.9
		}

		line {
			style		= soft
			thickness	= 2
		}

		edge {    
			line {
				style		= flat
				thickness	= 1
			}
		}
		
		focus {
			foreground[ACTIVE]	= "#627EBD"
			foreground[SELECTED]	= "#627EBD"
			foreground[NORMAL]	= "#627EBD"
			foreground[PRELIGHT]	= "#627EBD"
		}

		check {
			style	= clean
			motif	= TRUE
			line {
				style		= flat
				thickness	= 1
			}
		}

		option {
			style	= round
			motif	= TRUE
			line {
				style		= none
				thickness	= 0
			}
		}

		arrow {
			style	= wonderland
			solid	= TRUE
		}
	}
}
widget_class "*MenuItem*" style "menuitem"
class "*MenuItem*" style "menuitem"


######  Check and Radio Button Style  ###### 
style "radio_check" {
	###### GTK Style Colours ######
	text[ACTIVE]	= "#627EBD" #check/option on mouse down(?)
	text[SELECTED]	= "#627EBD" #check/option on mouse down(?)
	text[NORMAL]	= "#000000" #check/option
	text[PRELIGHT]	= "#F8F8F8" #check/option on mouse prelight
}
widget_class "*RadioButton*" style "radio_check"
widget_class "*CheckButton*" style "radio_check"


######  Scrollbar Style  ###### 
style "scrollbar" {
	######  GTK Style Flags  ###### 
        GtkScrollbar::min_slider_length 	= 14

	###### GTK Style Colours ######
	bg[ACTIVE]		= "#DEDEDE"
	bg[SELECTED]		= "#BCBCBC"

	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= shaded
			hdirection	= vertical
			vdirection	= horizontal
			
			shade1		= 1.6
			shade2		= 0.9
		}

		line {
			style		= smooth
			thickness	= 2
		}

		focus {
			foreground[ACTIVE]	= "#627EBD"
			foreground[SELECTED]	= "#627EBD"
			foreground[NORMAL]	= "#627EBD"
			foreground[PRELIGHT]	= "#627EBD"
		}

		trough {	
			fill {
				style	= solid
			}

			line {
				style		= smooth
				thickness	= 2
			}
		}
	
		grip {
			style	= dots_in
			count	= 3
			spacing	= 2
		}

		arrow {
			style	= Wonderland
			solid	= True
			etched	= False
		}
	}
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"


######  Horizontal Scales Style  ###### 
style "hscales"  {
	######  GTK Style Flags  ###### 
	GtkRange::trough_border			= 0
	GtkRange::slider-width			= 22
	GtkScale::slider-length			= 10
        GtkScrollbar::min_slider_length 	= 10
	
	###### GTK Style Colours ######
	bg[SELECTED]		= "#627EBD"
    
	###### Theme Engine Style ######
	engine "smooth" {	
		real_sliders	= FALSE

		fill {
			style		= shaded
			hdirection	= vertical
			vdirection	= horizontal
			
			shade1		= 1.6
			shade2		= 0.9
		}

		line {
			style		= smooth
			thickness	= 2
		}
	
		focus {
			foreground[ACTIVE]	= "#627EBD"
			foreground[SELECTED]	= "#627EBD"
			foreground[NORMAL]	= "#627EBD"
			foreground[PRELIGHT]	= "#627EBD"
		}

		trough {
			show_value	= TRUE

			xpadding	= 7
			ypadding	= 1

			fill {
				style		= shaded
				hdirection	= vertical
				vdirection	= horizontal
				
				shade1		= 0.9
				shade2		= 1.6
			}
		}
	
		grip {
			style	= ns_buds_in
		}
	}
}
widget_class "*HScale*" style "hscales"
class "*HScale*" style "hscales"


######  Vertical Scales Style  ###### 
style "vscales"  {
	######  GTK Style Flags  ###### 
	GtkRange::trough_border			= 0
	GtkRange::slider-width			= 22
	GtkScale::slider-length			= 10
        GtkScrollbar::min_slider_length 	= 10
	
	###### GTK Style Colours ######
	bg[SELECTED]		= "#627EBD"
    
	###### Theme Engine Style ######
	engine "smooth" {	
		real_sliders	= FALSE

		fill {
			style		= shaded
			hdirection	= vertical
			vdirection	= horizontal
			
			shade1		= 1.6
			shade2		= 0.9
		}

		line {
			style		= smooth
			thickness	= 2
		}
	
		focus {
			foreground[ACTIVE]	= "#627EBD"
			foreground[SELECTED]	= "#627EBD"
			foreground[NORMAL]	= "#627EBD"
			foreground[PRELIGHT]	= "#627EBD"
		}

		trough {
			show_value	= TRUE

			xpadding	= 1
			ypadding	= 7

			fill {
				style		= shaded
				hdirection	= vertical
				vdirection	= horizontal
				
				shade1		= 0.9
				shade2		= 1.6
			}
		}
	
		grip {
			style	= ns_buds_in
		}
	}
}
widget_class "*VScale*" style "vscales"
class "*VScale*" style "vscales"


######  Progress Bar Style  ###### 
style "progressbar" {
	######  GTK Style Flags  ###### 
	xthickness		= 2
	ythickness		= 2
    
	###### GTK Style Colours ######
	bg[PRELIGHT]		= "#627EBD"

	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= shaded
			hdirection	= vertical
			vdirection	= horizontal
			
			shade1		= 1.6
			shade2		= 0.9
		}

		line {
			style		= smooth
			thickness	= 2
		}
	
		focus {
			foreground[ACTIVE]	= "#627EBD"
			foreground[SELECTED]	= "#627EBD"
			foreground[NORMAL]	= "#627EBD"
			foreground[PRELIGHT]	= "#627EBD"
		}

		trough {
			fill {
				style		= solid
			}
		}
	}
}
class "*Progress*" style "progressbar"
widget_class "*Progress*" style "progressbar"


######  Metacity Style ###### 
style "metacity-frame"
{
	xthickness	= 0	
	ythickness	= 0

	###### GTK Style Colours ######
	fg[SELECTED]		= "#FFFFFF"
	fg[PRELIGHT]		= "#9EB2CD"
	fg[NORMAL]		= "#000000"

	bg[SELECTED]		= "#9EB2CD"
	bg[INSENSITIVE]		= "#CDCDCD"
	
	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= gradient
			hdirection	= vertical
			vdirection	= horizontal
			
			color1[SELECTED]	= "#D4E2F1"
			color2[SELECTED]	= "#5E77A1"
			color1[INSENSITIVE]	= "#B0B0B0"
			color2[INSENSITIVE]	= "#E0E0E0"
		}

		line {
			style		= smooth
			thickness	= 2
		}
	}
}
class "MetaFrames" style "metacity-frame"
widget_class "MetaFrames" style "metacity-frame"
