From ac9ffcff7717c85fd4d55d4c90ab5a35423870dc Mon Sep 17 00:00:00 2001 From: Perberos Date: Mon, 19 Mar 2012 21:23:51 -0300 Subject: renaming clearlooks to traditionalok --- Makefile.am | 15 +- common/Makefile.am | 10 +- common/all-stock-icons.data | 113 +-- configure.in | 4 +- cursor-themes/Makefile.am | 2 +- desktop-themes/Clearlooks/Makefile.am | 11 - desktop-themes/Clearlooks/index.theme.in | 8 - desktop-themes/ClearlooksTest/Makefile.am | 11 - desktop-themes/ClearlooksTest/index.theme.in | 8 - desktop-themes/Makefile.am | 55 +- desktop-themes/TraditionalOk/Makefile.am | 11 + desktop-themes/TraditionalOk/index.theme.in | 8 + desktop-themes/TraditionalOkTest/Makefile.am | 11 + desktop-themes/TraditionalOkTest/index.theme.in | 8 + gtk-themes/ClearlooksClassic/Makefile.am | 5 - gtk-themes/ClearlooksClassic/gtkrc | 402 --------- gtk-themes/ClearlooksTest/Makefile.am | 5 - gtk-themes/ClearlooksTest/gtkrc | 509 ----------- gtk-themes/Makefile.am | 6 +- gtk-themes/TraditionalOkClassic/Makefile.am | 5 + gtk-themes/TraditionalOkClassic/gtkrc | 402 +++++++++ gtk-themes/TraditionalOkTest/Makefile.am | 5 + gtk-themes/TraditionalOkTest/gtkrc | 509 +++++++++++ marco-themes/Clearlooks/metacity-theme-1.xml | 954 --------------------- .../ClearlooksClassic/metacity-theme-1.xml | 925 -------------------- marco-themes/Makefile.am | 4 +- marco-themes/TraditionalOk/metacity-theme-1.xml | 954 +++++++++++++++++++++ .../TraditionalOkClassic/metacity-theme-1.xml | 925 ++++++++++++++++++++ 28 files changed, 2944 insertions(+), 2941 deletions(-) delete mode 100644 desktop-themes/Clearlooks/Makefile.am delete mode 100644 desktop-themes/Clearlooks/index.theme.in delete mode 100644 desktop-themes/ClearlooksTest/Makefile.am delete mode 100644 desktop-themes/ClearlooksTest/index.theme.in create mode 100644 desktop-themes/TraditionalOk/Makefile.am create mode 100644 desktop-themes/TraditionalOk/index.theme.in create mode 100644 desktop-themes/TraditionalOkTest/Makefile.am create mode 100644 desktop-themes/TraditionalOkTest/index.theme.in delete mode 100644 gtk-themes/ClearlooksClassic/Makefile.am delete mode 100644 gtk-themes/ClearlooksClassic/gtkrc delete mode 100644 gtk-themes/ClearlooksTest/Makefile.am delete mode 100644 gtk-themes/ClearlooksTest/gtkrc create mode 100644 gtk-themes/TraditionalOkClassic/Makefile.am create mode 100644 gtk-themes/TraditionalOkClassic/gtkrc create mode 100644 gtk-themes/TraditionalOkTest/Makefile.am create mode 100644 gtk-themes/TraditionalOkTest/gtkrc delete mode 100644 marco-themes/Clearlooks/metacity-theme-1.xml delete mode 100644 marco-themes/ClearlooksClassic/metacity-theme-1.xml create mode 100644 marco-themes/TraditionalOk/metacity-theme-1.xml create mode 100644 marco-themes/TraditionalOkClassic/metacity-theme-1.xml diff --git a/Makefile.am b/Makefile.am index ef0c1369..93175459 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,11 @@ -SUBDIRS= gtk-themes \ - marco-themes \ - icon-themes \ - desktop-themes \ - cursor-themes \ - common \ - po +SUBDIRS = \ + gtk-themes \ + marco-themes \ + icon-themes \ + desktop-themes \ + cursor-themes \ + common \ + po EXTRA_DIST = \ mate-themes.spec \ diff --git a/common/Makefile.am b/common/Makefile.am index 3c5704d8..bfb48e48 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -1,5 +1,5 @@ -EXTRA_DIST = all-stock-icons.data \ - gtk-stock-icons.rc \ - media-stock-icons.rc \ - panel-stock-icons.rc \ - mkiconlinks.sh +EXTRA_DIST = all-stock-icons.data \ + gtk-stock-icons.rc \ + media-stock-icons.rc \ + panel-stock-icons.rc \ + mkiconlinks.sh diff --git a/common/all-stock-icons.data b/common/all-stock-icons.data index 3405fff6..205d0a0c 100644 --- a/common/all-stock-icons.data +++ b/common/all-stock-icons.data @@ -1,59 +1,60 @@ NULL= -pixmap_DATA= stock_about.png stock_add.png stock_apply.png \ - stock_attach.png stock_bold.png stock_book.png \ - stock_cancel.png stock_cdrom.png stock_clear.png \ - stock_close.png stock_connect.png stock_convert.png \ - stock_copy.png stock_cut.png stock_delete.png \ - stock_dialog_error.png stock_dialog_info.png \ - stock_dialog_question.png stock_dialog_warning.png \ - stock_disconnect.png stock_edit.png stock_empty.png \ - stock_execute.png stock_export.png \ - stock_find-and-replace.png stock_find.png \ - stock_floppy.png stock_go-back.png \ - stock_go-down.png stock_go-forward.png \ - stock_go-up.png stock_goto-bottom.png \ - stock_goto-first.png stock_goto-last.png \ - stock_goto-top.png stock_help.png stock_home.png \ - stock_import.png stock_index.png \ - stock_insert-image.png stock_insert-object.png \ - stock_insert-table.png stock_italic.png \ - stock_jump-to.png stock_justify-center.png \ - stock_justify-fill.png stock_justify-left.png \ - stock_justify-right.png stock_line-in.png \ - stock_mic.png stock_missing-image.png stock_new.png \ - stock_ok.png stock_open.png stock_paste.png \ - stock_preferences.png stock_print-preview.png \ - stock_print.png stock_properties.png stock_quit.png \ - stock_redo.png stock_refresh.png stock_remove.png \ - stock_revert-to-saved.png stock_save-as.png \ - stock_save.png stock_select-color.png \ - stock_select-font.png stock_sort-ascending.png \ - stock_sort-descending.png stock_spell-check.png \ - stock_stop.png stock_strikethrough.png \ - stock_undelete.png stock_underline.png \ - stock_undo.png stock_volume.png stock_zoom-100.png \ - stock_zoom-fit.png stock_zoom-in.png \ - stock_zoom-out.png stock_yes.png stock_no.png \ - stock_dnd.png stock_dnd_multiple.png \ - stock_run.png stock_searchtool.png stock_lockscreen.png \ - stock_logout.png stock_mate-logo.png stock_cde-menu.png \ - stock_internet.png stock_mate-util.png \ - stock_launcher-program.png stock_multimedia.png \ - stock_drawer.png stock_screenshot.png \ - stock_amusements.png stock_accessories.png \ - stock_commandline-browser.xpm stock_commandline-history.xpm\ - media-prev.png media-next.png \ - media-stop.png media-eject.png \ - media-play.png media-pause.png media-record.png \ - media-backward.png media-forward.png \ - volume-mute.png volume-zero.png \ - volume-min.png volume-medium.png volume-max.png \ - double-click-on.png double-click-off.png double-click-maybe.png \ - printer-default.png printer-broken.png printer-inkjet.png \ - printer-personal-laser.png printer-workgroup-laser.png \ - marco-minimize.png marco-maximize.png \ - marco-delete.png \ - stock_info.png stock_harddisk.png \ - $(NULL) +pixmap_DATA = \ + stock_about.png stock_add.png stock_apply.png \ + stock_attach.png stock_bold.png stock_book.png \ + stock_cancel.png stock_cdrom.png stock_clear.png \ + stock_close.png stock_connect.png stock_convert.png \ + stock_copy.png stock_cut.png stock_delete.png \ + stock_dialog_error.png stock_dialog_info.png \ + stock_dialog_question.png stock_dialog_warning.png \ + stock_disconnect.png stock_edit.png stock_empty.png \ + stock_execute.png stock_export.png \ + stock_find-and-replace.png stock_find.png \ + stock_floppy.png stock_go-back.png \ + stock_go-down.png stock_go-forward.png \ + stock_go-up.png stock_goto-bottom.png \ + stock_goto-first.png stock_goto-last.png \ + stock_goto-top.png stock_help.png stock_home.png \ + stock_import.png stock_index.png \ + stock_insert-image.png stock_insert-object.png \ + stock_insert-table.png stock_italic.png \ + stock_jump-to.png stock_justify-center.png \ + stock_justify-fill.png stock_justify-left.png \ + stock_justify-right.png stock_line-in.png \ + stock_mic.png stock_missing-image.png stock_new.png \ + stock_ok.png stock_open.png stock_paste.png \ + stock_preferences.png stock_print-preview.png \ + stock_print.png stock_properties.png stock_quit.png \ + stock_redo.png stock_refresh.png stock_remove.png \ + stock_revert-to-saved.png stock_save-as.png \ + stock_save.png stock_select-color.png \ + stock_select-font.png stock_sort-ascending.png \ + stock_sort-descending.png stock_spell-check.png \ + stock_stop.png stock_strikethrough.png \ + stock_undelete.png stock_underline.png \ + stock_undo.png stock_volume.png stock_zoom-100.png \ + stock_zoom-fit.png stock_zoom-in.png \ + stock_zoom-out.png stock_yes.png stock_no.png \ + stock_dnd.png stock_dnd_multiple.png \ + stock_run.png stock_searchtool.png stock_lockscreen.png \ + stock_logout.png stock_mate-logo.png stock_cde-menu.png \ + stock_internet.png stock_mate-util.png \ + stock_launcher-program.png stock_multimedia.png \ + stock_drawer.png stock_screenshot.png \ + stock_amusements.png stock_accessories.png \ + stock_commandline-browser.xpm stock_commandline-history.xpm\ + media-prev.png media-next.png \ + media-stop.png media-eject.png \ + media-play.png media-pause.png media-record.png \ + media-backward.png media-forward.png \ + volume-mute.png volume-zero.png \ + volume-min.png volume-medium.png volume-max.png \ + double-click-on.png double-click-off.png double-click-maybe.png \ + printer-default.png printer-broken.png printer-inkjet.png \ + printer-personal-laser.png printer-workgroup-laser.png \ + marco-minimize.png marco-maximize.png \ + marco-delete.png \ + stock_info.png stock_harddisk.png \ + $(NULL) diff --git a/configure.in b/configure.in index b09a8239..2a77ebc4 100644 --- a/configure.in +++ b/configure.in @@ -346,13 +346,13 @@ dnl ========================================================================== echo " mate-themes-$VERSION: - Installation prefix: ${prefix} + Installation prefix: ${prefix} Enable placeholders: ${enable_placeholders} Enable legacy icons: ${enable_mapping} Enable all themes: ${enable_all_themes} Enable test themes: ${enable_test_themes} - LargePrint cursor theme: ${LARGEPRINT_CURSOR_THEME} + LargePrint cursor theme: ${LARGEPRINT_CURSOR_THEME} HC LargePrint cursor theme: ${LARGEPRINT_HC_CURSOR_THEME} HCI LargePrint cursor theme: ${LARGEPRINT_HCI_CURSOR_THEME} diff --git a/cursor-themes/Makefile.am b/cursor-themes/Makefile.am index 2e2652ae..18b15eb0 100644 --- a/cursor-themes/Makefile.am +++ b/cursor-themes/Makefile.am @@ -1,6 +1,6 @@ cursordir = $(datadir)/icons/mate/cursors -cursor_DATA =\ +cursor_DATA = \ 08e8e1c95fe2fc01f976f1e063a24ccd \ double_arrow \ left_ptr_watch \ diff --git a/desktop-themes/Clearlooks/Makefile.am b/desktop-themes/Clearlooks/Makefile.am deleted file mode 100644 index dd391938..00000000 --- a/desktop-themes/Clearlooks/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -THEME_NAME=Clearlooks -THEME_IN_FILES=index.theme.in - -%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache - -themedir = $(datadir)/themes/$(THEME_NAME) - -theme_DATA = index.theme - -DISTCLEANFILES=index.theme -EXTRA_DIST=index.theme.in index.theme diff --git a/desktop-themes/Clearlooks/index.theme.in b/desktop-themes/Clearlooks/index.theme.in deleted file mode 100644 index 89f17176..00000000 --- a/desktop-themes/Clearlooks/index.theme.in +++ /dev/null @@ -1,8 +0,0 @@ -[X-GNOME-Metatheme] -_Name=Clearlooks -Type=X-GNOME-Metatheme -_Comment=Attractive Usability -Encoding=UTF-8 -GtkTheme=Clearlooks -MetacityTheme=Clearlooks -IconTheme=mate diff --git a/desktop-themes/ClearlooksTest/Makefile.am b/desktop-themes/ClearlooksTest/Makefile.am deleted file mode 100644 index e06b5b7a..00000000 --- a/desktop-themes/ClearlooksTest/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -THEME_NAME=ClearlooksTest -THEME_IN_FILES=index.theme.in - -%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache - -themedir = $(datadir)/themes/$(THEME_NAME) - -theme_DATA = index.theme - -DISTCLEANFILES=index.theme -EXTRA_DIST=index.theme.in index.theme diff --git a/desktop-themes/ClearlooksTest/index.theme.in b/desktop-themes/ClearlooksTest/index.theme.in deleted file mode 100644 index ad912be8..00000000 --- a/desktop-themes/ClearlooksTest/index.theme.in +++ /dev/null @@ -1,8 +0,0 @@ -[X-GNOME-Metatheme] -_Name=Clearlooks Test Theme -Type=X-GNOME-Metatheme -_Comment=Theme with a different colorscheme to find problems in applications. -Encoding=UTF-8 -GtkTheme=ClearlooksTest -MetacityTheme=Clearlooks -IconTheme=mate diff --git a/desktop-themes/Makefile.am b/desktop-themes/Makefile.am index 749b4ab4..64948925 100644 --- a/desktop-themes/Makefile.am +++ b/desktop-themes/Makefile.am @@ -1,31 +1,32 @@ -SUBDIRS= \ - Aldabra \ - Crux \ - Clearlooks \ - Glider \ - Glossy \ - HighContrast \ - HighContrastInverse \ - HighContrastLargePrint \ +SUBDIRS = \ + Aldabra \ + Crux \ + TraditionalOk \ + Glider \ + Glossy \ + HighContrast \ + HighContrastInverse \ + HighContrastLargePrint \ HighContrastLargePrintInverse \ - LargePrint \ - LowContrast \ - LowContrastLargePrint \ - Mist \ + LargePrint \ + LowContrast \ + LowContrastLargePrint \ + Mist \ $(TEST_THEMES) -DIST_SUBDIRS= \ - Aldabra \ - Crux \ - Clearlooks \ - Glider \ - Glossy \ - HighContrast \ - HighContrastInverse \ - HighContrastLargePrint \ +DIST_SUBDIRS = \ + Aldabra \ + Crux \ + TraditionalOk \ + Glider \ + Glossy \ + HighContrast \ + HighContrastInverse \ + HighContrastLargePrint \ HighContrastLargePrintInverse \ - LargePrint \ - LowContrast \ - LowContrastLargePrint \ - Mist \ - ClearlooksTest + LargePrint \ + LowContrast \ + LowContrastLargePrint \ + Mist \ + TraditionalOkTest + diff --git a/desktop-themes/TraditionalOk/Makefile.am b/desktop-themes/TraditionalOk/Makefile.am new file mode 100644 index 00000000..93281ca7 --- /dev/null +++ b/desktop-themes/TraditionalOk/Makefile.am @@ -0,0 +1,11 @@ +THEME_NAME=TraditionalOk +THEME_IN_FILES=index.theme.in + +%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache + +themedir = $(datadir)/themes/$(THEME_NAME) + +theme_DATA = index.theme + +DISTCLEANFILES=index.theme +EXTRA_DIST=index.theme.in index.theme diff --git a/desktop-themes/TraditionalOk/index.theme.in b/desktop-themes/TraditionalOk/index.theme.in new file mode 100644 index 00000000..8b7e4108 --- /dev/null +++ b/desktop-themes/TraditionalOk/index.theme.in @@ -0,0 +1,8 @@ +[X-GNOME-Metatheme] +_Name=TraditionalOk +Type=X-GNOME-Metatheme +_Comment=Attractive Usability +Encoding=UTF-8 +GtkTheme=TraditionalOk +MetacityTheme=TraditionalOk +IconTheme=mate diff --git a/desktop-themes/TraditionalOkTest/Makefile.am b/desktop-themes/TraditionalOkTest/Makefile.am new file mode 100644 index 00000000..acd1e912 --- /dev/null +++ b/desktop-themes/TraditionalOkTest/Makefile.am @@ -0,0 +1,11 @@ +THEME_NAME=TraditionalOkTest +THEME_IN_FILES=index.theme.in + +%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache + +themedir = $(datadir)/themes/$(THEME_NAME) + +theme_DATA = index.theme + +DISTCLEANFILES=index.theme +EXTRA_DIST=index.theme.in index.theme diff --git a/desktop-themes/TraditionalOkTest/index.theme.in b/desktop-themes/TraditionalOkTest/index.theme.in new file mode 100644 index 00000000..c58fd5ae --- /dev/null +++ b/desktop-themes/TraditionalOkTest/index.theme.in @@ -0,0 +1,8 @@ +[X-GNOME-Metatheme] +_Name=TraditionalOk Test Theme +Type=X-GNOME-Metatheme +_Comment=Theme with a different colorscheme to find problems in applications. +Encoding=UTF-8 +GtkTheme=TraditionalOkTest +MetacityTheme=TraditionalOk +IconTheme=mate diff --git a/gtk-themes/ClearlooksClassic/Makefile.am b/gtk-themes/ClearlooksClassic/Makefile.am deleted file mode 100644 index c33cde2b..00000000 --- a/gtk-themes/ClearlooksClassic/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -themedir = $(datadir)/themes/ClearlooksClassic/gtk-2.0 - -theme_DATA = gtkrc - -EXTRA_DIST = $(theme_DATA) diff --git a/gtk-themes/ClearlooksClassic/gtkrc b/gtk-themes/ClearlooksClassic/gtkrc deleted file mode 100644 index ae9397f5..00000000 --- a/gtk-themes/ClearlooksClassic/gtkrc +++ /dev/null @@ -1,402 +0,0 @@ - -# Please keep this gtkrc in sync with the other ones from Clearlooks based themes. - -gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#5598d7\nselected_fg_color:#ffffff\ntext_color:#000000\nbg_color:#ede9e3\ntooltip_bg_color:#FFFFBF" - -style "default" { - xthickness = 1 - ythickness = 1 - - ####################### - # Style Properties - ####################### - GtkButton::child-displacement-x = 1 - GtkButton::child-displacement-y = 1 - GtkButton::default-border = { 0, 0, 0, 0 } - - GtkCheckButton::indicator-size = 14 - - GtkPaned::handle-size = 6 - - GtkRange::trough-border = 0 - GtkRange::slider-width = 15 - GtkRange::stepper-size = 15 - - GtkScale::slider-length = 27 - GtkScale::trough-side-details = 1 - - GtkScrollbar::min-slider-length = 30 - GtkMenuBar::internal-padding = 0 - GtkExpander::expander-size = 16 - GtkTreeView::expander-size = 14 - GtkTreeView::vertical-separator = 0 - - GtkMenu::horizontal-padding = 0 - GtkMenu::vertical-padding = 0 - - WnckTasklist::fade-overlay-rect = 0 - # The following line hints to gecko (and possibly other appliations) - # that the entry should be drawn transparently on the canvas. - # Without this, gecko will fill in the background of the entry. - GtkEntry::honors-transparent-bg-hint = 1 - GtkMenuBar::internal-padding = 0 - - GtkEntry::progress-border = { 2, 2, 2, 2 } - - #################### - # Color Definitions - #################### - bg[NORMAL] = @bg_color - bg[PRELIGHT] = shade (1.02, @bg_color) - bg[SELECTED] = @selected_bg_color - bg[INSENSITIVE] = @bg_color - bg[ACTIVE] = shade (0.9, @bg_color) - - fg[NORMAL] = @fg_color - fg[PRELIGHT] = @fg_color - fg[SELECTED] = @selected_fg_color - fg[INSENSITIVE] = darker (@bg_color) - fg[ACTIVE] = @fg_color - - text[NORMAL] = @text_color - text[PRELIGHT] = @text_color - text[SELECTED] = @selected_fg_color - text[INSENSITIVE] = darker (@bg_color) - text[ACTIVE] = @selected_fg_color - - base[NORMAL] = @base_color - base[PRELIGHT] = shade (0.95, @bg_color) - base[SELECTED] = @selected_bg_color - base[INSENSITIVE] = @bg_color - base[ACTIVE] = shade (0.9, @selected_bg_color) - - engine "clearlooks" { - colorize_scrollbar = FALSE - reliefstyle = 1 - menubarstyle = 2 - toolbarstyle = 0 - animation = FALSE - radius = 3.0 - style = CLASSIC - - # Set a hint to disable backward compatibility fallbacks. - hint = "use-hints" - } -} - -style "wide" { - xthickness = 2 - ythickness = 2 -} - -style "wider" { - xthickness = 3 - ythickness = 3 -} - -style "entry" { - xthickness = 3 - ythickness = 3 - - bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color) - fg[SELECTED] = @text_color - - engine "clearlooks" { - focus_color = shade (0.65, @selected_bg_color) - } -} - -style "spinbutton" { - - engine "clearlooks" { - hint = "spinbutton" - } -} - -style "scale" = "button" { - xthickness = 2 - ythickness = 2 - - engine "clearlooks" { - hint = "scale" - } -} - -style "vscale" { - - engine "clearlooks" { - hint = "vscale" - } -} - -style "hscale" { - - engine "clearlooks" { - hint = "hscale" - } -} - -style "scrollbar" { - xthickness = 2 - ythickness = 2 - - engine "clearlooks" { - hint = "scrollbar" - } -} - -style "hscrollbar" { - - engine "clearlooks" { - hint = "hscrollbar" - } -} - -style "vscrollbar" { - - engine "clearlooks" { - hint = "vscrollbar" - } -} - -style "notebook_bg" { -} - -style "button" { - xthickness = 3 - ythickness = 3 - - bg[NORMAL] = shade (1.05, @bg_color) - bg[INSENSITIVE] = shade (1.04, @bg_color) - bg[PRELIGHT] = shade (1.08, @bg_color) -} - -style "notebook" { - xthickness = 2 - ythickness = 2 -} - -style "statusbar" { - - engine "clearlooks" { - hint = "statusbar" - } -} - -style "comboboxentry" { - - engine "clearlooks" { - # Note: - # If you set the appears-as-list option on comboboxes in the theme, - # then you should set this hint on the combobox instead. - hint = "comboboxentry" - } -} - -style "menubar" { - - engine "clearlooks" { - hint = "menubar" - } -} - -style "menu" { - xthickness = 2 - ythickness = 2 - - bg[NORMAL] = shade (1.08, @bg_color) -} - -style "menu_item" { - xthickness = 2 - ythickness = 3 - - fg[PRELIGHT] = @selected_fg_color -} - -style "frame_title" { - - fg[NORMAL] = lighter (@fg_color) -} - -style "treeview" { - xthickness = 2 - ythickness = 2 - - engine "clearlooks" { - hint = "treeview" - } -} - -style "progressbar" { - xthickness = 1 - ythickness = 1 - - fg[PRELIGHT] = @selected_fg_color - - engine "clearlooks" { - radius = 1.5 - - hint = "progressbar" - } -} - -# This style is based on the default style, so that the colors from the button -# style are overriden again. -style "treeview_header" = "default" { - xthickness = 2 - ythickness = 1 - - engine "clearlooks" { - hint = "treeview-header" - } -} - -style "tooltips" { - xthickness = 4 - ythickness = 4 - - bg[NORMAL] = @tooltip_bg_color - fg[NORMAL] = @tooltip_fg_color -} - -style "caja_location" { - - bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color) -} - -# Wrokaroudn style for places where the text color is used instead of the fg color. -style "text_is_fg_color_workaround" { - - text[NORMAL] = @fg_color - text[PRELIGHT] = @fg_color - text[SELECTED] = @selected_fg_color - text[ACTIVE] = @fg_color - text[INSENSITIVE] = darker (@bg_color) -} - -# Workaround style for menus where the text color is used instead of the fg color. -style "menuitem_text_is_fg_color_workaround" { - - text[NORMAL] = @fg_color - text[PRELIGHT] = @selected_fg_color - text[SELECTED] = @selected_fg_color - text[ACTIVE] = @fg_color - text[INSENSITIVE] = darker (@bg_color) -} - -# Workaround style for places where the fg color is used instead of the text color. -style "fg_is_text_color_workaround" { - - fg[NORMAL] = @text_color - fg[PRELIGHT] = @text_color - fg[SELECTED] = @selected_fg_color - fg[ACTIVE] = @selected_fg_color - fg[INSENSITIVE] = darker (@bg_color) -} - -# Style to set the toolbar to use a flat style. This is because the "New" button in -# Evolution is not drawn transparent. So if there is a gradient in the background it will -# look really wrong. -# See http://bugzilla.gnome.org/show_bug.cgi?id=446953. -style "evo_new_button_workaround" { - - engine "clearlooks" { - toolbarstyle = 0 - } -} - - -############################################################################### -# The following part of the gtkrc applies the different styles to the widgets. -############################################################################### - -# The default style is applied to every widget -class "GtkWidget" style "default" - -class "GtkSeparator" style "wide" -class "GtkFrame" style "wide" -class "GtkCalendar" style "wide" -class "GtkEntry" style "entry" - -class "GtkSpinButton" style "spinbutton" -class "GtkScale" style "scale" -class "GtkVScale" style "vscale" -class "GtkHScale" style "hscale" -class "GtkScrollbar" style "scrollbar" -class "GtkHScrollbar" style "hscrollbar" -class "GtkVScrollbar" style "vscrollbar" - -# General matching follows. The order is choosen so that the right styles override -# each other. EG. progressbar needs to be more important than the menu match. -widget_class "*" style "notebook_bg" -# This is not perfect, it could be done better. -# (That is modify *every* widget in the notebook, and change those back that -# we really don't want changed) -widget_class "**" style "notebook_bg" -widget_class "**" style "notebook_bg" -widget_class "**" style "notebook_bg" -widget_class "**" style "notebook_bg" -widget_class "**" style "notebook_bg" - -widget_class "*" style "button" -widget_class "*" style "notebook" -widget_class "**" style "statusbar" - -widget_class "**" style "comboboxentry" -widget_class "**" style "comboboxentry" - -widget_class "**" style "menubar" -widget_class "**" style "menu" -widget_class "**" style "menu_item" - -widget_class "*.." style "frame_title" -widget_class "*.*" style "treeview" - -widget_class "*" style "progressbar" - -# Treeview headers (and similar stock GTK+ widgets) -widget_class "*.." style "treeview_header" -widget_class "*.." style "treeview_header" -widget_class "*.." style "treeview_header" -widget_class "*.." style "treeview_header" - -# The window of the tooltip is called "gtk-tooltip" -################################################################## -# FIXME: -# This will not work if one embeds eg. a button into the tooltip. -# As far as I can tell right now we will need to rework the theme -# quite a bit to get this working correctly. -# (It will involve setting different priorities, etc.) -################################################################## -widget "gtk-tooltip*" style "tooltips" - -########################################################################## -# Following are special cases and workarounds for issues in applications. -########################################################################## - -# Workaround for the evolution ETable (bug #527532) -widget_class "*.." style "treeview_header" -# Workaround for the evolution ETree -widget_class "*.." style "treeview_header" - -# Special case the caja-extra-view-widget -# ToDo: A more generic approach for all applications that have a widget like this. -widget "*.caja-extra-view-widget" style : highest "caja_location" - -# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 -# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. -widget_class "*.." style "text_is_fg_color_workaround" -# This is the part of the workaround that fixes the menus -widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround" - -# Work around the usage of GtkLabel inside GtkListItems to display text. -# This breaks because the label is shown on a background that is based on the base color. -widget_class "**" style "fg_is_text_color_workaround" -# GtkCList also uses the fg color to draw text on top of the base colors. -widget_class "*" style "fg_is_text_color_workaround" -# Caja when renaming files, and maybe other places. -widget_class "*" style "fg_is_text_color_workaround" - -# See the documentation of the style. -widget_class "EShellWindow.GtkVBox.MateComponentDock.MateComponentDockBand.MateComponentDockItem*" style "evo_new_button_workaround" diff --git a/gtk-themes/ClearlooksTest/Makefile.am b/gtk-themes/ClearlooksTest/Makefile.am deleted file mode 100644 index 1ee4a907..00000000 --- a/gtk-themes/ClearlooksTest/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -themedir = $(datadir)/themes/ClearlooksTest/gtk-2.0 - -theme_DATA = gtkrc - -EXTRA_DIST = $(theme_DATA) diff --git a/gtk-themes/ClearlooksTest/gtkrc b/gtk-themes/ClearlooksTest/gtkrc deleted file mode 100644 index 0edcdc1d..00000000 --- a/gtk-themes/ClearlooksTest/gtkrc +++ /dev/null @@ -1,509 +0,0 @@ - -# Please keep this gtkrc in sync with the other ones from Clearlooks based themes. - -gtk-color-scheme = "fg_color:#f5f5f5\nbg_color:#888a85\nbase_color:#babdb6\ntext_color:#000\nselected_bg_color:#f57900\nselected_fg_color:#fff\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000" - -style "clearlooks-default" { - xthickness = 1 - ythickness = 1 - - ####################### - # Style Properties - ####################### - GtkButton::child-displacement-x = 1 - GtkButton::child-displacement-y = 1 - GtkButton::default-border = { 0, 0, 0, 0 } - - GtkCheckButton::indicator-size = 14 - - GtkPaned::handle-size = 6 - - GtkRange::trough-border = 0 - GtkRange::slider-width = 15 - GtkRange::stepper-size = 15 - - GtkScale::slider-length = 23 - GtkScale::trough-side-details = 1 - - GtkScrollbar::min-slider-length = 30 - GtkMenuBar::internal-padding = 0 - GtkExpander::expander-size = 16 - GtkToolbar::internal-padding = 1 - GtkTreeView::expander-size = 14 - GtkTreeView::vertical-separator = 0 - - GtkMenu::horizontal-padding = 0 - GtkMenu::vertical-padding = 0 - - WnckTasklist::fade-overlay-rect = 0 - # The following line hints to gecko (and possibly other appliations) - # that the entry should be drawn transparently on the canvas. - # Without this, gecko will fill in the background of the entry. - GtkEntry::honors-transparent-bg-hint = 1 - - GtkEntry::progress-border = { 2, 2, 2, 2 } - - #################### - # Color Definitions - #################### - bg[NORMAL] = @bg_color - bg[PRELIGHT] = shade (1.02, @bg_color) - bg[SELECTED] = @selected_bg_color - bg[INSENSITIVE] = @bg_color - bg[ACTIVE] = shade (0.9, @bg_color) - - fg[NORMAL] = @fg_color - fg[PRELIGHT] = @fg_color - fg[SELECTED] = @selected_fg_color - fg[INSENSITIVE] = darker (@bg_color) - fg[ACTIVE] = @fg_color - - text[NORMAL] = @text_color - text[PRELIGHT] = @text_color - text[SELECTED] = @selected_fg_color - text[INSENSITIVE] = darker (@bg_color) - text[ACTIVE] = @selected_fg_color - - base[NORMAL] = @base_color - base[PRELIGHT] = shade (0.95, @bg_color) - base[SELECTED] = @selected_bg_color - base[INSENSITIVE] = @bg_color - base[ACTIVE] = shade (0.9, @selected_bg_color) - - engine "clearlooks" { - colorize_scrollbar = TRUE - reliefstyle = 1 - menubarstyle = 2 - toolbarstyle = 1 - animation = FALSE - radius = 3.0 - style = GUMMY - - # Set a hint to disable backward compatibility fallbacks. - hint = "use-hints" - } -} - -style "clearlooks-wide" { - xthickness = 2 - ythickness = 2 -} - -style "clearlooks-wider" { - xthickness = 3 - ythickness = 3 -} - -style "clearlooks-entry" { - xthickness = 3 - ythickness = 3 - - bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color) - fg[SELECTED] = @text_color - - engine "clearlooks" { - focus_color = shade (0.65, @selected_bg_color) - } -} - -style "clearlooks-spinbutton" { - - engine "clearlooks" { - hint = "spinbutton" - } -} - -style "clearlooks-scale" { - xthickness = 2 - ythickness = 2 - - engine "clearlooks" { - hint = "scale" - } -} - -style "clearlooks-vscale" { - - engine "clearlooks" { - hint = "vscale" - } -} - -style "clearlooks-hscale" { - - engine "clearlooks" { - hint = "hscale" - } -} - -style "clearlooks-scrollbar" { - xthickness = 2 - ythickness = 2 - - engine "clearlooks" { - hint = "scrollbar" - } -} - -style "clearlooks-hscrollbar" { - - engine "clearlooks" { - hint = "hscrollbar" - } -} - -style "clearlooks-vscrollbar" { - - engine "clearlooks" { - hint = "vscrollbar" - } -} - -style "clearlooks-notebook_bg" { - - bg[NORMAL] = shade (1.02, @bg_color) -} - -style "clearlooks-button" { - xthickness = 3 - ythickness = 3 - - bg[NORMAL] = shade (1.04, @bg_color) - bg[PRELIGHT] = shade (1.06, @bg_color) - bg[ACTIVE] = shade (0.85, @bg_color) -} - -# The color is changed by the notebook_bg style, this style -# changes the x/ythickness -style "clearlooks-notebook" { - xthickness = 3 - ythickness = 3 -} - -style "clearlooks-statusbar" { - - engine "clearlooks" { - hint = "statusbar" - } -} - -style "clearlooks-comboboxentry" { - - engine "clearlooks" { - # Note: - # If you set the appears-as-list option on comboboxes in the theme, - # then you should set this hint on the combobox instead. - hint = "comboboxentry" - } -} - -style "clearlooks-menubar" { - - engine "clearlooks" { - hint = "menubar" - } -} - -style "clearlooks-menu" { - xthickness = 0 - ythickness = 0 - - bg[NORMAL] = shade (1.08, @bg_color) - - engine "clearlooks" { - radius = 0.0 - } -} - -style "clearlooks-menu_item" { - xthickness = 2 - ythickness = 3 - - fg[PRELIGHT] = @selected_fg_color -} - -# This style is there to modify the separator menu items. The goals are: -# 1. Get a specific height. -# 2. The line should go to the edges (ie. no border at the left/right) -style "clearlooks-separator_menu_item" { - xthickness = 1 - ythickness = 0 - - GtkSeparatorMenuItem::horizontal-padding = 0 - GtkWidget::wide-separators = 1 - GtkWidget::separator-width = 1 - GtkWidget::separator-height = 7 -} - -style "clearlooks-frame_title" { - - fg[NORMAL] = lighter (@fg_color) -} - -style "clearlooks-treeview" { - - engine "clearlooks" { - hint = "treeview" - } -} - -# The almost useless progress bar style -style "clearlooks-progressbar" { - xthickness = 1 - ythickness = 1 - - fg[PRELIGHT] = @selected_fg_color - - engine "clearlooks" { - # Explicitly set the radius for the progress bars inside menu items. - radius = 3.0 - - hint = "progressbar" - } -} - -# This style is based on the default style, so that the colors from the button -# style are overriden again. -style "clearlooks-treeview_header" = "default" { - xthickness = 2 - ythickness = 1 - - engine "clearlooks" { - hint = "treeview-header" - } -} - -style "clearlooks-tooltips" { - xthickness = 4 - ythickness = 4 - - bg[NORMAL] = @tooltip_bg_color - fg[NORMAL] = @tooltip_fg_color -} - -style "clearlooks-caja_location" { - - bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color) -} - -# Wrokaroudn style for places where the text color is used instead of the fg color. -style "clearlooks-text_is_fg_color_workaround" { - - text[NORMAL] = @fg_color - text[PRELIGHT] = @fg_color - text[SELECTED] = @selected_fg_color - text[ACTIVE] = @fg_color - text[INSENSITIVE] = darker (@bg_color) -} - -# Workaround style for menus where the text color is used instead of the fg color. -style "clearlooks-menuitem_text_is_fg_color_workaround" { - - text[NORMAL] = @fg_color - text[PRELIGHT] = @selected_fg_color - text[SELECTED] = @selected_fg_color - text[ACTIVE] = @fg_color - text[INSENSITIVE] = darker (@bg_color) -} - -# Workaround style for places where the fg color is used instead of the text color. -style "clearlooks-fg_is_text_color_workaround" { - - fg[NORMAL] = @text_color - fg[PRELIGHT] = @text_color - fg[SELECTED] = @selected_fg_color - fg[ACTIVE] = @selected_fg_color - fg[INSENSITIVE] = darker (@bg_color) -} - -# Style to set the toolbar to use a flat style. This is because the "New" button in -# Evolution is not drawn transparent. So if there is a gradient in the background it will -# look really wrong. -# See http://bugzilla.gnome.org/show_bug.cgi?id=446953. -style "clearlooks-evo_new_button_workaround" { - - engine "clearlooks" { - toolbarstyle = 0 - } -} - - -############################################################################### -# The following part of the gtkrc applies the different styles to the widgets. -############################################################################### - -# The default style is applied to every widget -class "GtkWidget" style "clearlooks-default" - -class "GtkSeparator" style "clearlooks-wide" -class "GtkFrame" style "clearlooks-wide" -class "GtkCalendar" style "clearlooks-wide" -class "GtkEntry" style "clearlooks-entry" - -class "GtkSpinButton" style "clearlooks-spinbutton" -class "GtkScale" style "clearlooks-scale" -class "GtkVScale" style "clearlooks-vscale" -class "GtkHScale" style "clearlooks-hscale" -class "GtkScrollbar" style "clearlooks-scrollbar" -class "GtkHScrollbar" style "clearlooks-hscrollbar" -class "GtkVScrollbar" style "clearlooks-vscrollbar" - -# General matching follows. The order is choosen so that the right styles override -# each other. EG. progressbar needs to be more important than the menu match. -widget_class "*" style "clearlooks-notebook_bg" -# This is not perfect, it could be done better. -# (That is modify *every* widget in the notebook, and change those back that -# we really don't want changed) -widget_class "**" style "clearlooks-notebook_bg" -widget_class "**" style "clearlooks-notebook_bg" -widget_class "**" style "clearlooks-notebook_bg" -widget_class "**" style "clearlooks-notebook_bg" -widget_class "**" style "clearlooks-notebook_bg" - -widget_class "*" style "clearlooks-button" -widget_class "*" style "clearlooks-notebook" -widget_class "**" style "clearlooks-statusbar" - -widget_class "**" style "clearlooks-comboboxentry" -widget_class "**" style "clearlooks-comboboxentry" - -widget_class "**" style "clearlooks-menubar" -widget_class "**" style "clearlooks-menu" -widget_class "**" style "clearlooks-menu_item" -widget_class "**" style "clearlooks-separator_menu_item" - -widget_class "*.." style "clearlooks-frame_title" -widget_class "*.*" style "clearlooks-treeview" - -widget_class "*" style "clearlooks-progressbar" - -# Treeview headers (and similar stock GTK+ widgets) -widget_class "*.." style "clearlooks-treeview_header" -widget_class "*.." style "clearlooks-treeview_header" -widget_class "*.." style "clearlooks-treeview_header" -widget_class "*.." style "clearlooks-treeview_header" - -# The window of the tooltip is called "gtk-tooltip" -################################################################## -# FIXME: -# This will not work if one embeds eg. a button into the tooltip. -# As far as I can tell right now we will need to rework the theme -# quite a bit to get this working correctly. -# (It will involve setting different priorities, etc.) -################################################################## -widget "gtk-tooltip*" style "clearlooks-tooltips" - -########################################################################## -# Following are special cases and workarounds for issues in applications. -########################################################################## - -# Workaround for the evolution ETable (bug #527532) -widget_class "*.." style "clearlooks-treeview_header" -# Workaround for the evolution ETree -widget_class "*.." style "clearlooks-treeview_header" - -# Special case the caja-extra-view-widget -# ToDo: A more generic approach for all applications that have a widget like this. -widget "*.caja-extra-view-widget" style : highest "clearlooks-caja_location" - -# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 -# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. -widget_class "*.." style "clearlooks-text_is_fg_color_workaround" -# This is the part of the workaround that fixes the menus -widget "*.gtk-combobox-popup-menu.*" style "clearlooks-menuitem_text_is_fg_color_workaround" - -# Work around the usage of GtkLabel inside GtkListItems to display text. -# This breaks because the label is shown on a background that is based on the base color. -widget_class "**" style "clearlooks-fg_is_text_color_workaround" -# GtkCList also uses the fg color to draw text on top of the base colors. -widget_class "*" style "clearlooks-fg_is_text_color_workaround" -widget_class "**" style "clearlooks-fg_is_text_color_workaround" -widget_class "**" style "clearlooks-fg_is_text_color_workaround" -# Caja when renaming files, and maybe other places. -widget_class "*" style "clearlooks-fg_is_text_color_workaround" - -# See the documentation of the style. -widget_class "EShellWindow.GtkVBox.MateComponentDock.MateComponentDockBand.MateComponentDockItem*" style "clearlooks-evo_new_button_workaround" - - -################################################## -# Marking deprecated widgets -################################################## - -style "clearlooks-deprecated-widgets" -{ - bg[NORMAL] = mix(0.9, @bg_color, "#ff0000") - bg[PRELIGHT] = mix(0.9, shade (1.02, @bg_color), "#ff0000") - bg[SELECTED] = mix(0.9, @selected_bg_color, "#ff0000") - bg[INSENSITIVE] = mix(0.9, @bg_color, "#ff0000") - bg[ACTIVE] = mix(0.9, shade (0.9, @bg_color), "#ff0000") - - fg[NORMAL] = mix(0.9, @fg_color, "#ff0000") - fg[PRELIGHT] = mix(0.9, @fg_color, "#ff0000") - fg[SELECTED] = mix(0.9, @selected_fg_color, "#ff0000") - fg[INSENSITIVE] = mix(0.9, darker (@bg_color), "#ff0000") - fg[ACTIVE] = mix(0.9, @fg_color, "#ff0000") - - text[NORMAL] = mix(0.9, @text_color, "#ff0000") - text[PRELIGHT] = mix(0.9, @text_color, "#ff0000") - text[SELECTED] = mix(0.9, @selected_fg_color, "#ff0000") - text[INSENSITIVE] = mix(0.9, darker (@bg_color), "#ff0000") - text[ACTIVE] = mix(0.9, @selected_fg_color, "#ff0000") - - base[NORMAL] = mix(0.9, @base_color, "#ff0000") - base[PRELIGHT] = mix(0.9, shade (0.95, @bg_color), "#ff0000") - base[SELECTED] = mix(0.9, @selected_bg_color, "#ff0000") - base[INSENSITIVE] = mix(0.9, @bg_color, "#ff0000") - base[ACTIVE] = mix(0.9, shade (0.9, @selected_bg_color), "#ff0000") -} - -# GTK+ -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.GtkProgress" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" - -# libmateui -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -# MateEntry is already in because of GtkCombo -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" - -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" -widget_class "*.*" style "clearlooks-deprecated-widgets" - - -# MATE Canvas -- well, is there a replacement? -#widget_class "*.*" style "clearlooks-deprecated-widgets" - -# All widgets that are embedded with MateComponent ... this makes a lot of things red -# like evolution and mate-panel -#widget_class "**" style "clearlooks-deprecated-widgets" -#widget_class "**" style "clearlooks-deprecated-widgets" -#widget_class "**" style "clearlooks-deprecated-widgets" - -style "clearlooks-deprecated-fg_is_text_color_workaround" -{ - fg[NORMAL] = mix(0.9, @text_color, "#ff0000") - fg[PRELIGHT] = mix(0.9, @text_color, "#ff0000") - fg[SELECTED] = mix(0.9, @selected_fg_color, "#ff0000") - fg[INSENSITIVE] = mix(0.9, darker (@bg_color), "#ff0000") - fg[ACTIVE] = mix(0.9, @selected_fg_color, "#ff0000") -} - -widget_class "**" style "clearlooks-deprecated-fg_is_text_color_workaround" -widget_class "*" style "clearlooks-deprecated-fg_is_text_color_workaround" -widget_class "**" style "clearlooks-deprecated-fg_is_text_color_workaround" -widget_class "**" style "clearlooks-deprecated-fg_is_text_color_workaround" diff --git a/gtk-themes/Makefile.am b/gtk-themes/Makefile.am index 7f64204e..4e55ab1e 100644 --- a/gtk-themes/Makefile.am +++ b/gtk-themes/Makefile.am @@ -1,7 +1,7 @@ SUBDIRS= \ Glider \ Glossy \ - ClearlooksClassic \ + TraditionalOkClassic \ Simple \ HighContrast \ HighContrastInverse \ @@ -16,7 +16,7 @@ SUBDIRS= \ DIST_SUBDIRS= \ Glider \ Glossy \ - ClearlooksClassic \ + TraditionalOkClassic \ Simple \ HighContrast \ HighContrastInverse \ @@ -26,4 +26,4 @@ DIST_SUBDIRS= \ LowContrast \ LowContrastLargePrint \ LargePrint \ - ClearlooksTest + TraditionalOkTest diff --git a/gtk-themes/TraditionalOkClassic/Makefile.am b/gtk-themes/TraditionalOkClassic/Makefile.am new file mode 100644 index 00000000..fd244b5e --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/Makefile.am @@ -0,0 +1,5 @@ +themedir = $(datadir)/themes/TraditionalOkClassic/gtk-2.0 + +theme_DATA = gtkrc + +EXTRA_DIST = $(theme_DATA) diff --git a/gtk-themes/TraditionalOkClassic/gtkrc b/gtk-themes/TraditionalOkClassic/gtkrc new file mode 100644 index 00000000..ae9397f5 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtkrc @@ -0,0 +1,402 @@ + +# Please keep this gtkrc in sync with the other ones from Clearlooks based themes. + +gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#5598d7\nselected_fg_color:#ffffff\ntext_color:#000000\nbg_color:#ede9e3\ntooltip_bg_color:#FFFFBF" + +style "default" { + xthickness = 1 + ythickness = 1 + + ####################### + # Style Properties + ####################### + GtkButton::child-displacement-x = 1 + GtkButton::child-displacement-y = 1 + GtkButton::default-border = { 0, 0, 0, 0 } + + GtkCheckButton::indicator-size = 14 + + GtkPaned::handle-size = 6 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 15 + GtkRange::stepper-size = 15 + + GtkScale::slider-length = 27 + GtkScale::trough-side-details = 1 + + GtkScrollbar::min-slider-length = 30 + GtkMenuBar::internal-padding = 0 + GtkExpander::expander-size = 16 + GtkTreeView::expander-size = 14 + GtkTreeView::vertical-separator = 0 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + WnckTasklist::fade-overlay-rect = 0 + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + GtkMenuBar::internal-padding = 0 + + GtkEntry::progress-border = { 2, 2, 2, 2 } + + #################### + # Color Definitions + #################### + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = @bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) + fg[ACTIVE] = @fg_color + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[INSENSITIVE] = darker (@bg_color) + text[ACTIVE] = @selected_fg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @bg_color) + base[SELECTED] = @selected_bg_color + base[INSENSITIVE] = @bg_color + base[ACTIVE] = shade (0.9, @selected_bg_color) + + engine "clearlooks" { + colorize_scrollbar = FALSE + reliefstyle = 1 + menubarstyle = 2 + toolbarstyle = 0 + animation = FALSE + radius = 3.0 + style = CLASSIC + + # Set a hint to disable backward compatibility fallbacks. + hint = "use-hints" + } +} + +style "wide" { + xthickness = 2 + ythickness = 2 +} + +style "wider" { + xthickness = 3 + ythickness = 3 +} + +style "entry" { + xthickness = 3 + ythickness = 3 + + bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color) + fg[SELECTED] = @text_color + + engine "clearlooks" { + focus_color = shade (0.65, @selected_bg_color) + } +} + +style "spinbutton" { + + engine "clearlooks" { + hint = "spinbutton" + } +} + +style "scale" = "button" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "scale" + } +} + +style "vscale" { + + engine "clearlooks" { + hint = "vscale" + } +} + +style "hscale" { + + engine "clearlooks" { + hint = "hscale" + } +} + +style "scrollbar" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "scrollbar" + } +} + +style "hscrollbar" { + + engine "clearlooks" { + hint = "hscrollbar" + } +} + +style "vscrollbar" { + + engine "clearlooks" { + hint = "vscrollbar" + } +} + +style "notebook_bg" { +} + +style "button" { + xthickness = 3 + ythickness = 3 + + bg[NORMAL] = shade (1.05, @bg_color) + bg[INSENSITIVE] = shade (1.04, @bg_color) + bg[PRELIGHT] = shade (1.08, @bg_color) +} + +style "notebook" { + xthickness = 2 + ythickness = 2 +} + +style "statusbar" { + + engine "clearlooks" { + hint = "statusbar" + } +} + +style "comboboxentry" { + + engine "clearlooks" { + # Note: + # If you set the appears-as-list option on comboboxes in the theme, + # then you should set this hint on the combobox instead. + hint = "comboboxentry" + } +} + +style "menubar" { + + engine "clearlooks" { + hint = "menubar" + } +} + +style "menu" { + xthickness = 2 + ythickness = 2 + + bg[NORMAL] = shade (1.08, @bg_color) +} + +style "menu_item" { + xthickness = 2 + ythickness = 3 + + fg[PRELIGHT] = @selected_fg_color +} + +style "frame_title" { + + fg[NORMAL] = lighter (@fg_color) +} + +style "treeview" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "treeview" + } +} + +style "progressbar" { + xthickness = 1 + ythickness = 1 + + fg[PRELIGHT] = @selected_fg_color + + engine "clearlooks" { + radius = 1.5 + + hint = "progressbar" + } +} + +# This style is based on the default style, so that the colors from the button +# style are overriden again. +style "treeview_header" = "default" { + xthickness = 2 + ythickness = 1 + + engine "clearlooks" { + hint = "treeview-header" + } +} + +style "tooltips" { + xthickness = 4 + ythickness = 4 + + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color +} + +style "caja_location" { + + bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color) +} + +# Wrokaroudn style for places where the text color is used instead of the fg color. +style "text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for menus where the text color is used instead of the fg color. +style "menuitem_text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for places where the fg color is used instead of the text color. +style "fg_is_text_color_workaround" { + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) +} + +# Style to set the toolbar to use a flat style. This is because the "New" button in +# Evolution is not drawn transparent. So if there is a gradient in the background it will +# look really wrong. +# See http://bugzilla.gnome.org/show_bug.cgi?id=446953. +style "evo_new_button_workaround" { + + engine "clearlooks" { + toolbarstyle = 0 + } +} + + +############################################################################### +# The following part of the gtkrc applies the different styles to the widgets. +############################################################################### + +# The default style is applied to every widget +class "GtkWidget" style "default" + +class "GtkSeparator" style "wide" +class "GtkFrame" style "wide" +class "GtkCalendar" style "wide" +class "GtkEntry" style "entry" + +class "GtkSpinButton" style "spinbutton" +class "GtkScale" style "scale" +class "GtkVScale" style "vscale" +class "GtkHScale" style "hscale" +class "GtkScrollbar" style "scrollbar" +class "GtkHScrollbar" style "hscrollbar" +class "GtkVScrollbar" style "vscrollbar" + +# General matching follows. The order is choosen so that the right styles override +# each other. EG. progressbar needs to be more important than the menu match. +widget_class "*" style "notebook_bg" +# This is not perfect, it could be done better. +# (That is modify *every* widget in the notebook, and change those back that +# we really don't want changed) +widget_class "**" style "notebook_bg" +widget_class "**" style "notebook_bg" +widget_class "**" style "notebook_bg" +widget_class "**" style "notebook_bg" +widget_class "**" style "notebook_bg" + +widget_class "*" style "button" +widget_class "*" style "notebook" +widget_class "**" style "statusbar" + +widget_class "**" style "comboboxentry" +widget_class "**" style "comboboxentry" + +widget_class "**" style "menubar" +widget_class "**" style "menu" +widget_class "**" style "menu_item" + +widget_class "*.." style "frame_title" +widget_class "*.*" style "treeview" + +widget_class "*" style "progressbar" + +# Treeview headers (and similar stock GTK+ widgets) +widget_class "*.." style "treeview_header" +widget_class "*.." style "treeview_header" +widget_class "*.." style "treeview_header" +widget_class "*.." style "treeview_header" + +# The window of the tooltip is called "gtk-tooltip" +################################################################## +# FIXME: +# This will not work if one embeds eg. a button into the tooltip. +# As far as I can tell right now we will need to rework the theme +# quite a bit to get this working correctly. +# (It will involve setting different priorities, etc.) +################################################################## +widget "gtk-tooltip*" style "tooltips" + +########################################################################## +# Following are special cases and workarounds for issues in applications. +########################################################################## + +# Workaround for the evolution ETable (bug #527532) +widget_class "*.." style "treeview_header" +# Workaround for the evolution ETree +widget_class "*.." style "treeview_header" + +# Special case the caja-extra-view-widget +# ToDo: A more generic approach for all applications that have a widget like this. +widget "*.caja-extra-view-widget" style : highest "caja_location" + +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 +# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. +widget_class "*.." style "text_is_fg_color_workaround" +# This is the part of the workaround that fixes the menus +widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround" + +# Work around the usage of GtkLabel inside GtkListItems to display text. +# This breaks because the label is shown on a background that is based on the base color. +widget_class "**" style "fg_is_text_color_workaround" +# GtkCList also uses the fg color to draw text on top of the base colors. +widget_class "*" style "fg_is_text_color_workaround" +# Caja when renaming files, and maybe other places. +widget_class "*" style "fg_is_text_color_workaround" + +# See the documentation of the style. +widget_class "EShellWindow.GtkVBox.MateComponentDock.MateComponentDockBand.MateComponentDockItem*" style "evo_new_button_workaround" diff --git a/gtk-themes/TraditionalOkTest/Makefile.am b/gtk-themes/TraditionalOkTest/Makefile.am new file mode 100644 index 00000000..a42b0454 --- /dev/null +++ b/gtk-themes/TraditionalOkTest/Makefile.am @@ -0,0 +1,5 @@ +themedir = $(datadir)/themes/TraditionalOkTest/gtk-2.0 + +theme_DATA = gtkrc + +EXTRA_DIST = $(theme_DATA) diff --git a/gtk-themes/TraditionalOkTest/gtkrc b/gtk-themes/TraditionalOkTest/gtkrc new file mode 100644 index 00000000..0edcdc1d --- /dev/null +++ b/gtk-themes/TraditionalOkTest/gtkrc @@ -0,0 +1,509 @@ + +# Please keep this gtkrc in sync with the other ones from Clearlooks based themes. + +gtk-color-scheme = "fg_color:#f5f5f5\nbg_color:#888a85\nbase_color:#babdb6\ntext_color:#000\nselected_bg_color:#f57900\nselected_fg_color:#fff\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000" + +style "clearlooks-default" { + xthickness = 1 + ythickness = 1 + + ####################### + # Style Properties + ####################### + GtkButton::child-displacement-x = 1 + GtkButton::child-displacement-y = 1 + GtkButton::default-border = { 0, 0, 0, 0 } + + GtkCheckButton::indicator-size = 14 + + GtkPaned::handle-size = 6 + + GtkRange::trough-border = 0 + GtkRange::slider-width = 15 + GtkRange::stepper-size = 15 + + GtkScale::slider-length = 23 + GtkScale::trough-side-details = 1 + + GtkScrollbar::min-slider-length = 30 + GtkMenuBar::internal-padding = 0 + GtkExpander::expander-size = 16 + GtkToolbar::internal-padding = 1 + GtkTreeView::expander-size = 14 + GtkTreeView::vertical-separator = 0 + + GtkMenu::horizontal-padding = 0 + GtkMenu::vertical-padding = 0 + + WnckTasklist::fade-overlay-rect = 0 + # The following line hints to gecko (and possibly other appliations) + # that the entry should be drawn transparently on the canvas. + # Without this, gecko will fill in the background of the entry. + GtkEntry::honors-transparent-bg-hint = 1 + + GtkEntry::progress-border = { 2, 2, 2, 2 } + + #################### + # Color Definitions + #################### + bg[NORMAL] = @bg_color + bg[PRELIGHT] = shade (1.02, @bg_color) + bg[SELECTED] = @selected_bg_color + bg[INSENSITIVE] = @bg_color + bg[ACTIVE] = shade (0.9, @bg_color) + + fg[NORMAL] = @fg_color + fg[PRELIGHT] = @fg_color + fg[SELECTED] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) + fg[ACTIVE] = @fg_color + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[SELECTED] = @selected_fg_color + text[INSENSITIVE] = darker (@bg_color) + text[ACTIVE] = @selected_fg_color + + base[NORMAL] = @base_color + base[PRELIGHT] = shade (0.95, @bg_color) + base[SELECTED] = @selected_bg_color + base[INSENSITIVE] = @bg_color + base[ACTIVE] = shade (0.9, @selected_bg_color) + + engine "clearlooks" { + colorize_scrollbar = TRUE + reliefstyle = 1 + menubarstyle = 2 + toolbarstyle = 1 + animation = FALSE + radius = 3.0 + style = GUMMY + + # Set a hint to disable backward compatibility fallbacks. + hint = "use-hints" + } +} + +style "clearlooks-wide" { + xthickness = 2 + ythickness = 2 +} + +style "clearlooks-wider" { + xthickness = 3 + ythickness = 3 +} + +style "clearlooks-entry" { + xthickness = 3 + ythickness = 3 + + bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color) + fg[SELECTED] = @text_color + + engine "clearlooks" { + focus_color = shade (0.65, @selected_bg_color) + } +} + +style "clearlooks-spinbutton" { + + engine "clearlooks" { + hint = "spinbutton" + } +} + +style "clearlooks-scale" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "scale" + } +} + +style "clearlooks-vscale" { + + engine "clearlooks" { + hint = "vscale" + } +} + +style "clearlooks-hscale" { + + engine "clearlooks" { + hint = "hscale" + } +} + +style "clearlooks-scrollbar" { + xthickness = 2 + ythickness = 2 + + engine "clearlooks" { + hint = "scrollbar" + } +} + +style "clearlooks-hscrollbar" { + + engine "clearlooks" { + hint = "hscrollbar" + } +} + +style "clearlooks-vscrollbar" { + + engine "clearlooks" { + hint = "vscrollbar" + } +} + +style "clearlooks-notebook_bg" { + + bg[NORMAL] = shade (1.02, @bg_color) +} + +style "clearlooks-button" { + xthickness = 3 + ythickness = 3 + + bg[NORMAL] = shade (1.04, @bg_color) + bg[PRELIGHT] = shade (1.06, @bg_color) + bg[ACTIVE] = shade (0.85, @bg_color) +} + +# The color is changed by the notebook_bg style, this style +# changes the x/ythickness +style "clearlooks-notebook" { + xthickness = 3 + ythickness = 3 +} + +style "clearlooks-statusbar" { + + engine "clearlooks" { + hint = "statusbar" + } +} + +style "clearlooks-comboboxentry" { + + engine "clearlooks" { + # Note: + # If you set the appears-as-list option on comboboxes in the theme, + # then you should set this hint on the combobox instead. + hint = "comboboxentry" + } +} + +style "clearlooks-menubar" { + + engine "clearlooks" { + hint = "menubar" + } +} + +style "clearlooks-menu" { + xthickness = 0 + ythickness = 0 + + bg[NORMAL] = shade (1.08, @bg_color) + + engine "clearlooks" { + radius = 0.0 + } +} + +style "clearlooks-menu_item" { + xthickness = 2 + ythickness = 3 + + fg[PRELIGHT] = @selected_fg_color +} + +# This style is there to modify the separator menu items. The goals are: +# 1. Get a specific height. +# 2. The line should go to the edges (ie. no border at the left/right) +style "clearlooks-separator_menu_item" { + xthickness = 1 + ythickness = 0 + + GtkSeparatorMenuItem::horizontal-padding = 0 + GtkWidget::wide-separators = 1 + GtkWidget::separator-width = 1 + GtkWidget::separator-height = 7 +} + +style "clearlooks-frame_title" { + + fg[NORMAL] = lighter (@fg_color) +} + +style "clearlooks-treeview" { + + engine "clearlooks" { + hint = "treeview" + } +} + +# The almost useless progress bar style +style "clearlooks-progressbar" { + xthickness = 1 + ythickness = 1 + + fg[PRELIGHT] = @selected_fg_color + + engine "clearlooks" { + # Explicitly set the radius for the progress bars inside menu items. + radius = 3.0 + + hint = "progressbar" + } +} + +# This style is based on the default style, so that the colors from the button +# style are overriden again. +style "clearlooks-treeview_header" = "default" { + xthickness = 2 + ythickness = 1 + + engine "clearlooks" { + hint = "treeview-header" + } +} + +style "clearlooks-tooltips" { + xthickness = 4 + ythickness = 4 + + bg[NORMAL] = @tooltip_bg_color + fg[NORMAL] = @tooltip_fg_color +} + +style "clearlooks-caja_location" { + + bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color) +} + +# Wrokaroudn style for places where the text color is used instead of the fg color. +style "clearlooks-text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for menus where the text color is used instead of the fg color. +style "clearlooks-menuitem_text_is_fg_color_workaround" { + + text[NORMAL] = @fg_color + text[PRELIGHT] = @selected_fg_color + text[SELECTED] = @selected_fg_color + text[ACTIVE] = @fg_color + text[INSENSITIVE] = darker (@bg_color) +} + +# Workaround style for places where the fg color is used instead of the text color. +style "clearlooks-fg_is_text_color_workaround" { + + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[SELECTED] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color + fg[INSENSITIVE] = darker (@bg_color) +} + +# Style to set the toolbar to use a flat style. This is because the "New" button in +# Evolution is not drawn transparent. So if there is a gradient in the background it will +# look really wrong. +# See http://bugzilla.gnome.org/show_bug.cgi?id=446953. +style "clearlooks-evo_new_button_workaround" { + + engine "clearlooks" { + toolbarstyle = 0 + } +} + + +############################################################################### +# The following part of the gtkrc applies the different styles to the widgets. +############################################################################### + +# The default style is applied to every widget +class "GtkWidget" style "clearlooks-default" + +class "GtkSeparator" style "clearlooks-wide" +class "GtkFrame" style "clearlooks-wide" +class "GtkCalendar" style "clearlooks-wide" +class "GtkEntry" style "clearlooks-entry" + +class "GtkSpinButton" style "clearlooks-spinbutton" +class "GtkScale" style "clearlooks-scale" +class "GtkVScale" style "clearlooks-vscale" +class "GtkHScale" style "clearlooks-hscale" +class "GtkScrollbar" style "clearlooks-scrollbar" +class "GtkHScrollbar" style "clearlooks-hscrollbar" +class "GtkVScrollbar" style "clearlooks-vscrollbar" + +# General matching follows. The order is choosen so that the right styles override +# each other. EG. progressbar needs to be more important than the menu match. +widget_class "*" style "clearlooks-notebook_bg" +# This is not perfect, it could be done better. +# (That is modify *every* widget in the notebook, and change those back that +# we really don't want changed) +widget_class "**" style "clearlooks-notebook_bg" +widget_class "**" style "clearlooks-notebook_bg" +widget_class "**" style "clearlooks-notebook_bg" +widget_class "**" style "clearlooks-notebook_bg" +widget_class "**" style "clearlooks-notebook_bg" + +widget_class "*" style "clearlooks-button" +widget_class "*" style "clearlooks-notebook" +widget_class "**" style "clearlooks-statusbar" + +widget_class "**" style "clearlooks-comboboxentry" +widget_class "**" style "clearlooks-comboboxentry" + +widget_class "**" style "clearlooks-menubar" +widget_class "**" style "clearlooks-menu" +widget_class "**" style "clearlooks-menu_item" +widget_class "**" style "clearlooks-separator_menu_item" + +widget_class "*.." style "clearlooks-frame_title" +widget_class "*.*" style "clearlooks-treeview" + +widget_class "*" style "clearlooks-progressbar" + +# Treeview headers (and similar stock GTK+ widgets) +widget_class "*.." style "clearlooks-treeview_header" +widget_class "*.." style "clearlooks-treeview_header" +widget_class "*.." style "clearlooks-treeview_header" +widget_class "*.." style "clearlooks-treeview_header" + +# The window of the tooltip is called "gtk-tooltip" +################################################################## +# FIXME: +# This will not work if one embeds eg. a button into the tooltip. +# As far as I can tell right now we will need to rework the theme +# quite a bit to get this working correctly. +# (It will involve setting different priorities, etc.) +################################################################## +widget "gtk-tooltip*" style "clearlooks-tooltips" + +########################################################################## +# Following are special cases and workarounds for issues in applications. +########################################################################## + +# Workaround for the evolution ETable (bug #527532) +widget_class "*.." style "clearlooks-treeview_header" +# Workaround for the evolution ETree +widget_class "*.." style "clearlooks-treeview_header" + +# Special case the caja-extra-view-widget +# ToDo: A more generic approach for all applications that have a widget like this. +widget "*.caja-extra-view-widget" style : highest "clearlooks-caja_location" + +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 +# Note that this work around assumes that the combobox is _not_ in appears-as-list mode. +widget_class "*.." style "clearlooks-text_is_fg_color_workaround" +# This is the part of the workaround that fixes the menus +widget "*.gtk-combobox-popup-menu.*" style "clearlooks-menuitem_text_is_fg_color_workaround" + +# Work around the usage of GtkLabel inside GtkListItems to display text. +# This breaks because the label is shown on a background that is based on the base color. +widget_class "**" style "clearlooks-fg_is_text_color_workaround" +# GtkCList also uses the fg color to draw text on top of the base colors. +widget_class "*" style "clearlooks-fg_is_text_color_workaround" +widget_class "**" style "clearlooks-fg_is_text_color_workaround" +widget_class "**" style "clearlooks-fg_is_text_color_workaround" +# Caja when renaming files, and maybe other places. +widget_class "*" style "clearlooks-fg_is_text_color_workaround" + +# See the documentation of the style. +widget_class "EShellWindow.GtkVBox.MateComponentDock.MateComponentDockBand.MateComponentDockItem*" style "clearlooks-evo_new_button_workaround" + + +################################################## +# Marking deprecated widgets +################################################## + +style "clearlooks-deprecated-widgets" +{ + bg[NORMAL] = mix(0.9, @bg_color, "#ff0000") + bg[PRELIGHT] = mix(0.9, shade (1.02, @bg_color), "#ff0000") + bg[SELECTED] = mix(0.9, @selected_bg_color, "#ff0000") + bg[INSENSITIVE] = mix(0.9, @bg_color, "#ff0000") + bg[ACTIVE] = mix(0.9, shade (0.9, @bg_color), "#ff0000") + + fg[NORMAL] = mix(0.9, @fg_color, "#ff0000") + fg[PRELIGHT] = mix(0.9, @fg_color, "#ff0000") + fg[SELECTED] = mix(0.9, @selected_fg_color, "#ff0000") + fg[INSENSITIVE] = mix(0.9, darker (@bg_color), "#ff0000") + fg[ACTIVE] = mix(0.9, @fg_color, "#ff0000") + + text[NORMAL] = mix(0.9, @text_color, "#ff0000") + text[PRELIGHT] = mix(0.9, @text_color, "#ff0000") + text[SELECTED] = mix(0.9, @selected_fg_color, "#ff0000") + text[INSENSITIVE] = mix(0.9, darker (@bg_color), "#ff0000") + text[ACTIVE] = mix(0.9, @selected_fg_color, "#ff0000") + + base[NORMAL] = mix(0.9, @base_color, "#ff0000") + base[PRELIGHT] = mix(0.9, shade (0.95, @bg_color), "#ff0000") + base[SELECTED] = mix(0.9, @selected_bg_color, "#ff0000") + base[INSENSITIVE] = mix(0.9, @bg_color, "#ff0000") + base[ACTIVE] = mix(0.9, shade (0.9, @selected_bg_color), "#ff0000") +} + +# GTK+ +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.GtkProgress" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" + +# libmateui +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +# MateEntry is already in because of GtkCombo +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" + +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" +widget_class "*.*" style "clearlooks-deprecated-widgets" + + +# MATE Canvas -- well, is there a replacement? +#widget_class "*.*" style "clearlooks-deprecated-widgets" + +# All widgets that are embedded with MateComponent ... this makes a lot of things red +# like evolution and mate-panel +#widget_class "**" style "clearlooks-deprecated-widgets" +#widget_class "**" style "clearlooks-deprecated-widgets" +#widget_class "**" style "clearlooks-deprecated-widgets" + +style "clearlooks-deprecated-fg_is_text_color_workaround" +{ + fg[NORMAL] = mix(0.9, @text_color, "#ff0000") + fg[PRELIGHT] = mix(0.9, @text_color, "#ff0000") + fg[SELECTED] = mix(0.9, @selected_fg_color, "#ff0000") + fg[INSENSITIVE] = mix(0.9, darker (@bg_color), "#ff0000") + fg[ACTIVE] = mix(0.9, @selected_fg_color, "#ff0000") +} + +widget_class "**" style "clearlooks-deprecated-fg_is_text_color_workaround" +widget_class "*" style "clearlooks-deprecated-fg_is_text_color_workaround" +widget_class "**" style "clearlooks-deprecated-fg_is_text_color_workaround" +widget_class "**" style "clearlooks-deprecated-fg_is_text_color_workaround" diff --git a/marco-themes/Clearlooks/metacity-theme-1.xml b/marco-themes/Clearlooks/metacity-theme-1.xml deleted file mode 100644 index efefe580..00000000 --- a/marco-themes/Clearlooks/metacity-theme-1.xml +++ /dev/null @@ -1,954 +0,0 @@ - - - - - Clearlooks - Daniel Borgmann <daniel.borgmann@gmail.com>, Andrea Cimitan <andrea.cimitan@gmail.com> - Â 2005-2007 Daniel Borgmann, Andrea Cimitan - Apr, 2007 - The Clearlooks "Gummy" Marco Theme - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)+1" y="(((height - title_height) / 2) `max` 0)"/> - <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)-1" y="(((height - title_height) / 2) `max` 0)"/> - <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0)-1"/> - <title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/> -</draw_ops> - -<draw_ops name="title_text_unfocused"> - <!--<title color="shade/gtk:bg[NORMAL]/1.07" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>--> - <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)"/> -</draw_ops> - -<draw_ops name="title"> - <include name="title_text"/> -</draw_ops> - -<draw_ops name="title_unfocused"> - <include name="title_text_unfocused"/> -</draw_ops> - -<!-- ::: BUTTONS ::: --> -<draw_ops name="button_bg"> - <!-- inset --> - <gradient type="vertical" x="0" y="3" width="width" height="height-6"> - <color value="shade/gtk:bg[SELECTED]/0.96"/> - <color value="shade/gtk:bg[SELECTED]/1.05"/> - </gradient> - - <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="0" x2="width-3" y2="0"/> - <line color="shade/gtk:bg[SELECTED]/0.99" x1="1" y1="1" x2="width-2" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.99" x1="0" y1="2" x2="width-1" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="0" x2="width-4" y2="0"/> - - <line color="shade/gtk:bg[SELECTED]/0.91" x1="2" y1="1" x2="width-3" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.90" x1="1" y1="2" x2="width-2" y2="2"/> - - <line color="shade/gtk:bg[SELECTED]/1.03" x1="2" y1="height-1" x2="width-3" y2="height-1"/> - <line color="shade/gtk:bg[SELECTED]/1.00" x1="1" y1="height-2" x2="width-2" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/1.01" x1="0" y1="height-3" x2="width-1" y2="height-3"/> - <line color="shade/gtk:bg[SELECTED]/1.06" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <line color="shade/gtk:bg[SELECTED]/1.02" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/1.03" x1="1" y1="height-3" x2="width-2" y2="height-3"/> - - <!-- border outline --> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- border smooth effect --> - <line color="shade/gtk:bg[SELECTED]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.90" x1="width-3" y1="3" x2="width-3" y2="height-4"/> - - <!-- inside highlight --> - <line color="shade/gtk:bg[SELECTED]/1.18" x1="4" y1="2" x2="width-5" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> - <!-- inside shadow --> - <line color="shade/gtk:bg[SELECTED]/1.0" x1="width-3" y1="4" x2="width-3" y2="height-5"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1"> - <color value="shade/gtk:bg[SELECTED]/1.1"/> - <color value="shade/gtk:bg[SELECTED]/1.02"/> - </gradient> - <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2"> - <color value="shade/gtk:bg[SELECTED]/1.0"/> - <color value="shade/gtk:bg[SELECTED]/0.92"/> - </gradient> - - <!-- bottom border smooth effect --> - <line color="shade/gtk:bg[SELECTED]/0.84" x1="3" y1="height-3" x2="width-4" y2="height-3"/> - <line color="shade/gtk:bg[SELECTED]/0.92" x1="4" y1="height-3" x2="width-5" y2="height-3"/> -</draw_ops> - -<draw_ops name="button_bg_unfocused"> - <!-- inset --> - <gradient type="vertical" x="0" y="3" width="width" height="height-6"> - <color value="shade/gtk:bg[NORMAL]/0.92"/> - <color value="shade/gtk:bg[NORMAL]/0.96"/> - </gradient> - - <line color="shade/gtk:bg[NORMAL]/0.93" x1="2" y1="0" x2="width-3" y2="0"/> - <line color="shade/gtk:bg[NORMAL]/0.92" x1="1" y1="1" x2="width-2" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.92" x1="0" y1="2" x2="width-1" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.91" x1="3" y1="0" x2="width-4" y2="0"/> - - <line color="shade/gtk:bg[NORMAL]/0.87" x1="2" y1="1" x2="width-3" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.86" x1="1" y1="2" x2="width-2" y2="2"/> - - <line color="shade/gtk:bg[NORMAL]/0.945" x1="2" y1="height-1" x2="width-3" y2="height-1"/> - <line color="shade/gtk:bg[NORMAL]/0.93" x1="1" y1="height-2" x2="width-2" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.935" x1="0" y1="height-3" x2="width-1" y2="height-3"/> - <line color="shade/gtk:bg[NORMAL]/0.96" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <line color="shade/gtk:bg[NORMAL]/0.94" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-3" x2="width-2" y2="height-3"/> - - <!-- border outline --> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - - <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- border smooth effect --> - <line color="shade/gtk:bg[NORMAL]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.95" x1="width-3" y1="3" x2="width-3" y2="height-4"/> - - <!-- inside highlight --> - <line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> - <!-- inside shadow --> - <line color="shade/gtk:bg[NORMAL]/1.05" x1="width-3" y1="4" x2="width-3" y2="height-5"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1"> - <color value="shade/gtk:bg[NORMAL]/1.15"/> - <color value="shade/gtk:bg[NORMAL]/1.07"/> - </gradient> - <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2"> - <color value="shade/gtk:bg[NORMAL]/1.05"/> - <color value="shade/gtk:bg[NORMAL]/0.97"/> - </gradient> - - <!-- bottom border smooth effect --> - <line color="shade/gtk:bg[NORMAL]/0.89" x1="3" y1="height-3" x2="width-4" y2="height-3"/> - <line color="shade/gtk:bg[NORMAL]/0.97" x1="4" y1="height-3" x2="width-5" y2="height-3"/> -</draw_ops> - -<draw_ops name="button_bg_prelight"> - <include name="button_bg"/> - <tint color="shade/gtk:bg[SELECTED]/1.5" alpha="0.2" x="3" y="3" width="width-5" height="height-5"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> -</draw_ops> - -<draw_ops name="button_bg_pressed"> - <!-- outside highlight --> - <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> - <color value="shade/gtk:bg[SELECTED]/1.2"/> - <color value="shade/gtk:bg[SELECTED]/1.0"/> - </gradient> - <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> - <color value="shade/gtk:bg[SELECTED]/1.2"/> - <color value="shade/gtk:bg[SELECTED]/1.0"/> - </gradient> - <line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <!-- border outline --> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - - <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- inside shadow --> - <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="2" y2="height-4"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> - <color value="shade/gtk:bg[SELECTED]/0.95"/> - <color value="shade/gtk:bg[SELECTED]/0.9"/> - </gradient> - - <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="height-3" x2="width-4" y2="height-3"/> -</draw_ops> - -<draw_ops name="button_bg_unfocused_prelight"> - <include name="button_bg_unfocused"/> - <tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> -</draw_ops> - -<draw_ops name="button_bg_unfocused_pressed"> - <!-- outside highlight --> - <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> - <color value="shade/gtk:bg[NORMAL]/1.25"/> - <color value="shade/gtk:bg[NORMAL]/1.05"/> - </gradient> - <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> - <color value="shade/gtk:bg[NORMAL]/1.25"/> - <color value="shade/gtk:bg[NORMAL]/1.05"/> - </gradient> - <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <!-- border outline --> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- inside shadow --> - <line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> - <color value="shade/gtk:bg[NORMAL]/0.9"/> - <color value="shade/gtk:bg[NORMAL]/0.85"/> - </gradient> - - <line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-4" y2="height-3"/> -</draw_ops> - -<!-- ::: ICONS ::: --> -<!-- - using a minimum icon size until there is a proper way to specify relative sizes - unfortunately it's logically impossible to always center the icons on non-square - buttons (utility windows) without distortion. - - icon_size = (Bmin`max`height-Bpad*2) - hpadding = (width - icon_size) / 2 = ((width-(Bmin`max`height-Bpad*2))/2) - vpadding = (height - icon_size) / 2 = ((height-(Bmin`max`height-Bpad*2))/2) ---> - -<!-- menu icon --> -<draw_ops name="menu_button_icon"> - <!--<icon x="0" y="0" width="width" height="height"/>--> - <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> -</draw_ops> - -<draw_ops name="menu_button_icon_unfocused"> - <!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>--> - <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> -</draw_ops> - -<draw_ops name="menu_button_normal"> - <include name="menu_button_icon"/> -</draw_ops> -<draw_ops name="menu_button_pressed"> - <include name="menu_button_icon"/> -</draw_ops> -<draw_ops name="menu_button_unfocused"> - <include name="menu_button_icon_unfocused"/> -</draw_ops> - -<!-- close icon --> -<draw_ops name="close_button_icon"> - <!-- outside border --> - - <!-- main cross --> - <line color="shade/gtk:bg[SELECTED]/0.7" width="4" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> - <line color="shade/gtk:bg[SELECTED]/0.7" width="4" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> - <!-- top-left --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)-1" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)/1" - width="1" height="2"/> - <!-- top-right --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="((height-(Bmin`max`height-Bpad*2))/2)-1" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="1" height="2"/> - <!-- bottom-left --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" - width="1" height="2"/> - <!-- bottom-right --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" - width="1" height="2"/> - - <!-- icon --> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width- ((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> -</draw_ops> - -<draw_ops name="close_button_icon_unfocused"> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> -</draw_ops> - -<draw_ops name="close_button_normal"> - <include name="button_bg"/> - <include name="close_button_icon"/> -</draw_ops> -<draw_ops name="close_button_prelight"> - <include name="button_bg_prelight"/> - <include name="close_button_icon"/> -</draw_ops> -<draw_ops name="close_button_pressed"> - <include name="button_bg_pressed"/> - <include name="close_button_icon"/> -</draw_ops> -<draw_ops name="close_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="close_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="close_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="close_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="close_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="close_button_icon_unfocused"/> -</draw_ops> - -<!-- maximize icon --> -<draw_ops name="maximize_button_icon"> - <!-- outside border --> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2+1"/> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)+1" y="((height-(Bmin`max`height-Bpad*2))/2)+2" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-4"/> - - <!-- icon --> - <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> -</draw_ops> - -<draw_ops name="maximize_button_icon_unfocused"> - <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> -</draw_ops> - -<draw_ops name="maximize_button_normal"> - <include name="button_bg"/> - <include name="maximize_button_icon"/> -</draw_ops> -<draw_ops name="maximize_button_prelight"> - <include name="button_bg_prelight"/> - <include name="maximize_button_icon"/> -</draw_ops> -<draw_ops name="maximize_button_pressed"> - <include name="button_bg_pressed"/> - <include name="maximize_button_icon"/> -</draw_ops> -<draw_ops name="maximize_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="maximize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="maximize_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="maximize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="maximize_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="maximize_button_icon_unfocused"/> -</draw_ops> - -<!-- restore icon --> -<draw_ops name="restore_button_icon"> - <!-- outside border --> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)+2" y="((height-(Bmin`max`height-Bpad*2))/2)+3" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/> - - <!-- icon --> - <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" - x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> -</draw_ops> - -<draw_ops name="restore_button_icon_unfocused"> - <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" - x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> -</draw_ops> - -<draw_ops name="restore_button_normal"> - <include name="button_bg"/> - <include name="restore_button_icon"/> -</draw_ops> -<draw_ops name="restore_button_prelight"> - <include name="button_bg_prelight"/> - <include name="restore_button_icon"/> -</draw_ops> -<draw_ops name="restore_button_pressed"> - <include name="button_bg_pressed"/> - <include name="restore_button_icon"/> -</draw_ops> -<draw_ops name="restore_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="restore_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="restore_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="restore_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="restore_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="restore_button_icon_unfocused"/> -</draw_ops> - -<!-- minimize icon --> -<draw_ops name="minimize_button_icon"> - <!-- outside border --> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 3" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="3"/> - <!-- icon --> - <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="true" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> -</draw_ops> - -<draw_ops name="minimize_button_icon_unfocused"> - <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="true" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> -</draw_ops> - -<draw_ops name="minimize_button_normal"> - <include name="button_bg"/> - <include name="minimize_button_icon"/> -</draw_ops> -<draw_ops name="minimize_button_prelight"> - <include name="button_bg_prelight"/> - <include name="minimize_button_icon"/> -</draw_ops> -<draw_ops name="minimize_button_pressed"> - <include name="button_bg_pressed"/> - <include name="minimize_button_icon"/> -</draw_ops> -<draw_ops name="minimize_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="minimize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="minimize_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="minimize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="minimize_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="minimize_button_icon_unfocused"/> -</draw_ops> - -<draw_ops name="blank"> -<!-- nothing --> -</draw_ops> - -<!-- ::: FRAME STYLES ::: --> -<frame_style name="normal" geometry="normal"> - <piece position="entire_background" draw_ops="round_bevel_unfocused"/> - <piece position="title" draw_ops="title_unfocused"/> - <button function="close" state="normal" draw_ops="close_button_unfocused"/> - <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> - <button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/> - <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> - <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> - <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/> - <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> - <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> - <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/> - <button function="menu" state="normal" draw_ops="menu_button_normal"/> - <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> -</frame_style> - -<frame_style name="normal_shaded" geometry="shaded" parent="normal"> - <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/> -</frame_style> - -<frame_style name="focused" geometry="normal" parent="normal"> - <piece position="entire_background" draw_ops="round_bevel"/> - <piece position="title" draw_ops="title"/> - <button function="close" state="normal" draw_ops="close_button_normal"/> - <button function="close" state="pressed" draw_ops="close_button_pressed"/> - <button function="close" state="prelight" draw_ops="close_button_prelight"/> - <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> - <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> - <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> - <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> - <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> - <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> -</frame_style> - -<frame_style name="focused_shaded" geometry="shaded" parent="focused"> - <piece position="entire_background" draw_ops="round_bevel_shaded"/> -</frame_style> - -<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> - <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/> - <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> - <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> - <button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/> -</frame_style> - -<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> - <piece position="entire_background" draw_ops="bevel_maximized"/> - <button function="maximize" state="normal" draw_ops="restore_button_normal"/> - <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> - <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/> -</frame_style> - -<frame_style name="border" geometry="border" parent="normal"> - <piece position="entire_background" draw_ops="border"/> - <piece position="title" draw_ops="blank"/> -</frame_style> - -<frame_style name="utility_normal" geometry="utility" parent="normal"> - <piece position="entire_background" draw_ops="bevel_unfocused"/> -</frame_style> -<frame_style name="utility_focused" geometry="utility" parent="focused"> - <piece position="entire_background" draw_ops="bevel"/> -</frame_style> -<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> - <piece position="entire_background" draw_ops="bevel_shaded"/> -</frame_style> - -<frame_style_set name="normal"> - <frame focus="yes" state="normal" resize="both" style="focused"/> - <frame focus="no" state="normal" resize="both" style="normal"/> - <frame focus="yes" state="maximized" style="focused_maximized"/> - <frame focus="no" state="maximized" style="normal_maximized"/> - <frame focus="yes" state="shaded" style="focused_shaded"/> - <frame focus="no" state="shaded" style="normal_shaded"/> - <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> - <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> -</frame_style_set> - -<frame_style_set name="utility" parent="normal"> - <frame focus="yes" state="normal" resize="both" style="utility_focused"/> - <frame focus="no" state="normal" resize="both" style="utility_normal"/> - <!-- this is a bunch of crack since utility windows shouldn't be maximized --> - <frame focus="yes" state="maximized" style="focused"/> - <frame focus="no" state="maximized" style="normal"/> - <frame focus="yes" state="shaded" style="utility_focused_shaded"/> - <frame focus="no" state="shaded" style="utility_normal"/> - <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> - <frame focus="no" state="maximized_and_shaded" style="normal"/> -</frame_style_set> - -<frame_style_set name="border"> - <frame focus="yes" state="normal" resize="both" style="border"/> - <frame focus="no" state="normal" resize="both" style="border"/> - <frame focus="yes" state="maximized" style="border"/> - <frame focus="no" state="maximized" style="border"/> - <frame focus="yes" state="shaded" style="border"/> - <frame focus="no" state="shaded" style="border"/> - <frame focus="yes" state="maximized_and_shaded" style="border"/> - <frame focus="no" state="maximized_and_shaded" style="border"/> -</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="utility"/> -<window type="border" style_set="border"/> - -<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/> -<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/> -<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/> -<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> - -</marco_theme> diff --git a/marco-themes/ClearlooksClassic/metacity-theme-1.xml b/marco-themes/ClearlooksClassic/metacity-theme-1.xml deleted file mode 100644 index 9afd9dc0..00000000 --- a/marco-themes/ClearlooksClassic/metacity-theme-1.xml +++ /dev/null @@ -1,925 +0,0 @@ -<?xml version="1.0"?> -<!-- $Id: marco-theme-1.xml 1295 2007-06-19 23:39:37Z acimitan $ --> -<marco_theme> -<info> - <name>ClearlooksClassic</name> - <author>Daniel Borgmann <daniel.borgmann@gmail.com>, Andrea Cimitan <andrea.cimitan@gmail.com></author> - <copyright>Â 2005-2007 Daniel Borgmann, Andrea Cimitan</copyright> - <date>Apr, 2007</date> - <description>The Clearlooks "Classic" Marco Theme</description> -</info> - -<!-- ::: GEOMETRY ::: --> -<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false"> - <distance name="left_width" value="4"/> - <distance name="right_width" value="4"/> - <distance name="bottom_height" value="4"/> - <distance name="left_titlebar_edge" value="4"/> - <distance name="right_titlebar_edge" value="4"/> - <aspect_ratio name="button" value="1.0"/> - <distance name="title_vertical_pad" value="0"/> - <border name="title_border" left="2" right="2" top="4" bottom="3"/> - <border name="button_border" left="1" right="1" top="2" bottom="2"/> -</frame_geometry> - -<frame_geometry name="shaded" parent="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true"/> - -<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> - <!-- strip frame spacing off the normal geometry when maximised --> - <distance name="left_width" value="0"/> - <distance name="right_width" value="0"/> - <distance name="bottom_height" value="1"/> - <distance name="left_titlebar_edge" value="1"/> - <distance name="right_titlebar_edge" value="1"/> -</frame_geometry> - -<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> - <distance name="left_width" value="4"/> - <distance name="right_width" value="4"/> - <distance name="bottom_height" value="4"/> - <distance name="left_titlebar_edge" value="4"/> - <distance name="right_titlebar_edge" value="4"/> - <distance name="title_vertical_pad" value="0"/> - <border name="title_border" left="2" right="2" top="4" bottom="3"/> - <border name="button_border" left="0" right="0" top="2" bottom="2"/> - <aspect_ratio name="button" value="1"/> -</frame_geometry> - -<frame_geometry name="border" has_title="false"> - <distance name="left_width" value="4"/> - <distance name="right_width" value="4"/> - <distance name="bottom_height" value="4"/> - <distance name="left_titlebar_edge" value="0"/> - <distance name="right_titlebar_edge" value="0"/> - <distance name="button_width" value="0"/> - <distance name="button_height" value="0"/> - <distance name="title_vertical_pad" value="4"/> - <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> - -<!-- button minimum size --> -<constant name="Bmin" value="7"/> -<!-- button inside padding --> -<constant name="Bpad" value="6"/> - -<!-- ::: FRAMES ::: --> -<draw_ops name="corners_outline_selected_top"> - <!-- top left --> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="4"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="2" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="4" y2="1"/> - - <!-- top right --> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="4"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-4" y1="1" x2="width-5" y2="1"/> -</draw_ops> - -<draw_ops name="corners_outline_top"> - <!-- top left --> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="4"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="2" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="4" y2="1"/> - - <!-- top right --> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="4"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="1" x2="width-5" y2="1"/> -</draw_ops> - -<draw_ops name="corners_outline_selected_bottom"> - <!-- bottom left --> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/> - - <!-- bottom right --> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/> -</draw_ops> - -<draw_ops name="corners_outline_bottom"> - <!-- bottom left --> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/> - - <!-- bottom right --> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/> -</draw_ops> - -<draw_ops name="corners_highlight_unfocused"> - <!-- ** corner highlight for left top ** --> - <line color="shade/gtk:bg[NORMAL]/1.15" x1="2" y1="3" x2="2" y2="4"/> - <line color="shade/gtk:bg[NORMAL]/1.15" x1="3" y1="2" x2="4" y2="2"/> - - <!-- ** corner highlight for right top ** --> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/> - <line color="shade/gtk:bg[NORMAL]/1.14" x1="width-5" y1="2" x2="width-4" y2="2"/> - - <!-- ** corner highlight for left bottom ** --> - <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>--> - - <!-- ** corner highlight for right bottom ** --> - <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>--> -</draw_ops> - -<draw_ops name="corners_highlight"> - <!-- ** corner highlight for left top ** --> - <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4"/> - <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2"/> - - <!-- ** corner highlight for right top ** --> - <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/> - <line color="shade/gtk:bg[SELECTED]/1.18" x1="width-5" y1="2" x2="width-4" y2="2"/> - - <!-- ** corner highlight for left bottom ** --> - <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>--> - - <!-- ** corner highlight for right bottom ** --> - <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>--> -</draw_ops> - -<draw_ops name="corners_highlight_shaded"> - <!-- ** corner highlight for left top ** --> - <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4"/> - <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2"/> - - <!-- ** corner highlight for right top ** --> - <line color="shade/gtk:bg[SELECTED]/0.75" x1="width-3" y1="3" x2="width-3" y2="4"/> - <line color="shade/gtk:bg[SELECTED]/1.18" x1="width-5" y1="2" x2="width-4" y2="2"/> - - <!-- ** corner highlight for left bottom ** --> - <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="height-4" x2="2" y2="height-5"/> - <line color="shade/gtk:bg[SELECTED]/0.75" x1="3" y1="height-3" x2="4" y2="height-3"/> - - <!-- ** corner highlight for right bottom ** --> - <line color="shade/gtk:bg[SELECTED]/0.75" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> - <line color="shade/gtk:bg[SELECTED]/0.75" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/> -</draw_ops> - -<draw_ops name="window_bg"> - <rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width" height="height"/> -</draw_ops> - -<draw_ops name="bevel_maximized_unfocused"> - <!-- ** 3d beveled frame ** --> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="0" x2="width" y2="0"/> - <line color="shade/gtk:bg[NORMAL]/1.15" x1="0" y1="1" x2="width" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/> - - <!-- ** fancy gradient ** --> - <gradient type="vertical" x="0" y="2" width="width" height="6"> - <color value="shade/gtk:bg[NORMAL]/1.01"/> - <color value="shade/gtk:bg[NORMAL]/0.96"/> - </gradient> - <gradient type="vertical" x="0" y="8" width="width" height="title_height - 9"> - <color value="shade/gtk:bg[NORMAL]/0.96"/> - <color value="shade/gtk:bg[NORMAL]/0.94"/> - </gradient> - <gradient type="vertical" x="0" y="8 + title_height - 9" width="width" height="top_height - title_height"> - <color value="shade/gtk:bg[NORMAL]/0.94"/> - <color value="shade/gtk:bg[NORMAL]/0.89"/> - </gradient> - - <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))"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> -</draw_ops> - -<draw_ops name="bevel_maximized"> - <!-- ** 3d beveled frame ** --> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="0" x2="width" y2="0"/> - <line color="shade/gtk:bg[SELECTED]/1.2" x1="0" y1="1" x2="width" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.75" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/> - - <!-- ** fancy gradient ** --> - <gradient type="vertical" x="0" y="2" width="width" height="6"> - <color value="shade/gtk:bg[SELECTED]/1.13"/> - <color value="shade/gtk:bg[SELECTED]/1.04"/> - </gradient> - <gradient type="vertical" x="0" y="8" width="width" height="title_height - 9"> - <color value="shade/gtk:bg[SELECTED]/1.04"/> - <color value="shade/gtk:bg[SELECTED]/0.98"/> - </gradient> - <gradient type="vertical" x="0" y="8 + title_height - 9" width="width" height="top_height - title_height"> - <color value="shade/gtk:bg[SELECTED]/0.98"/> - <color value="shade/gtk:bg[SELECTED]/0.9"/> - </gradient> - - <line color="shade/gtk:bg[SELECTED]/0.65" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="width" y2="((title_height + 6) `max` (top_height - 2))"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> -</draw_ops> - -<draw_ops name="bevel_unfocused"> - <include name="window_bg"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="2" x2="width - 2" y2="height - 2"/> - <line color="shade/gtk:bg[NORMAL]/1.15" x1="1" y1="1" x2="width - 2" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/1.07" x1="1" y1="2" x2="1" y2="height - 2"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/> - - <!-- ** fancy gradient ** --> - <gradient type="vertical" x="2" y="2" width="width - 4" height="6"> - <color value="shade/gtk:bg[NORMAL]/1.01"/> - <color value="shade/gtk:bg[NORMAL]/0.96"/> - </gradient> - <gradient type="vertical" x="2" y="8" width="width - 4" height="title_height - 9"> - <color value="shade/gtk:bg[NORMAL]/0.96"/> - <color value="shade/gtk:bg[NORMAL]/0.94"/> - </gradient> - <gradient type="vertical" x="2" y="8 + title_height - 9" width="width - 4" height="top_height - title_height"> - <color value="shade/gtk:bg[NORMAL]/0.94"/> - <color value="shade/gtk:bg[NORMAL]/0.89"/> - </gradient> - - <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))"/> - <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/> -</draw_ops> - -<draw_ops name="round_bevel_unfocused"> - <include name="bevel_unfocused"/> - <include name="corners_outline_top"/> - <!--<include name="corners_outline_bottom"/>--> - <include name="corners_highlight_unfocused"/> -</draw_ops> - -<draw_ops name="round_bevel_unfocused_shaded"> - <include name="bevel_unfocused"/> - <include name="corners_outline_top"/> - <include name="corners_outline_bottom"/> - <include name="corners_highlight_unfocused"/> -</draw_ops> - -<draw_ops name="bevel"> - <include name="window_bg"/> - <!-- ** titlebar outline ** --> - <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))"/> - - <!-- ** 3d beveled frame ** --> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="3" x2="width - 2" y2="height - 2"/> - <line color="shade/gtk:bg[NORMAL]/1.3" x1="3" y1="1" x2="width - 4" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/1.3" x1="1" y1="3" x2="1" y2="height - 2"/> - - <line color="shade/gtk:bg[SELECTED]/0.95" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/> - <line color="shade/gtk:bg[SELECTED]/0.95" x1="width - 2" y1="2" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/> - <line color="shade/gtk:bg[SELECTED]/1.2" x1="1" y1="1" x2="width - 2" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/1.12" x1="1" y1="2" x2="1" y2="((title_height + 5) `max` (top_height - 3))"/> - - <!-- ** fancy gradient ** --> - <gradient type="vertical" x="2" y="2" width="width - 4" height="6"> - <color value="shade/gtk:bg[SELECTED]/1.13"/> - <color value="shade/gtk:bg[SELECTED]/1.04"/> - </gradient> - <gradient type="vertical" x="2" y="8" width="width - 4" height="title_height - 9"> - <color value="shade/gtk:bg[SELECTED]/1.04"/> - <color value="shade/gtk:bg[SELECTED]/0.98"/> - </gradient> - <gradient type="vertical" x="2" y="8 + title_height - 9" width="width - 4" height="top_height - title_height"> - <color value="shade/gtk:bg[SELECTED]/0.98"/> - <color value="shade/gtk:bg[SELECTED]/0.9"/> - </gradient> - - <line color="shade/gtk:bg[SELECTED]/0.65" x1="1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/> - - <!-- ** border outline ** --> - <line color="shade/gtk:bg[NORMAL]/0.45" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="0" y2="height"/> - <line color="shade/gtk:bg[NORMAL]/0.45" x1="width - 1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 1" y2="height"/> - <line color="shade/gtk:bg[NORMAL]/0.45" x1="1" y1="height - 1" x2="width - 2" y2="height - 1"/> -</draw_ops> - -<draw_ops name="round_bevel"> - <include name="bevel"/> - <include name="corners_outline_selected_top"/> - <!--<include name="corners_outline_bottom"/>--> - <include name="corners_highlight"/> -</draw_ops> - -<draw_ops name="bevel_shaded"> - <include name="bevel"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> -</draw_ops> - -<draw_ops name="round_bevel_shaded"> - <include name="bevel"/> - <include name="corners_outline_selected_top"/> - <include name="corners_outline_selected_bottom"/> - <include name="corners_highlight_shaded"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="5" y1="height-1" x2="width-6" y2="height-1"/> -</draw_ops> - -<draw_ops name="border"> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> - <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/> - <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="width - 2" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="1" y2="height - 2"/> - - <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/> -</draw_ops> - -<!-- ::: TITLES ::: --> -<draw_ops name="title_text"> - <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0) + 1"/> - <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)+1" y="(((height - title_height) / 2) `max` 0)"/> - <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)-1" y="(((height - title_height) / 2) `max` 0)"/> - <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0)-1"/> - <title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/> -</draw_ops> - -<draw_ops name="title_text_unfocused"> - <!--<title color="shade/gtk:bg[NORMAL]/1.07" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>--> - <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)"/> -</draw_ops> - -<draw_ops name="title"> - <include name="title_text"/> -</draw_ops> - -<draw_ops name="title_unfocused"> - <include name="title_text_unfocused"/> -</draw_ops> - -<!-- ::: BUTTONS ::: --> -<draw_ops name="button_bg"> - <!-- inset --> - <gradient type="vertical" x="0" y="3" width="width" height="height-6"> - <color value="shade/gtk:bg[SELECTED]/0.98"/> - <color value="shade/gtk:bg[SELECTED]/1.05"/> - </gradient> - - <line color="shade/gtk:bg[SELECTED]/1.04" x1="2" y1="0" x2="width-3" y2="0"/> - <line color="shade/gtk:bg[SELECTED]/1.02" x1="1" y1="1" x2="width-2" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/1.02" x1="0" y1="2" x2="width-1" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/1.01" x1="3" y1="0" x2="width-4" y2="0"/> - - <line color="shade/gtk:bg[SELECTED]/0.93" x1="2" y1="1" x2="width-3" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.92" x1="1" y1="2" x2="width-2" y2="2"/> - - <line color="shade/gtk:bg[SELECTED]/1.03" x1="2" y1="height-1" x2="width-3" y2="height-1"/> - <line color="shade/gtk:bg[SELECTED]/1.00" x1="1" y1="height-2" x2="width-2" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/1.01" x1="0" y1="height-3" x2="width-1" y2="height-3"/> - <line color="shade/gtk:bg[SELECTED]/1.06" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <line color="shade/gtk:bg[SELECTED]/1.02" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/1.02" x1="1" y1="height-3" x2="width-2" y2="height-3"/> - - <!-- border outline --> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- border smooth effect --> - <line color="shade/gtk:bg[SELECTED]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-4" y2="height-3"/> - <line color="shade/gtk:bg[SELECTED]/0.86" x1="width-3" y1="3" x2="width-3" y2="height-4"/> - - <!-- inside highlight --> - <line color="shade/gtk:bg[SELECTED]/1.2" x1="4" y1="2" x2="width-5" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> - <!-- inside shadow --> - <line color="shade/gtk:bg[SELECTED]/0.85" x1="4" y1="height-3" x2="width-5" y2="height-3"/> - <line color="shade/gtk:bg[SELECTED]/0.92" x1="width-3" y1="4" x2="width-3" y2="height-5"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-6" height="height-6"> - <color value="shade/gtk:bg[SELECTED]/1.15"/> - <color value="shade/gtk:bg[SELECTED]/0.85"/> - </gradient> -</draw_ops> - -<draw_ops name="button_bg_unfocused"> - <!-- inset --> - <gradient type="vertical" x="0" y="3" width="width" height="height-6"> - <color value="shade/gtk:bg[NORMAL]/0.93"/> - <color value="shade/gtk:bg[NORMAL]/0.97"/> - </gradient> - - <line color="shade/gtk:bg[NORMAL]/0.94" x1="2" y1="0" x2="width-3" y2="0"/> - <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="1" x2="width-2" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.95" x1="0" y1="2" x2="width-1" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.93" x1="3" y1="0" x2="width-4" y2="0"/> - - <line color="shade/gtk:bg[NORMAL]/0.84" x1="2" y1="1" x2="width-3" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.84" x1="1" y1="2" x2="width-2" y2="2"/> - - <line color="shade/gtk:bg[NORMAL]/0.96" x1="2" y1="height-1" x2="width-3" y2="height-1"/> - <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-2" x2="width-2" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.94" x1="0" y1="height-3" x2="width-1" y2="height-3"/> - <line color="shade/gtk:bg[NORMAL]/0.97" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <line color="shade/gtk:bg[NORMAL]/0.96" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-3" x2="width-2" y2="height-3"/> - - <!-- border outline --> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - - <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- border smooth effect --> - <line color="shade/gtk:bg[NORMAL]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.78" x1="3" y1="height-3" x2="width-4" y2="height-3"/> - <line color="shade/gtk:bg[NORMAL]/0.84" x1="width-3" y1="3" x2="width-3" y2="height-4"/> - - <!-- inside highlight --> - <line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> - <!-- inside shadow --> - <line color="shade/gtk:bg[NORMAL]/0.85" x1="4" y1="height-3" x2="width-5" y2="height-3"/> - <line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="4" x2="width-3" y2="height-5"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-6" height="height-6"> - <color value="shade/gtk:bg[NORMAL]/1.15"/> - <color value="shade/gtk:bg[NORMAL]/0.85"/> - </gradient> -</draw_ops> - -<draw_ops name="button_bg_prelight"> - <include name="button_bg"/> - <tint color="shade/gtk:bg[SELECTED]/1.5" alpha="0.2" x="3" y="3" width="width-5" height="height-5"/> -</draw_ops> - -<draw_ops name="button_bg_pressed"> - <!-- outside highlight --> - <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> - <color value="shade/gtk:bg[SELECTED]/1.2"/> - <color value="shade/gtk:bg[SELECTED]/1.0"/> - </gradient> - <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> - <color value="shade/gtk:bg[SELECTED]/1.2"/> - <color value="shade/gtk:bg[SELECTED]/1.0"/> - </gradient> - <line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <!-- border outline --> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - - <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- inside shadow --> - <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[SELECTED]/0.75" x1="2" y1="3" x2="2" y2="height-4"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> - <color value="shade/gtk:bg[SELECTED]/0.85"/> - <color value="shade/gtk:bg[SELECTED]/0.8"/> - </gradient> - <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-5" y2="height-3"/> -</draw_ops> - -<draw_ops name="button_bg_unfocused_prelight"> - <include name="button_bg_unfocused"/> - <tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/> -</draw_ops> - -<draw_ops name="button_bg_unfocused_pressed"> - <!-- outside highlight --> - <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> - <color value="shade/gtk:bg[NORMAL]/1.25"/> - <color value="shade/gtk:bg[NORMAL]/1.05"/> - </gradient> - <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> - <color value="shade/gtk:bg[NORMAL]/1.25"/> - <color value="shade/gtk:bg[NORMAL]/1.05"/> - </gradient> - <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/> - - <!-- border outline --> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> - - <!-- inside shadow --> - <line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/> - <line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/> - - <!-- fill gradient --> - <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> - <color value="shade/gtk:bg[NORMAL]/0.9"/> - <color value="shade/gtk:bg[NORMAL]/0.85"/> - </gradient> - <line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-5" y2="height-3"/> -</draw_ops> - -<!-- ::: ICONS ::: --> -<!-- - using a minimum icon size until there is a proper way to specify relative sizes - unfortunately it's logically impossible to always center the icons on non-square - buttons (utility windows) without distortion. - - icon_size = (Bmin`max`height-Bpad*2) - hpadding = (width - icon_size) / 2 = ((width-(Bmin`max`height-Bpad*2))/2) - vpadding = (height - icon_size) / 2 = ((height-(Bmin`max`height-Bpad*2))/2) ---> - -<!-- menu icon --> -<draw_ops name="menu_button_icon"> - <!--<icon x="0" y="0" width="width" height="height"/>--> - <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> -</draw_ops> - -<draw_ops name="menu_button_icon_unfocused"> - <!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>--> - <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> -</draw_ops> - -<draw_ops name="menu_button_normal"> - <include name="menu_button_icon"/> -</draw_ops> -<draw_ops name="menu_button_pressed"> - <include name="menu_button_icon"/> -</draw_ops> -<draw_ops name="menu_button_unfocused"> - <include name="menu_button_icon_unfocused"/> -</draw_ops> - -<!-- close icon --> -<draw_ops name="close_button_icon"> - <!-- outside border --> - - <!-- main cross --> - <line color="shade/gtk:bg[SELECTED]/0.7" width="4" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> - <line color="shade/gtk:bg[SELECTED]/0.7" width="4" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> - <!-- top-left --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)-1" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)/1" - width="1" height="2"/> - <!-- top-right --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="((height-(Bmin`max`height-Bpad*2))/2)-1" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="1" height="2"/> - <!-- bottom-left --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" - width="1" height="2"/> - <!-- bottom-right --> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" - width="2" height="1"/> - <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" - x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" - width="1" height="2"/> - - <!-- icon --> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width- ((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" - x2="width - ((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> -</draw_ops> - -<draw_ops name="close_button_icon_unfocused"> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> -</draw_ops> - -<draw_ops name="close_button_normal"> - <include name="button_bg"/> - <include name="close_button_icon"/> -</draw_ops> -<draw_ops name="close_button_prelight"> - <include name="button_bg_prelight"/> - <include name="close_button_icon"/> -</draw_ops> -<draw_ops name="close_button_pressed"> - <include name="button_bg_pressed"/> - <include name="close_button_icon"/> -</draw_ops> -<draw_ops name="close_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="close_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="close_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="close_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="close_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="close_button_icon_unfocused"/> -</draw_ops> - -<!-- maximize icon --> -<draw_ops name="maximize_button_icon"> - <!-- outside border --> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2+1"/> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)+1" y="((height-(Bmin`max`height-Bpad*2))/2)+2" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-4"/> - - <!-- icon --> - <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> -</draw_ops> - -<draw_ops name="maximize_button_icon_unfocused"> - <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" - x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> -</draw_ops> - -<draw_ops name="maximize_button_normal"> - <include name="button_bg"/> - <include name="maximize_button_icon"/> -</draw_ops> -<draw_ops name="maximize_button_prelight"> - <include name="button_bg_prelight"/> - <include name="maximize_button_icon"/> -</draw_ops> -<draw_ops name="maximize_button_pressed"> - <include name="button_bg_pressed"/> - <include name="maximize_button_icon"/> -</draw_ops> -<draw_ops name="maximize_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="maximize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="maximize_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="maximize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="maximize_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="maximize_button_icon_unfocused"/> -</draw_ops> - -<!-- restore icon --> -<draw_ops name="restore_button_icon"> - <!-- outside border --> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)+2" y="((height-(Bmin`max`height-Bpad*2))/2)+3" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/> - - <!-- icon --> - <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> - <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" - x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> -</draw_ops> - -<draw_ops name="restore_button_icon_unfocused"> - <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> - <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" - x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" - x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> -</draw_ops> - -<draw_ops name="restore_button_normal"> - <include name="button_bg"/> - <include name="restore_button_icon"/> -</draw_ops> -<draw_ops name="restore_button_prelight"> - <include name="button_bg_prelight"/> - <include name="restore_button_icon"/> -</draw_ops> -<draw_ops name="restore_button_pressed"> - <include name="button_bg_pressed"/> - <include name="restore_button_icon"/> -</draw_ops> -<draw_ops name="restore_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="restore_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="restore_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="restore_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="restore_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="restore_button_icon_unfocused"/> -</draw_ops> - -<!-- minimize icon --> -<draw_ops name="minimize_button_icon"> - <!-- outside border --> - <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" - x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 3" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="3"/> - <!-- icon --> - <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="true" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> -</draw_ops> - -<draw_ops name="minimize_button_icon_unfocused"> - <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="true" - x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" - width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> -</draw_ops> - -<draw_ops name="minimize_button_normal"> - <include name="button_bg"/> - <include name="minimize_button_icon"/> -</draw_ops> -<draw_ops name="minimize_button_prelight"> - <include name="button_bg_prelight"/> - <include name="minimize_button_icon"/> -</draw_ops> -<draw_ops name="minimize_button_pressed"> - <include name="button_bg_pressed"/> - <include name="minimize_button_icon"/> -</draw_ops> -<draw_ops name="minimize_button_unfocused"> - <include name="button_bg_unfocused"/> - <include name="minimize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="minimize_button_unfocused_prelight"> - <include name="button_bg_unfocused_prelight"/> - <include name="minimize_button_icon_unfocused"/> -</draw_ops> -<draw_ops name="minimize_button_unfocused_pressed"> - <include name="button_bg_unfocused_pressed"/> - <include name="minimize_button_icon_unfocused"/> -</draw_ops> - -<draw_ops name="blank"> -<!-- nothing --> -</draw_ops> - -<!-- ::: FRAME STYLES ::: --> -<frame_style name="normal" geometry="normal"> - <piece position="entire_background" draw_ops="round_bevel_unfocused"/> - <piece position="title" draw_ops="title_unfocused"/> - <button function="close" state="normal" draw_ops="close_button_unfocused"/> - <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> - <button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/> - <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> - <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> - <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/> - <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> - <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> - <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/> - <button function="menu" state="normal" draw_ops="menu_button_normal"/> - <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> -</frame_style> - -<frame_style name="normal_shaded" geometry="shaded" parent="normal"> - <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/> -</frame_style> - -<frame_style name="focused" geometry="normal" parent="normal"> - <piece position="entire_background" draw_ops="round_bevel"/> - <piece position="title" draw_ops="title"/> - <button function="close" state="normal" draw_ops="close_button_normal"/> - <button function="close" state="pressed" draw_ops="close_button_pressed"/> - <button function="close" state="prelight" draw_ops="close_button_prelight"/> - <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> - <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> - <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> - <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> - <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> - <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> -</frame_style> - -<frame_style name="focused_shaded" geometry="shaded" parent="focused"> - <piece position="entire_background" draw_ops="round_bevel_shaded"/> -</frame_style> - -<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> - <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/> - <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> - <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> - <button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/> -</frame_style> - -<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> - <piece position="entire_background" draw_ops="bevel_maximized"/> - <button function="maximize" state="normal" draw_ops="restore_button_normal"/> - <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> - <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/> -</frame_style> - -<frame_style name="border" geometry="border" parent="normal"> - <piece position="entire_background" draw_ops="border"/> - <piece position="title" draw_ops="blank"/> -</frame_style> - -<frame_style name="utility_normal" geometry="utility" parent="normal"> - <piece position="entire_background" draw_ops="bevel_unfocused"/> -</frame_style> -<frame_style name="utility_focused" geometry="utility" parent="focused"> - <piece position="entire_background" draw_ops="bevel"/> -</frame_style> -<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> - <piece position="entire_background" draw_ops="bevel_shaded"/> -</frame_style> - -<frame_style_set name="normal"> - <frame focus="yes" state="normal" resize="both" style="focused"/> - <frame focus="no" state="normal" resize="both" style="normal"/> - <frame focus="yes" state="maximized" style="focused_maximized"/> - <frame focus="no" state="maximized" style="normal_maximized"/> - <frame focus="yes" state="shaded" style="focused_shaded"/> - <frame focus="no" state="shaded" style="normal_shaded"/> - <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> - <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> -</frame_style_set> - -<frame_style_set name="utility" parent="normal"> - <frame focus="yes" state="normal" resize="both" style="utility_focused"/> - <frame focus="no" state="normal" resize="both" style="utility_normal"/> - <!-- this is a bunch of crack since utility windows shouldn't be maximized --> - <frame focus="yes" state="maximized" style="focused"/> - <frame focus="no" state="maximized" style="normal"/> - <frame focus="yes" state="shaded" style="utility_focused_shaded"/> - <frame focus="no" state="shaded" style="utility_normal"/> - <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> - <frame focus="no" state="maximized_and_shaded" style="normal"/> -</frame_style_set> - -<frame_style_set name="border"> - <frame focus="yes" state="normal" resize="both" style="border"/> - <frame focus="no" state="normal" resize="both" style="border"/> - <frame focus="yes" state="maximized" style="border"/> - <frame focus="no" state="maximized" style="border"/> - <frame focus="yes" state="shaded" style="border"/> - <frame focus="no" state="shaded" style="border"/> - <frame focus="yes" state="maximized_and_shaded" style="border"/> - <frame focus="no" state="maximized_and_shaded" style="border"/> -</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="utility"/> -<window type="border" style_set="border"/> - -<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/> -<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/> -<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/> -<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> - -</marco_theme> diff --git a/marco-themes/Makefile.am b/marco-themes/Makefile.am index 3dcf94a5..7a38ba10 100644 --- a/marco-themes/Makefile.am +++ b/marco-themes/Makefile.am @@ -1,6 +1,6 @@ THEMES= \ - Clearlooks \ - ClearlooksClassic \ + TraditionalOk \ + TraditionalOkClassic \ Glider \ Glossy \ Inverted \ diff --git a/marco-themes/TraditionalOk/metacity-theme-1.xml b/marco-themes/TraditionalOk/metacity-theme-1.xml new file mode 100644 index 00000000..855526a4 --- /dev/null +++ b/marco-themes/TraditionalOk/metacity-theme-1.xml @@ -0,0 +1,954 @@ +<?xml version="1.0"?> +<!-- $Id$ --> +<marco_theme> +<info> + <name>TraditionalOk</name> + <author>Daniel Borgmann <daniel.borgmann@gmail.com>, Andrea Cimitan <andrea.cimitan@gmail.com></author> + <copyright>Â 2005-2007 Daniel Borgmann, Andrea Cimitan</copyright> + <date>Apr, 2007</date> + <description>The TraditionalOk "Gummy" Marco Theme</description> +</info> + +<!-- ::: GEOMETRY ::: --> +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="4"/> + <distance name="right_titlebar_edge" value="4"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="2" right="2" top="4" bottom="3"/> + <border name="button_border" left="1" right="1" top="2" bottom="2"/> +</frame_geometry> + +<frame_geometry name="shaded" parent="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true"/> + +<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> + <!-- strip frame spacing off the normal geometry when maximised --> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="1"/> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="4"/> + <distance name="right_titlebar_edge" value="4"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="2" right="2" top="4" bottom="3"/> + <border name="button_border" left="0" right="0" top="2" bottom="2"/> + <aspect_ratio name="button" value="1"/> +</frame_geometry> + +<frame_geometry name="border" has_title="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="button_width" value="0"/> + <distance name="button_height" value="0"/> + <distance name="title_vertical_pad" value="4"/> + <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> + +<!-- button minimum size --> +<constant name="Bmin" value="7"/> +<!-- button inside padding --> +<constant name="Bpad" value="6"/> + +<!-- ::: CORNERS ::: --> +<draw_ops name="corners_outline_selected_top"> + <!-- top left --> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.73" x1="1" y1="4" x2="1" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="2" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="3" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.73" x1="4" y1="1" x2="4" y2="1"/> + + <!-- top right --> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="3"/> + <line color="shade/gtk:bg[SELECTED]/0.73" x1="width-2" y1="4" x2="width-2" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-4" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.73" x1="width-5" y1="1" x2="width-5" y2="1"/> +</draw_ops> + +<draw_ops name="corners_outline_top"> + <!-- top left --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.68" x1="1" y1="4" x2="1" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="3" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.68" x1="4" y1="1" x2="4" y2="1"/> + + <!-- top right --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="3"/> + <line color="shade/gtk:bg[NORMAL]/0.68" x1="width-2" y1="4" x2="width-2" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.68" x1="width-5" y1="1" x2="width-5" y2="1"/> +</draw_ops> + +<draw_ops name="corners_outline_selected_bottom"> + <!-- bottom left --> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="height-4" x2="1" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-2" x2="4" y2="height-2"/> + + <!-- bottom right --> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/> +</draw_ops> + +<draw_ops name="corners_outline_bottom"> + <!-- bottom left --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/> + + <!-- bottom right --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/> +</draw_ops> + +<draw_ops name="corners_highlight"> + <!-- ** corner highlight for left top ** --> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="2" y1="3" x2="2" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="3" y1="2" x2="4" y2="2"/> + + <!-- ** corner highlight for right top ** --> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.16" x1="width-5" y1="2" x2="width-4" y2="2"/> + + <!-- ** corner highlight for left bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>--> + + <!-- ** corner highlight for right bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>--> +</draw_ops> + +<draw_ops name="corners_highlight_unfocused"> + <!-- ** corner highlight for left top ** --> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="3" x2="2" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="2" x2="4" y2="2"/> + + <!-- ** corner highlight for right top ** --> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/1.04" x1="width-5" y1="2" x2="width-4" y2="2"/> + + <!-- ** corner highlight for left bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>--> + + <!-- ** corner highlight for right bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>--> +</draw_ops> + +<draw_ops name="corners_highlight_shaded"> + <!-- ** corner highlight for left top ** --> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="2" y1="3" x2="2" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="3" y1="2" x2="4" y2="2"/> + + <!-- ** corner highlight for right top ** --> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.16" x1="width-5" y1="2" x2="width-4" y2="2"/> + + <!-- ** corner highlight for left bottom ** --> + <line color="shade/gtk:bg[SELECTED]/1.08" x1="2" y1="height-4" x2="2" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="height-3" x2="4" y2="height-3"/> + + <!-- ** corner highlight for right bottom ** --> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="corners_highlight_shaded_unfocused"> + <!-- ** corner highlight for left top ** --> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="3" x2="2" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="2" x2="4" y2="2"/> + + <!-- ** corner highlight for right top ** --> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/1.04" x1="width-5" y1="2" x2="width-4" y2="2"/> + + <!-- ** corner highlight for left bottom ** --> + <line color="shade/gtk:bg[NORMAL]/1.02" x1="2" y1="height-4" x2="2" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/> + + <!-- ** corner highlight for right bottom ** --> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="window_bg"> + <rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<!-- ::: BEVEL FOCUSED ::: --> +<draw_ops name="bevel"> + <include name="window_bg"/> + <!-- ** titlebar outline ** --> + <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))"/> + + <!-- ** 3d beveled frame ** --> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="3" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="3" y1="1" x2="width - 4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="3" x2="1" y2="height - 2"/> + + <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))"/> + <line color="shade/gtk:bg[SELECTED]/0.95" x1="width - 2" y1="2" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="1" y1="1" x2="width - 2" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/1.1" x1="1" y1="2" x2="1" y2="((title_height + 5) `max` (top_height - 3))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1"> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + <color value="shade/gtk:bg[SELECTED]/0.94"/> + </gradient> + <gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2"> + <color value="shade/gtk:bg[SELECTED]/1.08"/> + <color value="shade/gtk:bg[SELECTED]/1.02"/> + </gradient> + + <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))"/> + + <!-- ** border outline ** --> + <line color="shade/gtk:bg[NORMAL]/0.45" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="0" y2="height"/> + <line color="shade/gtk:bg[NORMAL]/0.45" x1="width - 1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 1" y2="height"/> + <line color="shade/gtk:bg[NORMAL]/0.45" x1="1" y1="height - 1" x2="width - 2" y2="height - 1"/> +</draw_ops> + +<draw_ops name="bevel_maximized"> + <!-- ** 3d beveled frame ** --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="0" x2="width" y2="0"/> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="0" y1="1" x2="width" y2="1"/> + <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))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1"> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + <color value="shade/gtk:bg[SELECTED]/0.94"/> + </gradient> + <gradient type="vertical" x="0" y="1" width="width" height="top_height/2-1"> + <color value="shade/gtk:bg[SELECTED]/1.08"/> + <color value="shade/gtk:bg[SELECTED]/1.02"/> + </gradient> + + <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))"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<draw_ops name="round_bevel"> + <include name="bevel"/> + <include name="corners_outline_selected_top"/> + <!--<include name="corners_outline_bottom"/>--> + <include name="corners_highlight"/> +</draw_ops> + +<draw_ops name="bevel_shaded"> + <include name="bevel"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<draw_ops name="round_bevel_shaded"> + <include name="bevel"/> + <include name="corners_outline_selected_top"/> + <include name="corners_outline_selected_bottom"/> + <include name="corners_highlight_shaded"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="5" y1="height-1" x2="width-6" y2="height-1"/> +</draw_ops> + +<!-- ::: BEVEL UNFOCUSED ::: --> +<draw_ops name="bevel_unfocused"> + <include name="window_bg"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="1" y1="1" x2="width - 2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.03" x1="1" y1="2" x2="1" y2="height - 2"/> + <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))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1"> + <color value="shade/gtk:bg[NORMAL]/0.93"/> + <color value="shade/gtk:bg[NORMAL]/0.89"/> + </gradient> + <gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2"> + <color value="shade/gtk:bg[NORMAL]/0.99"/> + <color value="shade/gtk:bg[NORMAL]/0.95"/> + </gradient> + + <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))"/> + <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/> +</draw_ops> + +<draw_ops name="bevel_maximized_unfocused"> + <!-- ** 3d beveled frame ** --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="0" x2="width" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="0" y1="1" x2="width" y2="1"/> + <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))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1"> + <color value="shade/gtk:bg[NORMAL]/0.93"/> + <color value="shade/gtk:bg[NORMAL]/0.89"/> + </gradient> + <gradient type="vertical" x="0" y="2" width="width" height="top_height/2-2"> + <color value="shade/gtk:bg[NORMAL]/0.99"/> + <color value="shade/gtk:bg[NORMAL]/0.95"/> + </gradient> + + <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))"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<draw_ops name="round_bevel_unfocused"> + <include name="bevel_unfocused"/> + <include name="corners_outline_top"/> + <!--<include name="corners_outline_bottom"/>--> + <include name="corners_highlight_unfocused"/> +</draw_ops> + +<draw_ops name="round_bevel_unfocused_shaded"> + <include name="bevel_unfocused"/> + <include name="corners_outline_top"/> + <include name="corners_outline_bottom"/> + <include name="corners_highlight_shaded_unfocused"/> +</draw_ops> + +<!-- ::: BORDER ::: --> +<draw_ops name="border"> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width - 2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height - 2"/> + + <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/> +</draw_ops> + +<!-- ::: TITLES ::: --> +<draw_ops name="title_text"> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0) + 1"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)+1" y="(((height - title_height) / 2) `max` 0)"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)-1" y="(((height - title_height) / 2) `max` 0)"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0)-1"/> + <title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/> +</draw_ops> + +<draw_ops name="title_text_unfocused"> + <!--<title color="shade/gtk:bg[NORMAL]/1.07" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>--> + <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)"/> +</draw_ops> + +<draw_ops name="title"> + <include name="title_text"/> +</draw_ops> + +<draw_ops name="title_unfocused"> + <include name="title_text_unfocused"/> +</draw_ops> + +<!-- ::: BUTTONS ::: --> +<draw_ops name="button_bg"> + <!-- inset --> + <gradient type="vertical" x="0" y="3" width="width" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/0.96"/> + <color value="shade/gtk:bg[SELECTED]/1.05"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="0" x2="width-3" y2="0"/> + <line color="shade/gtk:bg[SELECTED]/0.99" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.99" x1="0" y1="2" x2="width-1" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="3" y1="0" x2="width-4" y2="0"/> + + <line color="shade/gtk:bg[SELECTED]/0.91" x1="2" y1="1" x2="width-3" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.90" x1="1" y1="2" x2="width-2" y2="2"/> + + <line color="shade/gtk:bg[SELECTED]/1.03" x1="2" y1="height-1" x2="width-3" y2="height-1"/> + <line color="shade/gtk:bg[SELECTED]/1.00" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.01" x1="0" y1="height-3" x2="width-1" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/1.06" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <line color="shade/gtk:bg[SELECTED]/1.02" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.03" x1="1" y1="height-3" x2="width-2" y2="height-3"/> + + <!-- border outline --> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- border smooth effect --> + <line color="shade/gtk:bg[SELECTED]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.90" x1="width-3" y1="3" x2="width-3" y2="height-4"/> + + <!-- inside highlight --> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="4" y1="2" x2="width-5" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> + <!-- inside shadow --> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="width-3" y1="4" x2="width-3" y2="height-5"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1"> + <color value="shade/gtk:bg[SELECTED]/1.1"/> + <color value="shade/gtk:bg[SELECTED]/1.02"/> + </gradient> + <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2"> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + <color value="shade/gtk:bg[SELECTED]/0.92"/> + </gradient> + + <!-- bottom border smooth effect --> + <line color="shade/gtk:bg[SELECTED]/0.84" x1="3" y1="height-3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.92" x1="4" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused"> + <!-- inset --> + <gradient type="vertical" x="0" y="3" width="width" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/0.92"/> + <color value="shade/gtk:bg[NORMAL]/0.96"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.93" x1="2" y1="0" x2="width-3" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/0.92" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.92" x1="0" y1="2" x2="width-1" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.91" x1="3" y1="0" x2="width-4" y2="0"/> + + <line color="shade/gtk:bg[NORMAL]/0.87" x1="2" y1="1" x2="width-3" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.86" x1="1" y1="2" x2="width-2" y2="2"/> + + <line color="shade/gtk:bg[NORMAL]/0.945" x1="2" y1="height-1" x2="width-3" y2="height-1"/> + <line color="shade/gtk:bg[NORMAL]/0.93" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.935" x1="0" y1="height-3" x2="width-1" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.96" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/0.94" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-3" x2="width-2" y2="height-3"/> + + <!-- border outline --> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- border smooth effect --> + <line color="shade/gtk:bg[NORMAL]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="width-3" y1="3" x2="width-3" y2="height-4"/> + + <!-- inside highlight --> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> + <!-- inside shadow --> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="width-3" y1="4" x2="width-3" y2="height-5"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1"> + <color value="shade/gtk:bg[NORMAL]/1.15"/> + <color value="shade/gtk:bg[NORMAL]/1.07"/> + </gradient> + <gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2"> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + <color value="shade/gtk:bg[NORMAL]/0.97"/> + </gradient> + + <!-- bottom border smooth effect --> + <line color="shade/gtk:bg[NORMAL]/0.89" x1="3" y1="height-3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.97" x1="4" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + <include name="button_bg"/> + <tint color="shade/gtk:bg[SELECTED]/1.5" alpha="0.2" x="3" y="3" width="width-5" height="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_pressed"> + <!-- outside highlight --> + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[SELECTED]/1.2"/> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + </gradient> + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/1.2"/> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + </gradient> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <!-- border outline --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- inside shadow --> + <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="2" y1="3" x2="2" y2="height-4"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/0.95"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.9" x1="3" y1="height-3" x2="width-4" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused_prelight"> + <include name="button_bg_unfocused"/> + <tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused_pressed"> + <!-- outside highlight --> + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[NORMAL]/1.25"/> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + </gradient> + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/1.25"/> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <!-- border outline --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- inside shadow --> + <line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/0.9"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-4" y2="height-3"/> +</draw_ops> + +<!-- ::: ICONS ::: --> +<!-- + using a minimum icon size until there is a proper way to specify relative sizes + unfortunately it's logically impossible to always center the icons on non-square + buttons (utility windows) without distortion. + + icon_size = (Bmin`max`height-Bpad*2) + hpadding = (width - icon_size) / 2 = ((width-(Bmin`max`height-Bpad*2))/2) + vpadding = (height - icon_size) / 2 = ((height-(Bmin`max`height-Bpad*2))/2) +--> + +<!-- menu icon --> +<draw_ops name="menu_button_icon"> + <!--<icon x="0" y="0" width="width" height="height"/>--> + <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="menu_button_icon_unfocused"> + <!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>--> + <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="menu_button_normal"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_pressed"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_unfocused"> + <include name="menu_button_icon_unfocused"/> +</draw_ops> + +<!-- close icon --> +<draw_ops name="close_button_icon"> + <!-- outside border --> + + <!-- main cross --> + <line color="shade/gtk:bg[SELECTED]/0.7" width="4" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> + <line color="shade/gtk:bg[SELECTED]/0.7" width="4" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <!-- top-left --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)/1" + width="1" height="2"/> + <!-- top-right --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="1" height="2"/> + <!-- bottom-left --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" + width="1" height="2"/> + <!-- bottom-right --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" + width="1" height="2"/> + + <!-- icon --> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width- ((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> +</draw_ops> + +<draw_ops name="close_button_icon_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> +</draw_ops> + +<draw_ops name="close_button_normal"> + <include name="button_bg"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_prelight"> + <include name="button_bg_prelight"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_pressed"> + <include name="button_bg_pressed"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="close_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="close_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2+1"/> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)+1" y="((height-(Bmin`max`height-Bpad*2))/2)+2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-4"/> + + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> +</draw_ops> + +<draw_ops name="maximize_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> +</draw_ops> + +<draw_ops name="maximize_button_normal"> + <include name="button_bg"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> + +<!-- restore icon --> +<draw_ops name="restore_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)+2" y="((height-(Bmin`max`height-Bpad*2))/2)+3" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/> + + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" + x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> +</draw_ops> + +<draw_ops name="restore_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" + x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> +</draw_ops> + +<draw_ops name="restore_button_normal"> + <include name="button_bg"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_pressed"> + <include name="button_bg_pressed"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="restore_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="restore_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 3" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="3"/> + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="true" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> +</draw_ops> + +<draw_ops name="minimize_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="true" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> +</draw_ops> + +<draw_ops name="minimize_button_normal"> + <include name="button_bg"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal" geometry="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused"/> + <piece position="title" draw_ops="title_unfocused"/> + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/> + <button function="menu" state="normal" draw_ops="menu_button_normal"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> +</frame_style> + +<frame_style name="normal_shaded" geometry="shaded" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/> +</frame_style> + +<frame_style name="focused" geometry="normal" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel"/> + <piece position="title" draw_ops="title"/> + <button function="close" state="normal" draw_ops="close_button_normal"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> +</frame_style> + +<frame_style name="focused_shaded" geometry="shaded" parent="focused"> + <piece position="entire_background" draw_ops="round_bevel_shaded"/> +</frame_style> + +<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> + <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> + <button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/> +</frame_style> + +<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> + <piece position="entire_background" draw_ops="bevel_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_normal"/> + <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/> +</frame_style> + +<frame_style name="border" geometry="border" parent="normal"> + <piece position="entire_background" draw_ops="border"/> + <piece position="title" draw_ops="blank"/> +</frame_style> + +<frame_style name="utility_normal" geometry="utility" parent="normal"> + <piece position="entire_background" draw_ops="bevel_unfocused"/> +</frame_style> +<frame_style name="utility_focused" geometry="utility" parent="focused"> + <piece position="entire_background" draw_ops="bevel"/> +</frame_style> +<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> + <piece position="entire_background" draw_ops="bevel_shaded"/> +</frame_style> + +<frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="focused"/> + <frame focus="no" state="normal" resize="both" style="normal"/> + <frame focus="yes" state="maximized" style="focused_maximized"/> + <frame focus="no" state="maximized" style="normal_maximized"/> + <frame focus="yes" state="shaded" style="focused_shaded"/> + <frame focus="no" state="shaded" style="normal_shaded"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> + <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> +</frame_style_set> + +<frame_style_set name="utility" parent="normal"> + <frame focus="yes" state="normal" resize="both" style="utility_focused"/> + <frame focus="no" state="normal" resize="both" style="utility_normal"/> + <!-- this is a bunch of crack since utility windows shouldn't be maximized --> + <frame focus="yes" state="maximized" style="focused"/> + <frame focus="no" state="maximized" style="normal"/> + <frame focus="yes" state="shaded" style="utility_focused_shaded"/> + <frame focus="no" state="shaded" style="utility_normal"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> + <frame focus="no" state="maximized_and_shaded" style="normal"/> +</frame_style_set> + +<frame_style_set name="border"> + <frame focus="yes" state="normal" resize="both" style="border"/> + <frame focus="no" state="normal" resize="both" style="border"/> + <frame focus="yes" state="maximized" style="border"/> + <frame focus="no" state="maximized" style="border"/> + <frame focus="yes" state="shaded" style="border"/> + <frame focus="no" state="shaded" style="border"/> + <frame focus="yes" state="maximized_and_shaded" style="border"/> + <frame focus="no" state="maximized_and_shaded" style="border"/> +</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="utility"/> +<window type="border" style_set="border"/> + +<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/> +<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/> +<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/> +<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> + +</marco_theme> diff --git a/marco-themes/TraditionalOkClassic/metacity-theme-1.xml b/marco-themes/TraditionalOkClassic/metacity-theme-1.xml new file mode 100644 index 00000000..dc766e21 --- /dev/null +++ b/marco-themes/TraditionalOkClassic/metacity-theme-1.xml @@ -0,0 +1,925 @@ +<?xml version="1.0"?> +<!-- $Id: marco-theme-1.xml 1295 2007-06-19 23:39:37Z acimitan $ --> +<marco_theme> +<info> + <name>TraditionalOkClassic</name> + <author>Daniel Borgmann <daniel.borgmann@gmail.com>, Andrea Cimitan <andrea.cimitan@gmail.com></author> + <copyright>Â 2005-2007 Daniel Borgmann, Andrea Cimitan</copyright> + <date>Apr, 2007</date> + <description>The TraditionalOk "Classic" Marco Theme</description> +</info> + +<!-- ::: GEOMETRY ::: --> +<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="4"/> + <distance name="right_titlebar_edge" value="4"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="2" right="2" top="4" bottom="3"/> + <border name="button_border" left="1" right="1" top="2" bottom="2"/> +</frame_geometry> + +<frame_geometry name="shaded" parent="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true"/> + +<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> + <!-- strip frame spacing off the normal geometry when maximised --> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="1"/> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="4"/> + <distance name="right_titlebar_edge" value="4"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="2" right="2" top="4" bottom="3"/> + <border name="button_border" left="0" right="0" top="2" bottom="2"/> + <aspect_ratio name="button" value="1"/> +</frame_geometry> + +<frame_geometry name="border" has_title="false"> + <distance name="left_width" value="4"/> + <distance name="right_width" value="4"/> + <distance name="bottom_height" value="4"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="button_width" value="0"/> + <distance name="button_height" value="0"/> + <distance name="title_vertical_pad" value="4"/> + <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> + +<!-- button minimum size --> +<constant name="Bmin" value="7"/> +<!-- button inside padding --> +<constant name="Bpad" value="6"/> + +<!-- ::: FRAMES ::: --> +<draw_ops name="corners_outline_selected_top"> + <!-- top left --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="2" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="4" y2="1"/> + + <!-- top right --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-4" y1="1" x2="width-5" y2="1"/> +</draw_ops> + +<draw_ops name="corners_outline_top"> + <!-- top left --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="2" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="4" y2="1"/> + + <!-- top right --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="1" x2="width-5" y2="1"/> +</draw_ops> + +<draw_ops name="corners_outline_selected_bottom"> + <!-- bottom left --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/> + + <!-- bottom right --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/> +</draw_ops> + +<draw_ops name="corners_outline_bottom"> + <!-- bottom left --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/> + + <!-- bottom right --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/> +</draw_ops> + +<draw_ops name="corners_highlight_unfocused"> + <!-- ** corner highlight for left top ** --> + <line color="shade/gtk:bg[NORMAL]/1.15" x1="2" y1="3" x2="2" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/1.15" x1="3" y1="2" x2="4" y2="2"/> + + <!-- ** corner highlight for right top ** --> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="3" x2="width-3" y2="4"/> + <line color="shade/gtk:bg[NORMAL]/1.14" x1="width-5" y1="2" x2="width-4" y2="2"/> + + <!-- ** corner highlight for left bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>--> + + <!-- ** corner highlight for right bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>--> +</draw_ops> + +<draw_ops name="corners_highlight"> + <!-- ** corner highlight for left top ** --> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2"/> + + <!-- ** corner highlight for right top ** --> + <line color="shade/gtk:bg[SELECTED]/0.98" x1="width-3" y1="3" x2="width-3" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="width-5" y1="2" x2="width-4" y2="2"/> + + <!-- ** corner highlight for left bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/1.3" x1="2" y1="height-4" x2="2" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="3" y1="height-3" x2="4" y2="height-3"/>--> + + <!-- ** corner highlight for right bottom ** --> + <!--<line color="shade/gtk:bg[NORMAL]/0.88" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>--> +</draw_ops> + +<draw_ops name="corners_highlight_shaded"> + <!-- ** corner highlight for left top ** --> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="2" y1="3" x2="2" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="3" y1="2" x2="4" y2="2"/> + + <!-- ** corner highlight for right top ** --> + <line color="shade/gtk:bg[SELECTED]/0.75" x1="width-3" y1="3" x2="width-3" y2="4"/> + <line color="shade/gtk:bg[SELECTED]/1.18" x1="width-5" y1="2" x2="width-4" y2="2"/> + + <!-- ** corner highlight for left bottom ** --> + <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="height-4" x2="2" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.75" x1="3" y1="height-3" x2="4" y2="height-3"/> + + <!-- ** corner highlight for right bottom ** --> + <line color="shade/gtk:bg[SELECTED]/0.75" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/> + <line color="shade/gtk:bg[SELECTED]/0.75" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="window_bg"> + <rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width" height="height"/> +</draw_ops> + +<draw_ops name="bevel_maximized_unfocused"> + <!-- ** 3d beveled frame ** --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="0" x2="width" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/1.15" x1="0" y1="1" x2="width" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="0" y="2" width="width" height="6"> + <color value="shade/gtk:bg[NORMAL]/1.01"/> + <color value="shade/gtk:bg[NORMAL]/0.96"/> + </gradient> + <gradient type="vertical" x="0" y="8" width="width" height="title_height - 9"> + <color value="shade/gtk:bg[NORMAL]/0.96"/> + <color value="shade/gtk:bg[NORMAL]/0.94"/> + </gradient> + <gradient type="vertical" x="0" y="8 + title_height - 9" width="width" height="top_height - title_height"> + <color value="shade/gtk:bg[NORMAL]/0.94"/> + <color value="shade/gtk:bg[NORMAL]/0.89"/> + </gradient> + + <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))"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<draw_ops name="bevel_maximized"> + <!-- ** 3d beveled frame ** --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="0" x2="width" y2="0"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="0" y1="1" x2="width" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.75" x1="0" y1="((title_height + 5) `max` (top_height - 3))" x2="width" y2="((title_height + 5) `max` (top_height - 3))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="0" y="2" width="width" height="6"> + <color value="shade/gtk:bg[SELECTED]/1.13"/> + <color value="shade/gtk:bg[SELECTED]/1.04"/> + </gradient> + <gradient type="vertical" x="0" y="8" width="width" height="title_height - 9"> + <color value="shade/gtk:bg[SELECTED]/1.04"/> + <color value="shade/gtk:bg[SELECTED]/0.98"/> + </gradient> + <gradient type="vertical" x="0" y="8 + title_height - 9" width="width" height="top_height - title_height"> + <color value="shade/gtk:bg[SELECTED]/0.98"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.65" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="width" y2="((title_height + 6) `max` (top_height - 2))"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<draw_ops name="bevel_unfocused"> + <include name="window_bg"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/1.15" x1="1" y1="1" x2="width - 2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.07" x1="1" y1="2" x2="1" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="2" y="2" width="width - 4" height="6"> + <color value="shade/gtk:bg[NORMAL]/1.01"/> + <color value="shade/gtk:bg[NORMAL]/0.96"/> + </gradient> + <gradient type="vertical" x="2" y="8" width="width - 4" height="title_height - 9"> + <color value="shade/gtk:bg[NORMAL]/0.96"/> + <color value="shade/gtk:bg[NORMAL]/0.94"/> + </gradient> + <gradient type="vertical" x="2" y="8 + title_height - 9" width="width - 4" height="top_height - title_height"> + <color value="shade/gtk:bg[NORMAL]/0.94"/> + <color value="shade/gtk:bg[NORMAL]/0.89"/> + </gradient> + + <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))"/> + <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/> +</draw_ops> + +<draw_ops name="round_bevel_unfocused"> + <include name="bevel_unfocused"/> + <include name="corners_outline_top"/> + <!--<include name="corners_outline_bottom"/>--> + <include name="corners_highlight_unfocused"/> +</draw_ops> + +<draw_ops name="round_bevel_unfocused_shaded"> + <include name="bevel_unfocused"/> + <include name="corners_outline_top"/> + <include name="corners_outline_bottom"/> + <include name="corners_highlight_unfocused"/> +</draw_ops> + +<draw_ops name="bevel"> + <include name="window_bg"/> + <!-- ** titlebar outline ** --> + <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))"/> + + <!-- ** 3d beveled frame ** --> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="3" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/1.3" x1="3" y1="1" x2="width - 4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.3" x1="1" y1="3" x2="1" y2="height - 2"/> + + <line color="shade/gtk:bg[SELECTED]/0.95" x1="2" y1="((title_height + 5) `max` (top_height - 3))" x2="width - 3" y2="((title_height + 5) `max` (top_height - 3))"/> + <line color="shade/gtk:bg[SELECTED]/0.95" x1="width - 2" y1="2" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="1" y1="1" x2="width - 2" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/1.12" x1="1" y1="2" x2="1" y2="((title_height + 5) `max` (top_height - 3))"/> + + <!-- ** fancy gradient ** --> + <gradient type="vertical" x="2" y="2" width="width - 4" height="6"> + <color value="shade/gtk:bg[SELECTED]/1.13"/> + <color value="shade/gtk:bg[SELECTED]/1.04"/> + </gradient> + <gradient type="vertical" x="2" y="8" width="width - 4" height="title_height - 9"> + <color value="shade/gtk:bg[SELECTED]/1.04"/> + <color value="shade/gtk:bg[SELECTED]/0.98"/> + </gradient> + <gradient type="vertical" x="2" y="8 + title_height - 9" width="width - 4" height="top_height - title_height"> + <color value="shade/gtk:bg[SELECTED]/0.98"/> + <color value="shade/gtk:bg[SELECTED]/0.9"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/0.65" x1="1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 2" y2="((title_height + 6) `max` (top_height - 2))"/> + + <!-- ** border outline ** --> + <line color="shade/gtk:bg[NORMAL]/0.45" x1="0" y1="((title_height + 6) `max` (top_height - 2))" x2="0" y2="height"/> + <line color="shade/gtk:bg[NORMAL]/0.45" x1="width - 1" y1="((title_height + 6) `max` (top_height - 2))" x2="width - 1" y2="height"/> + <line color="shade/gtk:bg[NORMAL]/0.45" x1="1" y1="height - 1" x2="width - 2" y2="height - 1"/> +</draw_ops> + +<draw_ops name="round_bevel"> + <include name="bevel"/> + <include name="corners_outline_selected_top"/> + <!--<include name="corners_outline_bottom"/>--> + <include name="corners_highlight"/> +</draw_ops> + +<draw_ops name="bevel_shaded"> + <include name="bevel"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<draw_ops name="round_bevel_shaded"> + <include name="bevel"/> + <include name="corners_outline_selected_top"/> + <include name="corners_outline_selected_bottom"/> + <include name="corners_highlight_shaded"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="5" y1="height-1" x2="width-6" y2="height-1"/> +</draw_ops> + +<draw_ops name="border"> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/> + <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="width - 2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="1" y2="height - 2"/> + + <rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/> +</draw_ops> + +<!-- ::: TITLES ::: --> +<draw_ops name="title_text"> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0) + 1"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)+1" y="(((height - title_height) / 2) `max` 0)"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)-1" y="(((height - title_height) / 2) `max` 0)"/> + <title color="shade/gtk:bg[SELECTED]/0.7" x="((3 `max` (width-title_width)) / 2)" y="(((height - title_height) / 2) `max` 0)-1"/> + <title color="#FFFFFF" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/> +</draw_ops> + +<draw_ops name="title_text_unfocused"> + <!--<title color="shade/gtk:bg[NORMAL]/1.07" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>--> + <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)"/> +</draw_ops> + +<draw_ops name="title"> + <include name="title_text"/> +</draw_ops> + +<draw_ops name="title_unfocused"> + <include name="title_text_unfocused"/> +</draw_ops> + +<!-- ::: BUTTONS ::: --> +<draw_ops name="button_bg"> + <!-- inset --> + <gradient type="vertical" x="0" y="3" width="width" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/0.98"/> + <color value="shade/gtk:bg[SELECTED]/1.05"/> + </gradient> + + <line color="shade/gtk:bg[SELECTED]/1.04" x1="2" y1="0" x2="width-3" y2="0"/> + <line color="shade/gtk:bg[SELECTED]/1.02" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/1.02" x1="0" y1="2" x2="width-1" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/1.01" x1="3" y1="0" x2="width-4" y2="0"/> + + <line color="shade/gtk:bg[SELECTED]/0.93" x1="2" y1="1" x2="width-3" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.92" x1="1" y1="2" x2="width-2" y2="2"/> + + <line color="shade/gtk:bg[SELECTED]/1.03" x1="2" y1="height-1" x2="width-3" y2="height-1"/> + <line color="shade/gtk:bg[SELECTED]/1.00" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.01" x1="0" y1="height-3" x2="width-1" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/1.06" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <line color="shade/gtk:bg[SELECTED]/1.02" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.02" x1="1" y1="height-3" x2="width-2" y2="height-3"/> + + <!-- border outline --> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- border smooth effect --> + <line color="shade/gtk:bg[SELECTED]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.86" x1="width-3" y1="3" x2="width-3" y2="height-4"/> + + <!-- inside highlight --> + <line color="shade/gtk:bg[SELECTED]/1.2" x1="4" y1="2" x2="width-5" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> + <!-- inside shadow --> + <line color="shade/gtk:bg[SELECTED]/0.85" x1="4" y1="height-3" x2="width-5" y2="height-3"/> + <line color="shade/gtk:bg[SELECTED]/0.92" x1="width-3" y1="4" x2="width-3" y2="height-5"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-6" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/1.15"/> + <color value="shade/gtk:bg[SELECTED]/0.85"/> + </gradient> +</draw_ops> + +<draw_ops name="button_bg_unfocused"> + <!-- inset --> + <gradient type="vertical" x="0" y="3" width="width" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/0.93"/> + <color value="shade/gtk:bg[NORMAL]/0.97"/> + </gradient> + + <line color="shade/gtk:bg[NORMAL]/0.94" x1="2" y1="0" x2="width-3" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="1" x2="width-2" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="0" y1="2" x2="width-1" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.93" x1="3" y1="0" x2="width-4" y2="0"/> + + <line color="shade/gtk:bg[NORMAL]/0.84" x1="2" y1="1" x2="width-3" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.84" x1="1" y1="2" x2="width-2" y2="2"/> + + <line color="shade/gtk:bg[NORMAL]/0.96" x1="2" y1="height-1" x2="width-3" y2="height-1"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-2" x2="width-2" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.94" x1="0" y1="height-3" x2="width-1" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.97" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <line color="shade/gtk:bg[NORMAL]/0.96" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.95" x1="1" y1="height-3" x2="width-2" y2="height-3"/> + + <!-- border outline --> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- border smooth effect --> + <line color="shade/gtk:bg[NORMAL]/1.02" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.00" x1="2" y1="3" x2="2" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.78" x1="3" y1="height-3" x2="width-4" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.84" x1="width-3" y1="3" x2="width-3" y2="height-4"/> + + <!-- inside highlight --> + <line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/> + <!-- inside shadow --> + <line color="shade/gtk:bg[NORMAL]/0.85" x1="4" y1="height-3" x2="width-5" y2="height-3"/> + <line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="4" x2="width-3" y2="height-5"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-6" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/1.15"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> +</draw_ops> + +<draw_ops name="button_bg_prelight"> + <include name="button_bg"/> + <tint color="shade/gtk:bg[SELECTED]/1.5" alpha="0.2" x="3" y="3" width="width-5" height="height-5"/> +</draw_ops> + +<draw_ops name="button_bg_pressed"> + <!-- outside highlight --> + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[SELECTED]/1.2"/> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + </gradient> + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/1.2"/> + <color value="shade/gtk:bg[SELECTED]/1.0"/> + </gradient> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <!-- border outline --> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- inside shadow --> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[SELECTED]/0.75" x1="2" y1="3" x2="2" y2="height-4"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> + <color value="shade/gtk:bg[SELECTED]/0.85"/> + <color value="shade/gtk:bg[SELECTED]/0.8"/> + </gradient> + <line color="shade/gtk:bg[SELECTED]/0.8" x1="3" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused_prelight"> + <include name="button_bg_unfocused"/> + <tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/> +</draw_ops> + +<draw_ops name="button_bg_unfocused_pressed"> + <!-- outside highlight --> + <gradient type="vertical" x="width-2" y="2" width="1" height="height-4"> + <color value="shade/gtk:bg[NORMAL]/1.25"/> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + </gradient> + <gradient type="vertical" x="width-1" y="3" width="1" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/1.25"/> + <color value="shade/gtk:bg[NORMAL]/1.05"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/> + + <!-- border outline --> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/> + + <!-- inside shadow --> + <line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/> + <line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/> + + <!-- fill gradient --> + <gradient type="vertical" x="3" y="3" width="width-5" height="height-6"> + <color value="shade/gtk:bg[NORMAL]/0.9"/> + <color value="shade/gtk:bg[NORMAL]/0.85"/> + </gradient> + <line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-5" y2="height-3"/> +</draw_ops> + +<!-- ::: ICONS ::: --> +<!-- + using a minimum icon size until there is a proper way to specify relative sizes + unfortunately it's logically impossible to always center the icons on non-square + buttons (utility windows) without distortion. + + icon_size = (Bmin`max`height-Bpad*2) + hpadding = (width - icon_size) / 2 = ((width-(Bmin`max`height-Bpad*2))/2) + vpadding = (height - icon_size) / 2 = ((height-(Bmin`max`height-Bpad*2))/2) +--> + +<!-- menu icon --> +<draw_ops name="menu_button_icon"> + <!--<icon x="0" y="0" width="width" height="height"/>--> + <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="menu_button_icon_unfocused"> + <!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>--> + <icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/> +</draw_ops> + +<draw_ops name="menu_button_normal"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_pressed"> + <include name="menu_button_icon"/> +</draw_ops> +<draw_ops name="menu_button_unfocused"> + <include name="menu_button_icon_unfocused"/> +</draw_ops> + +<!-- close icon --> +<draw_ops name="close_button_icon"> + <!-- outside border --> + + <!-- main cross --> + <line color="shade/gtk:bg[SELECTED]/0.7" width="4" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> + <line color="shade/gtk:bg[SELECTED]/0.7" width="4" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <!-- top-left --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)/1" + width="1" height="2"/> + <!-- top-right --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="1" height="2"/> + <!-- bottom-left --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" + width="1" height="2"/> + <!-- bottom-right --> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="height - ((height-(Bmin`max`height-Bpad*2))/2)" + width="2" height="1"/> + <tint color="shade/gtk:bg[SELECTED]/0.7" alpha="1.0" + x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2" + width="1" height="2"/> + + <!-- icon --> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width- ((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1" + x2="width - ((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> +</draw_ops> + +<draw_ops name="close_button_icon_unfocused"> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="2" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/> +</draw_ops> + +<draw_ops name="close_button_normal"> + <include name="button_bg"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_prelight"> + <include name="button_bg_prelight"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_pressed"> + <include name="button_bg_pressed"/> + <include name="close_button_icon"/> +</draw_ops> +<draw_ops name="close_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="close_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="close_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="close_button_icon_unfocused"/> +</draw_ops> + +<!-- maximize icon --> +<draw_ops name="maximize_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2+1"/> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)+1" y="((height-(Bmin`max`height-Bpad*2))/2)+2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-4"/> + + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> +</draw_ops> + +<draw_ops name="maximize_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1" + x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/> +</draw_ops> + +<draw_ops name="maximize_button_normal"> + <include name="button_bg"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="maximize_button_icon"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="maximize_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="maximize_button_icon_unfocused"/> +</draw_ops> + +<!-- restore icon --> +<draw_ops name="restore_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)+2" y="((height-(Bmin`max`height-Bpad*2))/2)+3" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/> + + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <line color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" + x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> +</draw_ops> + +<draw_ops name="restore_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/> + <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" width="1" + x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2" + x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/> +</draw_ops> + +<draw_ops name="restore_button_normal"> + <include name="button_bg"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_prelight"> + <include name="button_bg_prelight"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_pressed"> + <include name="button_bg_pressed"/> + <include name="restore_button_icon"/> +</draw_ops> +<draw_ops name="restore_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="restore_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="restore_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="restore_button_icon_unfocused"/> +</draw_ops> + +<!-- minimize icon --> +<draw_ops name="minimize_button_icon"> + <!-- outside border --> + <rectangle color="shade/gtk:bg[SELECTED]/0.7" filled="false" + x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 3" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="3"/> + <!-- icon --> + <rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.75" filled="true" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> +</draw_ops> + +<draw_ops name="minimize_button_icon_unfocused"> + <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.45" filled="true" + x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2" + width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/> +</draw_ops> + +<draw_ops name="minimize_button_normal"> + <include name="button_bg"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_prelight"> + <include name="button_bg_prelight"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_pressed"> + <include name="button_bg_pressed"/> + <include name="minimize_button_icon"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused"> + <include name="button_bg_unfocused"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused_prelight"> + <include name="button_bg_unfocused_prelight"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> +<draw_ops name="minimize_button_unfocused_pressed"> + <include name="button_bg_unfocused_pressed"/> + <include name="minimize_button_icon_unfocused"/> +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal" geometry="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused"/> + <piece position="title" draw_ops="title_unfocused"/> + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/> + <button function="menu" state="normal" draw_ops="menu_button_normal"/> + <button function="menu" state="pressed" draw_ops="menu_button_pressed"/> +</frame_style> + +<frame_style name="normal_shaded" geometry="shaded" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/> +</frame_style> + +<frame_style name="focused" geometry="normal" parent="normal"> + <piece position="entire_background" draw_ops="round_bevel"/> + <piece position="title" draw_ops="title"/> + <button function="close" state="normal" draw_ops="close_button_normal"/> + <button function="close" state="pressed" draw_ops="close_button_pressed"/> + <button function="close" state="prelight" draw_ops="close_button_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> +</frame_style> + +<frame_style name="focused_shaded" geometry="shaded" parent="focused"> + <piece position="entire_background" draw_ops="round_bevel_shaded"/> +</frame_style> + +<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> + <piece position="entire_background" draw_ops="bevel_maximized_unfocused"/> + <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/> + <button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/> +</frame_style> + +<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> + <piece position="entire_background" draw_ops="bevel_maximized"/> + <button function="maximize" state="normal" draw_ops="restore_button_normal"/> + <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/> + <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/> +</frame_style> + +<frame_style name="border" geometry="border" parent="normal"> + <piece position="entire_background" draw_ops="border"/> + <piece position="title" draw_ops="blank"/> +</frame_style> + +<frame_style name="utility_normal" geometry="utility" parent="normal"> + <piece position="entire_background" draw_ops="bevel_unfocused"/> +</frame_style> +<frame_style name="utility_focused" geometry="utility" parent="focused"> + <piece position="entire_background" draw_ops="bevel"/> +</frame_style> +<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> + <piece position="entire_background" draw_ops="bevel_shaded"/> +</frame_style> + +<frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="focused"/> + <frame focus="no" state="normal" resize="both" style="normal"/> + <frame focus="yes" state="maximized" style="focused_maximized"/> + <frame focus="no" state="maximized" style="normal_maximized"/> + <frame focus="yes" state="shaded" style="focused_shaded"/> + <frame focus="no" state="shaded" style="normal_shaded"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> + <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> +</frame_style_set> + +<frame_style_set name="utility" parent="normal"> + <frame focus="yes" state="normal" resize="both" style="utility_focused"/> + <frame focus="no" state="normal" resize="both" style="utility_normal"/> + <!-- this is a bunch of crack since utility windows shouldn't be maximized --> + <frame focus="yes" state="maximized" style="focused"/> + <frame focus="no" state="maximized" style="normal"/> + <frame focus="yes" state="shaded" style="utility_focused_shaded"/> + <frame focus="no" state="shaded" style="utility_normal"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> + <frame focus="no" state="maximized_and_shaded" style="normal"/> +</frame_style_set> + +<frame_style_set name="border"> + <frame focus="yes" state="normal" resize="both" style="border"/> + <frame focus="no" state="normal" resize="both" style="border"/> + <frame focus="yes" state="maximized" style="border"/> + <frame focus="no" state="maximized" style="border"/> + <frame focus="yes" state="shaded" style="border"/> + <frame focus="no" state="shaded" style="border"/> + <frame focus="yes" state="maximized_and_shaded" style="border"/> + <frame focus="no" state="maximized_and_shaded" style="border"/> +</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="utility"/> +<window type="border" style_set="border"/> + +<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/> +<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/> +<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/> +<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> + +</marco_theme> -- cgit v1.2.1