# Theme Name  : Smooth-2k
# Author      : ajgenius
# Description :
#
# A Smooth theme based on the win2k look and colours, modified
# to have a slightly cleaner look with gradients.

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  = 10

    GtkRange::trough_border           = 0
    GtkRange::slider_width            = 15
    GtkRange::stepper_size            = 15
    GtkRange::stepper_spacing         = 0
  
    GtkScrollbar::has_backward_stepper = 1
    GtkScrollbar::has_secondary_forward_stepper = 0

    GtkScrollbar::has_forward_stepper = 1
    GtkScrollbar::has_secondary_backward_stepper = 0
  
    fg[ACTIVE]        = "#000000"
    fg[INSENSITIVE]   = "#000000"
    fg[NORMAL]        = "#000000"
    fg[PRELIGHT]      = "#000000"
    fg[SELECTED]      = "#ffffff"

    bg[ACTIVE]        = "#d4d0c8"
    bg[INSENSITIVE]   = "#d4d0c8"
    bg[NORMAL]        = "#d4d0c8"
    bg[PRELIGHT]      = "#e4e0d8"
    bg[SELECTED]      = "#0a246a"

    base[ACTIVE]      = "#d4d0c8"
    base[INSENSITIVE] = "#d4d0c8"
    base[NORMAL]      = "#ffffff"
    base[PRELIGHT]    = "#0a246a"
    base[SELECTED]    = "#0a246a"

    text[ACTIVE]      = "#000000"
    text[INSENSITIVE] = "#000000"
    text[NORMAL]      = "#000000"
    text[PRELIGHT]    = "#ffffff"
    text[SELECTED]    = "#ffffff"  
 
    engine "smooth" {
        fill {
	    style=shaded
	    hdirection=vertical
	    vdirection=vertical
	    shade1=1.09
	    shade2=0.9
	}

        line {
	    style=smooth
	    thickness=2
	}

        grip {
	    style=dots_in
	    fill {
	        style=solid
	    }
	}

        check {
	    style=clean
	    motif=FALSE
	}
	
	option {
	    style=round
	    motif=FALSE
	}
	
	arrow {
           style=cleanice
	   solid=TRUE
        }

	tab_style=square
    }
} widget_class "*" style "default"

style "radio_check" {
    base[PRELIGHT]      = "#ffffff"
    base[ACTIVE]      = "#d4d0c8"
    base[INSENSITIVE]      = "#d4d0c8"

    text[PRELIGHT]	= "#000000" # Radio/Check items use text[state]
    				    # for the check colour
    text[ACTIVE]	= "#000000"
    text[NORMAL]	= "#000000"
    text[SELECTED]	= "#000000"
    text[INSENSITIVE]   = "#a4a098"
}
widget_class "*RadioButton*" style "radio_check"
widget_class "*CheckButton*" style "radio_check"


style "toolbar" {
    engine "smooth" {
        line {
	    style=thin
	    thickness=1
	}
	
	fill {
	    style=solid
	}
	
	grip {
	    style=bars
	    toolbar_overlap=TRUE
            xpadding = 1
	}
    }
}
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]      = "#0a246a"
    fg[PRELIGHT]	= "#ffffff"
    text[PRELIGHT]	= "#ffffff" # Radio/Check items use text[state]
    				    # for the check colour
    text[NORMAL]	= "#000000"
    
    engine "smooth" {
        fill {
	    style=solid
	}
	
	line {
	    style=thin
	    thickness=1
	}
	
	edge {
	    line {
	        style=none
		thickness=0
	    }
	}
	
	check {
	    style=clean
	    line {
	        style=none
		thickness=0
	    }
	    fill {
	        style=solid
	    }
	}
	
	option {
	    style=round
	    line {
	        style=none
		thickness=0
	    }
	    fill {
	        style=solid
	    }
	}
	
	arrow {
           style=cleanice
	   solid=TRUE
        }
    }
}
widget_class "*MenuItem*" style "menuitem"
class "*MenuItem*" style "menuitem"

style "scrollbar" {
    bg[ACTIVE]        = "#f0ebe2"
    engine "smooth" {
        fill {
	    style=shaded
	    hdirection=vertical
	    vdirection=horizontal
	    shade1=1.09
	    shade2=0.9
	}
	
	line {
	    style=smooth
	    thickness=2
	}
	
	trough {
	    fill {
	        style=solid
	    }
   	    line {
	        style=none
	        thickness=0
	    }
	}
	
	grip {
	    style=none
	}
	
	arrow {
           style=cleanice
	   solid=TRUE
	   xpadding=1	
	   ypadding=1
        }
    }
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"

style "hscales"  {
    GtkRange::trough_border	= 0
    GtkRange::slider-width	= 22
    GtkScale::slider-length	= 12
    
    engine "smooth" {	
        line {
	    style=smooth
	    thickness=2
	}
	
	fill {
	    style=solid
	}
	
	trough {
	    xpadding=7
	    ypadding=1
	    show_value=FALSE
	}
	
	grip {
	    style=none
	}
	
	real_sliders=FALSE
    }
}
widget_class "*HScale*" style "hscales"
class "*HScale*" style "hscales"

style "vscales"  {
    GtkRange::trough_border	= 0
    GtkRange::slider-width	= 22
    GtkScale::slider-length	= 12
    
    engine "smooth" {
        line {
	    style=smooth
	    thickness=2
	}
	
	fill {
	    style=solid
	}
	
	trough {
	    xpadding=1
	    ypadding=7
	    show_value=FALSE
	}
	
	grip {
	    style=none
	}
	
	real_sliders=FALSE
    }
}
widget_class "*VScale*" style "vscales"
class "*VScale*" style "vscales"

style "infobar" {
    bg[PRELIGHT]    = "#0a246a"
    fg[PRELIGHT]    = "#ffffff"
    engine "smooth" {
        line {
	    style=none
	    thickness=0
	}
	
	fill {
	    style=solid
	}
	
	trough {
	    fill {
	        style=solid
	    }
            line {
      	        style=thin
	        thickness=1
	    }
	}
    }
}
class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"

style "metacity-frame"
{
  xthickness = 0
  ythickness = 0
  bg[SELECTED] = "#1a347a"
  fg[SELECTED] = "#ffffff"
 
 engine "smooth"
  {	
      line {
        style=smooth
        thickness=2
      }

        fill {
	    style=gradient
	    hdirection=horizontal
	    vdirection=horizontal
            color1[SELECTED] = "#1a347a"
            color2[SELECTED] = "#a6caf0"
            color1[INSENSITIVE] = "#808080"
            color2[INSENSITIVE] = "#c0c0c0"
	}
  }
} 
class "MetaFrames" style "metacity-frame"
widget_class "MetaFrames" style "metacity-frame"
