Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 17/12/2010, à 16:51

Compte anonymisé

Un code si c'est possible ( Pour Custo)

Bonjour à tous,


Voilà, je suis un passionné de customisation. Mais je bloque sur une chose. J'ai cherché de partout sur le net mais sans succès. On s'apperçois que les polices inactives sous gnome sont  présentent dans l'interface avec un effet de shade ( ombre ) qui donnent un effet d'incrustation. Donc, je pense qu'il serait possible de les avoir en général dans ce style. Le metacity ( voir screen ) est réalisable au niveau de son fichier "metacity-theme-1.xml"

<?xml version="1.0"?>
<metacity_theme>
<info>
  <name>MacOSX Metacity</name>
  <author>fs</author>
  <copyright>GPL</copyright>
  <date>September 2, 2009</date>
  <description>MacOSX Apple window borders look</description>
</info>

<constant name="IconTitleSpacing" value="0"/>

<frame_geometry name="normal"  rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" title_scale="medium">
  <distance name="left_width" value="8"/>
  <distance name="right_width" value="8"/>
  <distance name="bottom_height" value="16"/>
  <distance name="left_titlebar_edge" value="12"/>
  <distance name="right_titlebar_edge" value="12"/>
  <distance name="button_width" value="20"/>
  <distance name="button_height" value="20"/>
  <distance name="title_vertical_pad" value="4"/>
  <border name="title_border" left="5" right="5" top="0" bottom="0"/>
  <border name="button_border" left="0" right="0" top="2" bottom="2"/>
</frame_geometry>

<frame_geometry name="border" parent="normal" has_title="false">
  <distance name="button_width" value="20"/>
  <distance name="button_height" value="20"/>
  <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  <border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>

<draw_ops name="title-text-focused">

<title color="#3c3c3c" x="(width - title_width) / 2 +0" y="(height - title_height) / 2 + 1"/>
<title color="#101010" x="(width - title_width) / 2" y="(height - title_height) / 2"/>

</draw_ops>

<draw_ops name="title-text-unfocused">

<title color="#3c3c3c" x="(width - title_width) / 2 +0" y="(height - title_height) / 2 + 1"/>
<title color="#101010" x="(width - title_width) / 2" y="(height - title_height) / 2"/>


</draw_ops>

<draw_ops name="blank">
</draw_ops>

<draw_ops name="title">
  <image filename="pixmaps.active_top_left.png" x="0" y="0" width="object_width" height="height"/>
  <image filename="pixmaps.active_top.png" x="40" y="0" width="width - 40" height="height"/>
  <image filename="pixmaps.active_top_right.png" x="width - object_width" y="0" width="object_width" height="height"/>
</draw_ops>

<draw_ops name="title-shaded">
  <image filename="pixmaps.active_top_left.png" x="0" y="0" width="object_width" height="height"/>
  <image filename="pixmaps.active_top.png" x="40" y="0" width="width - 40" height="height"/>
  <image filename="pixmaps.active_top_right.png" x="width - object_width" y="0" width="object_width" height="height"/>
</draw_ops>

<draw_ops name="frame-left-focused">
  <image filename="pixmaps.active_left.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="frame-right-focused">
  <image filename="pixmaps.active_right.png" x="width - 8" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="frame-bottom-focused">
  <image filename="frame-bottom-left-focused.png" x="0" y="0"  width="object_width" height="height"/>
  <image filename="frame-bottom-mid-focused.png" x="8" y="0" width="width - 8" height="height"/>
  <image filename="frame-bottom-right-focused.png" x="width - object_width" y="0" width="object_width" height="height"/>
</draw_ops>

<draw_ops name="button-close-focused">
  <image filename="button-close-focused.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-close-unfocused">
  <image filename="button-close-unfocused.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-close-pressed">
  <image filename="button-close-pressed.png" x="0" y="0" width="width" height="height"/>
</draw_ops>



<draw_ops name="button-close-inactive">
 <image filename="button-shaded.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-maximize-inactive">
 <image filename="button-inactive.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-minimize-inactive">
 <image filename="button-inactive.png" x="0" y="0" width="width" height="height"/>
</draw_ops>




<draw_ops name="button-maximize-focused">
  <image filename="button-maximize-focused.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-maximize-unfocused">
  <image filename="button-maximize-unfocused.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-maximize-pressed">
  <image filename="button-maximize-pressed.png" x="0"  y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-minimize-focused">
  <image filename="button-minimize-focused.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-minimize-unfocused">
  <image filename="button-minimize-unfocused.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-minimize-pressed">
  <image filename="button-minimize-pressed.png" x="0" y="0" width="width" height="height"/>
</draw_ops>

<draw_ops name="button-menu-focused">
  <icon x="(height-mini_icon_width) / 2" y="(height-mini_icon_height) / 2" width="mini_icon_width" height="mini_icon_height"/>
</draw_ops>

<draw_ops name="button-menu-unfocused">
  <icon x="(height-mini_icon_width) / 2" y="(height-mini_icon_height) / 2" width="mini_icon_width" height="mini_icon_height"/>
</draw_ops>

<draw_ops name="button-menu-pressed">
  <icon x="(height-mini_icon_width) / 2" y="(height-mini_icon_height) / 2" width="mini_icon_width" height="mini_icon_height"/>
</draw_ops>

<frame_style name="normal-focused" geometry="normal">
  <piece position="titlebar" draw_ops="title"/>
  <piece position="left_edge" draw_ops="frame-left-focused"/>
  <piece position="right_edge" draw_ops="frame-right-focused"/>
  <piece position="bottom_edge" draw_ops="frame-bottom-focused"/>
  <piece position="title" draw_ops="title-text-focused"/>
  <button function="close" state="normal" draw_ops="button-close-unfocused"/>
  <button function="close" state="prelight" draw_ops="button-close-focused"/>
  <button function="close" state="pressed" draw_ops="button-close-pressed"/>


  <button function="minimize" state="normal" draw_ops="button-minimize-unfocused"/>
  <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
  <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>

  <button function="maximize" state="normal" draw_ops="button-maximize-unfocused"/>
  <button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
  <button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>

  <button function="menu" state="normal" draw_ops="button-menu-unfocused"/>
  <button function="menu" state="prelight" draw_ops="button-menu-focused"/>
  <button function="menu" state="pressed" draw_ops="button-menu-pressed"/>
</frame_style>

<frame_style name="normal-unfocused" geometry="normal">
  <piece position="titlebar" draw_ops="title"/>
  <piece position="left_edge" draw_ops="frame-left-focused"/>
  <piece position="right_edge" draw_ops="frame-right-focused"/>
  <piece position="bottom_edge" draw_ops="frame-bottom-focused"/>
  <piece position="title" draw_ops="title-text-unfocused"/>

  <button function="close" state="normal" draw_ops="button-close-inactive"/>
  <button function="close" state="prelight" draw_ops="button-close-focused"/>
  <button function="close" state="pressed" draw_ops="button-close-pressed"/>


  <button function="minimize" state="normal" draw_ops="button-minimize-inactive"/>
  <button function="minimize" state="prelight" draw_ops="button-minimize-focused"/>
  <button function="minimize" state="pressed" draw_ops="button-minimize-pressed"/>

  <button function="maximize" state="normal" draw_ops="button-maximize-inactive"/>
  <button function="maximize" state="prelight" draw_ops="button-maximize-focused"/>
  <button function="maximize" state="pressed" draw_ops="button-maximize-pressed"/>

  <button function="menu" state="normal" draw_ops="button-menu-unfocused"/>
  <button function="menu" state="prelight" draw_ops="button-menu-focused"/>
  <button function="menu" state="pressed" draw_ops="button-menu-pressed"/>
</frame_style>

<frame_style name="normal-shaded-focused" geometry="normal" parent="normal-focused">
  <piece position="titlebar" draw_ops="title-shaded"/>
</frame_style>

<frame_style name="normal-shaded-unfocused" geometry="normal" parent="normal-unfocused">
  <piece position="titlebar" draw_ops="title-shaded"/>
</frame_style>

<frame_style_set name="normal">
  <frame focus="yes" state="normal" resize="both" style="normal-focused"/>
  <frame focus="no" state="normal" resize="both" style="normal-unfocused"/>
  <frame focus="yes" state="maximized" style="normal-focused"/>
  <frame focus="no" state="maximized" style="normal-unfocused"/>
  <frame focus="yes" state="shaded" style="normal-shaded-focused"/>
  <frame focus="no" state="shaded" style="normal-shaded-unfocused"/>
  <frame focus="yes" state="maximized_and_shaded" style="normal-shaded-focused"/>
  <frame focus="no" state="maximized_and_shaded" style="normal-shaded-unfocused"/>
</frame_style_set>

<window type="normal" style_set="normal"/>
<window type="dialog" style_set="normal"/>
<window type="modal_dialog" style_set="normal"/>
<window type="menu" style_set="normal"/>
<window type="utility" style_set="normal"/>
<window type="border" style_set="normal"/>

<menu_icon function="close" state="normal" draw_ops="button-close-focused"/>
<menu_icon function="maximize" state="normal" draw_ops="button-maximize-focused"/>
<menu_icon function="unmaximize" state="normal" draw_ops="button-maximize-focused"/>
<menu_icon function="minimize" state="normal" draw_ops="button-minimize-focused"/>
</metacity_theme>

<draw_ops name="title-text-focused">
<title color="#3c3c3c" x="(width - title_width) / 2 +0" y="(height - title_height) / 2 + 1"/>
<title color="#101010" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
</draw_ops>

<draw_ops name="title-text-unfocused">
<title color="#3c3c3c" x="(width - title_width) / 2 +0" y="(height - title_height) / 2 + 1"/>
<title color="#101010" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
</draw_ops>



Ce serait magnique d'avoir ce style dans le WOOD.


Mais au niveau du Gtk2 et du fichier "gtkrc" j'aimerais trouver la façon de faire la même chose. N'y connaissant  rien au code et je pense que l'écriture doit être différente.

#Serena Version 1.0


# Pas D'images Sur Les Boutons
        gtk-button-images = 0
        gtk-menu-images = 0

################################################################################
# MODÈLE PAR DÉFAUT
################################################################################


style "default"
{
        GtkVScale::slider_length             = 18
    GtkVScale::slider_width             = 21
    GtkHScale::slider_length             = 18
    GtkHScale::slider_width            = 21

    GtkPaned::handle_size                = 7
    GtkWidget::focus_padding = 0  
    
    GtkScrolledWindow::shadow_type = GTK_SHADOW_NONE
    GtkMenuBar::shadow_type = GTK_SHADOW_NONE
    GtkToolbar::shadow_type = GTK_SHADOW_OUT
    GtkStatusbar::shadow_type = GTK_SHADOW_ETCHED_OUT

    GtkScrollbar::has_secondary_backward_stepper  = 1
    GtkScrollbar::has_secondary_forward_stepper    = 0
    GtkScrollbar::has-backward-stepper = 0
    GtkScrollbar::min_slider_length        = 30




    GtkWidget::new-tooltip-style = 1
        
        
        




################################################################################
# COULEURS PAR DÉFAUT POUR LES LISTES ET TREEVIEWS
################################################################################

    GtkTreeView::odd_row_color  = "#1A1717"         ## EXAMPLE LIGNE 1 AJOUT/SUPPRIMER DES APPLICATIONS
    GtkTreeView::even_row_color = "#1A1717"         ## EXAMPLE LIGNE 2 AJOUT/SUPPRIMER DES APPLICATIONS
    GtkTreeView::odd_col_color  = "#5A4D44"
    GtkTreeView::even_col_color = "#e4ebf5"         


################################################################################
# ÉPAISSEUR PAR DÉFAUT
################################################################################

        GtkToolbar::space-size = 0
        GtkToolbar::internal-padding = 0
        GtkToolButton::icon-spacing = 0
        GtkButton::image-spacing = 0
        GtkButton::inner-border = { 0, 0, 0, 0 }
        GtkButton::outside-border = { 0, 0, 0, 0 }
        GtkEntry::inner-border = { 6, 1, 1, 1 }

################################################################################
# COULEURS PAR DEFAULT
################################################################################

## COULEUR DE PREMIER PLAN

        fg[NORMAL]                = "#78604E"  ## COULEUR PRINCIPALE DES TEXTES DANS LES MENUS, BOUTONS, HORLOGE, ETC  
        fg[PRELIGHT]              = "#1A1717"  ## SOURIS SUR BOUTONS SUR D'AUTRES BOUTONS "DONC BEIGE/CLAIR SERA NULL"
        fg[ACTIVE]                = "#354C6D"          
        fg[SELECTED]              = "#5A4D44"  
        fg[INSENSITIVE]           = "#5A4D44"  ## EFFET INCRUSTATION DES TEXTES INACTIFS !!!!       

## COULEUR DE FOND

        bg[NORMAL]                     = "#1A1717"             
        bg[PRELIGHT]                 = "#BBBBBA"       
        bg[SELECTED]                 = "#352922"  ## EXAMPLE THEME PERSONNALISE DANS LES PREFERENCES DE L'APPARENCE        
        bg[ACTIVE]             = "#1A1717"  ## MON MARRON     
        bg[INSENSITIVE]         = "#1A1717"  ## MON MARRON      

## LA COULEUR DE BASE        

        base[NORMAL]                 = "#1A1717"  ## MON MARRON         
        base[SELECTED]                 = "#000000"  ## Le Surlignement       
        base[ACTIVE]                 = "#282828"  ## CONTOUR !!!!  EXEMPLE THEME PERSONNALISE DANS LES PREFERENCES DE L'APPARENCE              
        base[PRELIGHT]                = "#829db9"  ## BLEU PAL             
        base[INSENSITIVE]        = "#1A1717"  ## MON MARRON     

## LA COULEUR DU TEXTE DANS LES WIDGETS D'ENTRÉE

        text[NORMAL]              = "#5A4D44"  ## BEIGE La Police Dans Les Fenêtres
        text[PRELIGHT]                 = "#60534C"  ## BEIGE/CLAIR  SOURIS SUR BOUTONS                                             
        text[ACTIVE]              = "#5A4D44"  ## BEIGE EXAMPLE THEME PERSONNALISE DANS LES PREFERENCES DE L'APPARENCE
        text[SELECTED]            = "#5A4D44"  ## BEIGE TEXTE SELECTIONNÉ    
        text[INSENSITIVE]         = "#5A4D44"  ## BEIGE
       


      


################################################################################
# COULEURS POUR NAUTILUS
################################################################################
    
    #Semi-Transparent Highlight Nautils Select
    NautilusIconContainer::highlight_alpha=160

    #Non-highlight text color
    NautilusIconContainer::dark_info_color="#1D4393"
    
    #highlight text color
    NautilusIconContainer::light_info_color="#829db9"          
    
    # Hyperlinks
    GnomeHRef::link_color  ="#2f2e31"
    GtkIMHtmlr::hyperlink-color ="#2f2e31"


################################################################################
# HANDELS
################################################################################

    engine "pixmap"
    {
           # Handle image for horizontal handel
        image
        {
            function        = HANDLE
            recolorable        = TRUE
            overlay_file    = "Handles/handle-h.png"
            overlay_stretch    = FALSE
            orientation        = HORIZONTAL
        }
        
        # Handle image for vertical handel
        image
        {
            function        = HANDLE
            recolorable        = TRUE
            overlay_file    = "Handles/handle-v.png"
            overlay_stretch    = FALSE
            orientation        = VERTICAL
        }


################################################################################
# OMBRES 
################################################################################

     image
     {
           function        = SHADOW
           shadow        = IN
           recolorable    = TRUE
           file        = "Shadows/shadow-none.png"
           border        = { 0, 0, 0, 0 }
           stretch        = TRUE
     }

        image 
          {
               function        = SHADOW
         recolorable     = TRUE
        shadow          = IN
        file            = "Shadows/shadow-out.png"    ## Ombre Intèrieur Exemple Mixer & Calendrier
        border          = { 1, 1, 1, 1 }
        stretch         = TRUE
          }    

        image 
          {
               function        = SHADOW
         recolorable     = TRUE
        shadow          = IN
        file            = "Shadows/shadow-in.png"
        border          = { 1, 1, 1, 1 }
        stretch         = TRUE
          }    

        image
        {
               function    = SHADOW
            shadow    = IN                              
            recolorable    = TRUE
             file        = "Frame-Gap/frame1.png"                
            border        = { 0, 0, 0, 0 }
            stretch        = TRUE
        }

        image 
          {
               function        = SHADOW
         recolorable     = TRUE
        shadow         = ETCHED_OUT
        file            = "Shadows/shadow-none.png"    
        border          = { 0, 0, 24, 0 }
        stretch         = TRUE
          }

################################################################################
# LIGNES DE SÉPARATEUR
################################################################################    
    
    # Vertical spearator
    image
    {
        function        = VLINE
        recolorable        = TRUE
        file            = "Lines/line-v.png"
        border            = { 1, 1, 0, 0 }
        stretch            = TRUE
    }
    
    # Horizontal separator
    image
    {
        function        = HLINE
        recolorable        = TRUE
        file            = "Lines/line-h.png"
        border            = { 0, 0, 1, 1 }
        stretch            = TRUE
    }

################################################################################
# FOCUS [FOYER]
################################################################################

    image
    {
        function        = FOCUS
        recolorable        = TRUE
        file            = "Others/focus.png"
        border            = { 6, 0, 6, 0 }
        stretch            = TRUE
    }    

################################################################################
# FLÈCHES
################################################################################

    # Up arrow
    image
    {
      function            = ARROW
      recolorable        = TRUE
      overlay_file        = "Arrows/arrow-up.png"
      overlay_border        = { 0, 0, 0, 0 }
      overlay_stretch        = FALSE
      arrow_direction        = UP
    }
    
    # Down arrow
    image
    {
      function            = ARROW
      recolorable        = TRUE
      overlay_file        = "Arrows/arrow-down.png"
      overlay_border        = { 0, 0, 0, 0 }
      overlay_stretch        = FALSE
      arrow_direction        = DOWN
    }
    
    # Down arrow (prelight)
    image
    {
      function            = ARROW
      recolorable        = TRUE
      state                     = PRELIGHT
      overlay_file        = "Arrows/arrow-down-prelight.png"
      overlay_border        = { 0, 0, 0, 0 }
      overlay_stretch        = FALSE
      arrow_direction        = DOWN
    }
    
    # Left arrow
    image
    {
      function            = ARROW
      recolorable        = TRUE
      overlay_file        = "Arrows/arrow-left.png"
      overlay_border        = { 0, 0, 0, 0 }
      overlay_stretch        = FALSE
      arrow_direction        = LEFT
    }
    
    # Right arrow
    image
    {
      function            = ARROW
      recolorable        = TRUE
      overlay_file        = "Arrows/arrow-right.png"
      overlay_border        = { 0, 0, 0, 0 }
      overlay_stretch        = FALSE
      arrow_direction        = RIGHT
    }
    
  }

}

class "GtkWidget" style "default"

################################################################################
# TOOlBAR
################################################################################

style "toolbar" = "default"
{
  fg[NORMAL]         = "#5A4D44"
  text[NORMAL]       = "#44597C"
  fg[PRELIGHT]       = "#44597C"
  fg[ACTIVE]         = "#5A4D44"

      engine "pixmap"
    {
# Toolbar background
        image
        {
            function    = BOX
            file        = "Toolbar/toolbar.png"
            border        = { 3, 3, 3, 3}
            stretch        = TRUE

            }
    }
  
}

class "GtkToolbar" style "toolbar"

style "toolbar1" = "default"
{
  fg[NORMAL] = "#44597C"
  text[NORMAL] = "#44597C"
  fg[PRELIGHT] = "#44597C"
  fg[ACTIVE] = "#5A4D44"
  bg_pixmap[NORMAL] = "Toolbar/toolbar1.png"

      engine "pixmap"
    {
# Toolbar background
        image
        {
            function    = BOX
            file        = "Toolbar/toolbar1.png"
            border        = { 0, 0, 0, 0}
            stretch        = FALSE

            }
    }
  
}
widget "*GnomeApp*ToolBar*" style "toolbar1"
widget "*GtkToolBarS*" style "toolbar1"

################################################################################
# GRADIENT
################################################################################

style "gradient" = "default"
{
    bg_pixmap[NORMAL] = "grayscale.png"
}

class "GtkWindow" style "gradient"

################################################################################
# BOUTONS
################################################################################


style "button" = "default"
{
        fg[NORMAL]       = "#44597C" 
    fg[ACTIVE]       = "#44597C"
    fg[PRELIGHT]     = "#44597C"
    fg[SELECTED]     = "#5A4D44"  
    fg[INSENSITIVE]  = "#747474"  

    xthickness = 5
    ythickness = 4


    engine "pixmap"
    {
# Default button
        image
        {
            function                = BOX
            detail                = "buttondefault"
            recolorable                = TRUE
            file                = "Buttons/button-default.png"
            border                = { 2, 2, 2, 2 }                       
            stretch                = TRUE
        }
        
# Button (prelight)
        image
        {
            function            = BOX
            state                = PRELIGHT
            recolorable                = TRUE
            file                = "Buttons/button-prelight.png"
            border                = { 2, 2, 2, 2 }                       
            stretch                = TRUE
        }
        
# Button (pressed)
        image
        {
            function                = BOX
            state                = ACTIVE
            file                = "Buttons/button-pressed.png"
            border                = { 2, 2, 2, 2 }                       
            stretch                = TRUE          
        }    
        
# Button (insensitive)
        image 
        {
            function                = BOX
            state                = INSENSITIVE
            file                = "Buttons/button-insensitive.png"
            border                = { 2, 2, 2, 2 }                           
            stretch                = TRUE                                     
        }
        
# Button (normal)
        image 
        {
            function                = BOX
                    #state                = ACTIVE   ## Mettre les boutons de la calculette de différentes couleurs !!!
            file                = "Buttons/button-normal.png"        
            border                = { 2, 2, 2, 2 }                           
            stretch                = TRUE
        }    
    }
}

class "GtkButton" style "button"

################################################################################
# RADIOBUTTONS AND CHECKBUTTONS HIGHLIGHT 
################################################################################

style "checkradiobutton" = "default"
{
    engine "pixmap" 
    {
        image 
        {
            function = FLAT_BOX
            recolorable = TRUE
            file = "Check-Radio/highlight.png"
            border = { 2, 5, 2, 5 }
            stretch = TRUE
        }
    }
}

class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"


###############################################
#  Combobox
###############################################
style "combobox"        = "default"
{
  xthickness                = 2
  ythickness                = 2

engine "pixmap" {
    
 image
    {
      function                = BOX
      recolorable            = TRUE
      state                = NORMAL
      file                = "option-button.png"
      border                = { 3, 3, 3, 3}           
      stretch                = TRUE
    }   
image
    {
      function                = BOX
      recolorable            = TRUE
      state                = PRELIGHT
      file                = "option-button.png"
      border                = { 3, 3, 3, 3}           
      stretch                = TRUE
    }
image
    {
      function                = BOX
      recolorable            = TRUE
      state                = ACTIVE
      file                = "option-button.png"
      border                = { 3, 3, 3, 3}          
      stretch                = TRUE
    }
image
    {
      function                = BOX
      recolorable            = TRUE
      state                = INSENSITIVE
      file                = "option-button-in.png"
      border                = { 3, 3, 3, 3}                
      stretch                = TRUE
    }
image
    {
      function                = ARROW
      recolorable            = TRUE
      state                = NORMAL
      file                = "option-menu.png"
      border                = { 0, 0, 0, 0}
      stretch                = TRUE
    }
image
    {
      function                = ARROW
      recolorable            = TRUE
      state                = PRELIGHT
      file                = "option-menu.png"
      border                = { 0, 0, 0, 0}
      stretch                = TRUE
    }
image
    {
      function                = ARROW
      recolorable            = TRUE
      state                = ACTIVE
      file                = "option-menu.png"
      border                = { 0, 0, 0, 0}
      stretch                = TRUE
    }
image
    {
      function                = ARROW
      recolorable            = TRUE
      state                = INSENSITIVE
      file                = "option-menu.png"
      border                = { 0, 0, 0, 0}
      stretch                = TRUE
    }
image
    {
      function                = VLINE
      recolorable            = TRUE
      file                = "option-menu.png"
      border                = { 0, 0, 0, 0}
      stretch                = TRUE
    }


    }

}
widget_class "*Combo*" style "combobox"
widget_class "*Combo*" style "combobox"
widget_class  "GtkCombo*" style "combobox"


###############################################
# Styles and Controls for Option Menus
###############################################

style "OptionMenu" 
{
    engine "pixmap" 
   {

        image
        {
            function            = BOX
            recolorable            = TRUE
            state            = PRELIGHT
            file            = "option-button.png"
            border            = { 10, 24, 11, 11}
            stretch            = TRUE
        }
        image
        {
            function            = BOX
            recolorable            = TRUE
            file            = "option-button.png"
            border            = { 10, 24, 11, 11}
            stretch            = TRUE
        }
        image
        {
            function            = TAB
            state            = INSENSITIVE
            recolorable            = TRUE
            overlay_file        = "option-menu.png"
            overlay_stretch        = FALSE
        }
        image
        {
            function            = TAB
            recolorable            = TRUE
            overlay_file        = "option-menu.png"
            overlay_border        = { 0, 0, 0, 0 }
            overlay_stretch        = FALSE
        }
   }
}

class "GtkOptionMenu" style "OptionMenu"


################################################################################
# FONTS
################################################################################

style "fontbox" = "default"
{

    engine "pixmap"
    {
        # Fontbox (mouse over)
        image
        {
            function        = BOX
            recolorable        = TRUE
            state            = PRELIGHT
            file            = "Font/font-prelight.png"
            border            = { 2, 2, 2, 2}                      
            stretch            = TRUE
        }
        
        # Fontbox
        image
        {
            function            = BOX
            recolorable            = TRUE
            state            = NORMAL
            file            = "Font/font-normal.png"
            border            = { 2, 2, 2, 2}                      
            stretch            = TRUE
        }
        
        # Fontbox (clicked)
        image
        {
            function            = BOX
            recolorable            = TRUE
            state            = ACTIVE
            file            = "Font/font-pressed.png"
            border            = { 2, 2, 2, 2}                     
            stretch            = TRUE
        }
        
        # Fontbox (insensitive == disabled?)
        image
        {
            function            = BOX
            recolorable            = TRUE
            state            = INSENSITIVE
            file            = "Font/font-inactive.png"
            border            = { 2, 2, 2, 2}                       
            stretch            = TRUE
        }
        
        # Fontbox arrow (insensitive)
        image
        {
            function        = TAB
            state        = INSENSITIVE
            recolorable        = TRUE
            overlay_file    = "Font/font-arrow-insens.png"
            overlay_stretch    = FALSE
        }
        
        # Fontbox arrow 
        image
        {
            function        = TAB
            recolorable        = TRUE
            state        = NORMAL
            overlay_file    = "Font/font-arrow.png"
            overlay_border    = { 0, 0, 0, 0 }
            overlay_stretch    = FALSE
        }
        
        # Fontbox arrow (mouse over)
        image
        {
            function        = TAB
            recolorable        = TRUE
            state        = PRELIGHT
            overlay_file    = "Font/font-arrow-prelight.png"
            overlay_border    = { 0, 0, 0, 0 }
            overlay_stretch    = FALSE
        }
    }
}

class "*Font*"                  style "fontbox"


################################################################################
# RADIOBUTTON
################################################################################

style "radiobutton"    = "default"
{
    engine "pixmap" 
    {
    # Not selected
        image 
    {
            function                      = OPTION
            recolorable             = TRUE
            state            = NORMAL
            shadow                  = OUT
            overlay_file            = "Check-Radio/option1.png"
            overlay_stretch         = FALSE
        }
        
    # Not selected (mouse over)
     image 
    {
            function                = OPTION
            recolorable             = TRUE
            state             = PRELIGHT
            shadow                  = OUT
            overlay_file            = "Check-Radio/option2.png"
            overlay_stretch         = FALSE
        }
        
    # Not selected
     image 
    {
            function                = OPTION
            recolorable             = TRUE
            state             = ACTIVE
            shadow                  = OUT
            overlay_file            = "Check-Radio/option3.png"
            overlay_stretch         = FALSE
        }
        
    # Insensitive
     image 
    {
            function                = OPTION
            recolorable             = TRUE
            state             = INSENSITIVE
            shadow                  = OUT
            overlay_file            = "Check-Radio/option6.png"
            overlay_stretch         = FALSE
        }

    # Selected
        image 
    {
            function                = OPTION
            recolorable             = TRUE
            state             = NORMAL
            shadow                  = IN
            overlay_file            = "Check-Radio/option4.png"
            overlay_stretch         = FALSE
        }
        
    # Selected (mouse over)
      image 
    {
            function                = OPTION
            recolorable             = TRUE
        state             = PRELIGHT
            shadow                  = IN
            overlay_file            = "Check-Radio/option3.png"
            overlay_stretch         = FALSE
        }
        
    # Selected
     image 
    {
            function             = OPTION
            recolorable             = TRUE
        state                 = ACTIVE
            shadow                  = IN
            overlay_file            = "Check-Radio/option4.png"
            overlay_stretch         = FALSE
        }

    # Insensitive
         image 
    {
            function                = OPTION
            recolorable             = TRUE
        state             = INSENSITIVE
            shadow                  = IN
            overlay_file            = "Check-Radio/option5.png"
            overlay_stretch         = FALSE
        }

    #mouseover
    image 
    {
            function                 = FLAT_BOX
            recolorable             = TRUE
              stretch            = TRUE
            file                   = "Check-Radio/checklight.png"
            border                   = { 2, 2, 2, 2 }
        }
    }
}

class "GtkRadioButton"         style "radiobutton"
class "GtkRadioMenuItem"        style "radiobutton"

################################################################################
# CHECKBUTTON
################################################################################

style "checkbutton"
{
    xthickness = 4
    ythickness = 4

    engine "pixmap" 
    {
    # Unchecked
        image 
    {
            function = CHECK
            recolorable = TRUE
            state = NORMAL
            shadow = OUT
            overlay_file = "Check-Radio/check1.png"
            overlay_stretch = FALSE
        }
        
    # Unchecked (mouse over)
    image 
    {
            function = CHECK
            recolorable = TRUE
            state = PRELIGHT
            shadow = OUT
            overlay_file = "Check-Radio/check2.png"
            overlay_stretch = FALSE
        }
        
    # Unchecked
    image 
    {
            function        = CHECK
            recolorable     = TRUE
            state             = ACTIVE
            shadow          = OUT
            overlay_file    = "Check-Radio/check3.png"
            overlay_stretch = FALSE
        }
        
    # Unchecked 
     image 
    {
            function        = CHECK
            recolorable     = TRUE
            state         = INSENSITIVE
            shadow          = OUT
            overlay_file    = "Check-Radio/check6.png"
            overlay_stretch = FALSE
        }

    # Checked
    image 
    {
            function        = CHECK
            recolorable     = TRUE
        state            = NORMAL
            shadow          = IN
            overlay_file    = "Check-Radio/check4.png"
            overlay_stretch = FALSE
        }
        
    # Checked (mouse over)
    image 
    {
            function        = CHECK
            recolorable     = TRUE
          state             = PRELIGHT
            shadow          = IN
            overlay_file    = "Check-Radio/check3.png"
            overlay_stretch = FALSE
        }
    
    # Checked
    image 
    {
            function        = CHECK
            recolorable     = TRUE
        state         = ACTIVE
            shadow          = IN
            overlay_file    = "Check-Radio/check5.png"
            overlay_stretch = FALSE
        }

    # Unchecked
         image 
    {
            function        = CHECK
            recolorable     = TRUE
             state           = INSENSITIVE
            shadow          = IN
            overlay_file    = "Check-Radio/check7.png"
            overlay_stretch = FALSE
        }

    #checkbox mouseover
    image 
    {
            function        = FLAT_BOX
            recolorable     = TRUE
              stretch        = TRUE
            file            = "Check-Radio/checklight.png"
            border          = { 2, 2, 2, 2 }
        }
    }
}

class "GtkCheckButton"             style "checkbutton"
class "GtkCheckMenuItem"           style "checkbutton"


################################################################################
# ENTRY
################################################################################

style "entry" = "default"
{

    xthickness = 2
    ythickness = 2
  
    GtkWidget::interior_focus    = 0

    engine "pixmap"
    {
        # Entry (focused)
        image
        {
            function        = FOCUS
            recolorable        = TRUE
                        file            = "Shadows/entry-shadow-in.png"
            border            = { 2,2,2,2 }
            stretch            = TRUE
        }
        
        
        # Text-entry 
        image
        {
            function        = BOX
            recolorable        = TRUE
            shadow            = OUT
            state            = NORMAL
            file            = "Shadows/text-entry.png"
            border            = { 1,1,1,1 }                 ## EFFET SUR LA FENETRE RECHERCHER DE RHYTHMBOX
            stretch            = TRUE
        }    

        # Text-entry
        image
        {
            function        = SHADOW
            detail            = "entry"
            shadow            = IN
            recolorable        = TRUE
            file            = "Shadows/text-entry.png"
            border            = { 1,1,1,1 }                 ## EFFET SUR LA FENETRE RECHERCHER DE RHYTHMBOX
            stretch            = TRUE
        }
    }
}

################################################################################
# SPINBUTTONS
################################################################################

style "spinbutton" = "entry"
{
      
    
        engine "pixmap"
      {
          # Arrow
        image
        {
             function    = ARROW
        }

        # Up
        image
        {
            function        = BOX
            state         = NORMAL
            detail        = "spinbutton_up"
            recolorable        = TRUE
            file        = "Spin/spinbutton-up.png"
            border        = { 0, 1, 1, 0 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-up.png"
            overlay_stretch    = FALSE
        }

        # Up (mouse over)
        image
        {
            function        = BOX
            state         = PRELIGHT
            detail        = "spinbutton_up"
            recolorable        = TRUE
            file        = "Spin/spinbutton-up-prelight.png"
            border        = { 0, 1, 1, 0 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-up-prelight.png"
            overlay_stretch    = FALSE
        }

        # Up (disabled)
        image
        {
            function        = BOX
            state         = INSENSITIVE
            detail        = "spinbutton_up"
            recolorable        = TRUE
            file        = "Spin/spinbutton-up.png"
            border        = { 0, 1, 1, 0 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-up-disable.png"
            overlay_stretch    = FALSE
        }

        # Up (mouse over)
        image
        {
            function        = BOX
            state         = ACTIVE
            detail        = "spinbutton_up"
            recolorable        = TRUE
            file        = "Spin/spinbutton-up-pressed.png"
            border        = { 0, 1, 1, 0 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-up-prelight.png"
            overlay_stretch    = FALSE
        }


        # Down
        image
        {
            function        = BOX
            state         = NORMAL
            detail        = "spinbutton_down"
            recolorable        = TRUE
            file        = "Spin/spinbutton-down.png"
            border        = { 0, 1, 0, 2 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-down.png"
            overlay_stretch    = FALSE
        }
        
        # Down (mouse over)
        image
        {
            function        = BOX
            state         = PRELIGHT
            detail        = "spinbutton_down"
            recolorable        = TRUE
            file        = "Spin/spinbutton-down-prelight.png"
            border        = { 0, 1, 0, 2 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-down-prelight.png"
            overlay_stretch    = FALSE
        }

        # Down (disabled)
        image
        {
            function        = BOX
            state         = INSENSITIVE
            detail        = "spinbutton_down"
            recolorable        = TRUE
            file        = "Spin/spinbutton-down.png"
            border        = { 0, 1, 0, 2 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-down-disable.png"
            overlay_stretch    = FALSE
        }

        # Down (mouse over)
        image
        {
            function        = BOX
            state         = ACTIVE
            detail        = "spinbutton_down"
            recolorable        = TRUE
            file        = "Spin/spinbutton-down-pressed.png"
            border        = { 0, 1, 0, 2 }
            stretch        = TRUE
            overlay_file    = "Spin/spin-down-prelight.png"
            overlay_stretch    = FALSE
        }
    }
}

class "GtkSpinButton"            style "spinbutton"

################################################################################
# RANGE
################################################################################

style "range" = "default"
{
    ythickness = 6
    
  engine "pixmap" 
  {
    image 
    {
      function            = BOX
      recolorable        = TRUE
      detail            = "trough"
      file            = "Range/trough-horizontal.png"
      border            = { 3, 3, 0, 0 }     
      stretch            = TRUE
      orientation        = HORIZONTAL
    }    
    image 
    {
      function            = BOX
      recolorable        = TRUE
      detail            = "trough"
      file            = "Range/trough-vertical.png"            
      border            = { 4, 4, 4, 4 }
      stretch            = TRUE
      orientation        = VERTICAL
    }
############### the sliders ###############

    image 
    {
      function            = SLIDER
      recolorable        = TRUE
      state                   = NORMAL
      file            = "Range/null.png"
      border            = { 0, 0, 0, 0 }
      stretch            = TRUE
      overlay_file        = "Range/slider-horiz.png"
      overlay_stretch        = FALSE
      orientation        = HORIZONTAL
    }
    image 
    {
      function            = SLIDER
      recolorable        = TRUE
     state                   = PRELIGHT
      file            = "Range/null.png"
      border            = { 0, 0, 0, 0 }
      stretch            = TRUE
      overlay_file        = "Range/slider-horiz-prelight.png"
      overlay_stretch        = FALSE
      orientation        = HORIZONTAL
    }
    image 
    {
      function            = SLIDER
      recolorable        = TRUE
      state                   = INSENSITIVE
      file            = "Range/null.png"
      border            = { 0, 0, 0, 0 }
      stretch            = TRUE
      overlay_file        = "Range/slider-horiz.png"
      overlay_stretch        = FALSE
      orientation        = HORIZONTAL
    }

######################### VERTICAL ###########################

    image 
    {
      function            = SLIDER
      recolorable        = TRUE
      state                   = NORMAL
      file            = "Range/null.png"
      border            = { 0, 0, 0, 0 }
      stretch            = TRUE
      overlay_file        = "Range/slider-vert.png"
      overlay_stretch        = FALSE
      orientation        = VERTICAL
    }
    image 
    {
      function            = SLIDER
      recolorable        = TRUE
     state                   = PRELIGHT
      file            = "Range/null.png"
      border            = { 0, 0, 0, 0 }
      stretch            = TRUE
      overlay_file        = "Range/slider-vert-prelight.png"
      overlay_stretch        = FALSE
      orientation        = VERTICAL
    }
    image 
    {
      function            = SLIDER
      recolorable        = TRUE
      state                   = INSENSITIVE
      file            = "Range/null.png"
      border            = { 0, 0, 0, 0 }
      stretch            = TRUE
      overlay_file        = "Range/slider-vert.png"
      overlay_stretch        = FALSE
      orientation        = VERTICAL
    }
  }
}
class "GtkRange"         style "range"


################################################################################
# TOOLBAR BUTTONS
################################################################################

style "toolbuttons" = "default"
{

    xthickness = 1
    ythickness = 1

    GtkWidget::focus_padding = 2

    engine "pixmap" 
    {

        # Toolbar button
        image
        {
            function            = BOX
            recolorable         = TRUE
            state            = NORMAL
            file                = "Toolbar/button-normal.png"
            border              = { 5, 5, 5, 5 }
            stretch             = TRUE
        }
        
        # Toolbar button (mouse over)
        image
        {
            function              = BOX
            recolorable            = TRUE
            state            = PRELIGHT
            file                  = "Toolbar/button-prelight.png"
            border                = { 5, 5, 5, 5 }
            stretch               = TRUE
        }

        # Toolbar button (clicked)
        image
        {
            function            = BOX
            recolorable         = TRUE
            state            = ACTIVE
            file                = "Toolbar/button-pressed.png"      ## Example Cadenas Pressé Dans Le Contrôle De Volume Pour Pulse.
            border              = { 5, 5, 5, 5 }
            stretch             = TRUE
        }  
        
        # Toolbar button (disabled)
        image
        {
            function              = BOX
            recolorable            = TRUE
            state            = INSENSITIVE
            file                  = "Toolbar/button-prelight.png"
            border                = { 5, 5, 5, 5 }
            stretch               = TRUE
        }  
    }
}

widget_class "*Tool*GtkToggleButton" style "toolbuttons"
widget_class "*Tool*GtkButton" style "toolbuttons"

################################################################################
# PANEL
################################################################################
style "panel1" = "default"
{
   xthickness            = 0
   ythickness            = 1

   fg[NORMAL] = "#44597C"
   fg[PRELIGHT] = "#404040"
   fg[ACTIVE] = "#404040"
   fg[INSENSITIVE] = "#DDE4FF"
   text[NORMAL] = "#44597C"
   text[PRELIGHT] = "#DDE4FF"

   bg_pixmap[NORMAL]                    = "Panel/panel-bg.png"
   bg_pixmap[SELECTED]                    = "Panel/panel-bg.png"
   bg_pixmap[INSENSITIVE]                = "Panel/panel-bg.png"
   bg_pixmap[PRELIGHT]                    = "Panel/panel-bg.png"
}

style "panel2" = "panel1"
{
   engine "pixmap"
   {

        image
        {
            function    = BOX
            file        = "Panel/panel-bg.png"
            border        = { 0, 0, 0, 0 }
            stretch        = FALSE
          }


  }
}



#### remove panel menu arrow
style "panel-arrow-remove"

{
engine "pixmap"
    {
    image
    {
        function    = ARROW
        recolorable    = TRUE
        overlay_file    = "Arrows/arrow-up_.png"
        overlay_border    = {2,2,2,2}
        overlay_stretch    = FALSE
        arrow_direction    = UP
    }

    image
    {
        function    = ARROW
        recolorable    = TRUE
        overlay_file    = "Arrows/arrow-up_.png"
        overlay_border    = {2,2,2,2}
        overlay_stretch    = FALSE
        arrow_direction    = DOWN
    }
    }
}

widget_class "*PanelToplevel*"             style "panel-arrow-remove"



##################### PANEL BUTTONS ###############################
style "handle" 
{
    engine "pixmap"
    {
    
        image
        {
            function     = HANDLE
            file     = "Panel/panel-bg.png"
            border     = { 0, 0, 0, 0 }
            stretch     = TRUE
            orientation = VERTICAL
        }
    
        image
        {
            function     = HANDLE
            file     = "Panel/panel-bg.png"
            border     = { 0, 0, 0, 0 }
            stretch     = TRUE
            orientation = HORIZONTAL
        }
    }
}


style "panelbuttons"
{

 
    xthickness                    = 2
    ythickness                    = 1

engine "pixmap" 
    {
      
        image
        {
            function                   = BOX
            recolorable             = TRUE
            state                = NORMAL
            file                    = "Panel/panel-bg.png"
            border                  = { 2, 2, 2, 2 }
            stretch                 = TRUE
        }
        image
        {
            function                = BOX
            recolorable             = TRUE
            state                = NORMAL                              #= PRELIGHT
            file                    = "Panel/panelbutton-prelight.png"
            border                  = { 2, 2, 2, 2 }
            stretch                 = TRUE
        }
                
        image
        {
            function                   = BOX
            recolorable             = TRUE
            state                = ACTIVE
            file                    = "Panel/panelbutton-pressed.png"
            border                  = { 2, 2, 2, 2 }
            stretch                 = TRUE
        }  
    }

}


widget_class "*Panel*GtkToggleButton" style "panelbuttons"
widget_class "*Panel*GtkButton" style "panelbuttons"

################################################################################
# MENUBAR
################################################################################

style "menubar"    = "default"    
{
  fg[NORMAL] = "#5A4D44"               ## COULEUR DU TEXTE DANS LA BARRE DE MENU EXAMPLE FIREFOX !!!!
  text[NORMAL] = "#44597C"
  fg[PRELIGHT] = "#404040"
  fg[ACTIVE] = "#404040"
  fg[INSENSITIVE] = "#DDE4FF"
  text[PRELIGHT] = "#DDE4FF"

xthickness            = 0
ythickness            = 0

    engine "pixmap"
    {

        image
        {
            function    = BOX
                        state           = ACTIVE       ### Pour enlever le menubar !!!
            file        = "Menu-Menubar/menubar.png"
            border        = { 3, 3, 3, 3}
            stretch        = TRUE
            }


     }
}

class "GtkMenuBar"       style "menubar"
widget_class "*MenuBar.*" style "menubar"

################################################################################
# MENU
################################################################################

style "menu" = "default"
{

    xthickness = 5
    ythickness = 5
    
    text[PRELIGHT]  = "#5A4D44"
    text[NORMAL]    = "#44597C"  
    text[ACTIVE]    = "#5A4D44"
    fg[PRELIGHT]     = "#5A4D44"
    fg[NORMAL]       = "#504040"  
    fg[ACTIVE]       = "#5A4D44"

    engine "pixmap"
    {
        image
        {
            function         = BOX
            recolorable     = TRUE
            detail         = "menu"
            file         = "Menu-Menubar/menu.png"
            border         = { 6, 6, 6, 6 }
            stretch         = TRUE
        }
    }

}

class "GtkMenu" style "menu"

###############################################
#  Menu Items
###############################################

style "MenuItem"
{

    text[PRELIGHT] = "#5A4D44"
    text[NORMAL]   = "#44597C"
    text[ACTIVE]   = "#5A4D44"
    fg[PRELIGHT]   = "#5A4D44"
    fg[NORMAL]     = "#5A4D44"       ## COULEUR DU TEXTE DANS LE MENU DÉROULANT ET LA BARRE DU MENU BAR JUSTE SOUS LE METACITY !!!!!
    fg[ACTIVE]     = "#5A4D44"

    xthickness     = 3
    ythickness     = 2


        engine "pixmap" 
    {



        image 
        {
                  function        = BOX
                  recolorable     = TRUE
                file            = "Menu-Menubar/menuitem.png"
                border         = { 5, 5, 5, 5 }
                stretch         = TRUE
            }

        image 
            {
            function        = HLINE
         recolorable     = TRUE
         file            = "Menu-Menubar/menu-line.png"
        border          = { 3, 3, 3, 3 }
        stretch         = TRUE
              }

    image
        {
        function     = ARROW
        recolorable     = TRUE
        state         = NORMAL
        overlay_file    = "Menu-Menubar/menu-arrow.png"
        overlay_stretch    = FALSE
        arrow_direction    = RIGHT
        }
        
    image
        {
        function     = ARROW
        recolorable     = TRUE
        state         = PRELIGHT
        overlay_file     = "Menu-Menubar/menu-arrow-prelight.png"
        overlay_stretch    = FALSE
        arrow_direction    = RIGHT
        }
 
    }
}


class "GtkMenuItem" style "MenuItem"

widget_class "*MenuItem*"             style "MenuItem"
widget_class "*.GtkAccelMenuItem.*"         style "MenuItem"

class "GtkItem"                       style "MenuItem"
class "GtkTearoffMenuItem"            style "MenuItem"


###########################################
# Progress Bars
###########################################

style "ProgressBar"
{
      
    xthickness = 1
        ythickness = 1

  engine "pixmap" 
  {

        image 
    {
            function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "ProgressBar/progressbar-horiz.png"
            border          = { 0,0,0,0 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }

        image 
    {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "ProgressBar/trough-horiz.png"
            border          = { 4, 4, 4, 4 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }

        image 
    {
            function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "ProgressBar/progressbar-vert.png"
            border          = { 0,0,0,0 }
            stretch         = TRUE
            orientation     = VERTICAL
        }

        image 
    {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "ProgressBar/trough-vert.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
    }
}

widget_class "*ProgressBar*" style "ProgressBar"

################################################################################
# STATUSBAR
################################################################################

style "statusbar1" = "default"    
{

    xthickness = 8
    ythickness = 2
    
    engine "pixmap" 
    {

        image
        {
             function    = RESIZE_GRIP
        recolorable    = TRUE
        detail        = "statusbar"
        overlay_file    = "Handles/resize_grip.png"
        overlay_border    = {0,2,1,0 }
        overlay_stretch    = FALSE
        }
      }
}

################################################
# Statusbars Drawn by gtk (info bar on the bottom of the window)
################################################
style "Statusbar"
{
    xthickness = 4
        ythickness = 4
      engine "pixmap" 
     {
        image
        {
             function    = RESIZE_GRIP
        recolorable    = TRUE
        detail        = "statusbar"
        overlay_file    = "Handles/resize_grip.png"
        overlay_border    = {1,1,1,1 }
        overlay_stretch    = FALSE
        }
      }
}

widget_class "*Statusbar*" style "Statusbar"
class "GtkStatusbar"       style "Statusbar"


#####################################################
# Notebook
####################################################

style "notebook" 
{

  xthickness = 20
  ythickness = 10

    engine "pixmap" 
    {


        # NOTEBOOK TABS

        #####################
        #Tabs at the top of the notebook.
        #####################
        #This is the image used for the selected tab.
        image 
        {
            function     = EXTENSION
            state         = NORMAL
            gap_side     = BOTTOM
            file         = "Tabs/SelectedTabTop.png"   
            border         = {1,1,1,1}
            stretch     = TRUE
        }

        #This is the image used for tabs in the background.
        image 
        {
            function     = EXTENSION
            state         = ACTIVE
            gap_side     = BOTTOM
            file         = "Tabs/NormalTabTop.png"    
            border         = {1,1,1,1}
            stretch     = TRUE
        }

        ########################
        # Tabs at the bottom of the notebook.
        ########################
        # The image used for background tabs.
        image 
        {
            function     = EXTENSION
            state         = ACTIVE
            gap_side     = TOP
            file         = "Tabs/NormalTabBottom.png"
            border         = {6,6,0,9}
            stretch     = TRUE
        }

        # The image for selected tabs.
        image 
        {
            function     = EXTENSION
            state         = NORMAL
            gap_side     = TOP
            file         = "Tabs/SelectedTabBottom.png"
            border         = {6,6,0,9}
            stretch     = TRUE
        }

#####################

        # Right tab (current)
        image 
        {
            function     = EXTENSION
            state         = NORMAL
            gap_side     = LEFT
            file         = "Tabs/tab-active.png"
            border         = {1,7,7,7} 
            stretch     = TRUE
        }

        # Right tab (background)
        image 
        {
            function     = EXTENSION
            state         = ACTIVE
            gap_side     = LEFT
            file         = "Tabs/tab.png"
            border         = {1,7,7,7} 
            stretch     = TRUE
        }

        # Left tab (current)
        image 
        {
            function     = EXTENSION
            state         = NORMAL
            gap_side     = RIGHT
            file         = "Tabs/tab-active.png"
            border         = {7,1,7,7} 
            stretch     = TRUE
        }

        # Left tab (background)
        image 
        {
            function     = EXTENSION
            state         = ACTIVE
            gap_side    = RIGHT
            file         = "Tabs/tab.png"
            border         = {7,1,7,7} 
            stretch     = TRUE
        }

#########################

        #Use this image when the tabs are at the top of the notebook.
        image 
        {
            function     = BOX_GAP
            gap_side     = TOP
            file         = "Tabs/notebook_top_flat.png"
            border         = {1,1,4,1}
            stretch     = FALSE
        }
        # use this image when the tabs are on the bottom of the notebook.
        image 
        {
            function     = BOX_GAP
            gap_side    = BOTTOM
            file         = "Tabs/notebook_bottom_flat.png"
            border         = {1,1,1,4}
            stretch     = FALSE
        }
        # Use this when the tabs are on the left
        image 
        {
            function     = BOX_GAP
            gap_side     = LEFT
            file         = "Tabs/notebook_left_flat.png"
            border         = {4,1,1,1}
            stretch     = FALSE
        }
        # Use this when the tabs are on the right
        image 
        {
            function     = BOX_GAP
            gap_side     = RIGHT
            file         = "Tabs/notebook_right_flat.png"
            border         = {1,4,1,1}
            stretch     = FALSE
        }

        #For drawing notebook pages when they are not attached to a tab. When does
        #this happen?
            image 
        {
                    function        = BOX
            file         = "Tabs/notebook_top_flat.png"
            border         = {1,1,4,1}
            stretch     = FALSE
                    gap_side        = TOP
            }
    }
}
class "GtkNotebook" style "notebook"



##################################################################

style "themetree" = "default"
{
    fg[NORMAL]       = "#44597C"
    fg[ACTIVE]       = "#44597C"
    fg[PRELIGHT]     = "#44597C"
    fg[SELECTED]     = "#B1AA5A" 
    fg[INSENSITIVE]  = "#747474"

    xthickness = 2
    ythickness = 2

    engine "pixmap"
    {
# Default button
        image
        {
            function            = BOX
            detail            = "buttondefault"
            recolorable            = TRUE
            file            = "Buttons/button-default.png"
            border            = { 10,10,10,10 }
            stretch            = TRUE
        }
        
# Button (mouse over)
        image
        {
            function        = BOX
            state            = PRELIGHT
            recolorable            = TRUE
            file            = "Buttons/tab-prelight.png"
            border            = { 3,3,3,3 }
            stretch            = TRUE
        }
        
# Button (pressed)
        image
        {
            function            = BOX
            state            = ACTIVE
            file            = "Buttons/tab-prelight.png"
            border            = { 3,3,3,3 }
            stretch            = TRUE
        }    
        
# insensitive
        image 
        {
            function            = BOX
            state            = INSENSITIVE
            file            = "Buttons/tab-normal.png"
            border            = { 3,3,3,3 }
            stretch            = TRUE
        }
        
# Button (normal)
        image 
        {
            function            = BOX
            file            = "Buttons/tab-normal.png"        
            border            = { 3,3,3,3 }
            stretch            = TRUE
        }    
    }
}


widget_class "*.GtkTreeView.GtkButton"  style "themetree"
widget_class "*.GtkCTree.GtkButton"     style "themetree"
widget_class "*.GtkList.GtkButton"     style "themetree"
widget_class "*.GtkCList.GtkButton"     style "themetree"

################################################################################
# TOOLTIPS
################################################################################

style "Tooltip" = "default"
{
        xthickness = 10                                      ## DIMENSSION INFO-BULLE
    ythickness = 40                                      ## DIMENSSION INFO-BULLE 

##bg[NORMAL] = "#979797"
fg[NORMAL] = "#A78261"                                       ## Couleur Du Texte Dans L'info-Bulle !!!!
 
        engine "pixmap"
    {
        image
        {
            function =  FLAT_BOX                 ## function = FLAT_BOX 
                        border   = { 1,1,1,1}
                        file     = "Others/tooltip.png"      ## CHANGER LA COULEUR DES INFOBULLES !!!!! HOURRA
                 }
    }
}

class "gtk-tooltip" style "Tooltip"
widget "gtk-tooltip" style "Tooltip"
widget "gtk-tooltip" style "Tooltip"
widget "gtk-tooltip.*" style "Tooltip"
widget "gtk-tooltips" style "Tooltip"
widget "gtk-tooltips.*" style "Tooltip"
class "GtkTooltip" style "Tooltip"
widget_class "*.<GtkTooltip>.*" style "Tooltip"


################################################################################
# RULER
################################################################################
style "ruler" = "default"
{
    engine "pixmap" 
    {
        image 
        {
                function        = BOX
            recolorable        = TRUE
            detail            = "vruler"
            file            = "Others/ruler.png"
            border            = { 2, 2, 2, 2 }
            stretch            = TRUE
        }
        
        image 
        {
                function        = BOX
            recolorable        = TRUE
            detail            = "hruler"
            file            = "Others/ruler.png"
            border            = { 2, 2, 2, 2 }
            stretch            = TRUE
        }
    }
}

################################################################################
# HANDELS
################################################################################

style "handlebox" = "default"
{
    engine "pixmap"
    {
        

        image
        {
            function            = HANDLE
            recolorable            = TRUE
            overlay_file        = "Handles/dimple.png"
            overlay_stretch        = FALSE
            orientation            = VERTICAL
        }
        image
        {
            function            = HANDLE
            overlay_file        = "Handles/dimple.png"
            overlay_stretch         = FALSE
            orientation            = HORIZONTAL
        }
    }
}

class "GtkHandleBox"            style "handlebox"
class "GtkPaned"                   style "handlebox"

#######################################

style "flat" = "default"
{
    engine "pixmap"
    {
        image
        {
            function = SHADOW
        }
    }
}

style "layout"    = "default"
{
    engine "pixmap"
    {
        image
        {
            function            = SHADOW
            detail            = "entry"
            shadow            = IN
            recolorable            = FALSE
            file            = "Shadows/text.png"
            border            = { 1, 1, 1, 1 }
            stretch            = TRUE
        }
        image
        {
            function            = BOX
            detail            = "button"
            state            = NORMAL
            file            = "Buttons/button-normal.png"
            recolorable            = TRUE
            border            = { 2, 3, 2, 3 }
            stretch            = TRUE
        }
    }
}

###########################################
# Mac like Scrollbars 
###########################################

style "scrollbar" {

  GtkRange::trough_border = 1
  GtkVScale::slider_length = 16
  GtkVScale::slider_width = 19
  GtkHScale::slider_length = 17
  GtkHScale::slider_width = 19
  GtkRange::slider_width = 15
  GtkRange::stepper_size = 15
  GtkScrollbar::min_slider_length = 30
  
      engine "pixmap" {

        image 
    {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "Scrollbars/vertical_trough.png"
            border          = { 0, 0, 39, 39 }
            stretch         = TRUE
            orientation     = VERTICAL
        }

        image 
    {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "Scrollbars/horizontal_trough.png"
            border          = { 39, 39, 0, 0 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }

    image 
    {
            function        = SLIDER 
            recolorable     = TRUE
            state           = INSENSITIVE
            file            = "Scrollbars/scrollbar_horizontal_insens.png"
            border          = { 11, 11, 6, 6 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
      
        image 
    {
            function        = SLIDER 
            recolorable     = TRUE
            file            = "Scrollbars/hor_bg.png"
            border          = { 0,0,0,0 }
            stretch         = FALSE
            overlay_file    = "Scrollbars/vert_zero.png"
            overlay_border  = { 8,8,0,0 }
            overlay_stretch = TRUE
            orientation     = HORIZONTAL
        }

        image 
    {
            function        = SLIDER
            recolorable     = TRUE
            file            = "Scrollbars/test2.png"
            border          = { 0,0,0,0 }
            stretch         = FALSE
            overlay_file    = "Scrollbars/zero.png"
            overlay_border  = { 0,0,8,8 }
            overlay_stretch = TRUE
            orientation     = VERTICAL
    }


    image 
    {
            function        = SLIDER 
            recolorable     = TRUE
            state           = INSENSITIVE
            file            = "Scrollbars/scrollbar_vertical_insens.png"
            border          = { 6, 6, 11, 11 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
  

      image 
      {
            function        = BOX
            recolorable     = TRUE
            state           = NORMAL 
            file            = "Scrollbars/null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
      }
      
      image 
      {
            function        = BOX
            recolorable     = TRUE
            state           = PRELIGHT
            file            = "Scrollbars/null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
        orientation     = HORIZONTAL
      }
      
      image 
      {
            function        = BOX
            recolorable     = TRUE
            state           = ACTIVE
            file            = "Scrollbars/null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
      }
  
      image 
      {
            function        = BOX
            recolorable     = TRUE
            state           = INSENSITIVE
            file            = "Scrollbars/null.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
      }


      image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = NORMAL
    overlay_file        = "Scrollbars/scroll_arrow_up.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = UP
      }

      image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = NORMAL
    overlay_file        = "Scrollbars/scroll_arrow_down.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = DOWN
      }
  
      image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = NORMAL
    overlay_file        = "Scrollbars/scroll_arrow_left.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = LEFT
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = NORMAL
    overlay_file        = "Scrollbars/scroll_arrow_right.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = RIGHT
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = PRELIGHT
    overlay_file        = "Scrollbars/scroll_arrow_up_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = UP
      }

    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = PRELIGHT
    overlay_file        = "Scrollbars/scroll_arrow_down_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = DOWN
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = PRELIGHT
    overlay_file        = "Scrollbars/scroll_arrow_left_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = LEFT
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = PRELIGHT
    overlay_file        = "Scrollbars/scroll_arrow_right_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = RIGHT
      }

 image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = INSENSITIVE
    overlay_file        = "Scrollbars/scroll_arrow_up_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = UP
      }

    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            =INSENSITIVE
    overlay_file        = "Scrollbars/scroll_arrow_down_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = DOWN
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = INSENSITIVE
    overlay_file        = "Scrollbars/scroll_arrow_left_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = LEFT
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    state            = INSENSITIVE
    overlay_file        = "Scrollbars/scroll_arrow_right_prelight.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = RIGHT
      }

    image 
      {
    function        = ARROW
    recolorable        = TRUE
    shadow            = IN
    overlay_file        = "Scrollbars/scroll_arrow_up_push.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = UP
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    shadow            = IN
    overlay_file        = "Scrollbars/scroll_arrow_down_push.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = DOWN
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    shadow            = IN
    overlay_file        = "Scrollbars/scroll_arrow_left_push.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = LEFT
      }
    image 
      {
    function        = ARROW
    recolorable        = TRUE
    shadow            = IN
    overlay_file        = "Scrollbars/scroll_arrow_right_push.png"
    overlay_border        = { 0, 0, 0, 0 }
    overlay_stretch        = FALSE
    arrow_direction        = RIGHT
      }    

   }
}

class "GtkScrollbar"                   style "scrollbar"

################################################################################
# LIST HEADERS
################################################################################

style "list-header"  
{
    GtkTreeView::odd_row_color  = "#1A1717"       ## COULEUR UNE LIGNE SUR DEUX [EXEMPLE PLAYLIST RHYTHMBOX]
    GtkTreeView::even_row_color = "#1A1717"       ## LIGNES PLAYLIST PAR EXAMPLE 

    engine "pixmap" 
    {
        # Normal
        image
              {
                function        = BOX
            recolorable     = TRUE
            shadow          = OUT
            state        = NORMAL
            file            = "ListHeaders/list_header.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
           }

        # Prelight
        image
           {
                   function        = BOX
            recolorable     = TRUE
                         state        = PRELIGHT
            file            = "ListHeaders/list_header-prelight.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
           }

        # Active
    image
              {
                function           = BOX
            recolorable     = TRUE
                         state        = ACTIVE
            file        = "ListHeaders/list_header-pressed.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
           }

        # Selected
    image
           {
                   function        = BOX
                        state        = SELECTED
            file        = "ListHeaders/list_header-prelight.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
           }
      }
}

widget_class "*List" style "list-header"
widget_class "*GtkTree*" style "list-header"
widget_class "*GtkCList*" style "list-header"


style "gtktreeview"
{
  base[NORMAL]         = "#1A1717"                      ## Mon Marron
  base[ACTIVE]         = "#352922"  ##BEIGE FONCÉ       ## Couleur De la Selection Du Texte Dans Les Fenêtres Au Déplacement.         
  base[PRELIGHT]       = "#5A4D44"  #GRIS GLAIR         ## ?????????????                                                                   
  base[SELECTED]    = "#352922"  ##BEIGE FONCÉ       ## Couleur De la Selection Du Texte Dans Les Fenêtres Au Repos.
  text[ACTIVE]          = "#5A4D44"  #BEIGE              ## Couleur Du Texte Sélectionné Au Déplacement De la Fenêtre.
   
}
class "GtkTreeView" style "gtktreeview"

################################################################################
# Sodipodi fix

style "unstyle"
{
    engine "pixmap"
    {
    }
}


################################################################################

class "GtkEntry"                   style "entry"
class "GtkOldEditable"             style "entry"
class "GtkEventBox"                style "flat"
class "GtkLayout"                 style "layout"

# Prevent Sodipodi from crashing
class "SPColorSlider"             style "unstyle"

################################# TWEAKS ###################################

include "thunar-tweaks.rc"
include "nautilus-tweaks.rc"
include "epiphany-tweaks.rc"
include "evolution-tweaks.rc"

style "grey" = "default"
{
    bg[NORMAL]  = "#1A1717"
}

style "dgrey"   #= "default"
{
    bg[NORMAL] = "#ABABAB"
}

style "red" = "default"
{
    bg[NORMAL] = "#ea1515"
}

style "blue" = "default"
{
    bg[NORMAL] = "#125ce3"
}

####################################################

#Fix for the Gimp ruler
class "GtkRuler"  style "dgrey"

#Azureus widgets
class "*GtkFixed*" style "grey"

#eog canvas
class "*GtkTable*" style "grey"

##Gimp Fix (scale dialog/canvas)
class "*GtkDrawingArea*" style "grey"

# Include icons
include "icons/iconrc"



#########
# ICONS
#########
gtk-icon-sizes = "gtk-button=24,24:panel-menu=16,16"  
  

# gtk-button Bouton Barre D'outils
# panel-menu Menu Déroulant Du Bureau

Merci par avance de votre aide.

Dernière modification par Compte anonymisé (Le 25/07/2017, à 09:36)