# 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
# A GTK2 theme using smooth engine
# I created this theme to emulate the wonderland/bluecurve GTK engine
# as closely as possible.

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

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

    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.85, 0.85, 0.81 }
  bg[ACTIVE]       = { 0.72, 0.70, 0.66 }
  bg[PRELIGHT]     = { 0.92, 0.92, 0.9 }
  bg[SELECTED]     = { 0.38, 0.49, 0.66 }
  bg[INSENSITIVE]  = { 0.8, 0.8, 0.75 }
  
  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.45, 0.45, 0.45}
  
  base[NORMAL]     = { 1.0, 1.0, 1.0 }
  base[ACTIVE]     = { 0.6, 0.72, 0.82 }
  base[PRELIGHT]   = { 0.94, 0.9, 0.55 }
  base[SELECTED]   = { 0.38, 0.49, 0.66 }
  base[INSENSITIVE]= { 0.9, 0.9, 0.9 }
  
  text[NORMAL]     = { 0.0, 0.0, 0.0 }
  text[ACTIVE]     = { 0.0, 0.0, 0.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" {
      line {
        style=cold
        thickness=2
      }
      grip {
        style=slashes
        count = 3
        spacing = 2
        toolbar_overlap = TRUE
      }
      check {
        style=sloppy
        motif=false
      }
      option {
        style=circle
        motif=false
      }
      arrow {
        style= wonderland
      }
      tab_style = square
    }
} widget_class "*" style "default"

style "toolbar" {
  bg[PRELIGHT] = { 0.38, 0.49, 0.66 }
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  engine "smooth" {
      line {
        style = cold
        thickness=1
      }
      grip {
        style = slashes
        count = 3
        spacing = 3
        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 "paned" {
  engine "smooth" {
    line {
      style = cold
      thickness = 2
    }
    grip {
      style = slashes
      count =3
      spacing = 3
    }
  }
}
class "*Paned*" style "paned"

style "menuitem" {
   bg[PRELIGHT] = { 0.32, 0.42, 0.6 }
   fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
 
   # Radio/Check items use text[state] for the check colour
   text[NORMAL]   = { 0.32, 0.42, 0.6 }
   text[PRELIGHT] = { 0.0, 0.0, 0.0 }

   engine "smooth" {
     fill {
       style=shaded
       hdirection = vertical
       vdirection = horizontal
       shade1 = 0.9
       shade2 = 1.2
     }
     line {
       style = cold
       thickness = 2
     }
     check {
       style=sloppy
       motif=false
     }
     option {
       style=round
       motif=false
     }
     arrow {
       style= wonderland
     }
   }
} class "*MenuItem*" style "menuitem"
widget_class "*MenuItem*" style "menuitem"

style "button" = "default" {
  bg[PRELIGHT] = { 0.38, 0.49, 0.66 }
  bg[SELECTED] = { 1.0, 0.76, 0.15 }
 
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  
  base[PRELIGHT] = { 0.95, 0.95, 0.95 }
  
  #radio buttons use text[state] for the check colour
  text[PRELIGHT] = { 0.32, 0.42, 0.6 }
  text[ACTIVE] = { 0.0, 0.0, 0.0 }
  text[NORMAL] = { 0.32, 0.42, 0.6 }
}
class "GtkButton" style "button"
widget_class "*GtkButton*" style "button"

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

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

style "scrollbar" {
  bg[NORMAL]       = { 0.85, 0.85, 0.81 }
  bg[ACTIVE]       = { 0.72, 0.70, 0.66 }
  bg[PRELIGHT]     = { 0.92, 0.92, 0.9 }
 
  engine "smooth" {
    line {
      style = cold
      thickness=2
    }
    grip {
      style=slashes
      count = 3
      spacing = 2
    }
    arrow {
      style= wonderland
    }
    trough {
      line {
        style = flat
      }
    }
  }
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"

style "scales" {
  GtkRange::trough_border = 0
  GtkRange::slider-width = 13
  GtkScale::slider-length = 29
  
  engine "smooth"
  {	
    real_sliders = FALSE
    line {
      style=cold
      thickness=2
    }
    trough {
      xpadding = 3
      ypadding = 3
      show_value = FALSE
    }
    grip {
      style=slashes
      count = 3
      spacing = 2
    }
  }
} 
widget_class "*Scale*" style "scales"
class "*Scale*" style "scales"

style "infobar" {
  bg[NORMAL] = { 0.72, 0.70, 0.66 }
  bg[PRELIGHT] = { 0.38, 0.49, 0.66 }
  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  xthickness = 2
  ythickness = 2
  engine "smooth" {	
    real_sliders = FALSE
    fill {
      style=shaded
      hdirection = vertical
      vdirection = horizontal
      shade1 = 0.73
      shade2 = 1.195
    }
    line {
      style=cold
      thickness=1
    }
    trough {
      fill {
        style = solid
      }
    }
  }
}
class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"

style "tooltips" = "default" {
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = { 1.0, 1.0, 0.75 }
}
widget "gtk-tooltips" style "tooltips"
