# Theme Name  : Nuvola
# Author(s)   : ajgenius ala Andrew Johnson (ajgenius@ajgenius.us) 
#               sub_pop_culture ala Link Dupont (link@subpop.net)
# Description :
#
# A smooth blue theme modified from the Smooth-Winter theme, 
# to match the Nuvola icon set

include "iconrc"
gtk-icon-sizes = "panel-menu=32,32"

style "default" {
    GtkWidget::interior_focus         = 5
    GtkButton::default_border         = {5, 5, 5, 5}
    GtkButton::default_outside_border = {5, 5, 5, 5}

    GtkCheckButton::indicator_size    = 13
    GtkRadioButton::indicator_size    = 12

    GtkPaned::handle_size  = 10

    GtkRange::trough_border           = 2
    GtkRange::slider_width            = 15
    GtkRange::stepper_size            = 15
    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 = 0
  
    fg[ACTIVE]        = "#000000"
    fg[INSENSITIVE]   = "#949494"
    fg[NORMAL]        = "#000000"
    fg[PRELIGHT]      = "#ffffff"
    fg[SELECTED]      = "#ffffff"

    bg[ACTIVE]        = "#c6c6d2"
    bg[INSENSITIVE]   = "#e1e1ea"
    bg[NORMAL]        = "#e9e9f4"
    bg[PRELIGHT]      = "#5B98D4"
    bg[SELECTED]      = "#5B98D4"

    base[ACTIVE]      = "#6Ba8e4"
    base[INSENSITIVE] = "#dbdbe5"
    base[NORMAL]      = "#ffffff"
    base[PRELIGHT]    = "#e2deeb"
    base[SELECTED]    = "#5B98D4"

    text[ACTIVE]      = "#ffffff"
    text[INSENSITIVE] = "#949494"
    text[NORMAL]      = "#000000"
    text[PRELIGHT]    = "#000000"
    text[SELECTED]    = "#ffffff"  
 
    engine "smooth" {
        fill {
             style=gradient
             hdirection=vertical
             vdirection=vertical
             color1[NORMAL]="#F8F8FB"
             color2[NORMAL]="#CDCDDF"
             color1[PRELIGHT]="#EAF5FF"
             color2[PRELIGHT]="#166FD5"
             color1[SELECTED]="#EAF5FF"
             color2[SELECTED]="#166FD5"
             color1[INSENSITIVE]="#EEEEF3"
             color2[INSENSITIVE]="#C5C5D0"
	}

        line {
             style=smooth
             thickness=1
	}

        grip {
             style=dots_out
	     count=3
	     spacing=2
             fill {
                 style=solid
             }
	}

        check {
	    style=clean
	    motif=false
	}
	
	option {
	    style=round
	    motif=false
	}
	
	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=dots_out
	    count=3
	    spacing=2
	    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]	= "#FFFFFF" # Radio/Check items use text[state]
    				    # for the check colour
    text[NORMAL]	= "#000000"
    
    engine "smooth" {
        fill {
             style=gradient
             hdirection=vertical
             vdirection=vertical
             color1[NORMAL]="#F8F8FB"
             color2[NORMAL]="#CDCDDF"
             color1[PRELIGHT]="#EAF5FF"
             color2[PRELIGHT]="#166FD5"
             color1[SELECTED]="#EAF5FF"
             color2[SELECTED]="#166FD5"
             color1[INSENSITIVE]="#EEEEF3"
             color2[INSENSITIVE]="#C5C5D0"
	}
	
	line {
	    style=smooth
	    thickness=1
	}
	
	check {
	    style=clean
	    line {
	        style=none
		thickness=0
	    }
	    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" {
    base[PRELIGHT]	= "#FFFFFF"

    text[PRELIGHT]	= "#5B98D4" # Radio/Check items use text[state]
    				    # for the check colour
    text[ACTIVE]	= "#FFFFFF"
    text[NORMAL]	= "#000000"
    text[SELECTED]	= "#afafaf"
}
widget_class "*RadioButton*" style "radio_check"
widget_class "*CheckButton*" style "radio_check"

style "scrollbar" {
    engine "smooth" {
        fill {
             style=gradient
             hdirection=vertical
             vdirection=horizontal
             color1[NORMAL]="#F8F8FB"
             color2[NORMAL]="#CDCDDF"
             color1[PRELIGHT]="#EAF5FF"
             color2[PRELIGHT]="#166FD5"
             color1[SELECTED]="#EAF5FF"
             color2[SELECTED]="#166FD5"
             color1[INSENSITIVE]="#EEEEF3"
             color2[INSENSITIVE]="#C5C5D0"
	}
	
	line {
	    style=smooth
	    thickness=0
	}
	
	trough {
	    fill {
	        style=solid
	    }
	}
	
	grip {
	    style=none
	}
	
	arrow {
           style=cleanice
	   solid=TRUE
	   xpadding=1
	   ypadding=1
        }
    }
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"

style "hscales"  {
    bg[SELECTED]		= "#5B98D4" #scroll bar background
    GtkRange::trough_border	= 0
    GtkRange::slider-width	= 22
    GtkScale::slider-length	= 13
    
    engine "smooth" {	
        fill {
             style=gradient
             hdirection=vertical
             vdirection=horizontal
             color1[NORMAL]="#F8F8FB"
             color2[NORMAL]="#CDCDDF"
             color1[PRELIGHT]="#EAF5FF"
             color2[PRELIGHT]="#166FD5"
             color1[SELECTED]="#EAF5FF"
             color2[SELECTED]="#166FD5"
             color1[INSENSITIVE]="#EEEEF3"
             color2[INSENSITIVE]="#C5C5D0"
	}

        line {
	    style=smooth
	    thickness=2
	}
	
	trough {
	    xpadding=7
	    ypadding=1
	    show_value=TRUE
   	    fill {
	      style=solid
            }
	}
	
	grip {
	    style=none
	}
	
	real_sliders=FALSE
    }
}
widget_class "*HScale*" style "hscales"
class "*HScale*" style "hscales"

style "vscales"  {
    bg[SELECTED]		= "#5B98D4" #scroll bar background
    GtkRange::trough_border	= 0
    GtkRange::slider-width	= 22
    GtkScale::slider-length	= 13
    
    engine "smooth" {
        fill {
             style=gradient
             hdirection=vertical
             vdirection=horizontal
             color1[NORMAL]="#F8F8FB"
             color2[NORMAL]="#CDCDDF"
             color1[PRELIGHT]="#EAF5FF"
             color2[PRELIGHT]="#166FD5"
             color1[SELECTED]="#EAF5FF"
             color2[SELECTED]="#166FD5"
             color1[INSENSITIVE]="#EEEEF3"
             color2[INSENSITIVE]="#C5C5D0"
	}

        line {
	    style=smooth
	    thickness=2
	}

	trough {
	    xpadding=1
	    ypadding=7
	    show_value=TRUE
   	    fill {
	      style=solid
            }
	}
	
	grip {
	    style=none
	}
	
	real_sliders=FALSE
    }
}
widget_class "*VScale*" style "vscales"
class "*VScale*" style "vscales"

style "infobar" {
    xthickness=2
    ythickness=2
    
    engine "smooth" {
        fill {
             style=gradient
             hdirection=vertical
             vdirection=horizontal
             color1[NORMAL]="#F8F8FB"
             color2[NORMAL]="#CDCDDF"
             color1[PRELIGHT]="#EAF5FF"
             color2[PRELIGHT]="#166FD5"
             color1[SELECTED]="#EAF5FF"
             color2[SELECTED]="#166FD5"
             color1[INSENSITIVE]="#EEEEF3"
             color2[INSENSITIVE]="#C5C5D0"
	}

        line {
	    style=smooth
	    thickness=2
	}
	
	trough {
	    fill {
	        style=solid
	    }
	}
    }
}
class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"

style "metacity-frame"
{
   bg[SELECTED] = "#99CCFF"
   engine "smooth" {
        fill {
             style=gradient
             hdirection=vertical
             vdirection=horizontal
             color1[NORMAL]="#F8F8FB"
             color2[NORMAL]="#CDCDDF"
             color1[PRELIGHT]="#EAF5FF"
             color2[PRELIGHT]="#166FD5"
             color1[SELECTED]="#EAF5FF"
             color2[SELECTED]="#166FD5"
             color1[INSENSITIVE]="#EEEEF3"
             color2[INSENSITIVE]="#C5C5D0"
	}

        line {
	    style=smooth
	    thickness=2
	}

    }
}
class "MetaFrames" style "metacity-frame"
widget_class "MetaFrames" style "metacity-frame"
