
# Modification du thme "Default" fourni avec Gimp 2.7 pour imposer des couleurs
# SAMJ le 17 aot 2011

# modifications images de fond et police de caractres SAMJ les 25 & 26 juillet 2012
# modifications SAMJ le 27 juillet 2012 pour inclure les icnes de http://my.opera.com/area42/blog/2012/06/24/greyscale-icon-theme-for-gimp 
# tlchargement icnes http://dev.speed-dreams.org/Eckhard/pro-gimp-greyscale-color-icon-theme-120630.zip

include "imagerc"


gtk-font-name = "sans 8"



style "gimp-default-style"
{
  stock["gtk-dialog-error"] =
    {
      { "images/stock-error-64.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-info"] =
    {
      { "images/stock-info-64.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-question"] =
    {
      { "images/stock-question-64.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-warning"] =
    {
      { "images/stock-warning-64.png", *, *, "gtk-dialog" }
    }
	
	
  #
  bg_pixmap[NORMAL] = "images/gris_1.png"  
  #
  bg[NORMAL] = "#fcfcfc"
  #
  base[NORMAL] = "#f7f7f7"
  #
  text[NORMAL] = "#070707"
  #
  fg[NORMAL] = "#070707"
  
  #
  bg[INSENSITIVE] = "#d0d0d0"  
  #
  base[INSENSITIVE] = "#e7ebf0"
  #
  text[INSENSITIVE] = "#000000"
  #
  fg[INSENSITIVE] = "#a0a0a0"
  
  # bleu fonc
  base[SELECTED] = "#4b6983"
  # bleu fonc
  bg[SELECTED] = "#6d99bf" 
  #
  text[SELECTED] = "#ffffff"
  #
  fg[SELECTED] = "#ffffff"
  
  #
  bg[PRELIGHT] = "#e7e7e7"
  #
  base[PRELIGHT] = "#f0f0f0"
  #
  text[PRELIGHT] = "#101010"
  #
  fg[PRELIGHT] = "#808080"
  
  #
  bg[ACTIVE] = "#d0d0d0"
  #bleu fonc
  base[ACTIVE] = "#4b6983"
  #
  text[ACTIVE] = "#ffffff"
  #
  fg[ACTIVE] = "#000000"
  
 
  GtkOptionMenu::indicator_size    = { 1, 1 } #{ 5, 11 }
  GtkOptionMenu::indicator_spacing = { 1, 1, 1, 1 } #{ 4, 3, 1, 1 }

  GtkPaned::handle_size             = 1 #5
  GimpDock::default_height          = 240
  GimpDockSeparator::height         = 1 #5
  GimpMenuDock::minimal_width       = 200
  GimpMenuDock::menu_preview_size   = small-toolbar
  GimpToolbox::tool_icon_size       = button
  GimpToolbox::button_relief        = none
  GimpDockbook::tab_border          = 0
  GimpDockbook::tab_icon_size       = menu
  GimpColorNotebook::tab_border     = 0
  GimpColorNotebook::tab_icon_size  = menu
  GimpDockable::content_border      = 1 #1
  GimpEditor::content_spacing       = 0 #1
  GimpEditor::button_spacing        = 0 #1
  GimpEditor::button_icon_size      = menu
  GimpFrame::label_spacing          = 2
  GtkDialog::content_area_border    = 0
  GtkDialog::button_spacing         = 5 #6
  GtkDialog::action_area_border     = 10 #12
  GimpUnitComboBox::appears_as_list = 0
  GimpSpinScale::inner-border = { 0 0 0 0 }
  GimpSpinScale::default-outside-border = { 0 0 0 0 }
  GimpSpinScale::default-border = { 0 0 0 0 }
}

class "GtkWidget" style "gimp-default-style"


style "gimp-tool-dialog-style" = "gimp-default-style"
{
  GtkDialog::action-area-border = 6
 
}

class "GimpToolDialog" style "gimp-tool-dialog-style"


style "gimp-grid-view-style" = "gimp-default-style"
{
  bg[NORMAL] = { 1.0, 1.0, 1.0 }

}

widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style"


style "gimp-dockable-style" = "gimp-default-style"
{
  GimpFrame::label-bold       = 0
  GimpFrame::label-spacing    = 2
  GtkButton::focus-line_width = 1
  GtkButton::focus-padding    = 0
  #
  bg_pixmap[NORMAL] = "images/gris_2.png"    
  #
  bg[NORMAL] = "#ffffff"
  #
  base[NORMAL] = "#ffffff"
  # bleu fonc
  base[SELECTED] = "#4b6983"
}

widget "*GimpDockable.*" style "gimp-dockable-style"


style "gimp-display-style" = "gimp-default-style"
{
  GimpRuler::font-scale          = 0.8333
  GimpUnitComboBox::label-scale  = 0.8333
  GimpScaleComboBox::label-scale = 0.8333
  GtkComboBox::arrow-size        = 8
  GtkButton::inner-border        = { 0, 0, 0, 0 }
  GtkButton::focus-line_width    = 0
  GtkButton::focus-padding       = 0
 
}

widget "*GimpDisplayShell.*" style "gimp-display-style"


style "gimp-overlay-style" = "gimp-display-style"
{
  GtkButton::focus-line_width = 1

}

widget_class "*<GimpOverlayFrame>*" style "gimp-overlay-style"


#donner un contour sur le bouton pour le focus
GtkButton::focus-line-width = 1

#dplacement lors de l'appui
GtkButton::child-displacement-x = 1
GtkButton::child-displacement-y = 1

#contour des boutons
GtkButton::default-border = {0,0,0,0}
GtkButton::default-outside-border = {0,0,0,0}
GtkButton::inner-border = {0,0,0,0}

#espacement de l'image dans le bouton par rapport au texte
GtkButton::image-spacing = 8