# Theme Name  : Smooth-Winter
# Author      : sub_pop_culture ala Link Dupont (link@subpop.net)
# Description :
#
# A Smooth Wintery theme, based on the Smooth Sea-Ice theme, 
# and the Winter Wonderland colours

include "iconrc"

style "default" {
    GtkWidget::interior_focus = 0
	GtkWidget::focus-line-pattern = ""
	GtkWidget::focus_padding = 0

    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           = 2
    GtkRange::slider_width            = 13
    GtkRange::stepper_size            = 13
    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 = 1
  
    fg[ACTIVE]        = "#000000"
    fg[INSENSITIVE]   = "#747474"
    fg[NORMAL]        = "#000000"
    fg[PRELIGHT]      = "#ffffff"
    fg[SELECTED]      = "#ffffff"

    bg[ACTIVE]        = "#c1c1cc"
    bg[INSENSITIVE]   = "#dbdbe5"
    bg[NORMAL]        = "#e3e3ee"
    bg[PRELIGHT]      = "#4585c7"
    bg[SELECTED]      = "#4585c7"

    base[ACTIVE]      = "#96a7eb"
    base[INSENSITIVE] = "#dbdbe5"
    base[NORMAL]      = "#ffffff"
    base[PRELIGHT]    = "#e2deeb"
    base[SELECTED]    = "#8092dc"

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

        line {
	    style=smooth
	    thickness=1
	}
	
	focus {
		foreground[ACTIVE] = "#4585c7"
		foreground[SELECTED] = "#4585c7"
		foreground[NORMAL] = "#4585c7"
		foreground[PRELIGHT] = "#4585c7"
	}

        grip {
	    style=bars
	    fill {
	        style=solid
	    }
	}

        check {
	    style=clean
	    motif=true
	    fill {
	        style=shaded
		hdirection=fdiagonal
		vdirection=fdiagonal
		shade1=1.09
		shade2=0.9
	    }
	}
	
	option {
	    style=round
	    motif=true
	    fill {
	        style=shaded
		hdirection=fdiagonal
		vdirection=fdiagonal
		shade1=1.09
		shade2=0.9
	    }
	}
	
	arrow {
           style=cleanice
	   solid=TRUE
        }

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

style "toolbar" {
    engine "smooth" {
        line {
	    style=smooth
	    thickness=1
	}
	
	fill {
	    style=solid
	}
	
	grip {
	    style=bars
	    toolbar_overlap=TRUE
	}
    }
}
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" {
    text[PRELIGHT]	= "#8092dc" # Radio/Check items use text[state]
    				    # for the check colour
    text[NORMAL]	= "#000000"
    
    engine "smooth" {
        fill {
	    style=shaded
	    hdirection=vertical
	    vdirection=vertical
	    shade1=1.09
	    shade2=0.9
	}
	
	line {
	    style=thin
	    thickness=1
	}
	
	edge {
	    line {
	        style=smooth
		thickness=1
	    }
	}
	
	check {
	    style=clean
	    line {
	        style=flat
		thickness=1
	    }
	    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 "radio_check" {
    text[PRELIGHT]	= "#8092dc" # Radio/Check items use text[state]
    				    # for the check colour
    text[ACTIVE]	= "#afafaf"
    text[NORMAL]	= "#000000"
    text[SELECTED]	= "#afafaf"
}
widget_class "*RadioButton*" style "radio_check"
widget_class "*CheckButton*" style "radio_check"

style "scrollbar" {
    engine "smooth" {
        fill {
	    style=shaded
	    hdirection=vertical
	    vdirection=horizontal
	    shade1=1.09
	    shade2=0.9
	}
	
	line {
	    style=smooth
	    thickness=0
	}
	
	trough {
	    fill {
	        style=solid
	    }
	}
	
	grip {
	    style=midlines
	    count=3
	    spacing=1
	}
	
	arrow {
           style=cleanice
	   solid=TRUE
        }
    }
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"

style "hscales"  {
    bg[SELECTED]		= "#8092dc" #scroll bar background
    GtkRange::trough_border	= 0
    GtkRange::slider-width	= 22
    GtkScale::slider-length	= 12
    
    engine "smooth" {	
        line {
	    style=smooth
	    thickness=2
	}
	
	fill {
	    style=shaded
	    hdirection=vertical
	    vdirection=horizontal
	    shade1=1.09
	    shade2=0.9
	}
	
	trough {
	    xpadding=7
	    ypadding=1
	    show_value=TRUE
	}
	
	grip {
	    style=dots_in
	    count=1
	    spacing=2
	}
	
	real_sliders=FALSE
    }
}
widget_class "*HScale*" style "hscales"
class "*HScale*" style "hscales"

style "vscales"  {
    bg[SELECTED]		= "#8092dc" #scroll bar background
    GtkRange::trough_border	= 0
    GtkRange::slider-width	= 22
    GtkScale::slider-length	= 12
    
    engine "smooth" {
        line {
	    style=smooth
	    thickness=2
	}
	
	fill {
	    style=shaded
	    hdirection=vertical
	    vdirection=horizontal
	    shade1=1.09
	    shade2=0.9
	}
	
	trough {
	    xpadding=1
	    ypadding=7
	    show_value=TRUE
	}
	
	grip {
	    style=dots_in
	    count=1
	    spacing=2
	}
	
	real_sliders=FALSE
    }
}
widget_class "*VScale*" style "vscales"
class "*VScale*" style "vscales"

style "infobar" {
    xthickness=2
    ythickness=2
    
    engine "smooth" {
        line {
	    style=smooth
	    thickness=2
	}
	
	fill {
	    style=shaded
	    hdirection=vertical
	    vdirection=horizontal
	    shade1=1.195
	    shade2=0.73
	}
	
	trough {
	    fill {
	        style=solid
	    }
	}
    }
}
class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"
