2 gtk-color-scheme = "base_color:#ffffff\nfg_color:#202020\ntooltip_fg_color:#ffffff\nselected_bg_color:#3b6eeb\nselected_fg_color:#ffffff\ntext_color:#202020\nbg_color:#ededed\ntooltip_bg_color:#000000\nlink_color:#0033ff"
4 gtk_color_scheme = "menu_gradient:#4455F6"
14 #######################
16 #######################
17 GtkButton::child-displacement-x = 0
18 GtkButton::child-displacement-y = 0
19 GtkButton::default-border = {0, 0, 0, 0}
20 GtkButton::image-spacing = 4
21 GtkToolButton::icon-spacing = 4
23 GtkCheckButton::indicator-size = 18
24 GtkRadioButton::indicator-size = 18
26 GtkEntry::honors-transparent-bg-hint = 1
27 GtkEntry::invisible-char = 0x2022
28 GtkEntry::progress-border = {2, 2, 2, 2}
29 GtkEntry::state-hint = 0
31 GtkProgressBar::min-vertical-bar-width = 13
32 GtkProgressBar::min-horizontal-bar-height = 13
34 GtkExpander::expander-size = 14
36 GtkMenuBar::internal-padding = 0
37 GtkMenuBar::window-dragging = 1
38 # GtkMenuBar::shadow-type = GTK_SHADOW_NONE # En Unity se habilita esta linea
40 GtkMenu::horizontal-padding = 0
41 GtkMenu::vertical-padding = 0
42 GtkSeparatorMenuItem::horizontal-padding = 7
44 GtkNotebook::tab-overlap = 2 # Default = 2
45 GtkNotebook::tab-curvature = 1 # Default = 1
47 GtkPaned::handle-size = 6
49 GtkRange::trough-border = 0
50 GtkRange::trough-side-details = 0
51 GtkRange::slider-width = 15
52 GtkRange::stepper-size = 1
54 GtkScale::slider-length = 14
55 GtkScale::slider-width = 14
56 GtkScale::trough-side-details = 0
58 GtkScrollbar::has-backward-stepper = 0
59 GtkScrollbar::has-forward-stepper = 1 # El maldito rollo de gtk2 y las scrollbars
60 GtkScrollbar::min-slider-length = 30
61 GtkScrollbar::slider-width = 9
62 GtkScrollbar::trough-border = 3
63 GtkScrollbar::activate-slider = 0
64 GtkScrollbar::trough-side-details = 0
65 GtkScrollbar::stepper-size = 1
67 GtkScrolledWindow::scrollbar-spacing = 0
68 GtkScrolledWindow::scrollbars-within-bevel = 1
70 GtkToolbar::internal-padding = 0
71 GtkToolbar::window-dragging = 1
73 GtkTreeView::expander-size = 7
74 GtkTreeView::odd_row_color = "#F4F6FA"
75 # en eclipse afecta backcolor de "Quick Type Hierarchy (CTRL+T)"
76 # GtkTreeView::even_row_color = "#FFF"
78 GtkWidget::link-color = @link_color
79 GtkWidget::focus-padding = 0
80 WnckTasklist::fade-overlay-rect = 0
82 GtkWindow::resize-grip-height = 0 # Ocultar resize-grip
83 GtkWindow::resize-grip-width = 0
88 bg[NORMAL] = @bg_color
89 bg[PRELIGHT] = shade (1.02, @bg_color)
90 bg[SELECTED] = @selected_bg_color
91 bg[INSENSITIVE] = @bg_color
92 bg[ACTIVE] = shade (0.9, @bg_color)
94 fg[NORMAL] = @text_color
95 fg[PRELIGHT] = @fg_color
96 fg[SELECTED] = @selected_fg_color
97 fg[INSENSITIVE] = darker (@bg_color)
98 fg[ACTIVE] = @fg_color
100 text[NORMAL] = @text_color
101 text[PRELIGHT] = @text_color
102 text[SELECTED] = @selected_fg_color
103 text[INSENSITIVE] = darker (@bg_color)
104 text[ACTIVE] = @selected_fg_color
106 base[NORMAL] = @base_color
107 base[PRELIGHT] = shade (0.95, @bg_color)
108 base[SELECTED] = @selected_bg_color
109 base[INSENSITIVE] = @bg_color
110 base[ACTIVE] = shade (0.9, @selected_bg_color)
114 arrowstyle = 1 # Estilo flechas menu (triangulos)
115 colorize_scrollbar = TRUE
117 default_button_color = shade (1.05, "#66a3e3")
118 expanderstyle = 0 # Treview expander (triangulo)
121 glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
122 glowstyle = 4 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
123 gradient_shades = {1.00, 0.91, 0.92, 0.81}
124 highlight_shade = 1.0
125 lightborder_shade = 1.0
126 lightborderstyle = 1 # 0 = top side, 1 = all sides
127 listviewstyle = 0 # 0 = nothing, 1 = dotted, 2 = line
128 menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
129 menubarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
130 menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
131 menustyle = 3 # 0 = no vertical menu stripe, 1 = display vertical menu stripe, 2 = faint? 3 = borderless
133 reliefstyle = 3 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
134 rgba = FALSE # alpha transparency
135 roundness = 3 # 0 = square
136 scrollbarstyle = 0 # 0 = nothing
138 shadow_shades = {2.0, 1.0}
139 sliderstyle = 0 # 0 = nothing added
140 stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
141 toolbarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient
142 trough_shades = {0.85, 1.0}
160 bg[ACTIVE] = shade (1.15, "#5c8fe9") # Pulsado #80B8EA
161 bg[NORMAL] = shade (0.93, "#FFF")
162 bg[PRELIGHT] = shade (0.95, "#FFF")
163 bg[SELECTED] = shade (1.25, "#5c8fe9") # Default
164 bg[INSENSITIVE] = shade (0.88, "#FFF")
167 border_shades = {1.0, 0.90}
169 gradient_shades = {1.25,1.02,1.01,1.05}
171 lightborder_shade = 1.1
176 style "checkradio_label" {
177 fg[ACTIVE] = @text_color # Forzar color texto en radiobutton-eclipse
180 style "checkbutton" {
187 overlay_file = "assets/l-checkbox-unchecked-18.png"
188 overlay_stretch = FALSE
196 overlay_file = "assets/l-checkbox-unchecked-18.png"
197 overlay_stretch = FALSE
205 overlay_file = "assets/l-checkbox-unchecked-18.png"
206 overlay_stretch = FALSE
214 overlay_file = "assets/l-checkbox-unchecked-insensitive-18.png"
215 overlay_stretch = FALSE
223 overlay_file = "assets/l-checkbox-checked-18.png"
224 overlay_stretch = FALSE
232 overlay_file = "assets/l-checkbox-checked-18.png"
233 overlay_stretch = FALSE
241 overlay_file = "assets/l-checkbox-checked-18.png"
242 overlay_stretch = FALSE
251 overlay_file = "assets/l-checkbox-checked-insensitive-18.png"
252 overlay_stretch = FALSE
259 file = "assets/null.png"
260 border = {2, 2, 2, 2}
265 style "entry" { # text
269 bg[SELECTED] = mix (0.5, @selected_bg_color, @base_color)
270 fg[SELECTED] = @text_color
275 border_shades = {1.45, 1.35}
283 fg[NORMAL] = shade (2.0, @text_color)
284 fg[PRELIGHT] = shade (2.0, @text_color)
288 gradient_shades = {1.0, 1.0, 1.0, 1.0}
292 style "frame_title" {
293 fg[NORMAL] = lighter (@fg_color)
300 overlay_file = "assets/handle.png"
301 overlay_border = {0, 0, 0, 0}
302 overlay_stretch = FALSE
303 orientation = HORIZONTAL
304 file = "assets/null.png"
305 border = {0, 0, 0, 0}
311 overlay_file = "assets/handle.png"
312 overlay_border = {0, 0, 0, 0}
313 overlay_stretch = FALSE
314 orientation = VERTICAL
315 file = "assets/null.png"
316 border = {0, 0, 0, 0}
321 class "GtkPaned" style "handle"
328 fg[NORMAL] = shade (1.99, @fg_color)
329 bg[NORMAL] = shade (0.90, @bg_color)
332 gradient_shades = {1.00,0.96,0.96,0.89}
333 border_shades = {1.1, 0.9}
343 bg[NORMAL] = shade (1.05, "#ededed")
345 GtkMenuItem::arrow-scaling = 0.5
348 gradient_shades = {1.0, 1.0, 1.0, 1.0}
349 border_shades = {1.1, 0.9}
350 roundness = 0 # 0 = squared
355 style "menu_item_white" {
359 fg[PRELIGHT] = @selected_fg_color
360 bg[PRELIGHT] = @menu_gradient
361 bg[SELECTED] = @menu_gradient
364 gradient_shades = {1.20, 1.10, 1.10, 1.00}
366 border_shades = {1.60, 1.0}
372 style "menu_item_black" {
376 fg[PRELIGHT] = @selected_fg_color
377 bg[PRELIGHT] = shade (0.94, "#3C3CF0")
378 bg[SELECTED] = shade (0.94, "#3C3CF0")
381 gradient_shades = {1.30, 1.15, 1.15, 1.00}
391 bg[NORMAL] = shade (0.96, @bg_color) # selected tab entire
392 bg[ACTIVE] = shade (1.12, @bg_color) # unselected tab
395 gradient_shades = {1.20,0.98,0.92,0.65}
402 style "progressbar" {
406 fg[PRELIGHT] = @selected_fg_color
407 #bg[SELECTED] = "#7088CA"
408 bg[SELECTED] =shade (0.90, "#80B8EA")
411 gradient_shades = {1.30, 1.15, 1.15, 1.0}
416 style "radiobutton" {
423 overlay_file = "assets/l-radio-unselected-18.png"
424 overlay_stretch = FALSE
432 overlay_file = "assets/l-radio-unselected-18.png"
433 overlay_stretch = FALSE
441 overlay_file = "assets/l-radio-unselected-18.png"
442 overlay_stretch = FALSE
450 overlay_file = "assets/l-radio-unselected-insensitive-18.png"
451 overlay_stretch = FALSE
459 overlay_file = "assets/l-radio-selected-18.png"
460 overlay_stretch = FALSE
468 overlay_file = "assets/l-radio-selected-18.png"
469 overlay_stretch = FALSE
477 overlay_file = "assets/l-radio-selected-18.png"
478 overlay_stretch = FALSE
487 overlay_file = "assets/l-radio-selected-insensitive-18.png"
488 overlay_stretch = FALSE
495 file = "assets/null.png"
496 border = {2, 2, 2, 2}
501 style "scale" { # slider
506 bg[NORMAL] = shade (0.90, "#8EBDDB")
507 bg[SELECTED] = shade (0.90, "#8EBDDB")
508 bg[PRELIGHT] = shade (0.90, "#8EBDDB")
509 bg[INSENSITIVE] = shade (0.90, @bg_color)
511 bg[ACTIVE] = shade (0.95, @bg_color)
514 #gradient_shades = {0.65,1.00,1.00,1.35}
515 gradient_shades = {0.95,1.05,1.10,1.30}
516 glowstyle = 2 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
519 border_shades = {0.7, 1.2}
522 trough_shades = {0.9, 1.1}
527 bg[SELECTED] = shade (0.74, @base_color)
528 bg[ACTIVE] = shade (0.96, @base_color)
530 # color flechas (stepper)
531 fg[NORMAL] = shade (1.00, @base_color)
532 fg[PRELIGHT] = shade (1.00, @base_color)
533 fg[ACTIVE] = shade (1.00, @base_color)
534 fg[SELECTED] = shade (1.00, @base_color)
535 fg[INSENSITIVE] = shade (1.00, @base_color)
539 gradient_shades = {1.0,1.0,1.0,1.0}
540 highlight_shade = 1.0
544 gradient_colors = FALSE
545 lightborder_shade = 1.0
547 trough_shades = {1.06, 1.11}
548 border_shades = {1.24, 1.24}
553 style "overlay_scrollbar"
555 bg[SELECTED] = shade (1.0, @selected_bg_color)
556 bg[INSENSITIVE] = shade (0.85, @bg_color)
557 bg[ACTIVE] = shade (0.6, @bg_color)
560 style "spinbutton" = "button" { # input/stepper
565 border_shades = {1.1, 0.9}
566 lightborder_shade = 1.30
574 lightborder_shade = 1.00
575 gradient_shades = {0.98,1.00,1.00,1.02}
576 # gradient_shades = {1.00,0.98,0.98,0.96} # En Unity
580 style "toolbar_button" {
584 bg[PRELIGHT] = shade (1.05, "#BBCCEE")
585 bg[ACTIVE] = shade (1.00, "#BBCCEE") # Pulsado
586 bg[SELECTED] = shade (0.95, "#BBCCEE") # Default enter
587 bg[INSENSITIVE] = shade (0.95, "#FFF")
590 border_shades = {1.00, 1.00}
592 gradient_shades = {1.00,0.96,0.96,0.92}
603 bg[NORMAL] = @tooltip_bg_color
604 fg[NORMAL] = @tooltip_fg_color
606 GtkWidget::new-tooltip-style = 0
609 border_colors = { "#343434", "#343434" }
616 gradient_shades = {1.0, 1.0, 1.0, 1.0}
621 style "treeview_header" = "button" {
623 GtkWidget ::focus-padding = 0
625 bg[ACTIVE] = shade (1.00, "#80B8EA") # Pulsado
626 bg[NORMAL] = shade (0.96, "#FFF")
627 bg[PRELIGHT] = shade (1.05, "#80B8EA")
628 bg[SELECTED] = shade (0.95, "#80B8EA") # Default enter
629 bg[INSENSITIVE] = shade (1.00, "#FFF")
632 border_shades = {1.2, 1.05}
634 gradient_shades = {1.25,1.02,0.99,1.15}
641 style "checkradio" = "button" {
644 GtkRadioButton::indicator-size = 16
645 GtkCheckButton::indicator-size = 16
647 base[NORMAL] = shade (0.95, @base_color) # radiocheck normal
648 bg[SELECTED] = shade (1.25, "#5c8fe9") # radiocheck color checked
650 text[NORMAL] = shade (0.50, @selected_bg_color) # indicador normal
651 text[PRELIGHT] = shade (0.35, @selected_bg_color) # indicador hover
652 text[ACTIVE] = shade (0.15, @selected_bg_color) # indicador click
654 bg[ACTIVE] = shade (0.80, @bg_color) # button option "#80B8EA"
661 ###############################################################################
662 # The following part of the gtkrc applies the different styles to the widgets.
663 ###############################################################################
665 # The default style is applied to every widget
666 class "GtkWidget" style "default"
667 class "GtkSeparator" style "wide"
668 class "GtkFrame" style "wide"
669 class "GtkCalendar" style "wide"
670 class "GtkEntry" style "entry"
673 class "GtkSpinButton" style "spinbutton"
674 class "GtkScale" style "scale"
675 class "GtkVScale" style "scale"
676 class "GtkHScale" style "scale"
678 class "GtkScrollbar" style "scrollbar"
679 #widget "*ToggleSwitch*" style "toolbar_button"
680 widget_class "*<GtkToolbar>" style "toolbar"
681 widget_class "*<GtkHandleBox>" style "toolbar"
684 widget_class "*<OsScrollbar>" style "overlay_scrollbar"
685 widget_class "*<OsThumb>" style "overlay_scrollbar"
686 # General matching follows. The order is choosen so that the right styles override
687 # each other. EG. progressbar needs to be more important than the menu match.
688 widget_class "*<GtkButton>" style "button"
689 widget_class "*<GtkNotebook>" style "notebook"
691 widget_class "*<GtkSpinButton>.*.<GtkEntry>" style "entry"
692 widget_class "*<GtkMenuBar>*" style "menubar"
693 widget_class "*<GtkMenu>*" style "menu"
694 widget_class "*<GtkMenuItem>*" style "menu_item_white"
695 #widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menu_item_white"
696 #widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menu_item_black"
698 widget_class "*<GtkToolbar>.*.<GtkButton>*" style:highest "toolbar_button"
701 widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
702 widget_class "*.<GtkTreeView>*" style "treeview"
704 class "*GtkExpander*" style "expander"
706 widget_class "*<GtkProgress>" style "progressbar"
708 # Treeview headers (and similar stock GTK+ widgets)
709 widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
710 widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
711 widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
712 widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
714 # The window of the tooltip is called "gtk-tooltip"
715 widget "gtk-tooltip*" style "tooltips"
717 widget_class "*<GtkCheckButton>*" style "checkbutton"
718 widget_class "*<GtkDialog>*<GtkCheckButton>*" style:highest "checkbutton"
719 widget_class "*<GtkFrame>*<GtkCheckButton>*" style:highest "checkbutton"
720 widget_class "*<GtkNotebook>*<GtkCheckButton>*" style:highest "checkbutton"
721 widget_class "*<GtkCheckButton>*<GtkLabel>" style:highest "checkradio_label"
723 widget_class "*<GtkRadioButton>*" style "checkradio"
724 widget_class "*<GtkDialog>*<GtkRadioButton>*" style:highest "radiobutton"
725 widget_class "*<GtkFrame>*<GtkRadioButton>*" style:highest "radiobutton"
726 widget_class "*<GtkNotebook>*<GtkRadioButton>*" style:highest "radiobutton"
727 widget_class "*<GtkRadioButton>*<GtkLabel>" style:highest "checkradio_label"
729 widget "MozillaGtkWidget*GtkCheck*" style:highest "checkbutton"
730 widget "MozillaGtkWidget*GtkRadio*" style:highest "radiobutton"
732 ##########################################################################
733 # Following are special cases and workarounds for issues in applications.
734 ##########################################################################
735 # For Google Chrome/Chromium integration.
736 style "chrome-gtk-frame" {
737 ChromeGtkFrame::frame-gradient-size = 120
738 ChromeGtkFrame::frame-color = shade (0.46, @bg_color)
739 ChromeGtkFrame::inactive-frame-color = shade (0.46, @bg_color)
740 ChromeGtkFrame::frame-gradient-color = shade (0.96, @bg_color)
741 ChromeGtkFrame::inactive-frame-gradient-color = shade (0.96, @bg_color)
742 ChromeGtkFrame::scrollbar-trough-color = shade (1.00, @bg_color)
743 ChromeGtkFrame::scrollbar-slider-prelight-color = shade (0.85, @bg_color)
744 ChromeGtkFrame::scrollbar-slider-normal-color = shade (0.78, @bg_color)
746 class "ChromeGtkFrame" style "chrome-gtk-frame"
748 # For places where the text color is used instead of the fg color.
749 style "text_is_fg_color_workaround" {
750 text[NORMAL] = @fg_color
751 text[PRELIGHT] = @fg_color
752 text[SELECTED] = @selected_fg_color
753 text[ACTIVE] = @fg_color
754 text[INSENSITIVE] = darker (@bg_color)
756 widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
758 # For menus where the text color is used instead of the fg color.
759 style "menuitem_text_is_fg_color_workaround" {
760 text[NORMAL] = @fg_color
761 text[PRELIGHT] = @selected_fg_color
762 text[SELECTED] = @selected_fg_color
763 text[ACTIVE] = @fg_color
764 text[INSENSITIVE] = darker (@bg_color)
766 widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
768 # For places where the fg color is used instead of the text color.
769 style "fg_is_text_color_workaround" {
770 fg[NORMAL] = @text_color
771 fg[PRELIGHT] = @text_color
772 fg[SELECTED] = @selected_fg_color
773 fg[ACTIVE] = @selected_fg_color
774 fg[INSENSITIVE] = darker (@bg_color)
776 widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
777 widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
778 widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
780 # For gvim scrollbars.
781 style "vim-scrollbar" = "scrollbar" {
782 GtkScrollbar ::slider_width = 16
783 GtkScrollbar ::stepper_size = 16
788 orientation = VERTICAL
789 file = "assets/scroll-background.png"
793 widget "vim-main-window.*Scrollbar*" style "vim-scrollbar"
795 # For Eclipse (swt) toolbars.
796 widget "*swt*toolbar*" style "default"