#Please write me if you find bugs.
#I've tested with standard apps from Mandrake 7.0.
# Atti <trial@ugyvitelszolgaltato.hu>

style "default" {
  font = "snap"
  fg[NORMAL]      = { 0.85, 0.85, 0.85 }
  fg[PRELIGHT]    = { 0.6, 0.6, 0.6 }
  fg[ACTIVE]      = { 0.80, 0.80, 0.80 }
  fg[SELECTED]    = { 0.80, 0.80, 0.80 }
  fg[INSENSITIVE] = { 0.80, 0.80, 0.80 }
  bg[NORMAL]      = { 0.3, 0.3, 0.3 }
  bg[PRELIGHT]    = { 0.3, 0.3, 0.3 }
  bg[ACTIVE]      = { 0.3, 0.3, 0.3 }
  bg[SELECTED]    = { 0.5, 0.5, 0.5 }
  bg[INSENSITIVE] = { 0.3, 0.3, 0.3 }
  base[NORMAL]      = { 0.3, 0.3, 0.3 }
  base[PRELIGHT]    = { 0.3, 0.3, 0.3 }
  base[ACTIVE]      = { 0.3, 0.3, 0.3 }
  base[SELECTED]    = { 0.3, 0.3, 0.3 }
  base[INSENSITIVE] = { 0.3, 0.3, 0.3 }
  engine "pixmap" {
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "button"
	state           = NORMAL
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "button"
	state           = PRELIGHT
	shadow          = OUT
	file            = "butt_bg_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "button"
	state           = INSENSITIVE
	file            = "butt_bg_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "button"
	state           = SELECTED
	file            = "butt_bg_click.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "button"
	state           = ACTIVE
	file            = "butt_bg_click.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "buttondefault"
	state           = NORMAL
	shadow          = IN
	file            = "menubar_bg.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "togglebutton"
	shadow          = IN
	file            = "butt_bg_click.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "togglebutton"
	shadow          = OUT
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    } 
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "menubar"
	file            = "menubar_bg.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "menu"
	file            = "butt_bg_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "menuitem"
	file            = "butt_bg_active_light.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = PRELIGHT
	file            = "bar.png"
	border          = { 13, 12, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = NORMAL
	file            = "bar.png"
	border          = { 13, 12, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = PRELIGHT
	file            = "bar_vert.png"
	border          = { 2, 2, 13, 12 }
	stretch         = TRUE
	orientation     = VERTICAL
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	file            = "bar_vert.png"
	border          = { 2, 2, 13, 12 }
	stretch         = TRUE
	orientation     = VERTICAL
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "trough"
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "bar"
	file            = "bar.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "vruler"
	file            = "bar_vert.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "hruler"
	file            = "bar.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	detail          = "optionmenu"
	file            = "butt_bg_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "optionmenu"
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "handlebox_bin"
	file            = "bar.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "paned"
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "tooltip"
	file            = "bar.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "radiobutton"
	file            = "butt_bg_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "checkbutton"
	file            = "butt_bg_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	detail          = "selected"
	file            = "butt_bg_click.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "selected"
	file            = "butt_bg_active.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	detail          = "text"
	file            = "butt_bg_click.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "text"
	file            = "butt_bg_active.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	detail          = "listitem"
	file            = "butt_bg_click.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "listitem"
	file            = "butt_bg_active.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	detail          = "treeitem"
	file            = "butt_bg_click.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "treeitem"
	file            = "butt_bg_active.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "window"
	file            = "win_bg.png"
	stretch         = FALSE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "base"
	file            = "win_bg.png"
	stretch         = FALSE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "viewportbin"
	file            = "win_bg.png"
	stretch         = FALSE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "curve_bg"
	file            = "butt_bg_norm.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "button_up.png"
	stretch         = TRUE
	arrow_direction = UP
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "button_up.png"
	stretch         = TRUE
	arrow_direction = UP
    }
    image {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "button_up.png"
	stretch         = TRUE
	arrow_direction = UP
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "button_down.png"
	stretch         = TRUE
	arrow_direction = DOWN
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "button_down.png"
	stretch         = TRUE
	arrow_direction = DOWN
    }
    image {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "button_down.png"
	stretch         = TRUE
	arrow_direction = DOWN
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "button_left.png"
	stretch         = TRUE
	arrow_direction = LEFT
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "button_left.png"
	stretch         = TRUE
	arrow_direction = LEFT
    }
    image {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "button_left.png"
	stretch         = TRUE
	arrow_direction = LEFT
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "button_right.png"
	stretch         = TRUE
	arrow_direction = RIGHT
    }
    image {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "button_right.png"
	stretch         = TRUE
	arrow_direction = RIGHT
    }
    image {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "button_right.png"
	stretch         = TRUE
	arrow_direction = RIGHT
    }
    image {
        function        = HLINE
	recolorable     = TRUE
	file            = "bar.png"
	border          = { 0, 0, 1, 1 }
	stretch         = TRUE
    }
    image {
        function        = VLINE
	recolorable     = TRUE
	file            = "bar_vert.png"
	border          = { 1, 1, 0, 0 }
	stretch         = TRUE
    }
    image {
        function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "opt_out.png"
	overlay_stretch = FALSE
    }
    image {
        function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "opt_in.png"
	overlay_stretch = FALSE
    }
    image {
        function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "opt_out.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
    }
    image {
        function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "opt_in.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
    }
    image {
        function        = TAB
	recolorable     = TRUE
	overlay_file    = "handle.png"
	overlay_stretch = FALSE
    }
    image {
        function        = SLIDER
	recolorable     = TRUE
	file            = "bar.png"
	border          = { 13, 12, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
    }
    image {
        function        = SLIDER
	recolorable     = TRUE
	file            = "bar_vert.png"
	border          = { 2, 2, 13, 12 }
	stretch         = TRUE
	orientation     = VERTICAL
    }
    image {
        function        = HANDLE
	recolorable     = TRUE
	file            = "butt_bg_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	overlay_file    = "handle.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
	orientation     = VERTICAL
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
        detail          = "entry_bg"
	file            = "entry_bg.png"
	stretch         = TRUE
    }
    image {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "entry_bg"
	file            = "entry_bg.png"
	stretch         = TRUE
    }
    image {
        function        = EXTENSION
	recolorable     = TRUE
	state           = ACTIVE
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_side        = BOTTOM
    }
    image {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_side        = TOP
    }
    image {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_side        = RIGHT
    }
    image {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_side        = LEFT
    }
    image {
        function        = SHADOW
	recolorable     = TRUE
	shadow          = IN
	file            = "shadow_in.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = SHADOW
	recolorable     = TRUE
	shadow          = OUT
	file            = "shadow_out.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = SHADOW
	recolorable     = TRUE
	shadow          = ETCHED_IN
	file            = "shadow_in.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = SHADOW
	recolorable     = TRUE
	shadow          = ETCHED_OUT
	file            = "shadow_out.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
    }
    image {
        function        = SHADOW_GAP
	recolorable     = TRUE
	file            = "frame.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_start_file  = "line_hor.png"
	gap_start_border= { 0, 0, 1, 1 }
	gap_end_file    = "line_hor.png"
	gap_end_border  = { 0, 0, 1, 1 }
	gap_side        = TOP
    }
    image {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "entry_bg.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_file        = "line_hor.png"
        gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "line_hor.png"
	gap_start_border= { 2, 0, 0, 0 }
	gap_end_file    = "line_hor.png"
	gap_end_border  = { 0, 2, 0, 0 }
	gap_side        = TOP
    }
    image {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "entry_bg.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_file        = "line_hor.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "line_hor.png"
	gap_start_border= { 2, 0, 0, 0 }
	gap_end_file    = "line_hor.png"
	gap_end_border  = { 0, 2, 0, 0 }
	gap_side        = BOTTOM
    }
    image {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "entry_bg.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_file        = "line_vert.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "line_vert.png"
	gap_start_border= { 0, 0, 2, 0 }
	gap_end_file    = "line_vert.png"
	gap_end_border  = { 0, 0, 0, 2 }
	gap_side        = LEFT
    }
    image {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "entry_bg.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_file        = "line_vert.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "line_vert.png"
	gap_start_border= { 0, 0, 2, 0 }
	gap_end_file    = "line_vert.png"
	gap_end_border  = { 0, 0, 0, 2 }
	gap_side        = RIGHT
    }
    image {
        function        = BOX
	recolorable     = TRUE
	detail          = "notebook"
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	gap_side        = TOP
    }
    image {
        function        = BOX
	recolorable     = TRUE
	shadow          = IN
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
    image {
        function        = BOX
	recolorable     = TRUE
	file            = "butt_bg_norm.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
    }
  }
}

style "withfocus" {
  engine "pixmap" {
    image {
        function        = FOCUS
	recolorable     = TRUE
	overlay_file    = "shadow_out.png"
	overlay_border  = { 1, 1, 1, 1 }
	overlay_stretch = TRUE
    }
  }
}

class "GtkWidget" style "default"
class "*GtkText"  style "withfocus"