# Glacier GTK+ 2.0 theme (Requires CleanIce & Pixmap engines)
# by R.V.Vindenes <s864@ii.uib.no>
#
# Inspiration came from IceCube & Fishing_The_Sky themes and MacOS X
# I tried to keep it calm, simple and unintrusive.
#
# Jun 26, 2003 - Tweaked the colors (looks better on my new lcd)
#
# Jul 11, 2003 - Minor adjustments (improved menus and tooltips)
#
# Aug 04, 2003 - Included some shamelessly ripped icons (from Panther theme)
#
# Aug 15, 2003 - Minor adjustments (assign more icons and scrollbar steppers)
#
# Aug 29, 2003 - Changed engine to CleanIce & more 2 icons
#
# Aug 30, 2003 - Reworked for CleanIce 1.2.7 & tweaked colors again
#
# TODO:
# * more stock icons
# * make a proper engine to replace the use of bg_pixmap and other crack
#

include "iconrc"

style "glacier-default" {

      fg[NORMAL]        = "#000000"
      fg[ACTIVE]        = "#484848"
      fg[INSENSITIVE]   = "#B0B0B0" 
      fg[PRELIGHT]      = "#000000"
      fg[SELECTED]      = "#f2f2f2"

      bg[NORMAL]        = "#E5E5E5"
      bg[ACTIVE]        = "#BDBDBD"
      bg[INSENSITIVE]   = "#BDBDBD"
      bg[PRELIGHT]      = "#EDEDED"
      bg[SELECTED]      = "#484848"

      base[NORMAL]      = "#f2f2f2"
      base[ACTIVE]      = "#BDBDBD"
      base[INSENSITIVE] = "#BDBDBD"
      base[PRELIGHT]    = "#000000"
      base[SELECTED]    = "#484848"
        
      text[NORMAL]      = "#000000"
      text[ACTIVE]      = "#000000"
      text[INSENSITIVE] = "#484848"
      text[PRELIGHT]    = "#000000"
      text[SELECTED]    = "#f2f2f2"

      bg_pixmap[NORMAL]      = "bgpixmap_normal.png"
      bg_pixmap[ACTIVE]      = "bgpixmap_prelight.png"
      bg_pixmap[INSENSITIVE] = "bgpixmap_normal.png"
      bg_pixmap[PRELIGHT]    = "bgpixmap_prelight.png"

      engine "cleanice" {
      }        
}

style "glacier-progress" {
	bg_pixmap[PRELIGHT] = "<none>"
	bg[PRELIGHT] = "#484848"
}

style "glacier-button" {

        engine "pixmap" {
   
                image {
                        function        = CHECK
                        recolorable     = TRUE
                        shadow          = OUT
                        overlay_file    = "check_out.png"
                        overlay_stretch = FALSE
                }
                image {
                        function        = CHECK
                        recolorable     = TRUE
                        shadow          = IN
                        overlay_file    = "check_in.png"
                        overlay_stretch = FALSE
                }
                image {
                        function        = OPTION
                        recolorable     = TRUE
                        shadow          = OUT
                        overlay_file    = "option_out.png"
                        overlay_border  = { 0, 0, 0, 0 }
                        overlay_stretch = FALSE
                }
                image {
                        function        = OPTION
                        recolorable     = TRUE
                        shadow          = IN
                        overlay_file    = "option_in.png"
                        overlay_border  = { 0, 0, 0, 0 }
                        overlay_stretch = FALSE
                }
                image {
                        function        = BOX
                        file            = "button_normal.png"
                        state		= NORMAL
                        border          = {10,5,5,10}
                        stretch         = TRUE
                }
                image {
                        function        = BOX
                        file            = "button_normal.png"
                        state		= INSENSITIVE
                        border          = {10,5,5,10}
                        stretch         = TRUE
                }
                image {
                        function        = BOX
                        file            = "button_prelight.png"
                        state		= PRELIGHT
                        border          = {10,5,5,10}
                        stretch         = TRUE
                }
                image {
                        function        = BOX
                        file            = "button_active.png"
                        state		= ACTIVE
                        border          = {10,5,5,10}
                        stretch         = TRUE
                }
        }
}

style "glacier-tips" {
      bg[NORMAL]          = "#FFFFFF"
      bg_pixmap[NORMAL]   = "<none>"
      bg_pixmap[PRELIGHT] = "<none>"
      bg_pixmap[ACTIVE]   = "<none>"
      xthickness          = 4
      ythickness          = 4
}

class "GtkWidget" style "glacier-default"
class "GtkButton" style "glacier-button"
class "GtkProgressBar" style "glacier-progress"

widget "gtk-tooltips" style "glacier-tips"
