# Copyleft: Ken Joseph <o123@netian.com>
# Anyone is permitted to modify this file or theme in whatever way
# or for whatever purpose he or she wants to do.

# Last modified December 15, 2003
# GTK2 theme using smooth engine
# Requires version 0.5.4 or higher of smooth engine
# Features "soft" line style with ivory color

style "default" {
    GtkWidget::interior_focus = 5
    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  = 8

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

    GtkScrollbar::min_slider_length = 25
    
    GtkScrollbar::has_backward_stepper = 1
    GtkScrollbar::has_secondary_forward_stepper = 0

    GtkScrollbar::has_forward_stepper = 1
    GtkScrollbar::has_secondary_backward_stepper = 0
  
  bg[NORMAL]       = "#eeeee0"
  bg[ACTIVE]       = "#ddddd0"
  bg[PRELIGHT]     = "#F7F7F7"
  bg[SELECTED]     = "#816a99"
  bg[INSENSITIVE]  = "#eeeee0"
  
  fg[NORMAL]       = "#000000"
  fg[ACTIVE]       = "#000000"
  fg[PRELIGHT]     = "#000000"
  fg[SELECTED]     = "#FFFFFF"
  fg[INSENSITIVE]  = "#999989"
  
  base[NORMAL]     = "#f0f0f0"
  base[SELECTED]   = "#816a99"
  base[ACTIVE]     = "#d3c996"
  base[PRELIGHT]   = "#F0E68C"
  base[INSENSITIVE]= "#CDCDC1"
  
  text[NORMAL]     = "#000000"
  text[INSENSITIVE]= "#747474"
  text[SELECTED]   = "#ffffff"
  text[PRELIGHT]   = "#000000"
  text[ACTIVE]     = "#000000"

    engine "smooth" {
      fill {
        style=shade
        hdirection = vertical
        vdirection = vertical
        shade1 = 0.86
        shade2 = 1.05
      }
      line {
        style=soft
        thickness=2
      }
      grip {
        style=dots_out
        count = 3
        spacing = 3
        toolbar_overlap = TRUE
      }
      check {
        style = clean
	motif = FALSE
      }
      option {
        style=circle
	motif = FALSE
      }
      arrow {
        style= xfce
	solid= TRUE
	etched = TRUE
      }
      tab_style = square
    }
} widget_class "*" style "default"

style "toolbar" {
  bg[PRELIGHT] = "#5F7CA8"
  fg[PRELIGHT] = "#F0F0F0"
  engine "smooth" {
    fill {
      style=solid
    }
    grip {
      style=dots_out
      toolbar_overlap = TRUE
    }
    line {
      style = soft
      thickness=2
    }
    arrow {
      style= xfce
      solid = TRUE
      etched = TRUE
    }
  }
}
widget_class "*BonoboDockItem*" style "toolbar"
class "*BonoboDockItem*" style "toolbar"

widget_class "*HandleBox*" style "toolbar"
class "*HandleBox*" style "toolbar"

widget_class "*Tool*" style "toolbar"
class "*Tool*" style "toolbar"

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

style "menuitem" {
   bg[PRELIGHT] = "#816a99"
   fg[PRELIGHT] = "#FFFFFF"

   # Radio/Check items use text[state] for the check colour
   text[PRELIGHT] = "#000000"
   text[NORMAL]   = "#816a99"
					    
   engine "smooth" {
     fill {
       style=shade
       hdirection = vertical
       vdirection = vertical
       shade1 = 0.86
       shade2 = 1.05
     }
     line {
       style=thin
       thickness=1
     }
     check {
       style = clean
       line {
         style=none
         thickness=2
       }
       fill {
         style = solid
       }
     }
     option {
       style=circle
       motif = FALSE
     }
     arrow {
       style= xfce
       solid= TRUE
       etched = FALSE
     }
   }
} class "*MenuItem*" style "menuitem"
widget_class "*MenuItem*" style "menuitem"

style "radio_check" {
  #radio buttons use text[state] for the check colour
  text[NORMAL] = "#816a99"
  text[PRELIGHT] = "#816A99"
}
class "GtkToggleButton" style "radio_check"
widget_class "*RadioButton*" style "radio_check"
widget_class "*CheckButton*" style "radio_check"

style "scrollbar" {
  engine "smooth" {
    fill {
      style=shade
      hdirection = vertical
      vdirection = horizontal
      shade1 = 0.86
      shade2 = 1.05
    }
    line {
      style=soft
      thickness=2
    }
    grip {
      style=dots_out
      count = 2
      spacing = 4
    }
    arrow {
      style= xfce
      solid = TRUE
      etched = TRUE
    }
  }
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"

style "hscales" {
  bg[NORMAL] = "#ddddd0"
  bg[ACTIVE] = "#d3c996"
  bg[SELECTED] = "#816a99"	#scroll bar background
  
  GtkRange::trough_border = 0
  GtkRange::slider-width = 22
  GtkScale::slider-length = 12
  
  engine "smooth"
  {	
    real_sliders = FALSE
    line {
      style=soft
      thickness=2
    }
    trough {
      xpadding = 7
      ypadding = 1
      show_value = TRUE
    }
    grip {
      style=dots_in
      count = 1
      spacing = 2
    }
  }
} 
widget_class "*HScale*" style "hscales"
class "*HScale*" style "hscales"

style "vscales" {
  bg[NORMAL] = "#ddddd0"
  bg[ACTIVE] = "#d3c996"
  bg[SELECTED] = "#816a99" #scroll bar background
 
  GtkRange::trough_border     = 0
  GtkRange::slider-width      = 22
  GtkScale::slider-length     = 12
 
  engine "smooth" {
    real_sliders=FALSE
    line {
      style=soft
      thickness=2
    }
    trough {
      xpadding=1
      ypadding=7
      show_value=TRUE
    }
    grip {
      style=dots_in
      count=1
      spacing=2
    }
  }
}
widget_class "*VScale*" style "vscales"
class "*VScale*" style "vscales"

style "infobar" {
  bg[NORMAL] = "#d3c996"
  bg[PRELIGHT] = "#816a99"
  fg[PRELIGHT] = "#FFFFFF"
  xthickness = 2
  ythickness = 2
  engine "smooth" {	
    real_sliders = FALSE
    fill {
      style=shade
      hdirection = vertical
      vdirection = horizontal
      shade1 = 0.73
      shade2 = 1.195
    }
    line {
      style=soft
      thickness=1
    }
    trough {
      fill {
        style = solid
      }
    }
  }
}
class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"
