From a03e64ad02944320933c054d0e394311fcc10a7f Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 2 May 2012 17:56:07 +0200 Subject: add gtk3 support for TraditionalOk (taken from clearwaita theme) --- AUTHORS | 3 + configure.in | 5 +- gtk-themes/TraditionalOkClassic/Makefile.am | 10 +- .../TraditionalOkClassic/gtk-2.0/Makefile.am | 5 + gtk-themes/TraditionalOkClassic/gtk-2.0/gtkrc | 402 +++++ .../TraditionalOkClassic/gtk-3.0/Makefile.am | 13 + .../gtk-3.0/assets/Makefile.am | 50 + .../gtk-3.0/assets/button-active-border-panel.svg | 140 ++ .../gtk-3.0/assets/button-active-border.svg | 139 ++ .../gtk-3.0/assets/button-border-panel.svg | 121 ++ .../gtk-3.0/assets/button-border.svg | 118 ++ .../gtk-3.0/assets/button-default-border.svg | 118 ++ .../assets/checkbox-checked-insensitive.svg | 175 ++ .../gtk-3.0/assets/checkbox-checked.svg | 191 +++ .../assets/checkbox-menuitem-checked-selected.svg | 63 + .../gtk-3.0/assets/checkbox-menuitem-checked.svg | 63 + .../gtk-3.0/assets/checkbox-mixed.svg | 250 +++ .../assets/checkbox-unchecked-insensitive.svg | 149 ++ .../gtk-3.0/assets/checkbox-unchecked.svg | 168 ++ .../assets/combobox-entry-border-active.svg | 112 ++ .../gtk-3.0/assets/entry-border-focused.svg | 74 + .../gtk-3.0/assets/entry-border-normal.svg | 123 ++ .../primary-toolbar-button-active-border.svg | 109 ++ .../primary-toolbar-raised-button-border.svg | 118 ++ .../gtk-3.0/assets/progressbar-border-vertical.svg | 98 ++ .../gtk-3.0/assets/progressbar-border.svg | 97 ++ .../assets/radio-menuitem-checked-selected.svg | 67 + .../gtk-3.0/assets/radio-menuitem-checked.svg | 67 + .../gtk-3.0/assets/radio-mixed.svg | 343 ++++ .../gtk-3.0/assets/radio-selected-insensitive.svg | 264 +++ .../gtk-3.0/assets/radio-selected.svg | 350 ++++ .../assets/radio-unselected-insensitive.svg | 189 +++ .../gtk-3.0/assets/radio-unselected.svg | 298 ++++ .../assets/scale-slider-horizontal-insensitive.svg | 179 +++ .../gtk-3.0/assets/scale-slider-horizontal.svg | 132 ++ ...e-slider-marks-above-horizontal-insensitive.svg | 234 +++ .../assets/scale-slider-marks-above-horizontal.svg | 254 +++ ...ale-slider-marks-above-vertical-insensitive.svg | 234 +++ .../assets/scale-slider-marks-above-vertical.svg | 254 +++ ...e-slider-marks-below-horizontal-insensitive.svg | 171 ++ .../assets/scale-slider-marks-below-horizontal.svg | 191 +++ ...ale-slider-marks-below-vertical-insensitive.svg | 214 +++ .../assets/scale-slider-marks-below-vertical.svg | 234 +++ .../assets/scale-slider-vertical-insensitive.svg | 168 ++ .../gtk-3.0/assets/scale-slider-vertical.svg | 132 ++ .../gtk-3.0/assets/switch-slider-active-border.svg | 105 ++ .../gtk-3.0/assets/switch-slider-border.svg | 105 ++ .../assets/trough-active-border-horizontal.svg | 141 ++ .../assets/trough-active-border-vertical.svg | 131 ++ .../gtk-3.0/assets/trough-border-horizontal.svg | 187 +++ .../gtk-3.0/assets/trough-border-vertical.svg | 187 +++ .../gtk-3.0/gtk-widgets-assets.css | 254 +++ .../TraditionalOkClassic/gtk-3.0/gtk-widgets.css | 1694 ++++++++++++++++++++ gtk-themes/TraditionalOkClassic/gtk-3.0/gtk.css | 165 ++ .../TraditionalOkClassic/gtk-3.0/settings.ini | 4 + gtk-themes/TraditionalOkClassic/gtkrc | 402 ----- 56 files changed, 9857 insertions(+), 407 deletions(-) create mode 100644 gtk-themes/TraditionalOkClassic/gtk-2.0/Makefile.am create mode 100644 gtk-themes/TraditionalOkClassic/gtk-2.0/gtkrc create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/Makefile.am create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/Makefile.am create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border-panel.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border-panel.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-default-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked-selected.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-mixed.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/combobox-entry-border-active.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-focused.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-normal.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-button-active-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-raised-button-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border-vertical.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked-selected.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-mixed.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical-insensitive.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-active-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-border.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-horizontal.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-vertical.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-horizontal.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-vertical.svg create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets-assets.css create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets.css create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/gtk.css create mode 100644 gtk-themes/TraditionalOkClassic/gtk-3.0/settings.ini delete mode 100644 gtk-themes/TraditionalOkClassic/gtkrc diff --git a/AUTHORS b/AUTHORS index 97994e23..fb440ea3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -56,3 +56,6 @@ Luca Ferretti ceramicm Aldabra + +Jean-Philippe Fleury + TraditionalOk gtk3 (from Clearwaita theme) diff --git a/configure.in b/configure.in index 5133e897..afebc00e 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ AC_PREREQ(2.53) -AC_INIT([mate-themes], [1.2.2], [http://www.mate-desktop.org]) +AC_INIT([mate-themes], [1.3.0], [http://www.mate-desktop.org]) AC_CONFIG_SRCDIR([icon-themes]) AM_INIT_AUTOMAKE([1.9 tar-ustar]) @@ -209,6 +209,9 @@ gtk-themes/Makefile gtk-themes/AlaDelta/Makefile gtk-themes/Shiny/Makefile gtk-themes/TraditionalOkClassic/Makefile +gtk-themes/TraditionalOkClassic/gtk-2.0/Makefile +gtk-themes/TraditionalOkClassic/gtk-3.0/Makefile +gtk-themes/TraditionalOkClassic/gtk-3.0/assets/Makefile gtk-themes/TraditionalOkTest/Makefile gtk-themes/ContrastHigh/Makefile gtk-themes/ContrastHigh/gtkrc diff --git a/gtk-themes/TraditionalOkClassic/Makefile.am b/gtk-themes/TraditionalOkClassic/Makefile.am index fd244b5e..c0bca4ee 100644 --- a/gtk-themes/TraditionalOkClassic/Makefile.am +++ b/gtk-themes/TraditionalOkClassic/Makefile.am @@ -1,5 +1,7 @@ -themedir = $(datadir)/themes/TraditionalOkClassic/gtk-2.0 +SUBDIRS = \ + gtk-2.0 \ + gtk-3.0 -theme_DATA = gtkrc - -EXTRA_DIST = $(theme_DATA) +DIST_SUBDIRS = \ + gtk-2.0 \ + gtk-3.0 diff --git a/gtk-themes/TraditionalOkClassic/gtk-2.0/Makefile.am b/gtk-themes/TraditionalOkClassic/gtk-2.0/Makefile.am new file mode 100644 index 00000000..fd244b5e --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-2.0/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/gtk-2.0/gtkrc b/gtk-themes/TraditionalOkClassic/gtk-2.0/gtkrc new file mode 100644 index 00000000..ae9397f5 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-2.0/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/TraditionalOkClassic/gtk-3.0/Makefile.am b/gtk-themes/TraditionalOkClassic/gtk-3.0/Makefile.am new file mode 100644 index 00000000..bc8de8fa --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/Makefile.am @@ -0,0 +1,13 @@ +themedir = $(datadir)/themes/TraditionalOkClassic/gtk-3.0 + +theme_DATA = \ + settings.ini \ + gtk.css \ + gtk-widgets.css \ + gtk-widgets-assets.css + +EXTRA_DIST = $(theme_DATA) + +SUBDIRS = assets + +DIST_SUBDIRS = assets diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/Makefile.am b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/Makefile.am new file mode 100644 index 00000000..f5a6fc58 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/Makefile.am @@ -0,0 +1,50 @@ +themedir = $(datadir)/themes/TraditionalOkClassic/gtk-3.0/assets + +theme_DATA = \ + button-active-border-panel.svg \ + button-active-border.svg \ + button-border-panel.svg \ + button-border.svg \ + button-default-border.svg \ + checkbox-checked-insensitive.svg \ + checkbox-checked.svg \ + checkbox-menuitem-checked-selected.svg \ + checkbox-menuitem-checked.svg \ + checkbox-mixed.svg \ + checkbox-unchecked-insensitive.svg \ + checkbox-unchecked.svg \ + combobox-entry-border-active.svg \ + entry-border-focused.svg \ + entry-border-normal.svg \ + Makefile.am \ + primary-toolbar-button-active-border.svg \ + primary-toolbar-raised-button-border.svg \ + progressbar-border.svg \ + progressbar-border-vertical.svg \ + radio-menuitem-checked-selected.svg \ + radio-menuitem-checked.svg \ + radio-mixed.svg \ + radio-selected-insensitive.svg \ + radio-selected.svg \ + radio-unselected-insensitive.svg \ + radio-unselected.svg \ + scale-slider-horizontal-insensitive.svg \ + scale-slider-horizontal.svg \ + scale-slider-marks-above-horizontal-insensitive.svg \ + scale-slider-marks-above-horizontal.svg \ + scale-slider-marks-above-vertical-insensitive.svg \ + scale-slider-marks-above-vertical.svg \ + scale-slider-marks-below-horizontal-insensitive.svg \ + scale-slider-marks-below-horizontal.svg \ + scale-slider-marks-below-vertical-insensitive.svg \ + scale-slider-marks-below-vertical.svg \ + scale-slider-vertical-insensitive.svg \ + scale-slider-vertical.svg \ + switch-slider-active-border.svg \ + switch-slider-border.svg \ + trough-active-border-horizontal.svg \ + trough-active-border-vertical.svg \ + trough-border-horizontal.svg \ + trough-border-vertical.svg + +EXTRA_DIST = $(theme_DATA) diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border-panel.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border-panel.svg new file mode 100644 index 00000000..3337dc06 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border-panel.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border.svg new file mode 100644 index 00000000..040f805d --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-active-border.svg @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border-panel.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border-panel.svg new file mode 100644 index 00000000..929c874f --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border-panel.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border.svg new file mode 100644 index 00000000..5b57ddf8 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-border.svg @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-default-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-default-border.svg new file mode 100644 index 00000000..5b57ddf8 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/button-default-border.svg @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked-insensitive.svg new file mode 100644 index 00000000..326d133a --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked-insensitive.svg @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked.svg new file mode 100644 index 00000000..f2492f19 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-checked.svg @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked-selected.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked-selected.svg new file mode 100644 index 00000000..721c4d2f --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked-selected.svg @@ -0,0 +1,63 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked.svg new file mode 100644 index 00000000..6143ce3d --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-menuitem-checked.svg @@ -0,0 +1,63 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-mixed.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-mixed.svg new file mode 100644 index 00000000..ff8ee979 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-mixed.svg @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked-insensitive.svg new file mode 100644 index 00000000..d5a6bd60 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked-insensitive.svg @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked.svg new file mode 100644 index 00000000..42760cbd --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/checkbox-unchecked.svg @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/combobox-entry-border-active.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/combobox-entry-border-active.svg new file mode 100644 index 00000000..907d96f1 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/combobox-entry-border-active.svg @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-focused.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-focused.svg new file mode 100644 index 00000000..c383564b --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-focused.svg @@ -0,0 +1,74 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-normal.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-normal.svg new file mode 100644 index 00000000..ff6ead2c --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/entry-border-normal.svg @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-button-active-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-button-active-border.svg new file mode 100644 index 00000000..2ecccf01 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-button-active-border.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-raised-button-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-raised-button-border.svg new file mode 100644 index 00000000..53ed0fe8 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/primary-toolbar-raised-button-border.svg @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border-vertical.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border-vertical.svg new file mode 100644 index 00000000..fda599a6 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border-vertical.svg @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border.svg new file mode 100644 index 00000000..258eed0a --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/progressbar-border.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked-selected.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked-selected.svg new file mode 100644 index 00000000..162a1427 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked-selected.svg @@ -0,0 +1,67 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked.svg new file mode 100644 index 00000000..ee3c65f7 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-menuitem-checked.svg @@ -0,0 +1,67 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-mixed.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-mixed.svg new file mode 100644 index 00000000..5a5658f9 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-mixed.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected-insensitive.svg new file mode 100644 index 00000000..09eb6930 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected-insensitive.svg @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected.svg new file mode 100644 index 00000000..178c4b31 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-selected.svg @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected-insensitive.svg new file mode 100644 index 00000000..2c7c6063 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected-insensitive.svg @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected.svg new file mode 100644 index 00000000..7cf1539d --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/radio-unselected.svg @@ -0,0 +1,298 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal-insensitive.svg new file mode 100644 index 00000000..73fd6947 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal-insensitive.svg @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal.svg new file mode 100644 index 00000000..acba2b18 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-horizontal.svg @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive.svg new file mode 100644 index 00000000..702e3712 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive.svg @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal.svg new file mode 100644 index 00000000..b913300d --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-horizontal.svg @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive.svg new file mode 100644 index 00000000..a4b23232 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive.svg @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical.svg new file mode 100644 index 00000000..1b913ea7 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-above-vertical.svg @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive.svg new file mode 100644 index 00000000..c6e3738e --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive.svg @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal.svg new file mode 100644 index 00000000..e8dd187a --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-horizontal.svg @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive.svg new file mode 100644 index 00000000..8fd2d3e2 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive.svg @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical.svg new file mode 100644 index 00000000..e6bf65c1 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-marks-below-vertical.svg @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical-insensitive.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical-insensitive.svg new file mode 100644 index 00000000..5bf0d7d4 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical-insensitive.svg @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical.svg new file mode 100644 index 00000000..b3e82cc6 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/scale-slider-vertical.svg @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-active-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-active-border.svg new file mode 100644 index 00000000..96134ff9 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-active-border.svg @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-border.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-border.svg new file mode 100644 index 00000000..86117f71 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/switch-slider-border.svg @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-horizontal.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-horizontal.svg new file mode 100644 index 00000000..c9e35b45 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-horizontal.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-vertical.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-vertical.svg new file mode 100644 index 00000000..b75ccd76 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-active-border-vertical.svg @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-horizontal.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-horizontal.svg new file mode 100644 index 00000000..d295d1c3 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-horizontal.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-vertical.svg b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-vertical.svg new file mode 100644 index 00000000..5acdf5de --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/assets/trough-border-vertical.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets-assets.css b/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets-assets.css new file mode 100644 index 00000000..36083783 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets-assets.css @@ -0,0 +1,254 @@ +/************************* + * Check and Radio items * + *************************/ + +/* draw regular check and radio items using our SVG assets */ +.check, +.check row:selected, +.check row:selected:focused { + background-image: url("assets/checkbox-unchecked.svg"); +} + +.check:insensitive, +.check row:selected:insensitive, +.check row:selected:focused:insensitive { + background-image: url("assets/checkbox-unchecked-insensitive.svg"); +} + +.check:active, +.check row:selected:active, +.check row:selected:focused:active { + background-image: url("assets/checkbox-checked.svg"); +} + +.check:active:insensitive, +.check row:selected:active:insensitive, +.check row:selected:focused:active:insensitive +{ + background-image: url("assets/checkbox-checked-insensitive.svg"); +} + +.check:inconsistent, +.check row:selected:inconsistent, +.check row:selected:focused:inconsistent { + background-image: url("assets/checkbox-mixed.svg"); +} + +.radio, +.radio row:selected, +.radio row:selected:focused { + background-image: url("assets/radio-unselected.svg"); +} + +.radio:insensitive, +.radio row:selected:insensitive, +.radio row:selected:focused:insensitive { + background-image: url("assets/radio-unselected-insensitive.svg"); +} + +.radio:active, +.radio row:selected:active, +.radio row:selected:focused:active { + background-image: url("assets/radio-selected.svg"); +} + +.radio:active:insensitive, +.radio row:selected:active:insensitive, +.radio row:selected:focused:active:insensitive { + background-image: url("assets/radio-selected-insensitive.svg"); +} + +.radio:inconsistent, +.radio row:selected:inconsistent, +.radio row:selected:focused:inconsistent { + background-image: url("assets/radio-mixed.svg"); +} + +.entry { + border-image: url("assets/entry-border-normal.svg") 2 / 2 stretch; +} + +.entry:focused { + border-image: url("assets/entry-border-focused.svg") 2 / 2 stretch; +} + +.primary-toolbar GtkComboBox.combobox-entry .button, +GtkComboBox.combobox-entry .button { + border-image: url("assets/entry-border-normal.svg") 2 / 2 2 2 0 stretch; +} + +.primary-toolbar GtkComboBox.combobox-entry .button:active, +.primary-toolbar GtkComboBox.combobox-entry .button:hover, +.primary-toolbar GtkComboBox.combobox-entry .button:hover:active, +GtkComboBox.combobox-entry .button:active, +GtkComboBox.combobox-entry .button:hover, +GtkComboBox.combobox-entry .button:hover:active { + border-image: url("assets/combobox-entry-border-active.svg") 2 / 2 2 2 0 stretch; +} + +GtkScale.trough, +GtkSwitch.trough, +GtkScale.trough.horizontal { + border-image: url("assets/trough-border-horizontal.svg") 2 / 2 stretch; +} + +GtkScale.trough.vertical { + border-image: url("assets/trough-border-vertical.svg") 2 / 2 stretch; +} + +GtkSwitch.trough:active, +GtkScale.progressbar.horizontal { + border-image: url("assets/trough-active-border-horizontal.svg") 2 / 2 stretch; +} + +GtkScale.progressbar.vertical { + border-image: url("assets/trough-active-border-vertical.svg") 2 / 2 stretch; +} + +GtkSwitch.slider { + border-image: url("assets/switch-slider-border.svg") 2 / 2 stretch; +} + +GtkSwitch.slider:active { + border-image: url("assets/switch-slider-active-border.svg") 2 / 2 stretch; +} + +.progressbar, +.entry.progressbar, +.progressbar row, +.progressbar row:hover, +.progressbar row:selected, +.progressbar row:selected:focused { + border-image: url("assets/progressbar-border.svg") 3 / 3 stretch; +} + +.progressbar.vertical { + border-image: url("assets/progressbar-border-vertical.svg") 3 / 3 stretch; +} + +GtkScale.slider, +GtkScale.slider.horizontal { + background-image: url("assets/scale-slider-horizontal.svg"); +} + +GtkScale.slider:insensitive, +GtkScale.slider.horizontal:insensitive { + background-image: url("assets/scale-slider-horizontal-insensitive.svg"); +} + +GtkScale.slider.vertical { + background-image: url("assets/scale-slider-vertical.svg"); +} + +GtkScale.slider.vertical:insensitive { + background-image: url("assets/scale-slider-vertical-insensitive.svg"); +} + +GtkScale.scale-has-marks-above.slider.horizontal { + background-image: url("assets/scale-slider-marks-above-horizontal.svg"); +} + +GtkScale.scale-has-marks-above.slider.horizontal:insensitive { + background-image: url("assets/scale-slider-marks-above-horizontal-insensitive.svg"); +} + +GtkScale.scale-has-marks-above.slider.vertical { + background-image: url("assets/scale-slider-marks-above-vertical.svg"); +} + +GtkScale.scale-has-marks-above.slider.vertical:insensitive { + background-image: url("assets/scale-slider-marks-above-vertical-insensitive.svg"); +} + +GtkScale.scale-has-marks-below.slider.horizontal { + background-image: url("assets/scale-slider-marks-below-horizontal.svg"); +} + +GtkScale.scale-has-marks-below.slider.horizontal:insensitive { + background-image: url("assets/scale-slider-marks-below-horizontal-insensitive.svg"); +} + +GtkScale.scale-has-marks-below.slider.vertical { + background-image: url("assets/scale-slider-marks-below-vertical.svg"); +} + +GtkScale.scale-has-marks-below.slider.vertical:insensitive { + background-image: url("assets/scale-slider-marks-below-vertical-insensitive.svg"); +} + +.button { + border-image: url("assets/button-border.svg") 3 / 3 stretch; +} + +.button:active, +.toolbar .button:active, +.button:hover:active, +.toolbar .button:hover:active { + border-image: url("assets/button-active-border.svg") 3 / 3 stretch; +} + +.button.default { + border-image: url("assets/button-default-border.svg") 4 / 4 stretch; +} + +.primary-toolbar .toolbar .button:active, +.primary-toolbar .toolbar .button:hover, +.primary-toolbar.toolbar .button:active, +.primary-toolbar.toolbar .button:hover, +.primary-toolbar .toolbar .button:active:hover, +.primary-toolbar.toolbar .button:active:hover { + border-image: url("assets/primary-toolbar-button-active-border.svg") 4 / 4 stretch; +} + +.primary-toolbar .toolbar .raised .button, +.primary-toolbar.toolbar .raised .button, +.primary-toolbar .toolbar .raised.button, +.primary-toolbar.toolbar .raised.button { + border-image: url("assets/primary-toolbar-raised-button-border.svg") 4 / 4 stretch; +} + +/* nth-child for linked areas */ +.primary-toolbar.toolbar .raised.linked.button, +.primary-toolbar.toolbar .raised.linked.button:active, +.primary-toolbar.toolbar .raised.linked.button:hover, +.primary-toolbar.toolbar .raised.linked.button:active:hover, +.primary-toolbar.toolbar .raised.linked .button, +.primary-toolbar.toolbar .raised.linked .button:active, +.primary-toolbar.toolbar .raised.linked .button:hover, +.primary-toolbar.toolbar .raised.linked .button:active:hover { + border-image: url("assets/primary-toolbar-raised-button-border.svg") 4 / 4 0 stretch; +} + +.primary-toolbar.toolbar .raised.linked.button:nth-child(first) , +.primary-toolbar.toolbar .raised.linked.button:active:nth-child(first), +.primary-toolbar.toolbar .raised.linked.button:hover:nth-child(first), +.primary-toolbar.toolbar .raised.linked.button:active:hover:nth-child(first), +.primary-toolbar.toolbar .raised.linked:nth-child(first) .button, +.primary-toolbar.toolbar .raised.linked:nth-child(first) .button:active, +.primary-toolbar.toolbar .raised.linked:nth-child(first) .button:hover, +.primary-toolbar.toolbar .raised.linked:nth-child(first) .button:active:hover { + border-image: url("assets/primary-toolbar-raised-button-border.svg") 4 / 4 0 4 4 stretch; +} + +.primary-toolbar.toolbar .raised.linked.button:nth-child(last), +.primary-toolbar.toolbar .raised.linked.button:active:nth-child(last), +.primary-toolbar.toolbar .raised.linked.button:hover:nth-child(last), +.primary-toolbar.toolbar .raised.linked.button:active:hover:nth-child(last), +.primary-toolbar.toolbar .raised.linked:nth-child(last) .button, +.primary-toolbar.toolbar .raised.linked:nth-child(last) .button:active, +.primary-toolbar.toolbar .raised.linked:nth-child(last) .button:hover, +.primary-toolbar.toolbar .raised.linked:nth-child(last) .button:active:hover { + border-image: url("assets/primary-toolbar-raised-button-border.svg") 4 / 4 4 4 0 stretch; +} + +/* panel buttons */ + +PanelApplet .button { + border-image: url("assets/button-border-panel.svg") 3 / 3 stretch; +} + +PanelApplet .button:active, +PanelApplet .button:hover, +PanelApplet .button:hover:active { + border-image: url("assets/button-active-border-panel.svg") 3 / 3 stretch; +} diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets.css b/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets.css new file mode 100644 index 00000000..ddbed8ee --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk-widgets.css @@ -0,0 +1,1694 @@ +* { + engine: adwaita; + padding: 1; + + /* Style properties */ + -GtkToolButton-icon-spacing: 4; + + -GtkTextView-error-underline-color: @error_color; + + -GtkPaned-handle-size: 5; + + -GtkCheckButton-indicator-size: 16; + -GtkCheckMenuItem-indicator-size: 12; + + /* The size for scrollbars. The slider is 2px smaller, but we keep it + * up so that the whole area is sensitive to button presses for the + * slider. The stepper button is larger in both directions, the slider + * only in the width + */ + + -GtkScrolledWindow-scrollbar-spacing: 0; + -GtkScrolledWindow-scrollbars-within-bevel: 1; + + -GtkToolItemGroup-expander-size: 11; + -GtkExpander-expander-size: 11; + + -GtkMenu-horizontal-padding: 0; + -GtkMenu-vertical-padding: 0; + + -GtkWidget-link-color: @link_color; + -GtkWidget-visited-link-color: @link_color; + -GtkIMHtml-hyperlink-color: @link_color; + -GtkHTML-link-color: @link_color; + + -GtkWidget-wide-separators: 1; + + -WnckTasklist-fade-overlay-rect: 0; + + -GtkWidget-focus-padding: 2; + -GtkWidget-focus-line-width: 1; + -adwaita-focus-border-color: alpha(@theme_text_color, 0.4); + -adwaita-focus-border-radius: 2; + -adwaita-focus-fill-color: alpha(@theme_base_color, 0.0); + -adwaita-focus-border-gradient: none; + -adwaita-focus-border-dashes: 1; +} + +/*************** + * Base States * + ***************/ +GtkWindow { + color: @theme_fg_color; +} + +* { + background-color: @theme_bg_color; +} + +*:hover { + background-color: shade (@theme_bg_color, 1.02); + color: @theme_fg_color; +} + +*:selected { + background-color: #7fa5d5; + color: @theme_selected_fg_color; +} + +*:selected:focused { + background-color: #7fa5d5; + color: @theme_selected_fg_color; +} + +*:insensitive { + background-color: @insensitive_bg_color; + color: @insensitive_fg_color; + border-color: @insensitive_border_color; +} + +*:active { + background-color: shade (@theme_bg_color, 0.915); +} + +.tooltip { + padding: 4 4; + border-width: 1; + border-style: solid; + border-color: #BABA45; + background-color: #F5F5B5; + color: #000000; +} + +.grip { + background-color: shade (@inactive_frame_color, 0.93); +} + +.view.rubberband, +.rubberband { + background-color: alpha (#7fa5d5, 0.35); + + border-color: #7fa5d5; + border-style: solid; + border-width: 1; + border-radius: 2; +} + +.pane-separator { + color: shade (@inactive_frame_color, 0.80); +} + +.pane-separator:prelight, +.pane-separator:selected { + color: @theme_text_color; +} + +GtkStatusbar { + padding: 5; + color: @theme_fg_color; + -GtkStatusbar-shadow-type: none; +} + +/**************** + * Text Entries * + ****************/ +.entry { + background-color: @theme_base_color; + + border-style: none; + border-width: 1; + border-radius: 3; + + /* we use inner-border instead of padding because padding + * also applies to the progressbar. + */ + padding: 0; + -GtkEntry-inner-border: 5; + -GtkEntry-progress-border: 0; + + /* border-image defined in the -assets variants */ + + color: @entry_text_color; +} + +.entry, +GtkComboBox.combobox-entry .button, +GtkComboBox.combobox-entry .button:prelight, +.primary-toolbar GtkComboBox.combobox-entry .button, +.primary-toolbar GtkComboBox.combobox-entry .button:prelight { + background-image: -gtk-gradient(linear, + left top, left bottom, + from(@entry_background_a), + color-stop(0.20, @entry_background_b), + color-stop(0.85, @entry_background_c), + to(@entry_background_d)); +} + +.entry:insensitive { + background-color: @insensitive_bg_color; + background-image: none; + + border-image: none; + border-style: solid; +} + +.entry.progressbar { + background-color: #7fa5d5; + color: @theme_selected_fg_color; + + border-width: 1; + border-radius: 3; + /* border-image defined in -assets variant */ + + -adwaita-progressbar-pattern: none; +} + +.entry.image { + color: @internal_element_color; +} + +.entry.image:prelight { + color: @internal_element_prelight; +} + +/***************** + * GtkSpinButton * + *****************/ +.spinbutton.button, +.spinbutton.button:prelight, +.spinbutton.button:active, +.spinbutton.button:focused, +.spinbutton.button:insensitive { + background-image: none; + background-color: alpha(@theme_base_color, 0.0); + + border-style: none; + border-image: none; +} + +.spinbutton.button { + color: @internal_element_color; +} + +.spinbutton.button:prelight, +.spinbutton.button:active { + color: @internal_element_prelight; +} + +.spinbutton.button:insensitive { + color: @insensitive_border_color; +} + +.spinbutton.entry { + padding: 0 6 0 1; +} + +/**************** + * Progress bar * + ****************/ + +/* progress component */ +.progressbar, +.progressbar row, +.progressbar row:hover, +.progressbar row:selected, +.progressbar row:selected:focused { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#A4C2E8), + color-stop (0.50, #98B8E2), + color-stop (0.50, #92B4DF), + to (#84AAD8)); + + border-radius: 3; + border-width: 1; + border-style: none; + /* border-image defined in the -assets variant */ + + -adwaita-progressbar-pattern: -gtk-gradient (linear, + left top, right bottom, + from (alpha (@progressbar_pattern, 0.00)), + color-stop (0.49, alpha (@progressbar_pattern, 0.00)), + color-stop (0.50, alpha (@progressbar_pattern, 0.10)), + to (alpha (@progressbar_pattern, 0.10))); +} + +.progressbar.vertical { + background-image: -gtk-gradient (linear, + left top, + right top, + from (#A4C2E8), + color-stop (0.50, #98B8E2), + color-stop (0.50, #92B4DF), + to (#84AAD8)); + + -adwaita-progressbar-pattern: -gtk-gradient (linear, + left bottom, right top, + from (alpha (@progressbar_pattern, 0.00)), + color-stop (0.49, alpha (@progressbar_pattern, 0.00)), + color-stop (0.50, alpha (@progressbar_pattern, 0.10)), + to (alpha (@progressbar_pattern, 0.10))); +} + +/* through component */ +GtkProgressBar, +.trough row { + padding: 0; + -GtkProgressBar-xspacing: 22; + -GtkProgressBar-yspacing: 22; +} + +.trough, +.trough row, +.trough row:hover { + background-image: -gtk-gradient (linear, + left top, + left bottom, + color-stop (0, #CECBC9), + color-stop (0.5, #D6D4D2)); + + border-width: 1; + border-style: solid; + border-radius: 3; + border-color: #8C8A87; +} + +.trough.vertical { + background-image: -gtk-gradient (linear, + left top, right top, + from (@trough_bg_color_a), + to (@trough_bg_color_b)); +} + +.trough row:selected, +.trough row:selected:focused { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (mix (@trough_bg_color_a, #7fa5d5, 0.25)), + to (mix (@trough_bg_color_b, #7fa5d5, 0.25))); +} + +/************ + * GtkScale * + ************/ +GtkScale { + -GtkScale-slider-length: 16; + -GtkRange-slider-width: 20; + -GtkRange-trough-border: 0; +} + +GtkScale.slider, +GtkScale.slider:hover, +GtkScale.slider:insensitive { + border-width: 0; + border-radius: 0; + border-style: none; + + background-color: alpha(@theme_base_color, 0.0); + + /* background-image in -assets variant */ +} + +GtkScale.trough { + border-width: 1; + border-radius: 2; + border-style: none; + + background-color: @scale_fill; + + /* border-image defined in the -assets variants */ +} + +GtkScale.trough:insensitive { + background-color: @insensitive_bg_color; + background-image: none; + + border-image: none; + border-style: solid; + border-color: @insensitive_border_color; +} + +GtkScale.progressbar { + background-color: @scale_progress_fill; + + border-width: 1; + border-radius: 2; + border-style: none; + /* border-image defined in the -assets variants */ + + -adwaita-progressbar-pattern: none; +} + +GtkScale.mark { + background-color: shade (@theme_bg_color, 0.56); +} + +/********** + * Frames * + **********/ +.frame { + padding: 2; + border-width: 0; +} + +/* only render frames in a GtkScrolledWindow */ +GtkScrolledWindow.frame { + border-style: solid; + border-color: darker (@theme_bg_color); + border-width: 1; + border-radius: 2; + + padding: 0; +} + +/*********** + * Buttons * + ***********/ +.button { + padding: 1 4; + + -adwaita-focus-fill-color: alpha (@theme_base_color, 0.35); + -adwaita-focus-border-gradient: -gtk-gradient (linear, + left top, left bottom, + from (alpha (@keyboard_focus_border_a, 0.62)), + to (alpha (@keyboard_focus_border_b, 0.62))); + -adwaita-focus-border-radius: 1; + -adwaita-focus-border-dashes: 0; + -GtkWidget-focus-line-width: 2; + + -GtkButton-child-displacement-x: 1; + -GtkButton-child-displacement-y: 1; + -GtkButton-image-spacing: 4; + -GtkButton-interior-focus: true; + -GtkButton-default-border: 0; + -GtkButton-inner-border: 0; + + border-radius: 3; + border-width: 1; + border-style: none; + /* border-image in -assets variant */ + + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_gradient_color_a), + color-stop (0.50, @button_gradient_color_b), + color-stop (0.50, @button_gradient_color_c), + to (@button_gradient_color_d)); +} + +.button:hover, +.toolbar .button:hover { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_hover_gradient_color_a), + color-stop (0.50, @button_hover_gradient_color_b), + color-stop (0.50, @button_hover_gradient_color_c), + to (@button_hover_gradient_color_d)); +} + +.button:active, +.toolbar .button:active { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_active_gradient_color_a), + color-stop (0.10, @button_active_gradient_color_b), + color-stop (0.10, @button_active_gradient_color_c), + color-stop (0.50, @button_active_gradient_color_d), + color-stop (0.50, @button_active_gradient_color_e), + to (@button_active_gradient_color_f)); +} + +.button:hover:active, +.toolbar .button:hover:active { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_hover_gradient_color_a), + color-stop (0.50, @button_hover_gradient_color_b), + color-stop (0.50, @button_hover_gradient_color_c), + to (@button_hover_gradient_color_d)); +} + +.button:insensitive { + background-image: none; + background-color: @insensitive_bg_color; + color: @insensitive_fg_color; + + border-image: none; + border-style: solid; +} + +.button.default { + border-width: 1; +} + +/***************** + * Notebooks and * + * tabs * + *****************/ +.notebook { + padding: 2; + + border-color: @notebook_border; + border-style: solid; + border-width: 1; + + background-color: @theme_base_color; + + -GtkNotebook-tab-overlap: 4; + -GtkNotebook-tab-curvature: 3; +} + +.notebook tab { + padding: 2 8; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@notebook_tab_gradient_a), + to (@notebook_tab_gradient_b)); + + -adwaita-focus-border-radius: 2; +} + +.notebook tab:active { + border-width: 1; + + -adwaita-border-gradient: -gtk-gradient (linear, + left top, left bottom, + from (@notebook_active_tab_border), + to (@notebook_border)); + + -adwaita-selected-tab-color: #7fa5d5; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (shade (@theme_base_color, 0.98)), + to (@theme_base_color)); +} + +.notebook tab .button, +.notebook tab .button:hover, +.notebook tab .button:hover:active { + border-style: none; + border-image: none; + background-color: alpha (@theme_bg_color, 0.0); + background-image: none; +} + +/* FIXME: background behind tabs -- slight gradient continuing from menubar */ + +/************** + * ComboBoxes * + **************/ + +GtkComboBox { + padding: 0; + -GtkWidget-focus-padding: 0; + -GtkWidget-focus-line-width: 0; + + -GtkComboBox-arrow-scaling: 0.5; + -GtkComboBox-shadow-type: none; +} + +GtkComboBox .entry { + border-width: 1 0 1 1; + border-radius: 3 0 0 3; + border-image-width: 2 0 2 2; +} + +GtkComboBox .button { + color: @internal_element_color; + padding: 2 3 2 6; +} + +GtkComboBox .button *:prelight { + color: @theme_text_color; +} + +.primary-toolbar GtkComboBox.combobox-entry .button, +GtkComboBox.combobox-entry .button { + border-width: 1 1 1 0; + border-radius: 0 3 3 0; + + padding: 2 3; + -adwaita-focus-fill-color: alpha (@theme_base_color, 0.0); +} + +.primary-toolbar GtkComboBox.combobox-entry .button *:active, +.primary-toolbar GtkComboBox.combobox-entry .button *:prelight, +GtkComboBox.combobox-entry .button *:active, +GtkComboBox.combobox-entry .button *:prelight { + color: @internal_element_prelight; +} + +.primary-toolbar GtkComboBox.combobox-entry .button:active, +.primary-toolbar GtkComboBox.combobox-entry .button:hover:active, +GtkComboBox.combobox-entry .button:active, +GtkComboBox.combobox-entry .button:hover:active { + background-image: -gtk-gradient(linear, + left top, left bottom, + from(shade(@entry_background_a, 0.95)), + color-stop(0.20, shade(@entry_background_b, 0.95)), + color-stop(0.85, shade(@entry_background_c, 0.95)), + to(shade(@entry_background_d, 0.95))); + + box-shadow: 1 0 inset shade(@frame_color, 1.50); +} + +/************** + * Scrollbars * + **************/ + +.scrollbar { + background-image: none; + border-style: solid; + -GtkRange-trough-border: 0; + -GtkRange-arrow-scaling: 0.444; + -GtkRange-slider-width: 15; + -GtkRange-stepper-size: 15; + -GtkScrollbar-min-slider-length: 30; /* minimum size for the slider. sadly can't be in '.slider' where it belongs */ + + -GtkRange-stepper-spacing: 0; + -GtkRange-trough-under-steppers: 0; +} + +.scrollbar.trough { + background-color: shade (@theme_bg_color, 0.882); + border-width: 1; + border-color: #A19D9A; + border-radius: 0; +} + +.scrollbar.trough.horizontal { + background-image: -gtk-gradient (linear, + left top, + left bottom, + color-stop (0, #CECBC9), + color-stop (0.5, #D6D4D2)); +} + +.scrollbar.trough.vertical { + background-image: -gtk-gradient (linear, + left top, + right top, + color-stop (0, #CECBC9), + color-stop (0.5, #D6D4D2)); +} + +.scrollbar.slider { + background-color: @theme_base_color; + border-color: #5E7EA5; + border-radius: 0; + border-width: 1; + + border-image: none; +} + +.scrollbar.slider.horizontal { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#A2C1E7), + color-stop (0.50, #98B9E2), + color-stop (0.50, #90B3DE), + to (#84A9D8)); +} + +.scrollbar.slider.vertical { + background-image: -gtk-gradient (linear, + left top, + right top, + from (#A2C1E7), + color-stop (0.50, #98B9E2), + color-stop (0.50, #90B3DE), + to (#84A9D8)); +} + +.scrollbar.button { + background-color: @theme_base_color; + border-color: #868482; + border-radius: 3; + border-width: 1; + color: #000000; + + border-image: none; +} + +.scrollbar.button.horizontal { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#FDFDFD), + color-stop (0.50, #F2F1F0), + color-stop (0.50, #EBEAE9), + to (#E2E0DF)); +} + +.scrollbar.button.vertical { + background-image: -gtk-gradient (linear, + left top, + right top, + from (#FDFDFD), + color-stop (0.50, #F2F1F0), + color-stop (0.50, #EBEAE9), + to (#E2E0DF)); +} + +.scrollbar.slider.horizontal:prelight { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#ADC9EB), + color-stop (0.50, #A2C1E6), + color-stop (0.50, #9ABBE3), + to (#8DB1DD)); +} + +.scrollbar.slider.vertical:prelight { + background-image: -gtk-gradient (linear, + left top, + right top, + from (#ADC9EB), + color-stop (0.50, #A2C1E6), + color-stop (0.50, #9ABBE3), + to (#8DB1DD)); +} + +.scrollbar.slider:prelight:active { +} + +.scrollbar.button:prelight { + background-color: @theme_base_color; + border-color: #878583; +} + +.scrollbar.button.horizontal:prelight { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#FEFEFE), + color-stop (0.50, #F8F7F6), + color-stop (0.50, #F2F1F0), + to (#E6E5E4)); +} + +.scrollbar.button.vertical:prelight { + background-image: -gtk-gradient (linear, + left top, + right top, + from (#FEFEFE), + color-stop (0.50, #F8F7F6), + color-stop (0.50, #F2F1F0), + to (#E6E5E4)); +} + +.scrollbar.button:prelight:active { + border-color: #827F7D; +} + +.scrollbar.button.horizontal:prelight:active { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#E3E1DF), + color-stop (0.50, #DBD9D7), + color-stop (0.50, #D5D3D1), + to (#CCCAC7)); +} + +.scrollbar.button.vertical:prelight:active { + background-image: -gtk-gradient (linear, + left top, + right top, + from (#E3E1DF), + color-stop (0.50, #DBD9D7), + color-stop (0.50, #D5D3D1), + to (#CCCAC7)); +} + +.scrollbar.button:insensitive { + color: #A9A5A2; + background-color: @theme_base_color; +} + +.scrollbar.slider:insensitive { + background-color: @theme_base_color; +} + +.scrollbar.trough:insensitive { + background-color: shade (@theme_bg_color, 0.882); +} + +/********* + * Menus * + *********/ +/* combobox menus */ +GtkTreeMenu.menu { + background-color: @theme_base_color; +} + +GtkTreeMenu.menu.button { + background-image: none; + background-color: @theme_base_color; + color: @internal_element_color; +} + +GtkTreeMenu.menu.button:hover { + background-image: none; + background-color: @theme_base_color; + color: @theme_text_color; +} + +GtkTreeMenu.menu.button:insensitive { + background-color: @theme_base_color; + color: lighter(@internal_element_color); +} + +GtkTreeMenu .menuitem { + padding: 2; + + border-style: solid; + border-width: 1 0; + border-color: @menu_combobox_border; +} + +GtkTreeMenu .menuitem * { + color: @theme_text_color; +} + +.menu { + background-color: @menu_bg_color; + color: @menu_fg_color; + padding: 0; + border-style: solid; +} + +/* this controls the general appearance of the menubar */ +.menubar { + border-color: @theme_bg_color; + border-width: 0; + border-style: none; + padding: 4; + + -GtkWidget-window-dragging: true; + -GtkMenuBar-internal-padding: 0; + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#ecebea), + color-stop (0.50, #e8e7e6), + to (#e4e3e2)); +} + +.menubar .menuitem { + border-width: 0; + border-style: none; + padding: 3 5; +} + +/* remove the image from the prelight areas */ +.menubar .menuitem:prelight { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#A4C2E8), + color-stop (0.50, #97B8E2), + color-stop (0.50, #91B3DE), + to (#84AAD8)); + + border-radius: 5 5 0 0; +} + +.menubar .menuitem *:prelight { + color: @theme_base_color; +} + +.menuitem { + -GtkMenuItem-arrow-scaling: 0.4; + -adwaita-menuitem-arrow-color: @menu_controls_color; + padding: 4; +} + +.menuitem:active, +.menuitem *:active, +.menuitem:prelight, +.menuitem *:prelight { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (#A4C2E8), + color-stop (0.50, #97B8E2), + color-stop (0.50, #91B3DE), + to (#84AAD8)); + border-color: #4B6E99; + border-width: 1; + border-style: solid; + color: @theme_selected_fg_color; +} + +.menuitem:insensitive, +.menuitem *:insensitive { + /* there is some weird alpha precomposing issues with this - ghosts on dark background */ + color: mix (@menu_fg_color, @menu_bg_color, 0.6); + background-color: shade (@menu_bg_color, 1.10); +} + +.menuitem .accelerator { + color: alpha (@menu_fg_color, 0.4); +} + +.menuitem .accelerator:prelight, +.menuitem .accelerator:active { + color: alpha (@menu_fg_color, 0.3); +} + +.menuitem.separator { + border-color: @menu_separator; + border-style: solid; + border-width: 1; + + -GtkSeparatorMenuItem-horizontal-padding: 0; + -GtkWidget-separator-height: 1; +} + +.menuitem.check, +.menuitem.radio, +.menuitem.check:insensitive, +.menuitem.radio:insensitive { + background-image: none; + background-color: alpha(@theme_base_color, 0.0); +} + +.menuitem.check:active { + background-image: url("assets/checkbox-menuitem-checked.svg"); +} + +.menuitem.check:active:prelight { + background-image: url("assets/checkbox-menuitem-checked-selected.svg"); +} + +.menuitem.radio:active { + background-image: url("assets/radio-menuitem-checked.svg"); +} + +.menuitem.radio:active:prelight { + background-image: url("assets/radio-menuitem-checked-selected.svg"); +} + +/**************** + * Radiobuttons * + ****************/ + +.radio, +.check { + background-color: alpha(@theme_base_color, 0.0); + border-width: 0; + border-style: none; + + /* background-image defined in -assets variant */ +} + +/************ + * Toolbars * + ************/ +.toolbar { + border-style: solid; + border-color: darker (@theme_bg_color); + border-width: 1 0 1 0; + padding: 4; +} + +.toolbar .button { + padding: 2; +} + +.toolbar:insensitive { + color: alpha (@theme_fg_color, 0.6); +} + +/******************** + * Primary Toolbars * + ********************/ + +/* applications using EggEditableToolbar usually set the primary-toolbar + * hint on the containing vbox, so we need to handle both these cases here. + */ +.primary-toolbar .toolbar, +.primary-toolbar.toolbar { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (@toolbar_gradient_base), + color-stop (0.50, @toolbar_gradient_step1), + color-stop (0.50, @toolbar_gradient_step2), + to (@toolbar_gradient_final)); + + border-width: 1 0 1 0; + border-radius: 0; + border-style: solid; + border-top-color: @toolbar_border_top; + border-bottom-color: @toolbar_border_bottom; + + -GtkWidget-window-dragging: true; + -GtkToolbar-button-relief: normal; +} + +.primary-toolbar .toolbar:insensitive, +.primary-toolbar.toolbar:insensitive { + background-image: none; + background-color: shade (@theme_bg_color, 0.97); + + border-image: none; + border-style: solid; + border-color: shade (@theme_bg_color, 0.91); +} + +/* primary toolbar buttons */ +.primary-toolbar .toolbar .button, +.primary-toolbar.toolbar .button { + border-style: none; + border-image: none; + border-radius: 4; + + background-image: none; + background-color: alpha (@theme_base_color, 0.0); + + -adwaita-focus-border-radius: 3; + -adwaita-focus-fill-color: alpha (@theme_base_color, 0.20); + -adwaita-focus-border-gradient: -gtk-gradient (linear, + left top, left bottom, + from (alpha (shade (@toolbar_active_button_color, 1.25), 0.90)), + to (alpha (@toolbar_active_button_color, 0.62))); +} + +.primary-toolbar .toolbar .button:insensitive, +.primary-toolbar.toolbar .button:insensitive { + border-style: none; + + background-image: none; + background-color: alpha (@theme_base_color, 0.0); + -GtkWidget-focus-line-width: 0; +} + +.primary-toolbar .toolbar .button *:insensitive, +.primary-toolbar.toolbar .button *:insensitive { + color: shade (@insensitive_fg_color, 0.85); +} + +.primary-toolbar .toolbar .button:hover, +.primary-toolbar.toolbar .button:hover { + border-style: solid; + border-width: 1; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_hover_gradient_color_a), + color-stop (0.50, @button_hover_gradient_color_b), + color-stop (0.50, @button_hover_gradient_color_c), + to (@button_hover_gradient_color_d)); +} + +.primary-toolbar .toolbar .button:active, +.primary-toolbar.toolbar .button:active { + border-style: solid; + border-width: 1; + /* border-image defined in the -assets variant */ + + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_active_gradient_color_a), + color-stop (0.10, @button_active_gradient_color_b), + color-stop (0.10, @button_active_gradient_color_c), + color-stop (0.50, @button_active_gradient_color_d), + color-stop (0.50, @button_active_gradient_color_e), + to (@button_active_gradient_color_f)); +} + +.primary-toolbar .toolbar .button *:active, +.primary-toolbar.toolbar .button *:active { + color: @theme_fg_color; +} + +.primary-toolbar .toolbar .button:active:hover, +.primary-toolbar.toolbar .button:active:hover { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_hover_gradient_color_a), + color-stop (0.50, @button_hover_gradient_color_b), + color-stop (0.50, @button_hover_gradient_color_c), + to (@button_hover_gradient_color_d)); +} + +.primary-toolbar .toolbar .button *:active:hover, +.primary-toolbar.toolbar .button *:active:hover { + color: @theme_fg_color; +} + +.primary-toolbar .toolbar .button:active:insensitive, +.primary-toolbar.toolbar .button:active:insensitive { + border-color: @insensitive_border_color; + + border-image: none; + border-style: solid; + + background-image: none; +} + +.primary-toolbar .toolbar GtkSeparatorToolItem, +.primary-toolbar.toolbar GtkSeparatorToolItem { + -GtkWidget-wide-separators: 1; + -GtkWidget-separator-width: 1; + + border-style: solid; + border-width: 1; + border-color: shade (@theme_bg_color, 0.56); +} + +/* primary toolbar raised buttons */ +.primary-toolbar .toolbar .raised .button, +.primary-toolbar.toolbar .raised .button, +.primary-toolbar .toolbar .raised.button, +.primary-toolbar.toolbar .raised.button { + border-width: 1; + border-style: none; + padding: 3; + + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_raised_gradient_color_a), + to (@button_raised_gradient_color_b)); + + -GtkWidget-focus-line-width: 2; +} + +.primary-toolbar .toolbar .raised .button:insensitive, +.primary-toolbar.toolbar .raised .button:insensitive, +.primary-toolbar .toolbar .raised.button:insensitive, +.primary-toolbar.toolbar .raised.button:insensitive { + background-image: none; +} + +.primary-toolbar .toolbar .raised .button:hover, +.primary-toolbar.toolbar .raised .button:hover, +.primary-toolbar .toolbar .raised.button:hover, +.primary-toolbar.toolbar .raised.button:hover { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_hover_gradient_color_a), + to (@button_hover_gradient_color_b)); +} + +.primary-toolbar .toolbar .raised .button:active, +.primary-toolbar .toolbar .raised .button:hover:active, +.primary-toolbar.toolbar .raised .button:hover:active, +.primary-toolbar.toolbar .raised .button:active, +.primary-toolbar .toolbar .raised.button:active, +.primary-toolbar .toolbar .raised.button:hover:active, +.primary-toolbar.toolbar .raised.button:hover:active, +.primary-toolbar.toolbar .raised.button:active { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_raised_active_gradient_color_a), + to (@button_raised_active_gradient_color_b)); + background-color: @theme_base_color; +} + +.primary-toolbar .toolbar .raised .button:insensitive:active, +.primary-toolbar.toolbar .raised .button:insensitive:active, +.primary-toolbar .toolbar .raised.button:insensitive:active, +.primary-toolbar.toolbar .raised.button:insensitive:active { + border-style: solid; + border-width: 1; +} + +/* setup shadows */ +.primary-toolbar.toolbar .raised .button, +.primary-toolbar .toolbar .raised .button, +.primary-toolbar.toolbar .raised.button, +.primary-toolbar .toolbar .raised.button { + icon-shadow: 0 1 @theme_base_color; + text-shadow: 0 1 @theme_base_color; +} + +.primary-toolbar.toolbar .raised .button *:active, +.primary-toolbar .toolbar .raised .button *:active, +.primary-toolbar.toolbar .raised .button *:insensitive, +.primary-toolbar .toolbar .raised .button *:insensitive +.primary-toolbar.toolbar .raised.button *:active, +.primary-toolbar .toolbar .raised.button *:active, +.primary-toolbar.toolbar .raised.button *:insensitive, +.primary-toolbar .toolbar .raised.button *:insensitive { + icon-shadow: none; + text-shadow: none; +} + +/* nth-child for linked regions */ +.primary-toolbar.toolbar .raised.linked .button, +.primary-toolbar.toolbar .raised.linked .button:active, +.primary-toolbar.toolbar .raised.linked.button, +.primary-toolbar.toolbar .raised.linked.button:active { + border-width: 1 0; + border-radius: 0; + + box-shadow: inset 1 0 @button_raised_linked_shadow; +} + +.primary-toolbar.toolbar .raised.linked.button:nth-child(first), +.primary-toolbar.toolbar .raised.linked.button:active:nth-child(first), +.primary-toolbar.toolbar .raised.linked:nth-child(first) .button, +.primary-toolbar.toolbar .raised.linked:nth-child(first) .button:active { + border-width: 1 0 1 1; + + box-shadow: none; +} + +.primary-toolbar.toolbar .raised.linked.button:nth-child(last), +.primary-toolbar.toolbar .raised.linked.button:active:nth-child(last), +.primary-toolbar.toolbar .raised.linked:nth-child(last) .button, +.primary-toolbar.toolbar .raised.linked:nth-child(last) .button:active { + border-width: 1 1 1 0; +} + +.primary-toolbar.toolbar .entry { + background-color: @primary_toolbar_entry_bg; + color: @primary_toolbar_entry_fg; +} + +/* progressbars on primary toolbar entries are special */ +.primary-toolbar .toolbar .entry.progressbar, +.primary-toolbar.toolbar .entry.progressbar { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@trough_bg_color_a), + to (@trough_bg_color_b)); + + border-width: 1; + border-radius: 2; + border-style: solid; + border-color: shade(@internal_element_color, 1.10); + border-image: none; + + color: @theme_text_color; + + -adwaita-progressbar-pattern: none; +} + +/******************* + * Inline toolbars * + *******************/ + +.inline-toolbar.toolbar { + border-width: 1; + border-radius: 0; + border-style: solid; + + -GtkToolbar-button-relief: normal; + + padding: 4; + + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (@toolbar_gradient_base), + color-stop (0.16, @toolbar_gradient_step1), + color-stop (0.90, @toolbar_gradient_step2), + color-stop (0.98, @toolbar_gradient_final), + color-stop (0.99, shade (@theme_bg_color, 0.83)), + to (shade (@theme_bg_color, 0.83))); +} + +.inline-toolbar.toolbar:nth-child(last) { + border-width: 0 1 1 1; + border-radius: 0 0 3 3; +} + +/* setup shadows */ +.inline-toolbar.toolbar .button { + padding: 1; + icon-shadow: 0 1 @theme_base_color; + + border-image: none; + border-color: shade(@button_border, 0.95); + border-radius: 0; + border-width: 1 0 1 1; + border-style: solid; + + box-shadow: inset 1 1 alpha(@theme_base_color, 0.50); +} + +.inline-toolbar.toolbar .button:insensitive { + border-color: shade(@button_border, 0.95); + box-shadow: none; + + background-color: alpha(@theme_base_color, 0.0); + background-image: none; +} + +.inline-toolbar.toolbar .button *:active, +.inline-toolbar.toolbar .button *:insensitive { + icon-shadow: none; +} + +/* nth-child for inline toolbar button groups */ +.inline-toolbar.toolbar .button:nth-child(first), +.inline-toolbar.toolbar GtkToolButton:nth-child(first) .button { + border-radius: 3 0 0 3; + box-shadow: none; +} + +.inline-toolbar.toolbar .button:nth-child(last), +.inline-toolbar.toolbar GtkToolButton:nth-child(last) .button { + border-radius: 0 3 3 0; + border-width: 1; +} + +/*********** + * Sidebar * + ***********/ +.sidebar, +.sidebar .view { + background-color: @theme_base_color; +} + +.sidebar .scrollbar.trough { + background-color: @theme_base_color; +} + +/**************** + * GtkAssistant * + ****************/ +GtkAssistant .sidebar .highlight { + color: @theme_fg_color; + font: bold; +} + +GtkAssistant .sidebar { + padding: 12; + + border-width: 1; + border-radius: 2; + border-style: solid; + border-color: @inactive_frame_color; + + color: mix (@theme_fg_color, @theme_bg_color, 0.40); + + background-color: shade (@theme_bg_color, 0.97); +} + +/************* + * GtkSwitch * + *************/ + +GtkSwitch { + font: bold condensed 10; +} + +GtkSwitch.trough { + color: shade (@internal_element_color, 0.60); + + border-radius: 1; + border-width: 1; + border-style: none; + /* border-image defined in the -assets variant */ + + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@trough_bg_color_a), + to (@trough_bg_color_b)); +} + +GtkSwitch.trough:active { + color: @theme_base_color; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@active_switch_bg_color_a), + to (@active_switch_bg_color_b)); +} + +GtkSwitch.trough:insensitive { + background-image: none; + background-color: shade (@theme_bg_color, 0.9); + + border-image: none; + border-style: solid; +} + +GtkSwitch.slider { + border-width: 1; + border-radius: 1; + border-style: none; + /* border-image defined in -assets variant */ + + padding: 2; + + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@theme_base_color), + to (@switch_slider_color)); + + -adwaita-switch-grip-color: shade (@switch_slider_color, 0.97); +} + +GtkSwitch.slider:active { + border-color: @switch_slider_border; +} + +GtkSwitch.slider:insensitive { + border-image: none; + + background-image: none; + background-color: @insensitive_bg_color; +} + +GtkViewport, +GtkIconView { + border-radius: 3; + padding: 0; +} + +GtkIconView.view.cell:selected, +GtkIconView.view.cell:selected:focused { + background-color: #7fa5d5; + border-radius: 4; + + /* FIXME: this probably needs to be better; + * see https://bugzilla.gnome.org/show_bug.cgi?id=644157 + */ + -adwaita-focus-border-color: @treeview_focus_border; + -adwaita-focus-border-radius: 3; + -adwaita-focus-border-dashes: 0; +} + +.view { + background-color: #ffffff; + color: @theme_fg_color; + border-radius: 0; +} + +GtkTreeView { + -GtkTreeView-vertical-separator: 0; + -GtkTreeView-expander-size: 17; + + -GtkWidget-focus-line-width: 1; + -GtkWidget-focus-padding: 1; + -adwaita-focus-border-radius: 2; + -adwaita-focus-border-dashes: 1; + -adwaita-focus-border-color: mix(@theme_selected_fg_color, #7fa5d5, 0.30); +} + +GtkTreeView.separator { + background-color: darker (@theme_bg_color); +} + +GtkTreeView row:nth-child(even) { + background-color: #EDECEB; +} + +GtkTreeView row:nth-child(odd):hover { + background-color: #ffffff; +} + +column-header { + padding: 1 2; +} + +column-header .button { + border-width: 0 1 1 0; + border-radius: 0; + border-style: solid; + + border-image: -gtk-gradient(linear, + left top, left bottom, + from(@button_border), + to(shade (@button_border, 1.23))) 1 stretch; +} + +column-header .button GtkArrow { + color: @internal_element_color; +} + +column-header:nth-child(last) .button { + border-width: 0 0 1 0; +} + +row:hover { + border-width: 0; +} + +row:insensitive { + border-width: 0; +} + +row:selected:focused { + border-width: 0; + background-color: #7fa5d5; +} + +row:selected { + border-width: 0; + background-image: -gtk-gradient (linear, + left top, left bottom, + from (#7fa5d5), + color-stop(0.50, #6f98cb), + color-stop(0.50, #749cce), + to (#658fc4)); +} + +.cell { + color: @theme_text_color; + padding: 2; + border-width: 0; +} + +.cell:selected { + background-color: #7fa5d5; +} + +.expander { + border-style: solid; + border-width: 1; + border-radius: 2; + border-color: shade (@internal_element_color, 1.40); + + color: @internal_element_color; + background-color: @theme_base_color; +} + +.expander:active { + border-style: solid; + border-width: 1; + + color: @internal_element_color; + border-color: shade (@internal_element_color, 1.40); + + background-color: @theme_base_color; +} + +.expander:prelight { + border-style: solid; + border-width: 1; + + color: @internal_element_color; + border-color: shade (@internal_element_color, 1.40); + + background-color: #000000; +} + +.expander row:selected, +.expander row:selected:focused { + border-style: solid; + border-width: 1; + + border-color: @expander_row_selected_color; + color: @expander_row_selected_color; + background-color: #7fa5d5; +} + +/* Calendars */ +GtkCalendar { + padding: 2; +} + +GtkCalendar.view { + border-radius: 3; + border-style: solid; + border-width: 1; + padding: 2; +} + +GtkCalendar.header { + border-radius: 0; + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (shade (@theme_bg_color, 1.04)), + to (shade (@theme_bg_color, 0.89))); + border-width: 0; +} + +GtkCalendar.button { + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (rgba (0, 0, 0, 0)), + to (rgba (0, 0, 0, 0))); +} + +.highlight, +GtkCalendar.highlight { + background-color: #7fa5d5; + color: @theme_selected_fg_color; + border-radius: 0; + padding: 0; + border-width: 0; +} + +.info { + background-color: @info_bg_color; + color: @info_fg_color; +} + +.warning { + background-color: @warning_bg_color; + color: @warning_fg_color; +} + +.question { + background-color: @question_bg_color; + color: @question_fg_color; +} + +.error { + background-color: @error_bg_color; + color: @error_fg_color; +} + +.dim-label { + color: mix (@theme_fg_color, @theme_bg_color, 0.50); +} + +.dim-label:focused, +.dim-label:selected, +.dim-label:selected:focused { + color: mix (@theme_selected_fg_color, @theme_base_color, 0.50); +} + +ApDocView, /* Abiword */ +EogScrollView, /* Eog */ +CheeseThumbView /* Cheese */ +{ + background-color: @chrome_bg_color; + -EogScrollView-shadow-type: none; +} + +/* gnome-terminal */ +TerminalScreen { + background-color: @theme_base_color; + color: @theme_fg_color; + -TerminalScreen-background-darkness: 0.95; +} + +/********************** + * Fallback Mode Panel + **********************/ + +PanelWidget, +PanelApplet, +PanelApplet > GtkMenuBar.menubar, +.gnome-panel-menu-bar, +PanelMenuBar.menubar, +PanelToplevel { + background-color: #EDECEB; + background-image: none; + color: @os_chrome_fg_color; +} + +PanelAppletFrame { + background-color: #D4D4D4; + background-image: none; + color: @os_chrome_fg_color; +} + +PanelApplet > GtkMenuBar.menubar.menuitem:prelight, +.gnome-panel-menu-bar.menuitem:prelight { + background-color: @os_chrome_selected_bg_color; + color: @os_chrome_selected_fg_color; + border-color: lighter (@os_chrome_selected_bg_color); +} + +/* panel buttons (clock, tasklist etc) */ +PanelApplet GtkToggleButton { + background-color: @os_chrome_bg_color; + background-image: none; + border-color: @os_chrome_bg_color; + border-width: 1; + color: @os_chrome_fg_color; +} + +PanelApplet GtkToggleButton:prelight:active, +PanelApplet GtkToggleButton:active { + background-color: @os_chrome_selected_bg_color; + background-image: none; + border-color: lighter (@os_chrome_selected_bg_color); + border-width: 1; + color: @os_chrome_selected_fg_color; +} + +PanelApplet GtkToggleButton:prelight { + background-color: @os_chrome_bg_color; + background-image: none; + border-color: @os_chrome_bg_color; + border-width: 1; + color: @os_chrome_selected_fg_color; +} + +PanelApplet .button, PanelApplet .button:prelight, PanelApplet .button:prelight:active { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (#FEFEFE), + color-stop (0.50, #FBFBFB), + color-stop (0.50, #F6F6F5), + to (#E8E7E6)); +} + +PanelApplet .button:active { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (#CCC9C7), + color-stop (0.15, #D7D5D3), + color-stop (0.15, #D5D3D1), + color-stop (0.50, #D0CECC), + color-stop (0.50, #CBC9C6), + to (#C0BDBA)); +} + +NaTrayApplet { + -NaTrayApplet-icon-padding: 7; + -NaTrayApplet-icon-size: 22; +} + +WnckTasklist { + background-color: @os_chrome_selected_bg_color; + background-image: none; + color: @os_chrome_fg_color; +} + +WnckPager { + background-color: #F0F0F0; + background-image: none; + color: @os_chrome_fg_color; +} + +GsmFailWhaleDialog, +GsmFailWhaleDialog * { + background-color: @os_chrome_bg_color; + background-image: none; + color: @os_chrome_fg_color; +} diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk.css b/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk.css new file mode 100644 index 00000000..4653d1ba --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/gtk.css @@ -0,0 +1,165 @@ +/* Default color scheme */ +@define-color base_color #ffffff; +@define-color bg_color #ededed; +@define-color tooltip_bg_color #F5F5B5; +@define-color selected_bg_color #7fa5d5; +@define-color text_color #000000; +@define-color fg_color #000000; +@define-color tooltip_fg_color #000000; +@define-color selected_fg_color #ffffff; + +/* Colormap actually used by the theme, to be overridden in other css files */ +@define-color theme_base_color @base_color; +@define-color theme_text_color #000000; +@define-color theme_bg_color @bg_color; +@define-color theme_fg_color #000000; +@define-color theme_tooltip_bg_color @tooltip_bg_color; +@define-color theme_tooltip_fg_color @tooltip_fg_color; +@define-color theme_selected_bg_color @selected_bg_color; +@define-color theme_selected_fg_color @selected_fg_color; + +@define-color menu_bg_color shade (@theme_bg_color, 1.1); +@define-color menu_fg_color @theme_fg_color; +@define-color menu_controls_color shade (@theme_fg_color, 0.9); +@define-color menu_combobox_border #3277bf; +@define-color menu_separator mix (@menu_fg_color, @menu_bg_color, 0.9); + +@define-color link_color #4a90d9; +@define-color frame_color #8a9580; +@define-color inactive_frame_color #8C8A87; +@define-color warning_color #f57900; +@define-color error_color #cc0000; +@define-color success_color #4e9a06; + +@define-color info_fg_color rgb (181, 171, 156); +@define-color info_bg_color rgb (252, 252, 189); +@define-color warning_fg_color rgb (173, 120, 41); +@define-color warning_bg_color rgb (250, 173, 61); +@define-color question_fg_color rgb (97, 122, 214); +@define-color question_bg_color rgb (138, 173, 212); +@define-color error_fg_color rgb (166, 38, 38); +@define-color error_bg_color rgb (237, 54, 54); + +@define-color keyboard_focus_border_a #a2c9f1; +@define-color keyboard_focus_border_b #6794cf; + +@define-color os_chrome_bg_color black; +@define-color os_chrome_fg_color black; +@define-color os_chrome_selected_bg_color #333; +@define-color os_chrome_selected_fg_color white; + +@define-color chrome_bg_color #1e1a17; +@define-color chrome_fg_color #ffffff; + +@define-color focused_entry_border #4B6E99; +@define-color focused_entry_inset #C3D4EA; + +@define-color button_gradient_color_a #ffffff; +@define-color button_gradient_color_b #fbfbfb; +@define-color button_gradient_color_c #f5f5f5; +@define-color button_gradient_color_d #e8e8e8; +@define-color button_border #a7aba7; + +@define-color button_active_gradient_color_a #ccc9c7; +@define-color button_active_gradient_color_b #d7d5d3; +@define-color button_active_gradient_color_c #d5d3d1; +@define-color button_active_gradient_color_d #d0cecc; +@define-color button_active_gradient_color_e #cbc9c6; +@define-color button_active_gradient_color_f #c0bdba; + +@define-color button_hover_gradient_color_a #ffffff; +@define-color button_hover_gradient_color_b #ffffff; +@define-color button_hover_gradient_color_c #fafafa; +@define-color button_hover_gradient_color_d #ededed; + +@define-color button_raised_gradient_color_a @button_gradient_color_a; +@define-color button_raised_gradient_color_b @button_gradient_color_b; +@define-color button_raised_linked_shadow alpha(@theme_base_color, 0.70); + +@define-color button_raised_active_gradient_color_a @button_active_gradient_color_a; +@define-color button_raised_active_gradient_color_b alpha(@button_active_gradient_color_b, 0.13); + +@define-color insensitive_bg_color #f4f4f2; +@define-color insensitive_fg_color #a7aba7; +@define-color insensitive_border_color shade (@internal_element_color, 1.37); + +@define-color trough_bg_color_a #E7E5E4; +@define-color trough_bg_color_b #F0EFEE; + +@define-color active_switch_bg_color_a #79A0D1; +@define-color active_switch_bg_color_b #99BAE3; + +@define-color switch_slider_color #eeeeec; +@define-color switch_slider_border #2a79cb; + +@define-color progressbar_background_a #76b0ec; +@define-color progressbar_background_b #1f72c6; +@define-color progressbar_pattern #2F5473; + +@define-color entry_text_color @theme_text_color; + +@define-color entry_background_a #e1e1e1; +@define-color entry_background_b #f8f8f8; +@define-color entry_background_c #fafafa; +@define-color entry_background_d @theme_base_color; + +@define-color internal_element_color #888a85; +@define-color internal_element_prelight @theme_text_color; +@define-color internal_element_insensitive shade (@internal_element_color, 1.6); + +@define-color scale_fill @insensitive_border_color; +@define-color scale_border_a @internal_element_color; +@define-color scale_border_b shade (@internal_element_color, 1.25); +@define-color scale_progress_fill #2c85e2; +@define-color scale_progress_border_a #1864b2; +@define-color scale_progress_border_b #3e90e5; + +@define-color highlighted_border #8a8f8a; + +@define-color notebook_border #a6a6a6; +@define-color notebook_active_tab_border @notebook_border; +@define-color notebook_selected_tab_color @theme_selected_bg_color; + +@define-color notebook_tab_gradient_a @theme_base_color; +@define-color notebook_tab_gradient_b @switch_slider_color; + +@define-color toolbar_gradient_base #F5F5F4; +@define-color toolbar_gradient_step1 #F0EFEE; +@define-color toolbar_gradient_step2 #edeceb; +@define-color toolbar_gradient_final #E7E5E4; + +@define-color toolbar_border_top #C4C2BF; +@define-color toolbar_border_bottom #C4C2BF; + +@define-color toolbar_active_button_color #909081; + +@define-color primary_toolbar_entry_bg @theme_base_color; +@define-color primary_toolbar_entry_fg @theme_text_color; + +@define-color treeview_focus_border @progressbar_border; + +@define-color expander_row_selected_color #acccee; + +@define-color wm_highlight #ffffff; +@define-color wm_title_highlight #ffffff; + +@define-color wm_bg_a shade (@bg_color, 1.1); +@define-color wm_bg_b @bg_color; + +@define-color wm_button_bg_a shade (@bg_color, 1.0); +@define-color wm_button_bg_b shade (@bg_color, 0.85); +@define-color wm_button_bg_c shade (@bg_color, 0.8); +@define-color wm_button_bg_d shade (@bg_color, 0.9); + +@define-color wm_button_bg_hover_a shade (@wm_button_bg_a, 1.1); +@define-color wm_button_bg_hover_b shade (@wm_button_bg_b, 1.1); +@define-color wm_button_bg_hover_c shade (@wm_button_bg_c, 1.1); +@define-color wm_button_bg_hover_d shade (@wm_button_bg_d, 1.1); + +@define-color wm_button_bg_active_a shade (@bg_color, 0.7); +@define-color wm_button_bg_active_b shade (@bg_color, 0.9); +@define-color wm_button_bg_active_c shade (@bg_color, 0.9); + +@import url("gtk-widgets.css"); +@import url("gtk-widgets-assets.css"); +/*@import url("apps/nautilus.css");*/ diff --git a/gtk-themes/TraditionalOkClassic/gtk-3.0/settings.ini b/gtk-themes/TraditionalOkClassic/gtk-3.0/settings.ini new file mode 100644 index 00000000..a69add64 --- /dev/null +++ b/gtk-themes/TraditionalOkClassic/gtk-3.0/settings.ini @@ -0,0 +1,4 @@ +[Settings] +gtk-color-scheme = "base_color:#ffffff\nbg_color:#ededed\ntooltip_bg_color:#343434\nselected_bg_color:#4a90d9\ntext_color:#2e3436\nfg_color:#2e3436;\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff" +gtk-auto-mnemonics = 1 +gtk-visible-focus = automatic diff --git a/gtk-themes/TraditionalOkClassic/gtkrc b/gtk-themes/TraditionalOkClassic/gtkrc deleted file mode 100644 index ae9397f5..00000000 --- a/gtk-themes/TraditionalOkClassic/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" -- cgit v1.2.1