# 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 Dec. 15, 2003
# GTK2 theme using smooth engine
# Requires version 0.5.4 or higher of smooth engine
# Features "smoothbevel" line style with reddish/pink color

style "default" {
  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  = 9

  GtkRange::trough_border = 2
  GtkRange::slider_width = 15
  GtkRange::stepper_size = 15

  GtkScrollbar::min_slider_length = 30
  GtkScrollbar::has_backward_stepper = 1
  GtkScrollbar::has_secondary_forward_stepper = 0
  GtkScrollbar::has_forward_stepper = 1
  GtkScrollbar::has_secondary_backward_stepper = 0
 
  bg[NORMAL] = { 0.9, 0.86, 0.86 }
  bg[ACTIVE] = { 0.87, 0.72, 0.73 }
  bg[INSENSITIVE] = { 0.8, 0.7, 0.7 }
  bg[PRELIGHT] = { 1.0, 0.96, 0.96 }
  bg[SELECTED] = { 0.7, 0.2, 0.2 }

  fg[NORMAL] = { 0, 0, 0 }
  fg[ACTIVE] = { 0, 0, 0 }
  fg[INSENSITIVE] = { 0.6, 0.4, 0.4}
  fg[PRELIGHT] = { 0, 0, 0 }
  fg[SELECTED] = { 1.0, 1.0, 1.0 }

  base[NORMAL] = { 0.95, 0.95, 0.95 }
  base[ACTIVE] = { 0.87, 0.72, 0.73 }
  base[INSENSITIVE] = { 0.8, 0.8, 0.8 }
  base[PRELIGHT] = { 1.0, 1.0, 1.0 }
  base[SELECTED] = { 0.7, 0.2, 0.2 }

  text[NORMAL] = { 0, 0, 0 }
  text[ACTIVE] = { 0, 0, 0 }
  text[INSENSITIVE] = { 0.45, 0.45, 0.45 }
  text[PRELIGHT] = { 0, 0, 0 }
  text[SELECTED] = { 1.0, 1.0, 1.0 }
 
  engine "smooth" {
    fill {
      style = shade
      hdirection = vertical
      vdirection = horizontal
      shade1 = 0.95
      shade2 = 1.1
    }
    line {
      style = smoothbevel
      thickness = 2
    }
    grip {
      style = bars_in
      toolbar_overlap = TRUE
    }
    check {
      style = square
      motif = TRUE
      fill {
        style = shade
	hdirection = fdiagonal
	vdirection = fdiagonal
	shade1 = 0.95
	shade2 = 1.1
      }
    }
    option {
      style = circle
      motif = TRUE
      fill {
        style = shade
	hdirection = fdiagonal
	vdirection = fdiagonal
	shade1 = 0.95
	shade2 = 1.1
      }
    }
    arrow {
      style = thinice
      solid = TRUE
      etched = TRUE
    }
    trough {
      fill {
        style = solid
      }
    }
    tab_style = square
  }
} widget_class "*" style "default"

style "toolbar" {
  bg[PRELIGHT] = { 0.7, 0.2, 0.2 }
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  engine "smooth" {
    line {
      style = smoothbevel
      thickness =2
    }
    grip {
     style = bars_in
     toolbar_overlap = 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] = { 0.7, 0.2, 0.2 }
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
 
  # Radio/Check items use text[state] for the check colour
  text[NORMAL]   = { 0.7, 0.2, 0.2 }
  text[PRELIGHT] = { 0, 0, 0 }

  engine "smooth" {
    fill {
      style = shade
      hdirection = vertical
      vdirection = horizontal
      shade1 = 0.95
      shade2 = 1.1
    }
    line {
      style = smoothbevel
      thickness = 2
    }
    check {
      style = square
      motif = FALSE
    }
    option {
      style = circle
      motif = FALSE
    }
    arrow {
      style = thinice
      solid = TRUE
      etched = FALSE
    }
  }
} class "*MenuItem*" style "menuitem"
widget_class "*MenuItem*" style "menuitem"

style "button" = "default" {
  #radio buttons use text[state] for the check colour
  text[NORMAL] = { 0.7, 0.2, 0.2 }
  text[PRELIGHT] = { 0.7, 0.2, 0.2 }
}

class "*OptionMenu*" style "button"
widget_class "*OptionMenu*" style "button"

class "GtkToggleButton" style "button"
widget_class "*RadioButton*" style "button"
widget_class "*CheckButton*" style "button"

style "paned" {
  engine "smooth" {
    line {
      style = smoothbevel
      thickness = 2
    }
    grip {
      style = midlines
      count = 3
      spacing = 1
    }
  }
}
class "*Paned*" style "paned"

style "scales" {
  GtkRange::trough_border = 0
  GtkRange::slider-width = 13
  GtkScale::slider-length = 29
  
  engine "smooth"
  {	
    real_sliders = FALSE
    fill {
      style = shade
      hdirection = vertical
      vdirection = horizontal
      shade1 = 0.95
      shade2 = 1.1
    }
    line {
      style = smoothbevel
      thickness = 2
    }
    trough {
      xpadding = 3
      ypadding = 3
      show_value = TRUE
      fill {
        style = solid
      }
    }
    grip {
      style = bars_out
    }
  }
} 
widget_class "*Scale*" style "scales"
class "*Scale*" style "scales"

style "infobar" {
  bg[NORMAL] = { 0.87, 0.72, 0.73 }
  bg[PRELIGHT] = { 0.7, 0.2, 0.2 }
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  xthickness = 2
  ythickness = 2
  engine "smooth" {	
    real_sliders = FALSE
    fill {
      style = shade
      hdirection = vertical
      vdirection = horizontal
      shade1 = 0.73
      shade2 = 1.195
    }
    line {
      style = smoothbevel
      thickness = 2
    }
    trough {
      fill {
        style = solid
      }
    }
  }
}
class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"
