# Ubuntu Studio Colorscheme
#
# Authors:
# Huw Wilkins - <hushimi@gmail.com>
# Cory Kontros <coryisatm@nc.rr.com>
# Andrea Cimitan <andrea.cimitan@gmail.com>
#
# Feel free to modify and share!

pixmap_path "/usr/share/themes/UbuntuStudio/gtk-2.0/panel/"
include "panel/panel.rc"

style "theme-default"
{
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 6
  GtkRange       ::slider_width      = 15
  GtkRange       ::stepper_size      = 15

  GtkScrollbar   ::min_slider_length = 30
  GtkCheckButton ::indicator_size    = 14
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 14
  GtkExpander    ::expander_size     = 16
  GtkScale       ::slider-length     = 24

	GtkWidget			 ::link-color	        = "#009BF9"
	GtkWidget			 ::visited-link-color	= "#4BA6DE"
  
  xthickness = 1
  ythickness = 1

 	fg[NORMAL]		= "#BFBFBF" # Metacity and mouseover, Most text
	fg[PRELIGHT]      	= "#ffffff" # Text when mouseover
	fg[ACTIVE]	  	= "#BFBFBF" # Text when mouseclicking button, Tabs, Active window list
	fg[SELECTED]      	= "#525252" # Metacity X when window selected
	fg[INSENSITIVE]   	= "#5c5c5c" # Insensitive Text

	bg[NORMAL]	  	= "#525252" # Normal Background, inactive Metacity bar, buttons
	bg[PRELIGHT]	  	= "#3a3a3a" # Mouseover buttons
	bg[ACTIVE]	  	= "#2c2c2c" # Mouseclicking, Tabs, active window list
	bg[SELECTED]		= "#009bf9" # Metacity Bar
	bg[INSENSITIVE]   	= "#353535" # Insensitive buttons
	
	base[NORMAL]		= "#ffffff" # Background, most
	base[PRELIGHT]		= "#3a3a3a" # Mouseover menu
	base[ACTIVE]	  	= "#525252" # Menu active item in inactive window
	base[SELECTED]		= "#009bf9" # Menu active item in active window
	base[INSENSITIVE] 	= "#424242" # Background, insensitive
	
	text[NORMAL]	  	= "#000000" # Text in window
#	text[NORMAL]	  	= "#171717" # Text in window
	text[PRELIGHT]		= "#ffffff" # Text on Mouseover
	text[ACTIVE]	  	= "#ffffff" # Active text in inactive window
	text[SELECTED]    	= "#ffffff" # Active text in active window
	text[INSENSITIVE] 	= "#ffffff" # Unknown



 #GnomeHRef::link_color		="#000000" 
  #GtkIMHtmlr::hyperlink-color	="#000000"

  #NautilusIconContainer::dark_info_color="#827B69"
  #NautilusIconContainer::light_info_color="#827B69"
  #NautilusIconContainer::highlight_alpha=70

  engine "murrine" 
  {
		scrollbar_color = "#009bf9"
		contrast = 1.15
		glazestyle = 3 # 0 = flat hilight, 1 = curved hilight, 2 = concave style, 3 = top curved hilight, 4 = beryl hilight
		menubarstyle = 3 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
		menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
		listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
		listviewstyle = 1 # 0 = nothing, 1 = dotted
		scrollbarstyle = 2 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
		hilight_ratio = 1.0 # set the amount of buttons or widgets hilight
		roundness = 2 # 0 = squared, 1 = old default, more will increase roundness
		animation = TRUE # FALSE = disabled, TRUE = enabled
  }
}


style "theme-wide" = "theme-default"
{
  xthickness = 2
  ythickness = 2
}

style "theme-wider" = "theme-default"
{
  xthickness = 3
  ythickness = 3
}

style "theme-entry" = "theme-wider"
{
  bg[SELECTED]	    = "#009bf9"
}

style "theme-button" = "theme-wider"
{
  bg[NORMAL]        = "#505050"
  bg[ACTIVE]      = "#404040"
}

style "theme-slider" = "theme-button"
{
}

style "theme-scrollbar" = "theme-button"
{
  xthickness = 2
  ythickness = 2
}

style "theme-notebook" = "theme-wide"
{
  bg[NORMAL]	  = "#484848"
  bg[ACTIVE]      = "#393939"
}

style "theme-tasklist" = "theme-default"
{
  xthickness = 5
  ythickness = 3
}

style "theme-menu" = "theme-default"
{
  xthickness = 4
  ythickness = 4
}

style "theme-menu-item" = "theme-default"
{
  ythickness = 3
engine "murrine" {
roundness = 0 # 0 = squared, 1 = old default, more will increase roundness
}
}

style "theme-menubar" = "theme-default"
{
bg[NORMAL]= "#494949"
}

style "theme-menubar-item"
{
	ythickness = 4
bg[PRELIGHT] = "#525252"
engine "murrine" {
roundness = 2 # 0 = squared, 1 = old default, more will increase roundness
}
}

style "theme-tree" = "theme-default"
{
  xthickness = 2
  ythickness = 2
}

style "theme-frame-title" = "theme-default"
{

}

style "theme-tooltips" = "theme-default"
{
  xthickness = 4
  ythickness = 4
}

style "theme-progressbar" = "theme-wide"
{
  xthickness = 0
  ythickness = 0
}

style "theme-combo" = "theme-button"
{
}

style "metacity-frame"
{
  # Normal base color
  #bg[NORMAL]  = "#bbbbbb"

  # Unfocused title background color
  #bg[INSENSITIVE]  = { 0.8, 0.8, 0.8 }

  # Unfocused title text color
  #fg[INSENSITIVE]  = { 1.55, 1.55, 1.55 }

  # Focused icon color
  #fg[NORMAL]  = { 0.2, 0.2, 0.2 }

  # Focused title background color
#  bg[SELECTED]  = "#222222"
  #base[ACTIVE]  = "#f2f2f2"

  # Focused title text color
  fg[SELECTED]  = "#ffffff"
}

class "MetaFrames" 	  style "metacity-frame"
class "GtkWindow"     style "metacity-frame"
style "panelbg"
{
  xthickness        = 0
  ythickness        = 0
  bg_pixmap[NORMAL] = "panel.png"
}

class "*Panel*" style "panelbg"
class "*panel*" style "panelbg"
class "*notif*" style "panelbg"
class "*Notif*" style "panelbg"
class "*Tray*"  style "panelbg"
class "*tray*"  style "panelbg"

style "theme-radiocheck" = "theme-default"
{
text[NORMAL] = "#FFFFFF"
}
class "GtkRadio*" style "theme-radiocheck"
class "GtkCheck*" style "theme-radiocheck"

# widget styles
class "GtkWidget"      style "theme-default"
class "GtkButton"      style "theme-button"
class "GtkScale"       style "theme-slider"
class "GtkScrollbar"   style "theme-scrollbar"
class "GtkCombo"       style "theme-button"
class "GtkRange"       style "theme-wide"
class "GtkFrame"       style "theme-wide"
class "GtkMenu"        style "theme-menu"
class "GtkEntry"       style "theme-entry"
class "GtkMenuItem"    style "theme-menu-item"
class "GtkNotebook"    style "theme-notebook"
class "GtkProgressBar" style "theme-progressbar"
class "*MenuBar*"      style "theme-menubar"
class "PanelMenuBar"   style "panelbg"

widget_class "*MenuItem.*" style "theme-menu-item"
widget_class "*MenuBar.*"  style "theme-menubar-item"

# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "theme-combo"
widget_class "*.GtkCombo.GtkButton"    style "theme-combo"

# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "theme-tasklist"
widget "gtk-tooltips" style "theme-tooltips"

# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "theme-tree"
widget_class "*.GtkCTree.GtkButton" style "theme-tree"
widget_class "*.GtkList.GtkButton" style "theme-tree"
widget_class "*.GtkCList.GtkButton" style "theme-tree"
widget_class "*.GtkFrame.GtkLabel" style "theme-frame-title"

# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "theme-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "theme-notebook"
