# Glacier GTK+ 2.0 theme (Requires ThinIce & 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)
#
# TODO:
# * SVG(?)
# * more stock icons
# * make a proper engine that Does Things Right!(tm)
#

include "iconrc"

style "glacier-default" {
        
      GtkScrollbar::has_backward_stepper = 0
      GtkScrollbar::has_secondary_backward_stepper = 1
      GtkScrollbar::min_slider_length = 14

      fg[NORMAL]        = "#000000"
      fg[ACTIVE]        = "#000000"
      fg[INSENSITIVE]   = "#777777"
      fg[PRELIGHT]      = "#000000"
      fg[SELECTED]      = "#f2f2f2"
        
      bg[ACTIVE]        = "#BBBBB6"
      bg[NORMAL]        = "#E2E2E2"
      bg[INSENSITIVE]   = "#f2f2f2"
      bg[PRELIGHT]      = "#EDEDED"
      bg[SELECTED]      = "#484848"

      base[NORMAL]      = "#f2f2f2"
      base[ACTIVE]      = "#BBBBB6"
      base[INSENSITIVE] = "#BBBBB6"
      base[PRELIGHT]    = "#000000"
      base[SELECTED]    = "#000000"
        
      text[NORMAL]      = "#000000"
      text[ACTIVE]      = "#000000"
      text[PRELIGHT]    = "#000000"
      text[SELECTED]    = "#f2f2f2"
      text[INSENSITIVE] = "#777777"

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

      engine "thinice" {
             rect_scrollbar = TRUE
             mark_type1     = DOT
             mark_type2     = ARROW
             paned_dots     = FULL
      }        
}

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"

# This looks ugly, but atleast it matches the GtkRadioButton/GtkCheckButton
class "GtkRadioMenuItem" style "glacier-button"
class "GtkCheckMenuItem" style "glacier-button"

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