Commit 5b29ade1a4e83aadbab8893526501b257c9408f7

Authored by Silvan Calarco
0 parents
Exists in master

Initial commit

Showing 6 changed files with 1443 additions and 0 deletions Side-by-side Diff

... ... @@ -0,0 +1,46 @@
  1 +PACKAGE=Gnome-Theme-Green
  2 +
  3 +distdir = $(PACKAGE)-$(VERSION)
  4 +dist_archive = $(distdir).tar.bz2
  5 +
  6 +include VERSION
  7 +
  8 +#Directory
  9 +datadir = /usr/share
  10 +
  11 +DESTDIR =
  12 +INSTALL = /usr/bin/install
  13 +INSTALL_PROGRAM = ${INSTALL} -m 755
  14 +INSTALL_DATA = ${INSTALL} -m 644
  15 +INSTALL_DIR = ${INSTALL} -d -m 755
  16 +INSTALL_SCRIPT = ${INSTALL_PROGRAM}
  17 +
  18 +
  19 +
  20 +install-dirs:
  21 + @$(INSTALL_DIR) $(DESTDIR)$(datadir)/themes/Openmamba\ Green/metacity-1
  22 + @$(INSTALL_DIR) $(DESTDIR)$(datadir)/themes/Openmamba\ Green/gtk-2.0
  23 + @$(INSTALL_DIR) $(DESTDIR)$(datadir)/pixmaps/backgrounds/gnome
  24 +install: install-dirs
  25 + $(INSTALL_DATA) src/Openmamba\ Green/metacity-1/* $(DESTDIR)$(datadir)/themes/Openmamba\ Green/metacity-1
  26 + $(INSTALL_DATA) src/Openmamba\ Green/gtk-2.0/* $(DESTDIR)$(datadir)/themes/Openmamba\ Green/gtk-2.0
  27 + $(INSTALL_DATA) src/Openmamba\ Green/index.theme $(DESTDIR)$(datadir)/themes/Openmamba\ Green/
  28 + $(INSTALL_DATA) src/background-default.jpg $(DESTDIR)$(datadir)/pixmaps/backgrounds/gnome/background-default.jpg
  29 +
  30 +clean:
  31 + rm -f $(dist_archive)
  32 +
  33 +dist: clean
  34 + #@git clean -f
  35 + #@git log > ChangeLog
  36 + @mkdir /tmp/$(distdir)
  37 + @cp -a * /tmp/$(distdir)/
  38 + @rm -f $(dist_archive);\
  39 + tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
  40 + @rm -rf /tmp/$(distdir)
  41 + @echo "file \`$(dist_archive)' created"
  42 +
  43 +dist-rpm: dist
  44 + @rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
  45 + mv -f $(PACKAGE)-$(VERSION).tar.bz2 $$rpm_sourcedir;\
  46 + echo "File $$rpm_sourcedir/$(PACKAGE)-$(VERSION).tar.bz2 created."
... ... @@ -0,0 +1 @@
  1 +VERSION=0.1
src/Openmamba Green/gtk-2.0/gtkrc
... ... @@ -0,0 +1,434 @@
  1 +
  2 +# Please keep this gtkrc in sync with the other ones from Clearlooks based themes.
  3 +
  4 +gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#4db90a\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#EDECEB\ntooltip_bg_color:#E7F3FD"
  5 +
  6 +gtk-auto-mnemonics = 1
  7 +
  8 +style "default" {
  9 + xthickness = 1
  10 + ythickness = 1
  11 +
  12 + #######################
  13 + # Style Properties
  14 + #######################
  15 + GtkButton::child-displacement-x = 1
  16 + GtkButton::child-displacement-y = 1
  17 + GtkButton::default-border = { 0, 0, 0, 0 }
  18 + GtkButton::image-spacing = 4
  19 + GtkToolButton::icon-spacing = 4
  20 +
  21 + GtkCheckButton::indicator-size = 14
  22 +
  23 + GtkEntry::invisible-char = 0x2022
  24 +
  25 + GtkPaned::handle-size = 6
  26 +
  27 + GtkRange::trough-border = 0
  28 + GtkRange::slider-width = 15
  29 + GtkRange::stepper-size = 15
  30 +
  31 + GtkScale::slider-length = 23
  32 + GtkScale::trough-side-details = 1
  33 +
  34 + GtkScrollbar::min-slider-length = 30
  35 + GtkMenuBar::internal-padding = 0
  36 + GtkExpander::expander-size = 16
  37 + GtkToolbar::internal-padding = 1
  38 + GtkTreeView::expander-size = 14
  39 + GtkTreeView::vertical-separator = 0
  40 +
  41 + GtkMenu::horizontal-padding = 0
  42 + GtkMenu::vertical-padding = 0
  43 +
  44 + WnckTasklist::fade-overlay-rect = 0
  45 + # The following line hints to gecko (and possibly other appliations)
  46 + # that the entry should be drawn transparently on the canvas.
  47 + # Without this, gecko will fill in the background of the entry.
  48 + GtkEntry::honors-transparent-bg-hint = 1
  49 +
  50 + GtkEntry::progress-border = { 2, 2, 2, 2 }
  51 +
  52 + ####################
  53 + # Color Definitions
  54 + ####################
  55 + bg[NORMAL] = @bg_color
  56 + bg[PRELIGHT] = shade (1.02, @bg_color)
  57 + bg[SELECTED] = @selected_bg_color
  58 + bg[INSENSITIVE] = @bg_color
  59 + bg[ACTIVE] = shade (0.9, @bg_color)
  60 +
  61 + fg[NORMAL] = @fg_color
  62 + fg[PRELIGHT] = @fg_color
  63 + fg[SELECTED] = @selected_fg_color
  64 + fg[INSENSITIVE] = darker (@bg_color)
  65 + fg[ACTIVE] = @fg_color
  66 +
  67 + text[NORMAL] = @text_color
  68 + text[PRELIGHT] = @text_color
  69 + text[SELECTED] = @selected_fg_color
  70 + text[INSENSITIVE] = darker (@bg_color)
  71 + text[ACTIVE] = @selected_fg_color
  72 +
  73 + base[NORMAL] = @base_color
  74 + base[PRELIGHT] = shade (0.95, @bg_color)
  75 + base[SELECTED] = @selected_bg_color
  76 + base[INSENSITIVE] = @bg_color
  77 + base[ACTIVE] = shade (0.9, @selected_bg_color)
  78 +
  79 + engine "clearlooks" {
  80 + colorize_scrollbar = TRUE
  81 + reliefstyle = 1
  82 + menubarstyle = 2
  83 + toolbarstyle = 1
  84 + animation = FALSE
  85 + radius = 3.0
  86 + style = GUMMY
  87 +
  88 + # Set a hint to disable backward compatibility fallbacks.
  89 + hint = "use-hints"
  90 + }
  91 +}
  92 +
  93 +style "wide" {
  94 + xthickness = 2
  95 + ythickness = 2
  96 +}
  97 +
  98 +style "wider" {
  99 + xthickness = 3
  100 + ythickness = 3
  101 +}
  102 +
  103 +style "entry" {
  104 + xthickness = 3
  105 + ythickness = 3
  106 +
  107 + bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
  108 + fg[SELECTED] = @text_color
  109 +
  110 + engine "clearlooks" {
  111 + focus_color = shade (0.65, @selected_bg_color)
  112 + }
  113 +}
  114 +
  115 +style "spinbutton" {
  116 +
  117 + engine "clearlooks" {
  118 + hint = "spinbutton"
  119 + }
  120 +}
  121 +
  122 +style "scale" {
  123 + xthickness = 2
  124 + ythickness = 2
  125 +
  126 + engine "clearlooks" {
  127 + hint = "scale"
  128 + }
  129 +}
  130 +
  131 +style "vscale" {
  132 +
  133 + engine "clearlooks" {
  134 + hint = "vscale"
  135 + }
  136 +}
  137 +
  138 +style "hscale" {
  139 +
  140 + engine "clearlooks" {
  141 + hint = "hscale"
  142 + }
  143 +}
  144 +
  145 +style "scrollbar" {
  146 + xthickness = 2
  147 + ythickness = 2
  148 +
  149 + engine "clearlooks" {
  150 + hint = "scrollbar"
  151 + }
  152 +}
  153 +
  154 +style "hscrollbar" {
  155 +
  156 + engine "clearlooks" {
  157 + hint = "hscrollbar"
  158 + }
  159 +}
  160 +
  161 +style "vscrollbar" {
  162 +
  163 + engine "clearlooks" {
  164 + hint = "vscrollbar"
  165 + }
  166 +}
  167 +
  168 +style "notebook_bg" {
  169 +
  170 + bg[NORMAL] = shade (1.02, @bg_color)
  171 +}
  172 +
  173 +style "button" {
  174 + xthickness = 3
  175 + ythickness = 3
  176 +
  177 + bg[NORMAL] = shade (1.04, @bg_color)
  178 + bg[PRELIGHT] = shade (1.06, @bg_color)
  179 + bg[ACTIVE] = shade (0.85, @bg_color)
  180 +}
  181 +
  182 +# The color is changed by the notebook_bg style, this style
  183 +# changes the x/ythickness
  184 +style "notebook" {
  185 + xthickness = 3
  186 + ythickness = 3
  187 +}
  188 +
  189 +style "statusbar" {
  190 +
  191 + engine "clearlooks" {
  192 + hint = "statusbar"
  193 + }
  194 +}
  195 +
  196 +style "comboboxentry" {
  197 +
  198 + engine "clearlooks" {
  199 + # Note:
  200 + # If you set the appears-as-list option on comboboxes in the theme,
  201 + # then you should set this hint on the combobox instead.
  202 + hint = "comboboxentry"
  203 + }
  204 +}
  205 +
  206 +style "menubar" {
  207 +
  208 + GtkWidget::window-dragging = 1
  209 +
  210 + engine "clearlooks" {
  211 + hint = "menubar"
  212 + }
  213 +}
  214 +
  215 +style "menu" {
  216 + xthickness = 0
  217 + ythickness = 0
  218 +
  219 + bg[NORMAL] = shade (1.08, @bg_color)
  220 +
  221 + engine "clearlooks" {
  222 + radius = 0.0
  223 + }
  224 +}
  225 +
  226 +style "menu_item" {
  227 + xthickness = 2
  228 + ythickness = 3
  229 +
  230 + fg[PRELIGHT] = @selected_fg_color
  231 +}
  232 +
  233 +# This style is there to modify the separator menu items. The goals are:
  234 +# 1. Get a specific height.
  235 +# 2. The line should go to the edges (ie. no border at the left/right)
  236 +style "separator_menu_item" {
  237 + xthickness = 1
  238 + ythickness = 0
  239 +
  240 + GtkSeparatorMenuItem::horizontal-padding = 0
  241 + GtkWidget::wide-separators = 1
  242 + GtkWidget::separator-width = 1
  243 + GtkWidget::separator-height = 7
  244 +}
  245 +
  246 +style "frame_title" {
  247 +
  248 + fg[NORMAL] = lighter (@fg_color)
  249 +}
  250 +
  251 +style "treeview" {
  252 +
  253 + engine "clearlooks" {
  254 + hint = "treeview"
  255 + }
  256 +}
  257 +
  258 +# The almost useless progress bar style
  259 +style "progressbar" {
  260 + xthickness = 1
  261 + ythickness = 1
  262 +
  263 + fg[PRELIGHT] = @selected_fg_color
  264 +
  265 + engine "clearlooks" {
  266 + # Explicitly set the radius for the progress bars inside menu items.
  267 + radius = 3.0
  268 +
  269 + hint = "progressbar"
  270 + }
  271 +}
  272 +
  273 +# This style is based on the default style, so that the colors from the button
  274 +# style are overriden again.
  275 +style "treeview_header" = "default" {
  276 + xthickness = 2
  277 + ythickness = 1
  278 +
  279 + engine "clearlooks" {
  280 + hint = "treeview-header"
  281 + }
  282 +}
  283 +
  284 +style "tooltips" {
  285 + xthickness = 8
  286 + ythickness = 4
  287 +
  288 + GtkWidget::new-tooltip-style = 1
  289 +
  290 + bg[NORMAL] = @tooltip_bg_color
  291 + fg[NORMAL] = @tooltip_fg_color
  292 +}
  293 +
  294 +style "nautilus_location" {
  295 +
  296 + bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
  297 +}
  298 +
  299 +# Wrokaroudn style for places where the text color is used instead of the fg color.
  300 +style "text_is_fg_color_workaround" {
  301 +
  302 + text[NORMAL] = @fg_color
  303 + text[PRELIGHT] = @fg_color
  304 + text[SELECTED] = @selected_fg_color
  305 + text[ACTIVE] = @fg_color
  306 + text[INSENSITIVE] = darker (@bg_color)
  307 +}
  308 +
  309 +# Workaround style for menus where the text color is used instead of the fg color.
  310 +style "menuitem_text_is_fg_color_workaround" {
  311 +
  312 + text[NORMAL] = @fg_color
  313 + text[PRELIGHT] = @selected_fg_color
  314 + text[SELECTED] = @selected_fg_color
  315 + text[ACTIVE] = @fg_color
  316 + text[INSENSITIVE] = darker (@bg_color)
  317 +}
  318 +
  319 +# Workaround style for places where the fg color is used instead of the text color.
  320 +style "fg_is_text_color_workaround" {
  321 +
  322 + fg[NORMAL] = @text_color
  323 + fg[PRELIGHT] = @text_color
  324 + fg[SELECTED] = @selected_fg_color
  325 + fg[ACTIVE] = @selected_fg_color
  326 + fg[INSENSITIVE] = darker (@bg_color)
  327 +}
  328 +
  329 +# Style to set the toolbar to use a flat style. This is because the "New" button in
  330 +# Evolution is not drawn transparent. So if there is a gradient in the background it will
  331 +# look really wrong.
  332 +# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
  333 +style "evo_new_button_workaround" {
  334 +
  335 + engine "clearlooks" {
  336 + toolbarstyle = 0
  337 + }
  338 +}
  339 +
  340 +
  341 +###############################################################################
  342 +# The following part of the gtkrc applies the different styles to the widgets.
  343 +###############################################################################
  344 +
  345 +# The default style is applied to every widget
  346 +class "GtkWidget" style "default"
  347 +
  348 +class "GtkSeparator" style "wide"
  349 +class "GtkFrame" style "wide"
  350 +class "GtkCalendar" style "wide"
  351 +class "GtkEntry" style "entry"
  352 +
  353 +class "GtkSpinButton" style "spinbutton"
  354 +class "GtkScale" style "scale"
  355 +class "GtkVScale" style "vscale"
  356 +class "GtkHScale" style "hscale"
  357 +class "GtkScrollbar" style "scrollbar"
  358 +class "GtkHScrollbar" style "hscrollbar"
  359 +class "GtkVScrollbar" style "vscrollbar"
  360 +
  361 +# General matching follows. The order is choosen so that the right styles override
  362 +# each other. EG. progressbar needs to be more important than the menu match.
  363 +widget_class "*<GtkNotebook>" style "notebook_bg"
  364 +# This is not perfect, it could be done better.
  365 +# (That is modify *every* widget in the notebook, and change those back that
  366 +# we really don't want changed)
  367 +widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
  368 +widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
  369 +widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
  370 +widget_class "*<GtkNotebook>*<GtkViewport>" style "notebook_bg"
  371 +widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "notebook_bg"
  372 +
  373 +widget_class "*<GtkButton>" style "button"
  374 +widget_class "*<GtkNotebook>" style "notebook"
  375 +widget_class "*<GtkStatusbar>*" style "statusbar"
  376 +
  377 +widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
  378 +widget_class "*<GtkCombo>*" style "comboboxentry"
  379 +
  380 +widget_class "*<GtkMenuBar>*" style "menubar"
  381 +widget_class "*<GtkMenu>*" style "menu"
  382 +widget_class "*<GtkMenuItem>*" style "menu_item"
  383 +widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
  384 +
  385 +widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
  386 +widget_class "*.<GtkTreeView>*" style "treeview"
  387 +
  388 +widget_class "*<GtkProgress>" style "progressbar"
  389 +
  390 +# Treeview headers (and similar stock GTK+ widgets)
  391 +widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
  392 +widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
  393 +widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
  394 +widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
  395 +
  396 +# The window of the tooltip is called "gtk-tooltip"
  397 +##################################################################
  398 +# FIXME:
  399 +# This will not work if one embeds eg. a button into the tooltip.
  400 +# As far as I can tell right now we will need to rework the theme
  401 +# quite a bit to get this working correctly.
  402 +# (It will involve setting different priorities, etc.)
  403 +##################################################################
  404 +widget "gtk-tooltip*" style "tooltips"
  405 +
  406 +##########################################################################
  407 +# Following are special cases and workarounds for issues in applications.
  408 +##########################################################################
  409 +
  410 +# Workaround for the evolution ETable (bug #527532)
  411 +widget_class "*.<ETable>.<ECanvas>" style "treeview_header"
  412 +# Workaround for the evolution ETree
  413 +widget_class "*.<ETree>.<ECanvas>" style "treeview_header"
  414 +
  415 +# Special case the nautilus-extra-view-widget
  416 +# ToDo: A more generic approach for all applications that have a widget like this.
  417 +widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
  418 +
  419 +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  420 +# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
  421 +widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
  422 +# This is the part of the workaround that fixes the menus
  423 +widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
  424 +
  425 +# Work around the usage of GtkLabel inside GtkListItems to display text.
  426 +# This breaks because the label is shown on a background that is based on the base color.
  427 +widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
  428 +# GtkCList also uses the fg color to draw text on top of the base colors.
  429 +widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
  430 +# Nautilus when renaming files, and maybe other places.
  431 +widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
  432 +
  433 +# See the documentation of the style.
  434 +widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
src/Openmamba Green/index.theme
... ... @@ -0,0 +1,8 @@
  1 +[X-GNOME-Metatheme]
  2 +Name=Openmamba Green
  3 +Type=X-GNOME-Metatheme
  4 +Comment=Clone di Clearlooks
  5 +Encoding=UTF-8
  6 +GtkTheme=Openmamba-Green
  7 +MetacityTheme=Openmamba-Green
  8 +IconTheme=gnome
src/Openmamba Green/metacity-1/metacity-theme-1.xml
... ... @@ -0,0 +1,954 @@
  1 +<?xml version="1.0"?>
  2 +<!-- $Id$ -->
  3 +<metacity_theme>
  4 +<info>
  5 + <name>Openmamba_Green</name>
  6 + <author>Daniel Borgmann &lt;daniel.borgmann@gmail.com&gt;, Andrea Cimitan &lt;andrea.cimitan@gmail.com&gt;</author>
  7 + <copyright>&#194; 2005-2007 Daniel Borgmann, Andrea Cimitan</copyright>
  8 + <date>Apr, 2007</date>
  9 + <description>The Clearlooks "Gummy" Metacity Theme</description>
  10 +</info>
  11 +
  12 +<!-- ::: GEOMETRY ::: -->
  13 +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
  14 + <distance name="left_width" value="4"/>
  15 + <distance name="right_width" value="4"/>
  16 + <distance name="bottom_height" value="4"/>
  17 + <distance name="left_titlebar_edge" value="4"/>
  18 + <distance name="right_titlebar_edge" value="4"/>
  19 + <aspect_ratio name="button" value="1.0"/>
  20 + <distance name="title_vertical_pad" value="0"/>
  21 + <border name="title_border" left="2" right="2" top="4" bottom="3"/>
  22 + <border name="button_border" left="1" right="1" top="2" bottom="2"/>
  23 +</frame_geometry>
  24 +
  25 +<frame_geometry name="shaded" parent="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true"/>
  26 +
  27 +<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  28 + <!-- strip frame spacing off the normal geometry when maximised -->
  29 + <distance name="left_width" value="0"/>
  30 + <distance name="right_width" value="0"/>
  31 + <distance name="bottom_height" value="1"/>
  32 + <distance name="left_titlebar_edge" value="1"/>
  33 + <distance name="right_titlebar_edge" value="1"/>
  34 +</frame_geometry>
  35 +
  36 +<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  37 + <distance name="left_width" value="4"/>
  38 + <distance name="right_width" value="4"/>
  39 + <distance name="bottom_height" value="4"/>
  40 + <distance name="left_titlebar_edge" value="4"/>
  41 + <distance name="right_titlebar_edge" value="4"/>
  42 + <distance name="title_vertical_pad" value="0"/>
  43 + <border name="title_border" left="2" right="2" top="4" bottom="3"/>
  44 + <border name="button_border" left="0" right="0" top="2" bottom="2"/>
  45 + <aspect_ratio name="button" value="1"/>
  46 +</frame_geometry>
  47 +
  48 +<frame_geometry name="border" has_title="false">
  49 + <distance name="left_width" value="4"/>
  50 + <distance name="right_width" value="4"/>
  51 + <distance name="bottom_height" value="4"/>
  52 + <distance name="left_titlebar_edge" value="0"/>
  53 + <distance name="right_titlebar_edge" value="0"/>
  54 + <distance name="button_width" value="0"/>
  55 + <distance name="button_height" value="0"/>
  56 + <distance name="title_vertical_pad" value="4"/>
  57 + <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  58 + <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  59 +</frame_geometry>
  60 +
  61 +<!-- button minimum size -->
  62 +<constant name="Bmin" value="7"/>
  63 +<!-- button inside padding -->
  64 +<constant name="Bpad" value="6"/>
  65 +
  66 +<!-- ::: CORNERS ::: -->
  67 +<draw_ops name="corners_outline_selected_top">
  68 + <!-- top left -->
  69 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="3"/>
  70 + <line color="shade/gtk:bg[SELECTED]/0.73" x1="1" y1="4" x2="1" y2="4"/>
  71 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="2" y2="2"/>
  72 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="3" y2="1"/>
  73 + <line color="shade/gtk:bg[SELECTED]/0.73" x1="4" y1="1" x2="4" y2="1"/>
  74 +
  75 + <!-- top right -->
  76 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="3"/>
  77 + <line color="shade/gtk:bg[SELECTED]/0.73" x1="width-2" y1="4" x2="width-2" y2="4"/>
  78 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="2" x2="width-3" y2="2"/>
  79 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-4" y1="1" x2="width-4" y2="1"/>
  80 + <line color="shade/gtk:bg[SELECTED]/0.73" x1="width-5" y1="1" x2="width-5" y2="1"/>
  81 +</draw_ops>
  82 +
  83 +<draw_ops name="corners_outline_top">
  84 + <!-- top left -->
  85 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="3"/>
  86 + <line color="shade/gtk:bg[NORMAL]/0.68" x1="1" y1="4" x2="1" y2="4"/>
  87 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="2" y2="2"/>
  88 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="3" y2="1"/>
  89 + <line color="shade/gtk:bg[NORMAL]/0.68" x1="4" y1="1" x2="4" y2="1"/>
  90 +
  91 + <!-- top right -->
  92 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="3"/>
  93 + <line color="shade/gtk:bg[NORMAL]/0.68" x1="width-2" y1="4" x2="width-2" y2="4"/>
  94 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/>
  95 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="1" x2="width-4" y2="1"/>
  96 + <line color="shade/gtk:bg[NORMAL]/0.68" x1="width-5" y1="1" x2="width-5" y2="1"/>
  97 +</draw_ops>
  98 +
  99 +<draw_ops name="corners_outline_selected_bottom">
  100 + <!-- bottom left -->
  101 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="height-4" x2="1" y2="height-5"/>
  102 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="2" y2="height-3"/>
  103 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-2" x2="4" y2="height-2"/>
  104 +
  105 + <!-- bottom right -->
  106 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
  107 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
  108 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
  109 +</draw_ops>
  110 +
  111 +<draw_ops name="corners_outline_bottom">
  112 + <!-- bottom left -->
  113 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/>
  114 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/>
  115 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/>
  116 +
  117 + <!-- bottom right -->
  118 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
  119 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
  120 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
  121 +</draw_ops>
  122 +
  123 +<draw_ops name="corners_highlight">
  124 + <!-- ** corner highlight for left top ** -->
  125 + <line color="shade/gtk:bg[SELECTED]/1.18" x1="2" y1="3" x2="2" y2="4"/>
  126 + <line color="shade/gtk:bg[SELECTED]/1.18" x1="3" y1="2" x2="4" y2="2"/>
  127 +
  128 + <!-- ** corner highlight for right top ** -->
  129 + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/>
  130 + <line color="shade/gtk:bg[SELECTED]/1.16" x1="width-5" y1="2" x2="width-4" y2="2"/>
  131 +
  132 + <!-- ** corner highlight for left bottom ** -->
  133 + <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/>
  134 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>-->
  135 +
  136 + <!-- ** corner highlight for right bottom ** -->
  137 + <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
  138 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>-->
  139 +</draw_ops>
  140 +
  141 +<draw_ops name="corners_highlight_unfocused">
  142 + <!-- ** corner highlight for left top ** -->
  143 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="3" x2="2" y2="4"/>
  144 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="2" x2="4" y2="2"/>
  145 +
  146 + <!-- ** corner highlight for right top ** -->
  147 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/>
  148 + <line color="shade/gtk:bg[NORMAL]/1.04" x1="width-5" y1="2" x2="width-4" y2="2"/>
  149 +
  150 + <!-- ** corner highlight for left bottom ** -->
  151 + <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/>
  152 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>-->
  153 +
  154 + <!-- ** corner highlight for right bottom ** -->
  155 + <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
  156 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>-->
  157 +</draw_ops>
  158 +
  159 +<draw_ops name="corners_highlight_shaded">
  160 + <!-- ** corner highlight for left top ** -->
  161 + <line color="shade/gtk:bg[SELECTED]/1.18" x1="2" y1="3" x2="2" y2="4"/>
  162 + <line color="shade/gtk:bg[SELECTED]/1.18" x1="3" y1="2" x2="4" y2="2"/>
  163 +
  164 + <!-- ** corner highlight for right top ** -->
  165 + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/>
  166 + <line color="shade/gtk:bg[SELECTED]/1.16" x1="width-5" y1="2" x2="width-4" y2="2"/>
  167 +
  168 + <!-- ** corner highlight for left bottom ** -->
  169 + <line color="shade/gtk:bg[SELECTED]/1.08" x1="2" y1="height-4" x2="2" y2="height-5"/>
  170 + <line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="height-3" x2="4" y2="height-3"/>
  171 +
  172 + <!-- ** corner highlight for right bottom ** -->
  173 + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
  174 + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
  175 +</draw_ops>
  176 +
  177 +<draw_ops name="corners_highlight_shaded_unfocused">
  178 + <!-- ** corner highlight for left top ** -->
  179 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="3" x2="2" y2="4"/>
  180 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="2" x2="4" y2="2"/>
  181 +
  182 + <!-- ** corner highlight for right top ** -->
  183 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/>
  184 + <line color="shade/gtk:bg[NORMAL]/1.04" x1="width-5" y1="2" x2="width-4" y2="2"/>
  185 +
  186 + <!-- ** corner highlight for left bottom ** -->
  187 + <line color="shade/gtk:bg[NORMAL]/1.02" x1="2" y1="height-4" x2="2" y2="height-5"/>
  188 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>
  189 +
  190 + <!-- ** corner highlight for right bottom ** -->
  191 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
  192 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
  193 +</draw_ops>
  194 +
  195 +<draw_ops name="window_bg">
  196 + <rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width" height="height"/>
  197 +</draw_ops>
  198 +
  199 +<!-- ::: BEVEL FOCUSED ::: -->
  200 +<draw_ops name="bevel">
  201 + <include name="window_bg"/>
  202 + <!-- ** titlebar outline ** -->
  203 + <rectangle color="shade/gtk:bg[SELECTED]/0.55" filled="false" x="0" y="0" width="width - 1" height="((title_height + 6) `max` (top_height - 2))"/>
  204 +
  205 + <!-- ** 3d beveled frame ** -->
  206 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
  207 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="3" x2="width - 2" y2="height - 2"/>
  208 + <line color="shade/gtk:bg[NORMAL]/1.2" x1="3" y1="1" x2="width - 4" y2="1"/>
  209 + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="3" x2="1" y2="height - 2"/>
  210 +
  211 + <line color="shade/gtk:bg[SELECTED]/0.94" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/>
  212 + <line color="shade/gtk:bg[SELECTED]/0.95" x1="width - 2" y1="2" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/>
  213 + <line color="shade/gtk:bg[SELECTED]/1.18" x1="1" y1="1" x2="width - 2" y2="1"/>
  214 + <line color="shade/gtk:bg[SELECTED]/1.1" x1="1" y1="2" x2="1" y2="((title_height + 5) `max` (top_height - 3))"/>
  215 +
  216 + <!-- ** fancy gradient ** -->
  217 + <gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1">
  218 + <color value="shade/gtk:bg[SELECTED]/1.0"/>
  219 + <color value="shade/gtk:bg[SELECTED]/0.94"/>
  220 + </gradient>
  221 + <gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2">
  222 + <color value="shade/gtk:bg[SELECTED]/1.08"/>
  223 + <color value="shade/gtk:bg[SELECTED]/1.02"/>
  224 + </gradient>
  225 +
  226 + <line color="shade/gtk:bg[SELECTED]/0.7" x1="1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/>
  227 +
  228 + <!-- ** border outline ** -->
  229 + <line color="shade/gtk:bg[NORMAL]/0.45" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="0" y2="height"/>
  230 + <line color="shade/gtk:bg[NORMAL]/0.45" x1="width - 1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 1" y2="height"/>
  231 + <line color="shade/gtk:bg[NORMAL]/0.45" x1="1" y1="height - 1" x2="width - 2" y2="height - 1"/>
  232 +</draw_ops>
  233 +
  234 +<draw_ops name="bevel_maximized">
  235 + <!-- ** 3d beveled frame ** -->
  236 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="0" x2="width" y2="0"/>
  237 + <line color="shade/gtk:bg[SELECTED]/1.18" x1="0" y1="1" x2="width" y2="1"/>
  238 + <line color="shade/gtk:bg[SELECTED]/0.94" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/>
  239 +
  240 + <!-- ** fancy gradient ** -->
  241 + <gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1">
  242 + <color value="shade/gtk:bg[SELECTED]/1.0"/>
  243 + <color value="shade/gtk:bg[SELECTED]/0.94"/>
  244 + </gradient>
  245 + <gradient type="vertical" x="0" y="1" width="width" height="top_height/2-1">
  246 + <color value="shade/gtk:bg[SELECTED]/1.08"/>
  247 + <color value="shade/gtk:bg[SELECTED]/1.02"/>
  248 + </gradient>
  249 +
  250 + <line color="shade/gtk:bg[SELECTED]/0.7" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="width" y2="((title_height + 6) `max` (top_height - 2))"/>
  251 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/>
  252 +</draw_ops>
  253 +
  254 +<draw_ops name="round_bevel">
  255 + <include name="bevel"/>
  256 + <include name="corners_outline_selected_top"/>
  257 + <!--<include name="corners_outline_bottom"/>-->
  258 + <include name="corners_highlight"/>
  259 +</draw_ops>
  260 +
  261 +<draw_ops name="bevel_shaded">
  262 + <include name="bevel"/>
  263 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="0" y1="height-1" x2="width" y2="height-1"/>
  264 +</draw_ops>
  265 +
  266 +<draw_ops name="round_bevel_shaded">
  267 + <include name="bevel"/>
  268 + <include name="corners_outline_selected_top"/>
  269 + <include name="corners_outline_selected_bottom"/>
  270 + <include name="corners_highlight_shaded"/>
  271 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="5" y1="height-1" x2="width-6" y2="height-1"/>
  272 +</draw_ops>
  273 +
  274 +<!-- ::: BEVEL UNFOCUSED ::: -->
  275 +<draw_ops name="bevel_unfocused">
  276 + <include name="window_bg"/>
  277 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
  278 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="2" x2="width - 2" y2="height - 2"/>
  279 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="1" y1="1" x2="width - 2" y2="1"/>
  280 + <line color="shade/gtk:bg[NORMAL]/1.03" x1="1" y1="2" x2="1" y2="height - 2"/>
  281 + <line color="shade/gtk:bg[NORMAL]/0.89" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/>
  282 +
  283 + <!-- ** fancy gradient ** -->
  284 + <gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1">
  285 + <color value="shade/gtk:bg[NORMAL]/0.93"/>
  286 + <color value="shade/gtk:bg[NORMAL]/0.89"/>
  287 + </gradient>
  288 + <gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2">
  289 + <color value="shade/gtk:bg[NORMAL]/0.99"/>
  290 + <color value="shade/gtk:bg[NORMAL]/0.95"/>
  291 + </gradient>
  292 +
  293 + <line color="shade/gtk:bg[NORMAL]/0.65" x1="1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/>
  294 + <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
  295 +</draw_ops>
  296 +
  297 +<draw_ops name="bevel_maximized_unfocused">
  298 + <!-- ** 3d beveled frame ** -->
  299 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="0" x2="width" y2="0"/>
  300 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="0" y1="1" x2="width" y2="1"/>
  301 + <line color="shade/gtk:bg[NORMAL]/0.89" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/>
  302 +
  303 + <!-- ** fancy gradient ** -->
  304 + <gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1">
  305 + <color value="shade/gtk:bg[NORMAL]/0.93"/>
  306 + <color value="shade/gtk:bg[NORMAL]/0.89"/>
  307 + </gradient>
  308 + <gradient type="vertical" x="0" y="2" width="width" height="top_height/2-2">
  309 + <color value="shade/gtk:bg[NORMAL]/0.99"/>
  310 + <color value="shade/gtk:bg[NORMAL]/0.95"/>
  311 + </gradient>
  312 +
  313 + <line color="shade/gtk:bg[NORMAL]/0.65" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="width" y2="((title_height + 6) `max` (top_height - 2))"/>
  314 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/>
  315 +</draw_ops>
  316 +
  317 +<draw_ops name="round_bevel_unfocused">
  318 + <include name="bevel_unfocused"/>
  319 + <include name="corners_outline_top"/>
  320 + <!--<include name="corners_outline_bottom"/>-->
  321 + <include name="corners_highlight_unfocused"/>
  322 +</draw_ops>
  323 +
  324 +<draw_ops name="round_bevel_unfocused_shaded">
  325 + <include name="bevel_unfocused"/>
  326 + <include name="corners_outline_top"/>
  327 + <include name="corners_outline_bottom"/>
  328 + <include name="corners_highlight_shaded_unfocused"/>
  329 +</draw_ops>
  330 +
  331 +<!-- ::: BORDER ::: -->
  332 +<draw_ops name="border">
  333 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
  334 + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/>
  335 + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width - 2" y2="1"/>
  336 + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height - 2"/>
  337 +
  338 + <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
  339 +</draw_ops>
  340 +
  341 +<!-- ::: TITLES ::: -->
  342 +<draw_ops name="title_text">
  343 + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0) + 1"/>
  344 + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)+1" y="(((height - title_height) / 2) `max` 0)"/>
  345 + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)-1" y="(((height - title_height) / 2) `max` 0)"/>
  346 + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0)-1"/>
  347 + <title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/>
  348 +</draw_ops>
  349 +
  350 +<draw_ops name="title_text_unfocused">
  351 + <!--<title color="shade/gtk:bg[NORMAL]/1.07" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>-->
  352 + <title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" x="4 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/>
  353 +</draw_ops>
  354 +
  355 +<draw_ops name="title">
  356 + <include name="title_text"/>
  357 +</draw_ops>
  358 +
  359 +<draw_ops name="title_unfocused">
  360 + <include name="title_text_unfocused"/>
  361 +</draw_ops>
  362 +
  363 +<!-- ::: BUTTONS ::: -->
  364 +<draw_ops name="button_bg">
  365 + <!-- inset -->
  366 + <gradient type="vertical" x="0" y="3" width="width" height="height-6">
  367 + <color value="shade/gtk:bg[SELECTED]/0.96"/>
  368 + <color value="shade/gtk:bg[SELECTED]/1.05"/>
  369 + </gradient>
  370 +
  371 + <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="0" x2="width-3" y2="0"/>
  372 + <line color="shade/gtk:bg[SELECTED]/0.99" x1="1" y1="1" x2="width-2" y2="1"/>
  373 + <line color="shade/gtk:bg[SELECTED]/0.99" x1="0" y1="2" x2="width-1" y2="2"/>
  374 + <line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="0" x2="width-4" y2="0"/>
  375 +
  376 + <line color="shade/gtk:bg[SELECTED]/0.91" x1="2" y1="1" x2="width-3" y2="1"/>
  377 + <line color="shade/gtk:bg[SELECTED]/0.90" x1="1" y1="2" x2="width-2" y2="2"/>
  378 +
  379 + <line color="shade/gtk:bg[SELECTED]/1.03" x1="2" y1="height-1" x2="width-3" y2="height-1"/>
  380 + <line color="shade/gtk:bg[SELECTED]/1.00" x1="1" y1="height-2" x2="width-2" y2="height-2"/>
  381 + <line color="shade/gtk:bg[SELECTED]/1.01" x1="0" y1="height-3" x2="width-1" y2="height-3"/>
  382 + <line color="shade/gtk:bg[SELECTED]/1.06" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
  383 +
  384 + <line color="shade/gtk:bg[SELECTED]/1.02" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
  385 + <line color="shade/gtk:bg[SELECTED]/1.03" x1="1" y1="height-3" x2="width-2" y2="height-3"/>
  386 +
  387 + <!-- border outline -->
  388 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="width-4" y2="1"/>
  389 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
  390 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="height-4"/>
  391 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
  392 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="width-3" y2="2"/>
  393 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
  394 +
  395 + <!-- border smooth effect -->
  396 + <line color="shade/gtk:bg[SELECTED]/1.02" x1="3" y1="2" x2="width-4" y2="2"/>
  397 + <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="3" x2="2" y2="height-4"/>
  398 + <line color="shade/gtk:bg[SELECTED]/0.90" x1="width-3" y1="3" x2="width-3" y2="height-4"/>
  399 +
  400 + <!-- inside highlight -->
  401 + <line color="shade/gtk:bg[SELECTED]/1.18" x1="4" y1="2" x2="width-5" y2="2"/>
  402 + <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="4" x2="2" y2="height-5"/>
  403 + <!-- inside shadow -->
  404 + <line color="shade/gtk:bg[SELECTED]/1.0" x1="width-3" y1="4" x2="width-3" y2="height-5"/>
  405 +
  406 + <!-- fill gradient -->
  407 + <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1">
  408 + <color value="shade/gtk:bg[SELECTED]/1.1"/>
  409 + <color value="shade/gtk:bg[SELECTED]/1.02"/>
  410 + </gradient>
  411 + <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2">
  412 + <color value="shade/gtk:bg[SELECTED]/1.0"/>
  413 + <color value="shade/gtk:bg[SELECTED]/0.92"/>
  414 + </gradient>
  415 +
  416 + <!-- bottom border smooth effect -->
  417 + <line color="shade/gtk:bg[SELECTED]/0.84" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
  418 + <line color="shade/gtk:bg[SELECTED]/0.92" x1="4" y1="height-3" x2="width-5" y2="height-3"/>
  419 +</draw_ops>
  420 +
  421 +<draw_ops name="button_bg_unfocused">
  422 + <!-- inset -->
  423 + <gradient type="vertical" x="0" y="3" width="width" height="height-6">
  424 + <color value="shade/gtk:bg[NORMAL]/0.92"/>
  425 + <color value="shade/gtk:bg[NORMAL]/0.96"/>
  426 + </gradient>
  427 +
  428 + <line color="shade/gtk:bg[NORMAL]/0.93" x1="2" y1="0" x2="width-3" y2="0"/>
  429 + <line color="shade/gtk:bg[NORMAL]/0.92" x1="1" y1="1" x2="width-2" y2="1"/>
  430 + <line color="shade/gtk:bg[NORMAL]/0.92" x1="0" y1="2" x2="width-1" y2="2"/>
  431 + <line color="shade/gtk:bg[NORMAL]/0.91" x1="3" y1="0" x2="width-4" y2="0"/>
  432 +
  433 + <line color="shade/gtk:bg[NORMAL]/0.87" x1="2" y1="1" x2="width-3" y2="1"/>
  434 + <line color="shade/gtk:bg[NORMAL]/0.86" x1="1" y1="2" x2="width-2" y2="2"/>
  435 +
  436 + <line color="shade/gtk:bg[NORMAL]/0.945" x1="2" y1="height-1" x2="width-3" y2="height-1"/>
  437 + <line color="shade/gtk:bg[NORMAL]/0.93" x1="1" y1="height-2" x2="width-2" y2="height-2"/>
  438 + <line color="shade/gtk:bg[NORMAL]/0.935" x1="0" y1="height-3" x2="width-1" y2="height-3"/>
  439 + <line color="shade/gtk:bg[NORMAL]/0.96" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
  440 +
  441 + <line color="shade/gtk:bg[NORMAL]/0.94" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
  442 + <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-3" x2="width-2" y2="height-3"/>
  443 +
  444 + <!-- border outline -->
  445 + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="width-4" y2="1"/>
  446 + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
  447 + <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="height-4"/>
  448 + <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
  449 +
  450 + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="width-3" y2="2"/>
  451 + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
  452 +
  453 + <!-- border smooth effect -->
  454 + <line color="shade/gtk:bg[NORMAL]/1.02" x1="3" y1="2" x2="width-4" y2="2"/>
  455 + <line color="shade/gtk:bg[NORMAL]/1.00" x1="2" y1="3" x2="2" y2="height-4"/>
  456 + <line color="shade/gtk:bg[NORMAL]/0.95" x1="width-3" y1="3" x2="width-3" y2="height-4"/>
  457 +
  458 + <!-- inside highlight -->
  459 + <line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/>
  460 + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/>
  461 + <!-- inside shadow -->
  462 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="width-3" y1="4" x2="width-3" y2="height-5"/>
  463 +
  464 + <!-- fill gradient -->
  465 + <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1">
  466 + <color value="shade/gtk:bg[NORMAL]/1.15"/>
  467 + <color value="shade/gtk:bg[NORMAL]/1.07"/>
  468 + </gradient>
  469 + <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2">
  470 + <color value="shade/gtk:bg[NORMAL]/1.05"/>
  471 + <color value="shade/gtk:bg[NORMAL]/0.97"/>
  472 + </gradient>
  473 +
  474 + <!-- bottom border smooth effect -->
  475 + <line color="shade/gtk:bg[NORMAL]/0.89" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
  476 + <line color="shade/gtk:bg[NORMAL]/0.97" x1="4" y1="height-3" x2="width-5" y2="height-3"/>
  477 +</draw_ops>
  478 +
  479 +<draw_ops name="button_bg_prelight">
  480 + <include name="button_bg"/>
  481 + <tint color="shade/gtk:bg[SELECTED]/1.5" alpha="0.2" x="3" y="3" width="width-5" height="height-5"/>
  482 + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
  483 +</draw_ops>
  484 +
  485 +<draw_ops name="button_bg_pressed">
  486 + <!-- outside highlight -->
  487 + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4">
  488 + <color value="shade/gtk:bg[SELECTED]/1.2"/>
  489 + <color value="shade/gtk:bg[SELECTED]/1.0"/>
  490 + </gradient>
  491 + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6">
  492 + <color value="shade/gtk:bg[SELECTED]/1.2"/>
  493 + <color value="shade/gtk:bg[SELECTED]/1.0"/>
  494 + </gradient>
  495 + <line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
  496 + <line color="shade/gtk:bg[SELECTED]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
  497 +
  498 + <!-- border outline -->
  499 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="width-4" y2="1"/>
  500 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
  501 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="height-4"/>
  502 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
  503 +
  504 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="width-3" y2="2"/>
  505 + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
  506 +
  507 + <!-- inside shadow -->
  508 + <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="2" x2="width-4" y2="2"/>
  509 + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="2" y2="height-4"/>
  510 +
  511 + <!-- fill gradient -->
  512 + <gradient type="vertical" x="3" y="3" width="width-5" height="height-6">
  513 + <color value="shade/gtk:bg[SELECTED]/0.95"/>
  514 + <color value="shade/gtk:bg[SELECTED]/0.9"/>
  515 + </gradient>
  516 +
  517 + <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
  518 +</draw_ops>
  519 +
  520 +<draw_ops name="button_bg_unfocused_prelight">
  521 + <include name="button_bg_unfocused"/>
  522 + <tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/>
  523 + <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
  524 +</draw_ops>
  525 +
  526 +<draw_ops name="button_bg_unfocused_pressed">
  527 + <!-- outside highlight -->
  528 + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4">
  529 + <color value="shade/gtk:bg[NORMAL]/1.25"/>
  530 + <color value="shade/gtk:bg[NORMAL]/1.05"/>
  531 + </gradient>
  532 + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6">
  533 + <color value="shade/gtk:bg[NORMAL]/1.25"/>
  534 + <color value="shade/gtk:bg[NORMAL]/1.05"/>
  535 + </gradient>
  536 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
  537 + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
  538 +
  539 + <!-- border outline -->
  540 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/>
  541 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
  542 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/>
  543 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
  544 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/>
  545 + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
  546 +
  547 + <!-- inside shadow -->
  548 + <line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/>
  549 + <line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/>
  550 +
  551 + <!-- fill gr