style "default"{

#font colours
 
  fg[NORMAL] = "#3d3d3d"
  fg[PRELIGHT]  = "#224c7f"
  fg[SELECTED] = "#224c7f"

  xthickness = 1
  ythickness = 1

#  bg[NORMAL]="#efefef"
  bg_pixmap[NORMAL]="bg_lines.png"

}class "GtkWidget" style "default"

style "aqua-metal-button-style"{
  engine "pixmap" {


# check buttons

    image 
      {#uncheck
        function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "chk-btn-inactive.png"
	overlay_stretch = TRUE
      }
    image 
      {#check
        function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "chk-btn-active.png"
	overlay_stretch = TRUE
      }

# radio buttons

    image 
      {#unselected
        function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "chk-btn-inactive.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = TRUE
      }
    image 
      {#selected
        function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "opt-btn-active.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = TRUE
      }

#buttons

    image {# normal buttons
        function        = BOX
	file            = "button-normal.png"
	state		= NORMAL
	border          = {10,10,10,10}
	stretch         = TRUE
    }
    image {#inactive buttons (disabled)
        function        = BOX
	file            = "button-inactive.png"
	state		= INSENSITIVE
	border          = {10,10,10,10}
	stretch         = TRUE
    }
    image {#on hover buttons
        function        = BOX
	file            = "button-prelight.png"
	state		= PRELIGHT
	border          = {10,10,10,10}
	stretch         = TRUE
    }
    image {#pressed buttons
        function        = BOX
	file            = "button-green.png"
	state		= ACTIVE
	border          = {10,10,10,10}
	stretch         = TRUE
    }
  }
}class "GtkButton" style "aqua-metal-button-style"

style "aqua-metal-slider-style"{
  GtkRange::slider_width = 14
  GtkRange::stepper_size = 14
  engine "pixmap" {
    image {#slider bg
	function        = BOX
	file            = "button-normal.png"
	detail		= "trough"
	border          = {1,1,4,4}
	stretch         = TRUE
    }
    image {#slider arrow button normal
	function        = BOX
	file            = "button-normal.png"
	state		= NORMAL
	border          = {0,0,0,0}
	stretch         = TRUE
    }
    image {#slider arrow button inactive
	function	= BOX
	file		= "button-black-round.png"
	state		= INSENSITIVE
	border		= {0,0,0,0}
	stretch		= TRUE
    }
    image {#slider arrow button prelight
	function	= BOX
	file		= "button-prelight.png"
	state		= PRELIGHT
	border		= {0,0,0,0}
	stretch		= TRUE
    }
    image {#slider arrow button active
	function	= BOX
	file		= "button-green.png"
	state		= ACTIVE
	border		= {0,0,0,0}
	stretch		= TRUE
    }
    image {#slider vertical bar normal
	function        = SLIDER
	file            = "button-blue-round-vert.png"
	border          = {8,8,8,8}
	state		= NORMAL
	stretch         = TRUE
	orientation	= VERTICAL
    }

    image {#slider vertical bar prelight
	function        = SLIDER
	file            = "button-purple-trans-vert.png"
	state		= PRELIGHT
	border          = {8,8,8,8}
	stretch         = TRUE
	orientation	= VERTICAL
    }
    image {#slider horizontal bar normal
	function        = SLIDER
	file            = "button-blue-round.png"
	border          = {8,8,8,8}
	state		= NORMAL
	stretch         = TRUE
	orientation	= HORIZONTAL

    }
    image {#slider horizontal bar prelight
	function        = SLIDER
	file            = "button-purple-trans.png"
	state		= PRELIGHT
	border          = {8,8,8,8}
	stretch         = TRUE
	orientation	= HORIZONTAL
    }
    image {#slider vertical bar normal
	function        = SLIDER
	file            = "button-black-round.png"
	border          = {8,8,8,8}
	state		= INSENSITIVE
	stretch         = TRUE

    }

  }
}class "GtkRange" style "aqua-metal-slider-style"

style "aqua-metal-tab-style"{
  engine "pixmap" {
    image {#the tab on top not selected
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-empty.png"
        border          = {4,3,3,4}
        stretch         = TRUE
        gap_side        = BOTTOM
    }
    image {#the tab at bottom not selected
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-empty-bottom.png"
        border          = {4,3,3,4}
        stretch         = TRUE
        gap_side        = TOP
    }
    image {#the tab on right not selected
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-empty-right.png"
        border          = {4,3,3,4}
        stretch         = TRUE
        gap_side        = RIGHT
    }
    image {#the tab on left not selected
        function        = EXTENSION
        state           = ACTIVE
        file            = "tab-empty-left.png"
        border          = {4,3,3,4}
        stretch         = TRUE
        gap_side        = LEFT
    }
    image {#the tab on top selected
        function        = EXTENSION
        file            = "tab-green.png"
        border          = {4,3,3,4}
        stretch         = TRUE
        gap_side        = BOTTOM
    }
    image {#the tab at bottom selected
        function        = EXTENSION
        file            = "tab-green-bottom.png"
        border          = {2,1,1,2}
        stretch         = TRUE
        gap_side        = TOP
    }
    image {#the tab on left selected
        function        = EXTENSION
        file            = "tab-green-right.png"
        border          = {3,3,3,3}
        stretch         = TRUE
        gap_side        = RIGHT
    }
    image {#the tab on right selected
        function        = EXTENSION
        file            = "tab-green-left.png"
        border          = {3,3,3,3}
        stretch         = TRUE
        gap_side        = LEFT
    }
    image {#i don't know what this is for but it
    	   #was in smokey-blue theme so leaving it here.FIXME
        function        = BOX
        file            = "button-green.png"
        border          = {4,3,3,4}
        stretch         = TRUE
        gap_side        = TOP
    }
  }
}class "GtkNotebook" style "aqua-metal-tab-style"

style "aqua-metal-menu-style"{
  engine "pixmap" {
    image {#menu on hover
        function        = BOX
	file            = "button-prelight.png"
	border          = {8,8,8,8}
	stretch         = TRUE
    }
  }
}class "GtkMenuItem" style "aqua-metal-menu-style"

style "aqua-metal-tooltip"{
 bg_pixmap[NORMAL]      = "<none>"
 bg_pixmap[PRELIGHT]    = "<none>"
 bg_pixmap[ACTIVE]      = "<none>"
 bg_pixmap[INSENSITIVE] = "<none>"
}widget "gtk-tooltips" style "aqua-metal-tooltip"
