style "ngi-dialog-defaults"
{
	font_name = "DejaVu Sans 9"

  	fg[NORMAL]        = "#000000"
  	fg[PRELIGHT]      = "#000000"
#  	fg[ACTIVE]        = "#ffffff"
  	fg[SELECTED]      = "#000000"
#  	fg[INSENSITIVE]   = "#b5b3ac"

	bg[NORMAL]        = "#c9c3b4"
  	bg[PRELIGHT]      = "#c9c3b4"
#  	bg[ACTIVE]        = "#c9c3b4"
  	bg[SELECTED]	  = "#c9c3b4"
#  	bg[INSENSITIVE]   = "#efebe5"

  	base[NORMAL]      = "#ffffff"
#  	base[PRELIGHT]    = "#849084"
#  	base[ACTIVE]      = "#a69f91"
#  	base[SELECTED]    = "#6b746b"
#  	base[INSENSITIVE] = "#e8e5de"

  	text[NORMAL]      = "#000000"
#  	text[PRELIGHT]    = "#000000"
#  	text[ACTIVE]      = "#ffffff"
#  	text[SELECTED]    = "#ffffff"
#  	text[INSENSITIVE] = "#b5b3ac"
	
	xthickness = 0
	ythickness = 0

    	GtkWidget::interior_focus = 1
	GtkWidget::focus_line_pattern = ""
	GtkWidget::focus_padding = 0
	GtkWidget::focus_line_width = 2

	NgiDialog::button_spacing      = 2
    	NgiDialog::action_area_border  = 2
	NgiDialog::background_border   = 5

	GtkComboBox::appears_as_list = 1
	GtkComboBox::arrow_size      = 10

	GtkButton::child_displacement_x   = 1
	GtkButton::child_displacement_y   = 1
	GtkButton::default_border         = {0,0,0,0}
	GtkButton::inner_border           = {0,0,0,0}
	GtkButton::default_outside_border = {0,0,0,0}
	
	engine "industrial"
	{
		rounded_buttons = TRUE
	}
	
	GtkCheckButton::indicator_size = 10
	GtkRadioButton::indicator_size = 10

	GtkRange::trough_border = 1
	GtkRange::slider_width = 10
	GtkRange::stepper_size = 10
	GtkRange::stepper_spacing = 0

    	GtkScrollbar::has_forward_stepper = 1
    	GtkScrollbar::has_backward_stepper = 1
    	GtkScrollbar::has_secondary_forward_stepper = 0
    	GtkScrollbar::has_secondary_backward_stepper = 0
	
	GtkTreeView::indent_expanders = 0
	GtkTreeView::vertical_separator = 0
}

class "NgiDialog" style "ngi-dialog-defaults"

#####################################################################
#    Most widgets should use the gradient pixmap as a background    #
#####################################################################

style "ngi-dialog-wallpaper" = "ngi-dialog-defaults"
{	
#	bg_pixmap[NORMAL] = "images/ngi_dialog_wallpaper.png"
	bg_pixmap[NORMAL] = "<none>"

        # General background color
   	bg[NORMAL]   = "#a0d0d0"
	bg[PRELIGHT] = "#a0d0d0"
}
widget "*ngi-dialog-body*" style "ngi-dialog-wallpaper"

style "ngi-dialog-border"
{	
	bg_pixmap[NORMAL] = "<none>"
	bg[NORMAL]  = "#535353"
}

widget "ngi-dialog-background-border" style "ngi-dialog-border"


###############################################################
#    Action area of the dialogs contains title and buttons    #
###############################################################

style "ngi-dialog-action-area" = "ngi-dialog-default"
{		
	bg_pixmap[NORMAL] = "<none>"
	GtkButtonBox::child_internal_pad_x = 4
    	GtkButtonBox::child_internal_pad_y = 2
    	GtkButtonBox::child_min_width      = 0	
    	GtkButtonBox::child_min_height     = 0
}

widget "*ngi-dialog-action-area*" style "ngi-dialog-action-area"



style "ngi-dialog-notebook" = "ngi-dialog-defaults"
{	
#	bg[ACTIVE] = "#a4a4ba"
	bg_pixmap[ACTIVE] = "<parent>"
	
	GtkNotebook::tab_curvature = 10
	GtkNotebook::tab_overlap   = 10
}

widget "*NgiDialog.*GtkNotebook*" style "ngi-dialog-notebook"

style "ngi-dialog-notebook-control" = "ngi-dialog-defaults"
{	
	font_name = "DejaVu Sans Bold 9"
	fg[ACTIVE]   = "#000000"
	fg[NORMAL]   = "#000000"
}

widget "*ngi-dialog-notebook-control*" style "ngi-dialog-notebook-control"

style "ngi-dialog-small-popup" = "ngi-dialog-defaults"
{
	fg[SELECTED] = "#000000"
	GtkTreeView::vertical-separator   = 0
	GtkTreeView::horizontal-separator = 0
}
class "GtkTreeView" style "ngi-dialog-small-popup"

style "ngi-dialog-small-combo"
{
	font_name = "DejaVu Sans 9"
}
widget "*ngi-dialog-small-combo*" style "ngi-dialog-small-combo"



style "ngi-dialog-plot-detail"
{	
	font_name = "DejaVu Sans 11"
}
widget "*ngi-dialog-plot-detail*" style "ngi-dialog-plot-detail"

style "ngi-dialog-plot-detail-frame"
{	
	bg[NORMAL] = "#a0d0d0"
}
widget "*ngi-dialog-plot-detail-frame*" style "ngi-dialog-plot-detail-frame"



style "ngi-dialog-coeff-entry" = "ngi-dialog-defaults"
{	
  	base[INSENSITIVE] = "#a0d0d0"
	text[INSENSITIVE] = "#000000"
}
widget "*ngi-dialog-coeff-entry*" style "ngi-dialog-coeff-entry"

style "ngi-dialog-internal-button"
{	
#	bg[PRELIGHT]      = "#8eb9bf"
	bg[NORMAL]        = "#c4d4da"
	bg[PRELIGHT]      = "#c4d4da"
	bg[ACTIVE]        = "#c4d4da"
}
widget "*ngi-dialog-body.*GtkButton*" style "ngi-dialog-internal-button"

style "ngi-dialog-message-body"
{
	font_name = "DejaVu Sans 12"
}
widget "*ngi-dialog-message-body*" style "ngi-dialog-message-body"

style "ngi-dialog-title-label"
{
	font_name = "DejaVu Sans 12"
}
widget "*ngi-dialog-title-label*" style "ngi-dialog-title-label"

style "ngi-dialog-invalid-warning-label"
{
	font_name = "DejaVu Sans Bold 9"
	fg[NORMAL] = "#ff0000"
}
widget "*ngi-dialog-invalid-warning-label*" style "ngi-dialog-invalid-warning-label"

style "ngi-dialog-sensor-combo" = "ngi-dialog-defaults"
{
	font_name = "DejaVu Sans 8"
	GtkComboBox::appears_as_list = 0
	bg[NORMAL]        = "#ffffff"
}
widget "*ngi-dialog-sensor-combo*" style "ngi-dialog-sensor-combo"

style "ngi-dialog-file-chooser"
{
	base[NORMAL]      = "#ffffff"
}
widget "*ngi-dialog-file-chooser*" style "ngi-dialog-file-chooser"


################################
# Styles for the NgiWaitDialog #
################################

style "ngi-wait-dialog" = "ngi-dialog-defaults"
{	
	bg[NORMAL]        = "#45989d"
	bg_pixmap[NORMAL] = "<none>"
	GtkButtonBox::child_internal_pad_x = 4
    	GtkButtonBox::child_internal_pad_y = 2
    	GtkButtonBox::child_min_width      = 0	
    	GtkButtonBox::child_min_height     = 0

	NgiWaitWidget::bg-meter-color = "#545454"
	NgiWaitWidget::fg-meter-color = "#000000"
}
class "NgiWaitDialog" style "ngi-wait-dialog"
class "NgiWaitWidget" style "ngi-wait-dialog"

binding "ngi-wait-widget-key-binding"
{
	# Binding for the Collect button
	bind "F3" { "collect-pressed" () }
}
class "NgiWaitWidget" binding "ngi-wait-widget-key-binding"

binding "ngi-dialog-key-binding"
{
	bind "F12" { "move-focus" ( tab-forward ) }
	bind "<shft>F12" { "move-focus" ( tab-backward ) }
	bind "Escape" { "close" () }
}
class "NgiDialog" binding "ngi-dialog-key-binding"

style "ngi-dialog-spinbutton"
{
	xthickness = 6
	ythickness = 6
}
widget "*ngi-dialog-spinbutton*" style "ngi-dialog-spinbutton"

