# Use the Suede stock icons

include "icons/iconrc"

style "clearsky" {
	
	GtkTreeView::expander_size = 14
  	GtkExpander::expander_size = 16
	# Determines whether focus around widgets are internal or external
	
	GtkWidget::interior_focus = 1
	
	# Width, in pixels, between focus indicator and the widget 'box'
	
	GtkWidget::focus_padding = 2
	
	# Color with which to draw insertion cursor

	GtkWidget::cursor-color = "#618096"

	# Color with which to draw the secondary insertion cursor when
	# editing mixed right-to-left and left-to-right text

	GtkWidget::secondary-cursor-color = "#618096"

	# Aspect ratio with which to draw insertion cursor

	GtkWidget::cursor-aspect-ratio = 0.2

	# A semi-transparent hi-light for files selected in Nautilus

	NautilusIconContainer::highlight_alpha  = 160

	# This sets the color used for the text under the icons in nautilus
	# when they are not highlighted.

	NautilusIconContainer::dark_info_color  = "#000000"

	# This is the color of the text under an icon in Nautilus when
	# it is highlighted.

	NautilusIconContainer::light_info_color = "#ffffff"
	
	# General horizontal and vertical thickness of widgets

	xthickness = 1					# width thickness
	ythickness = 1					# height thickness



################################################################################
#
#								Theme Colors
#
################################################################################	
	
							# Foreground Colors
	
	# Default color of text on widgets like buttons
	
	fg[NORMAL]        = "#000000" 
	
	# Color of text on widgets on windows that do not have focus
	
	fg[ACTIVE]        = "#404135" 					# dark brown
	
	# Color of text on widgets when the mouse is over them
	
	fg[PRELIGHT]      = "#618096" #"#ffffff"
	
	# Color of text on window decoration when in focus
	
	fg[SELECTED]      = "#ffffff" 
	
	# Color of text on widgets that are inactive
	
	fg[INSENSITIVE]   = "#b5b3ac" # gray
    
    						
    						# Background Colors
    
    
    # Default color of all widgets in normal state
    						
    bg[NORMAL]        = "#efebe7" # normal background colour
    
    # Color of selected window button on the tasklist as well as inactive tabs
    
	bg[ACTIVE]        = "#dfdbd8"
	
	# Color of widget when the mouse is over it
	
	bg[PRELIGHT]      = "#f3f0ed"
	
	# Color of window decoration frame
	
	bg[SELECTED]      = "#9db3cc" 
	
	# Color of widget that are disable or cannot be used
	
	bg[INSENSITIVE]   = "#efebe7"
	
							# Base Color
	
	# Default background color of text and entry widgets
							
	base[NORMAL]      = "#ffffff"
	
	# Color of background of selected text widgets when they aren't in focus
	
	base[ACTIVE]      = "#efebe7"
	
	# Doesn't do anything as far as I can tell (?)
	
	base[PRELIGHT]    = "#ffffff"
	
	# With the clearlooks engine, affects the color tab stripe as well as 
	# selected text on windows with focus
	
	base[SELECTED]    = "#618096"
	
	# Color of background of text and entry widgets that are disable or cannot 
	# be used
	
	base[INSENSITIVE] = "#efebe7"
	
							# Text Color
	
	# Default color of text in text and entry widgets
							
	text[NORMAL]      = "#404135"
	
	# Color of text in text and entry widgets on windows that do not have focus
  	
  	text[ACTIVE]      = "#618096"
  	
  	# Does this do anything?
  	
  	text[PRELIGHT]    = "#404135"
  	
  	# Color of text when selected in text and entry widgets
  	
  	text[SELECTED]    = "#ffffff"
  	
  	# Color of insensitive text  in text and entry widgets (?)
  	
  	text[INSENSITIVE] = "#b5b3ac"

  engine "clearlooks" {
    contrast = 0.7
    sunkenmenubar = 1			# 0 = disable, 1 = enable
    menuitemstyle     = 1       # 0 = flat, 1 = 3d-ish (button)
    listviewitemstyle = 0       # 0 = flat, 1 = 3d-ish (gradient)
    progressbarstyle  = 0       # 0 = candy bar, 1 = flat

  }
}
class "GtkWidget" style "clearsky"



################################################################################
#
#								Notebook (Tabs)
#
################################################################################

style "clearsky-notebook" = "clearsky" {
	
	xthickness = 3					# width thickness		
  	ythickness = 1					# height thickness
  
  	# Background color of tabs and tab container
  	
  	bg[NORMAL] = "#e6e0db" 
  	
}
class "GtkNotebook" style "clearsky-notebook"



################################################################################
#
#								Panel
#
################################################################################

style "clearsky-panel" = "clearsky" {

	xthickness = 5					# width thickness
	ythickness = 4					# height thickness
	
}
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "clearsky-panel"



################################################################################
#
#								Toolbar
#
################################################################################

style "clearsky-toolbar" = "clearsky" {
	
	xthickness = 2					# width thickness
  	ythickness = 2					# height thickness

}
widget_class "*.GtkToolbar.*" style "clearsky-toolbar"
class "GtkToolbar" style "clearsky-toolbar"



################################################################################
#
#								Menubar
#
################################################################################

style "clearsky-menubar" = "clearsky" {
	
	# Affects the size of the menubar
	
	GtkMenuBar::internal-padding = 1
	
	xthickness = 3					# width thickness
	ythickness = 2					# height thickness
	
	# Color of text on menu items when mouse is over them
  	
  	fg[PRELIGHT]  = "#ffffff"
 	#bg[PRELIGHT]  = "#618096" 	
}
widget_class "*.GtkMenuBar.*" style "clearsky-menubar"
class "GtkMenuBar" style "clearsky-menubar"



################################################################################
#
#								Tooltips
#
################################################################################

style "clearsky-tooltips" = "clearsky" {

	# Color of tooltips background
	
	bg[NORMAL] = { 1.0,1.0,0.75 }
  	
	xthickness = 4
  	ythickness = 4
  	
}
widget_class "*.GtkTooltips.*" style "clearsky-tooltips"
class "GtkTooltips" style "clearsky-tooltips"
widget "gtk-tooltips" style "clearsky-tooltips"



################################################################################
#
#								Progressbar
#
################################################################################

style "clearsky-progress" = "clearsky" {

	# Color of Text inside the progress bar
	
	fg[PRELIGHT]  = "#ffffff"
	
	xthickness = 0
	ythickness = 0
		
}
widget_class "*.GtkProgressBar.*" style "clearsky-progress"
widget_class "*.GtkProgress.*" style "clearsky-progress"
class "GtkProgress" style "clearsky-progress"
class "GtkProgressBar" style "clearsky-progress"
class "GtkProgress" style "clearsky-progress"



################################################################################
#
#			Menus, Menuitems, and Tree
#
################################################################################

style "clearsky-menus" = "clearsky" {
	
	# Menuitem shadows 
	
	GtkMenuItem::selected_shadow_type = out
		
	xthickness = 3					# width thickness
	ythickness = 3					# height thickness
  	
  	# Color of text on menu items when mouse is over them
  	fg[PRELIGHT]  = "#ffffff"
# 	bg[PRELIGHT]  = "#618096" 
#  	fg[PRELIGHT]  = "#ffffff"
}
widget_class "*.GtkTearoffMenuItem.*" style "clearsky-menus"
widget_class "*.GtkSeparatorMenuItem.*" style "clearsky-menus"
widget_class "*.GtkImageMenuItem.*" style "clearsky-menus"
widget_class "*.GtkRadioMenuItem.*" style "clearsky-menus"
widget_class "*.GtkCheckMenuItem.*" style "clearsky-menus"
widget_class "*.GtkMenuItem.*" style "clearsky-menus"
widget_class "*.GtkListItem.*" style "clearsky-menus"
widget_class "*.GtkTreeItem.*" style "clearsky-menus"
widget_class "*.GtkMenu.*" style "clearsky-menus" 
class "GtkTearoffMenuItem" style "clearsky-menus"
class "GtkSeparatorMenuItem" style "clearsky-menus"
class "GtkImageMenuItem" style "clearsky-menus"
class "GtkRadioMenuItem" style "clearsky-menus"
class "GtkCheckMenuItem" style "clearsky-menus"
class "GtkMenuItem" style "clearsky-menus"
class "GtkListItem" style "clearsky-menus"
class "GtkTreeItem" style "clearsky-menus"
class "GtkItem" style "clearsky-menus"
class "GtkMenu" style "clearsky-menus"



################################################################################
#
#							Range Widgets and Text Entry
#
################################################################################

style "clearsky-range" = "clearsky" {
	
	xthickness = 3					# width thickness
	ythickness = 3					# height thickness
	
	GtkRange::trough_border = 0
	GtkRange::slider_width = 16
  	GtkRange::stepper_size = 16
  	GtkScrollbar::min_slider_length = 43
  		
}
widget_class "*.GtkVScrollbar.*" style "clearsky-range"
widget_class "*.GtkHScrollbar.*" style "clearsky-range"
widget_class "*.GtkScrollbar.*" style "clearsky-range"
widget_class "*.GtkHScale.*" style "clearsky-range"
widget_class "*.GtkVScale.*" style "clearsky-range"
widget_class "*.GtkScale.*" style "clearsky-range"
widget_class "*.GtkRange.*" style "clearsky-range"
class "GtkVScrollbar" style "clearsky-range"
class "GtkHScrollbar" style "clearsky-range"
class "GtkScrollbar" style "clearsky-range"
class "GtkHScale" style "clearsky-range"
class "GtkVScale" style "clearsky-range"
class "GtkScale" style "clearsky-range"
class "GtkRange" style "clearsky-range"
widget_class "*.GtkSpinButton.*" style "clearsky-range"
widget_class "*.GtkEntry.*" style "clearsky-range"
widget_class "*.GtkTextView.*" style "clearsky-range"
class "GtkSpinButton" style "clearsky-range"
class "GtkEntry" style "clearsky-range"
class "GtkTextView" style "clearsky-range"



################################################################################
#
#						Buttons, Lists, Frames and Statusbar
#
################################################################################

style "clearsky-button" = "clearsky" {
	
	GtkButton::default_border = { 0, 0, 0, 0 }
  	GtkButton::default_outside_border = { 0, 0, 0, 0 }
	GtkCheckButton::indicator_size = 12
	
	xthickness = 3
  	ythickness = 2
  	
  	fg[NORMAL] = "#404135" 
  	
}
widget_class "*.GtkList.*" style "clearsky-button"
widget_class "*.GtkCList.*" style "clearsky-button"
widget_class "*.GtkCTree.*" style "clearsky-button"
widget_class "*.GtkTreeView.*" style "clearsky-button"
class "GtkList" style "clearsky-button"
class "GtkCList" style "clearsky-button"
class "GtkCTree" style "clearsky-button"
class "GtkTreeView" style "clearsky-button"
widget_class "*.GtkStatusbar.*" style "clearsky-button"
class "GtkStatusbar" style "clearsky-button"
widget_class "*.GtkFrame.*" style "clearsky-button" 
widget_class "*.GtkAspectFrame.*" style "clearsky-button"
class "GtkFrame" style "clearsky-button"
class "GtkAspectFrameGtkFrame" style "clearsky-button"
widget_class "*.GtkOptionMenu.*" style "clearsky-button"
widget_class "*.GtkFontButton.*" style "clearsky-button"
widget_class "*.GtkColorButton.*" style "clearsky-button"
widget_class "*.GtkRadioButton.*" style "clearsky-button"
widget_class "*.GtkCheckButton.*" style "clearsky-button"
widget_class "*.GtkToggleButton.*" style "clearsky-button"
widget_class "*.GtkButton.*" style "clearsky-button"
class "GtkOptionMenu" style "clearsky-button"
class "GtkFontButton" style "clearsky-button"
class "GtkColorButton" style "clearsky-button"
class "GtkRadioButton" style "clearsky-button"
class "GtkCheckButton" style "clearsky-button"
class "GtkToggleButton" style "clearsky-button"
class "GtkButton" style "clearsky-button"
widget_class "*.GtkFrame.*" style "clearsky-button" 
widget_class "*.GtkAspectFrame.*" style "clearsky-button"
class "GtkFrame" style "clearsky-button"
class "GtkAspectFrameGtkFrame" style "clearsky-button"
