# 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 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" {
		######  GTK Style Flags  ###### 
		GtkWidget::interior_focus		= 0	
		GtkWidget::focus_padding		= 0
	
		GtkButton::default_spacing		= 6

		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

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

		line {
			style		= soft
			thickness	= 2
		}

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

		focus {
			pattern[ACTIVE]		= ""
			pattern[SELECTED]	= ""
			pattern[NORMAL]		= ""
			pattern[PRELIGHT]	= ""

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

		grip {
			style		= ns_buds_in
		}

		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 Colours ######
	bg[PRELIGHT]		= "#627EBD"

	base[PRELIGHT]		= "#627EBD"

	###### Theme Engine Style ######
	engine "smooth" {
		######  GTK Style Flags  ###### 
		GtkWidget::interior_focus		= 1
		GtkWidget::focus_padding		= 1

		GtkMenuBar::internal-padding		= 0

		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 Colours ######
	bg[PRELIGHT]		= "#627EBD" #Menu Item

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

	###### Theme Engine Style ######
	engine "smooth" {
		######  GTK Style Flags  ###### 
		GtkWidget::interior_focus		= 1
		GtkWidget::focus_padding		= 1

		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 {
			pattern[ACTIVE]		= ""
			pattern[SELECTED]	= ""
			pattern[NORMAL]		= ""
			pattern[PRELIGHT]	= ""

			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 Colours ######
	bg[ACTIVE]		= "#DEDEDE"
	bg[SELECTED]		= "#BCBCBC"
	bg[INSENSITIVE]		= "#A3A2A0"

	###### Theme Engine Style ######
	engine "smooth" {
		######  GTK Style Flags  ###### 
		GtkRange::trough_border			= 2
		GtkRange::slider_width			= 15
		GtkRange::stepper_size			= 15
		GtkRange::stepper_spacing		= 0

	        GtkScrollbar::min_slider_length 	= 15

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

		line {
			style		= smooth
			thickness	= 1
		}

		focus {
			pattern[ACTIVE]		= ""
			pattern[SELECTED]	= ""
			pattern[NORMAL]		= ""
			pattern[PRELIGHT]	= ""

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

		trough {
			fill {
				style	= solid
			}

			line {
				style		= smooth
				thickness	= 1
			}
		}
	
		grip {
			style	= dots_out
			count	= 3
			spacing	= 4
		}

		arrow {
			style	= wonderland
			solid	= TRUE
		}
	}
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"


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

		real_sliders	= FALSE

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

		line {
			style		= smooth
			thickness	= 2
		}
	
		focus {
			pattern[ACTIVE]		= ""
			pattern[SELECTED]	= ""
			pattern[NORMAL]		= ""
			pattern[PRELIGHT]	= ""

			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 Colours ######
	bg[SELECTED]		= "#627EBD"
    
	###### Theme Engine Style ######
	engine "smooth" {	
		######  GTK Style Flags  ###### 
		GtkRange::trough_border			= 0
		GtkRange::slider-width			= 22
		GtkScale::slider-length			= 10

		real_sliders	= FALSE

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

		line {
			style		= smooth
			thickness	= 2
		}
	
		focus {
			pattern[ACTIVE]		= ""
			pattern[SELECTED]	= ""
			pattern[NORMAL]		= ""
			pattern[PRELIGHT]	= ""

			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 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 {
			pattern[ACTIVE]		= ""
			pattern[SELECTED]	= ""
			pattern[NORMAL]		= ""
			pattern[PRELIGHT]	= ""

			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"
