# 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 with desert-like color and orange highlight.

style "default" {
    GtkWidget::interior_focus = 5
    GtkButton::default_border = {3, 3, 3, 3}
    GtkButton::default_outside_border = {3, 3, 3, 3}

    GtkCheckButton::indicator_size = 13
    GtkRadioButton::indicator_size = 12

    GtkPaned::handle_size  = 9

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

    GtkScrollbar::min_slider_length = 18
    
    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.90, 0.86, 0.78 }
  bg[ACTIVE]       = { 0.81, 0.75, 0.62 }
  bg[PRELIGHT]     = { 0.95, 0.92, 0.86 }
  bg[SELECTED]     = { 0.9, 0.52, 0.0 }
  bg[INSENSITIVE]  = { 0.85, 0.81, 0.74 }
  
  fg[NORMAL]       = { 0.0, 0.0, 0.0 }
  fg[ACTIVE]       = { 0.0, 0.0, 0.0 }
  fg[PRELIGHT]     = { 0.0, 0.0, 0.0 }
  fg[SELECTED]     = { 1.0, 1.0, 1.0 }
  fg[INSENSITIVE]  = { 0.55, 0.48, 0.37 }
  
  base[NORMAL]     = { 1.0, 1.0, 1.0 }
  base[ACTIVE]     = { 0.7, 0.62, 0.47 }
  base[PRELIGHT]   = { 0.95, 0.92, 0.86 }
  base[SELECTED]   = { 0.9, 0.52, 0.0 }
  base[INSENSITIVE]= { 0.9, 0.9, 0.9 }
  
  text[NORMAL]     = { 0.0, 0.0, 0.0 }
  text[ACTIVE]     = { 1.0, 1.0, 1.0 }
  text[PRELIGHT]   = { 0.0, 0.0, 0.0 }
  text[SELECTED]   = { 1.0, 1.0, 1.0 }
  text[INSENSITIVE]= { 0.45, 0.45, 0.45 }
  
    engine "smooth" {
      fill {
        style=shade
        hdirection = vertical
        vdirection = vertical
        shade1 = 1.033
        shade2 = 0.9
      }
      line {
        style=smooth
        thickness=2
      }
      grip {
        style=ns_buds_in
        count = 8
        spacing = 2
	fill {
	  style=solid
	}
      }
      check {
        style=clean
	fill {
	  style=shade
	  hdirection=fdiagonal
	  vdirection=fdiagonal
	  shade1=1.033
	  shade2=0.9
	}
      }
      option {
        style=circle
	fill {
	  style=shade
	  hdirection=fdiagonal
	  vdirection=fdiagonal
	  shade1=1.033
	  shade2=0.9
	}
      }
      arrow {
        style = default
	solid = TRUE
      }
      tab_style = round
    }
} widget_class "*" style "default"

style "toolbar" {
  engine "smooth" {
    line {
      style=smooth
      thickness=2
    }
    fill {
      style=solid
    }
    grip {
      style=ns_buds_in
      count=8
      spacing=2
    }
  }
}
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.9, 0.52, 0.0 }
   fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
   
   # Radio/Check items use text[state] for the check colour
   text[NORMAL]   = { 0.9, 0.52, 0.0 }
   text[PRELIGHT] = { 1.0, 1.0, 1.0 }
					    
   engine "smooth" {
     fill {
       style=shade
       hdirection = vertical
       vdirection = vertical
       shade1 = 1.033
       shade2 = 0.9
     }
     line {
       style=smooth
       thickness=2
     }
     check {
       style=clean
       line {
         style=flat
         thickness=1
       }
       fill {
         style=solid
       }
     }
     option {
       style=circle
       fill {
         style=solid
       }
     }
     arrow {
       style= default
       solid= TRUE
     }
   }
}
class "*MenuItem*" style "menuitem"
widget_class "*MenuItem*" style "menuitem"

style "button" = "default" {
  bg[NORMAL] = { 0.94, 0.90, 0.82 }
  bg[ACTIVE] = {0.81, 0.75, 0.62 }
  bg[INSENSITIVE] = { 0.86, 0.82, 0.75 }
  bg[PRELIGHT] = { 0.9, 0.52, 0.0 }
  bg[SELECTED] = { 1.0, 0.27, 0.0 }
 
  fg[ACTIVE] = { 0.0, 0.0, 0.0 }
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
}
class "GtkButton" style "button"
widget_class "*GtkButton*" style "button"

style "scrollbar" {
  engine "smooth" {
    fill {
      style=shade
      hdirection = vertical
      vdirection =horizontal
      shade1 = 1.033
      shade2 = 0.9
    }
    line {
      style=smooth
      thickness=2
    }
    trough {
      fill {
        style = solid
      }
    }
    grip {
      style=midlines
      count = 3
      spacing = 1
    }
    arrow {
      style= default
      solid=TRUE
    }
  }
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"

style "hscales" {
  bg[NORMAL] = { 0.94, 0.90, 0.82 }
  bg[PRELIGHT] = { 0.9, 0.52, 0.0 }
  bg[SELECTED] = { 0.9, 0.52, 0.0 }	#scroll bar background
  
  GtkRange::trough_border = 0
  GtkRange::slider-width = 15
  GtkScale::slider-length = 26
  
  engine "smooth"
  {	
    real_sliders = FALSE
    fill {
      style=shade
      hdirection = vertical
      vdirection = horizontal
      shade1 = 1.1
      shade2 = 0.97
    }
    line {
      style=smooth
      thickness=2
    }
    trough {
      xpadding = 2
      ypadding = 1
      show_value = TRUE
    }
    grip {
      style=mac_buds_in
    }
  }
} 
widget_class "*HScale*" style "hscales"
class "*HScale*" style "hscales"

style "vscales" {
  bg[NORMAL] = { 0.94, 0.90, 0.82 }
  bg[PRELIGHT] = { 0.9, 0.52, 0.0 }
  bg[SELECTED] = { 0.9, 0.52, 0.0 } #scroll bar background
 
  GtkRange::trough_border     = 0
  GtkRange::slider-width      = 15
  GtkScale::slider-length     = 26
 
  engine "smooth" {
    real_sliders=FALSE
    fill {
      style=shade
      hdirection=vertical
      vdirection=horizontal
      shade1= 1.1
      shade2= 0.97
    }
    line {
      style=smooth
      thickness=2
    }
    trough {
      xpadding=1
      ypadding=2
      show_value=TRUE
    }
    grip {
      style=mac_buds_in
    }
  }
}
widget_class "*VScale*" style "vscales"
class "*VScale*" style "vscales"

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