######################################
#         Theme by steveacab         #
# email: antonio.chiurazzi@gmail.com #
######################################

include "panel.rc"

# Default Colors
gtk_color_scheme = "fg_color:#000000\nbg_color:#766D67\nbase_color:#FFF\ntext_color:#1A1A1A\nselected_bg_color:#AE8B6A\nselected_fg_color:#FFFFFF\ntooltip_bg_color:#473D37\ntooltip_fg_color:#FFF"

# PopUp Delay
gtk-menu-popup-delay = 0

# Icon Sizes
#gtk-icon-sizes = "panel=16,16 : gtk-menu=16,16 : gtk-button=16,16 : gtk-small-toolbar=16,16 : gtk-large-toolbar=16,16 : gtk-dialog=16,16 : gtk-dnd=16,16 : #panel-menu=22,22"

# Show Images on Buttons?
gtk-button-images = 0

style "excelsior-default"
{

  # NautilusIconContainer()
  NautilusIconContainer::highlight_alpha	= 120 # Icon Container Opacity on Highlight
  NautilusIconContainer::prelight_alpha		= 120 # Icon Container Opacity on Prelight
  NautilusIconContainer::selection_box_color	= "#8E827A" # Color of the Selectionbox on the Desktop

  # PanelToplevel() Options
  PanelToplevel::arrow-size			= 3 # size of the show/hide panel arrows

  # EphyLocationEntry() Options >> Used by Epiphany Only
  EphyLocationEntry::secure-fg-color		= "#FFFFFF" # color to use for secure sites as Foreground
  EphyLocationEntry::secure-bg-color		= "#2BA731" # color to use for secure sites as Background

  # GaleonLocationEntry() Options >> Used by Galeon Only
  GaleonLocationEntry::secure-color		= "#2BA731" # color to use for secure sites

  # ETree() Options >> Used by Evolution Only
  ETree::retro_look				= 1 # Use old or new look for Evolutions Trees

  # GtkHTML() Options
  GtkHTML::spell_error_color 			= "#FBB830" # color of spell-errors

  # EggFindBar() Options >> Used by Evince Only
  EggFindBar::all_matches_color			= "#3099FB" # color of the all matches
  EggFindBar::current_match_color		= "#1E64A6" # color of the current match

  # GtkScrolledWindow() Options
  GtkScrolledWindow::scrollbar-spacing  	= 0 # scrollbarspacing inside scrolled windows
  GtkScrolledWindow::scrollbars-within-bevel 	= 1 # show scrollbar inside the scrolled window
  GtkScrolledWindow::shadow_type 		= GTK_SHADOW_NONE # Shadow Type

  # GtkStatusBar() Options
  GtkStatusbar::shadow_type			= GTK_SHADOW_NONE # Shadow Type

  # GtkNotebook() Options
  GtkNotebook::tab-curvature 			= 3 # tab roundness
  GtkNotebook::tab-overlap 			= 4 # let tabs overlap other tabs
  GtkNotebook::tab-border 			= 0 # tab border
  GtkNotebook::tab-hborder			= 0 # tab horizontal border
  GtkNotebook::tab-vborder 			= 0 # tab vertical border
  GtkNotebook::show-border 			= 0 # show/hide tab border
  GtkNotebook::gtk-button-images 		= 0 # No Images on Buttons
  GtkNotebook::gtk-menu-images 			= 0 # No Images on Menus
  GtkNotebook::arrow-spacing 			= 0 # Scroll Arrow Spacing
  GtkNotebook::has-backward-stepper 		= 1 # backward stepper
  GtkNotebook::has-secondary-backward-stepper 	= 0 # second backward stepper
  GtkNotebook::has-forward-stepper		= 1 # forward stepper
  GtkNotebook::has-secondary-forward-stepper	= 0 # second forward stepper

  # GtkContainer() Options
  GtkContainer::border-with			= 0

  # GtkMenu() Options
  GtkMenu::horizontal-offset 			= -1 # self explaining
  GtkMenu::vertical-padding 			= 0 #
  GtkMenu::horizontal-padding 			= 0 #
  GtkMenu::double-arrows			= 0 # Don't draw double arrows when not enough space for Menus

  # GtkMenuItem() Options
  GtkMenuItem::arrow-spacing 			= 0 # space between an item and it's arrow

  # General GtkWidget() Options
  GtkWidget::cursor-color 			= @selected_bg_color # Color of the Cursor (_Not_ the Pointer!)
  xthickness 					= 0 # Horizontal thickness
  ythickness 					= 0 # Vertical thickness

  # GtkEntry() Options
  GtkEntry::cursor_color 			= @selected_bg_color # Color of the Cursor (_Not_ the Pointer!)

  # GtkTextView() || GtkListStore() || GtkTreeView() Options
  GtkTextView::cursor_color 			= @selected_bg_color # Color of the Cursor (_Not_ the Pointer!)
  GtkTextView::error-underline-color		= "#FBB830" # Error Underline Color
  GtkTreeView::horizontal_separator		= 3 # Horizontal Extra Space between Entries
  GtkTreeView::vertical_separator		= 3 # Vertical Extra Space between Entries
  GtkIconView::selection-box-color		= "#F2BE45" # Selection Box Color

  # GtkRange() Options
  GtkRange::trough-border 			= 0 # make the trough bigger than the content
  GtkRange::slider-width 			= 16 # the width of slider
  GtkRange::activate-slider			= 1 # Enable state->active for Scrollbar sliders
  GtkRange::trough-under-steppers		= 0 #

  # GtkScrollbar() Options
  GtkScrollbar::has-backward-stepper 		= 1 # backward stepper
  GtkScrollbar::has-secondary-backward-stepper 	= 0 # second backward stepper
  GtkScrollbar::has-forward-stepper		= 1 # forward stepper
  GtkScrollbar::has-secondary-forward-stepper	= 0 # second forward stepper
  GtkScrollbar::fixed-slider-length		= 0 # fix the length of the slider
  GtkScrollbar::min_slider_length 		= 80 # fix the length of the slider to this
  GtkScrollbar::slider_width			= 14 # fix the width of the slider to this

  # GtkPaned() Options
  GtkPaned::handle_size  			= 5 # size of the hseparators and vseparators

  # GtkComboBox() Options
  GtkComboBox::appears-as-list			= 0 # make GtkComboBox() look like GtkCombo()

  # GtkToolbar() Options
  GtkToolbar::space-size     			= 0 # size of the spacers 0 = disabled

  fg[NORMAL]       	=  @fg_color
  fg[ACTIVE]       	=  @fg_color
  fg[PRELIGHT]     	=  @fg_color
  fg[SELECTED]     	=  @selected_fg_color
  fg[INSENSITIVE]  	=  shade (3.0,@fg_color)

  bg[NORMAL]       	=  @bg_color
  bg[ACTIVE]        	=  shade (1.0233,@bg_color)
  bg[PRELIGHT]     	=  shade (1.0930,@bg_color)
  bg[SELECTED]	    	=  @selected_bg_color
  bg[INSENSITIVE]  	=  shade (1.0233,@bg_color)

  base[NORMAL]     	=  @base_color
  base[ACTIVE]     	=  shade (0.65,@base_color)
  base[PRELIGHT]   	=  @base_color
  base[SELECTED]	=  @selected_bg_color
  base[INSENSITIVE]	=  shade (1.025,@bg_color)

  text[NORMAL]     	=  @text_color
  text[ACTIVE]		=  shade (0.90,@base_color)
  text[PRELIGHT]   	=  @text_color
  text[SELECTED]   	=  @selected_fg_color
  text[INSENSITIVE]	=  mix (0.70,@bg_color,@fg_color)

  engine "excelsior"
  {
    animation		= TRUE # En/Disable Animations
    contrast		= 1.0 # General Widget Contrast
    radius		= 1.2 # General Widget Roundness
    menubarstyle      	= 1 # Menubarstyle 0 = Gummy; 1 = Glossy; 2 = Semi-Glossy
    toolbarstyle	= 1 # Toolbarstyle 0 = Gummy; 1 = Glossy; 2 = Semi-Glossy
    scrollbarstyle	= 0 # Scrollbarstyle 0 = Striped; 1 = Arrowed; 2 = Plain
    progbar_style	= 1 # Progressbarstyle 0 = Striped; 1 = Arrowed; 2 = Plain
    			    # 3 = Striped + Cells; 4 = Arrowed + Cells; 5 = Plain + Cells
    progbar_to_left	= 1 # Animationdirection of the Progressbar 0 = left -> right; 1 = right -> left
    focus_color      	= "#BBE552" # Color of the Focus-Line
    focus_line_width    = 0 # The Width of the Focus Line
    entry_ib_ever       = 0 # Display the colored inner border 0 = only on focus; 1 = everytime
    random_effect       = 1 # Draw randomly generated stuff on buttons and tabs 0 = no; 1 = stripes; 2 = bubbles
    random_opacity      = 0.2 # The Opacity of the Stripes
    mw_gradient         = 1 # MainWindow Gradient 0 = Plain ; 1 = horiz. gradient; 2 = diag. gradient
                            #                           3 = stripes [showcase]; 4 = arrows [showcase]
    aqua_tabs           = 1 # Style of the Tabs 0 = excelsior 1.0+ ; 1 = excelsior 1.0-
    button_style        = 2 # Style of the Buttons 0 = Inverted ; 1 = Smooth
    pellucid_scales     = 0 # How to draw Sliders on Scales 0 = opaque 1 = pellucid
    old_scales          = 0 # How to draw Sliders on Scales 0 = follow pellucid_scales/button-style
                            #                               1 = old style for the sliders
    arrow_size          = 0.95 # Size of the Arrows
    swoosh_effect       = 0 # Swoosh! Effect on Buttons 0 = no; 1 = yes;
    swoosh_strength     = 8 # Swoosh! Strength on Buttons 0 - xxx
    scale_trough_size   = 8 # Size of the Scale Troughs
    tooltip_style       = 1 # Style of the Tooltip-gradient 0 = straight; 1 = curved; 2 = triangle (left);
                            # 3 = right triangle (right); 4 = triangle (top); 5 = triangle (bottom);
  }
}

# Default Settings
style "excelsior-wide" = "excelsior-default"
{
  xthickness = 2
  ythickness = 2
}

# Default Settings
style "excelsior-wider" = "excelsior-default"
{
  xthickness = 3
  ythickness = 3
}

# GtkButton() Settings
style "excelsior-button" = "excelsior-wider"
{
}

# GtkToggleButton() Settings
style "excelsior-toggle-button" = "excelsior-wider"
{
}

# GtkRadioButton() Settings
style "excelsior-indicator-radio" = "excelsior-wide"
{
}

# GtkCheckButton() Settings
style "excelsior-indicator-check" = "excelsior-wide"
{
}

# GtkNotebook() Settings
style "excelsior-notebook" = "excelsior-button"
{
}

# GtkTasklist() Settings
style "excelsior-tasklist" = "excelsior-default"
{
  xthickness = 5
  ythickness = 3
}

# GtkMenu() Settings
style "excelsior-menu" = "excelsior-default"
{
  xthickness = 2
  ythickness = 2
  fg[PRELIGHT]  = @selected_fg_color
}

# GtkMenuBarItem() Settings
style "excelsior-menubar-item" = "excelsior-button"
{
  fg[PRELIGHT]  = @selected_fg_color
}

# GtkMenuItem() Settings
style "excelsior-menu-item" = "excelsior-default"
{
  xthickness = 2
  ythickness = 3
  fg[PRELIGHT]  = @selected_fg_color
}

# GtkTreeView(), GtkListStore() et cetera Settings
style "excelsior-tree" = "excelsior-default"
{
  xthickness = 2
  ythickness = 2
}

# GtkFrame() Settings
style "excelsior-frame-title" = "excelsior-default"
{
}

# GtkProgressbar() Settings
style "excelsior-progressbar" = "excelsior-wide"
{
  xthickness = 3
  ythickness = 3
  fg[PRELIGHT]  = @selected_fg_color
}

# GtkCombo(), GtkCombobox() et cetera Settings
style "excelsior-combo" = "excelsior-button"
{
}

# GtkMenuBar() Settings
style "excelsior-menubar" = "excelsior-default"
{
  fg[PRELIGHT]  = @selected_fg_color
}

# GtkScale(), GtkSlider() Settings
style "excelsior-scale" = "excelsior-button"
{
  GtkRange::trough-side-details = 1 #
}

# GtkScrollbar() Settings
style "excelsior-scroll" = "excelsior-wider"
{
}

# GnomePanel() Settings
style "excelsior-panel" = "excelsior-wider"
{
}

# NautilusLocationBar() Settings
style "nautilus-location"
{
}

widget "*.nautilus-extra-view-widget" style:highest "nautilus-location"

class "GtkProgressBar" style "excelsior-progressbar"
class "GtkWidget"    style "excelsior-default"
class "GtkButton"    style "excelsior-button"
class "GtkScale"     style "excelsior-scale"
class "GtkCombo"     style "excelsior-button"
class "GtkRange"     style "excelsior-wide"
class "GtkFrame"     style "excelsior-wide"
class "GtkSeparator" style "excelsior-wide"
class "GtkMenu"      style "excelsior-menu"
class "GtkEntry"     style "excelsior-wider"
class "GtkScrollbar" style "excelsior-scroll"
class "GtkMenuItem"  style "excelsior-menu-item"
class "GtkRadioButton" style "excelsior-indicator-radio"
class "GtkCheckButton" style "excelsior-indicator-check"
class "GtkToggleButton" style "excelsior-toggle-button"
class "GtkMenuBar" style "excelsior-menubar"

widget_class "*GtkNotebook"    style "excelsior-notebook"
widget_class "*GtkNotebook*GtkEventBox"     style "excelsior-notebook"
widget_class "*GtkNotebook*GtkDrawingArea"  style "excelsior-notebook"
widget_class "*GtkNotebook*GtkLayout"       style "excelsior-notebook"

widget_class "Panel*" style "excelsior-panel"
widget_class "Panel*GtkButton.*" style "excelsior-panel"
widget_class "Panel*GtkToggleButton.*" style "excelsior-panel"
widget_class "Panel*Menu.*" style "excelsior-panel"
widget_class "Panel*MenuBar.*" style "excelsior-panel"
widget_class "Panel*Applet*" style "excelsior-panel"

widget_class "*MenuItem*" style "excelsior-menu-item"
widget_class "*.GtkMenuBar.*MenuItem.*" style "excelsior-menubar-item"

widget_class "*.GtkComboBox.GtkButton" style "excelsior-combo"
widget_class "*.GtkCombo.GtkButton"    style "excelsior-combo"
widget_class "*.GtkComboBox.GtkFrame"  style "excelsior-wider"

widget_class "*.GtkTreeView.GtkButton" style "excelsior-tree"
widget_class "*.GtkCTree.GtkButton" style "excelsior-tree"
widget_class "*.GtkList.GtkButton" style "excelsior-tree"
widget_class "*.GtkCList.GtkButton" style "excelsior-tree"
widget_class "*.GtkFrame.GtkLabel" style "excelsior-frame-title"

widget_class "*.GtkNotebook.*.GtkEventBox" style "excelsior-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "excelsior-notebook"
