# Murrine PF-Y, version 1
# Made by sympozium
# symphox.blogspot.info
# based on: http://www.gnome-look.org/content/show.php?content=49094 (Murrine Y)

gtk-icon-sizes = "panel-menu=16,16"

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     = 27
  #GtkToolbar     ::button-relief     = GTK_RELIEF_NORMAL
  #GtkMenuBar     ::shadow-type       = GTK_SHADOW_IN
  #GtkScrollbar   ::has-forward-stepper = 0
  #GtkScrollbar   ::has-backward-stepper = 0
  #GtkScrollbar   ::has-secondary-backward-stepper = 1
  
  xthickness = 1
  ythickness = 1

  fg[NORMAL]            = "#404040" # very dark brown
  fg[PRELIGHT]          = "#404040" # text on buttons (hover)
  fg[ACTIVE]            = "#404040" # text on unfocused tabs
  fg[SELECTED]          = "#ffffff" # selected text on lists
  fg[INSENSITIVE]       = "#b1b1b1" # greyed "unused" text

  bg[NORMAL]		= "#f5f5f5" # entire background
  bg[PRELIGHT]		= "#f6f7f8" # button prelights
  bg[ACTIVE]		= "#e5e6e7" # selected taskbar items
  bg[SELECTED]		= "#404040" # ???
  bg[INSENSITIVE]	= "#fefefe" # greyed buttons

  base[NORMAL]		= "#ffffff" # window background
  base[PRELIGHT]	= "#3d3e37" # menubar outline colour
  base[ACTIVE]		= "#404040" # selected item background (out of focus)
  base[SELECTED]	= "#404040" # selected hilight,tab/slider background, & menu stripe
  base[INSENSITIVE]	= "#e0e0e0" # greyed sliders

  text[NORMAL]		= "#404040" # text in general
  text[PRELIGHT]	= "#404040" # hover text (on buttons)
  text[ACTIVE]		= "#ffffff" # greyed text out of use (on highlight)
  text[SELECTED]	= "#ffffff" # selected text (on highlight)
  text[INSENSITIVE]	= "#b1b1b1" # greyed text

  engine "murrine" 
  {
    scrollbar_color     = "#404040"
    contrast            = 1.0
    menuitemstyle       = 1 # 0 = flat, 1 = glassy, 2 = striped
    glazestyle          = 1 # 0 = flat hilight, 1 = curved hilight, 2 = concave style
    menubarstyle        = 3 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
    menubaritemstyle    = 1 # 0 = menuitem look, 1 = button look
    listviewheaderstyle = 1 # 0 = flat, 1 = glassy
    roundness           = 3 # 0 = squared, 1 = old default, more will increase roundness
    animation           = TRUE # FALSE = disabled, TRUE = enabled
  }
}


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

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

style "theme-button" = "theme-wider"
{
  bg[NORMAL] = "#e8e8e8"
  bg[ACTIVE] = "#d4d4d4"
}

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

style "theme-notebook" = "theme-wide"
{
  bg[NORMAL]     = "#f5f5f5" 
  bg[SELECTED]   = "#f5f5f5"
  base[SELECTED] = "#303030"
}

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

style "theme-menu" = "theme-default"
{
  xthickness = 3
  ythickness = 3
  bg[NORMAL] = "#f5f5f5"
}

style "theme-menu-item" = "theme-default"
{
  xthickness     = 2
  ythickness     = 2
  fg[PRELIGHT]	 = "#ffffff"
  fg[NORMAL]   	 = "#101010" # "#000000" if you want more contrast
  text[PRELIGHT] = "#ffffff"
  bg[PRELIGHT]   = "#404040" #menubar hilite 
}

style "theme-menubar" = "theme-default"
{
  xthickness = 2
  ythickness = 2
  bg[NORMAL] = "#ffffff"
  bg[ACTIVE] = "#ffc217" 
}

style "theme-menubar-item" = "theme-menu-item"
{
}

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

style "theme-frame-title" = "theme-default"
{
  fg[NORMAL] = "#404040"
}

style "theme-tooltips" = "theme-default"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = "#ffec82"
}

style "theme-progressbar" = "theme-wide"
{
  fg[PRELIGHT] = "#ffffff"
  xthickness   = 1
  ythickness   = 1
}

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

style "metacity-frame" = "theme-default"
{
  bg[SELECTED] = "#4d4e50"
}

class "MetaFrames"     style "metacity-frame"
class "GtkWindow"      style "metacity-frame"

# widget styles
class "GtkWidget"      style "theme-default"
class "GtkButton"      style "theme-button"
class "GtkScale"       style "theme-range"
class "GtkCombo"       style "theme-button"
class "GtkRange"       style "theme-wide"
class "GtkFrame"       style "theme-wide"
class "GtkMenu"        style "theme-menu"
class "GtkEntry"       style "theme-wider"
class "GtkMenuItem"    style "theme-menu-item"
class "GtkNotebook"    style "theme-notebook"
class "GtkProgressBar" style "theme-progressbar"
class "*MenuBar*"      style "theme-menubar"

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"
