From 823aff4c16279c6c5140e768995e9721c022d80b Mon Sep 17 00:00:00 2001 From: bionel Date: Sun, 9 Aug 2015 14:22:47 +0300 Subject: fixing sidepanel for caja. changed xfce panel --- Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.png | Bin 0 -> 450 bytes Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.svg | 92 +++++++++++ Kogaion-nighttime/gtk-2.0/Panel/panel-bg.svg | 12 ++ .../gtk-2.0/Panel/panel-button-active.png | Bin 0 -> 363 bytes .../gtk-2.0/Panel/panel-button-hover.png | Bin 0 -> 371 bytes .../gtk-2.0/Panel/panel-button-inactive.png | Bin 0 -> 166 bytes .../gtk-2.0/app-styles/file-manager.rc | 36 ++++ .../gtk-2.0/app-styles/panel (copy).rc | 101 ++++++++++++ Kogaion-nighttime/gtk-2.0/app-styles/panel.rc | 182 +++++++++++++++++++++ Kogaion-nighttime/gtk-2.0/app-styles/terminal.rc | 41 +++++ Kogaion-nighttime/gtk-2.0/apps/panel.rc | 101 ------------ Kogaion-nighttime/gtk-2.0/apps/terminal.rc | 41 ----- Kogaion-nighttime/gtk-2.0/apps/thunar.rc | 29 ---- Kogaion-nighttime/gtk-2.0/gtkrc | 6 +- 14 files changed, 467 insertions(+), 174 deletions(-) create mode 100755 Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.png create mode 100755 Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Panel/panel-bg.svg create mode 100644 Kogaion-nighttime/gtk-2.0/Panel/panel-button-active.png create mode 100644 Kogaion-nighttime/gtk-2.0/Panel/panel-button-hover.png create mode 100644 Kogaion-nighttime/gtk-2.0/Panel/panel-button-inactive.png create mode 100755 Kogaion-nighttime/gtk-2.0/app-styles/file-manager.rc create mode 100755 Kogaion-nighttime/gtk-2.0/app-styles/panel (copy).rc create mode 100644 Kogaion-nighttime/gtk-2.0/app-styles/panel.rc create mode 100755 Kogaion-nighttime/gtk-2.0/app-styles/terminal.rc delete mode 100755 Kogaion-nighttime/gtk-2.0/apps/panel.rc delete mode 100755 Kogaion-nighttime/gtk-2.0/apps/terminal.rc delete mode 100755 Kogaion-nighttime/gtk-2.0/apps/thunar.rc (limited to 'Kogaion-nighttime') diff --git a/Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.png b/Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.png new file mode 100755 index 0000000..6a69afe Binary files /dev/null and b/Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.png differ diff --git a/Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.svg b/Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.svg new file mode 100755 index 0000000..ee6900a --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Panel/panel-bg-new.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Panel/panel-bg.svg b/Kogaion-nighttime/gtk-2.0/Panel/panel-bg.svg new file mode 100755 index 0000000..4dc0f27 --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Panel/panel-bg.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Panel/panel-button-active.png b/Kogaion-nighttime/gtk-2.0/Panel/panel-button-active.png new file mode 100644 index 0000000..6fe52ae Binary files /dev/null and b/Kogaion-nighttime/gtk-2.0/Panel/panel-button-active.png differ diff --git a/Kogaion-nighttime/gtk-2.0/Panel/panel-button-hover.png b/Kogaion-nighttime/gtk-2.0/Panel/panel-button-hover.png new file mode 100644 index 0000000..67b8b20 Binary files /dev/null and b/Kogaion-nighttime/gtk-2.0/Panel/panel-button-hover.png differ diff --git a/Kogaion-nighttime/gtk-2.0/Panel/panel-button-inactive.png b/Kogaion-nighttime/gtk-2.0/Panel/panel-button-inactive.png new file mode 100644 index 0000000..309c39c Binary files /dev/null and b/Kogaion-nighttime/gtk-2.0/Panel/panel-button-inactive.png differ diff --git a/Kogaion-nighttime/gtk-2.0/app-styles/file-manager.rc b/Kogaion-nighttime/gtk-2.0/app-styles/file-manager.rc new file mode 100755 index 0000000..92afeca --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/app-styles/file-manager.rc @@ -0,0 +1,36 @@ +style "sidepane" +{ + base[NORMAL] = mix (0.5, @window_active_color, @bg_color) # backgroung + bg[NORMAL] = shade (0.91, @base_color) +# bg[PRELIGHT] = @base_color + + engine "murrine" + { + contrast = 0.80 + } +} + +# Thunar + +style "thunar-path-entry-increased-style" +{ + ThunarPathEntry::icon-size = 16 +} +class "ThunarPathEntry" style "thunar-path-entry-increased-style" + +style "thunar-location-buttons" +{ + ThunarLocationButtons::spacing = 0 +} +class "ThunarLocationButtons" style "thunar-location-buttons" + +widget_class "*ThunarShortcutsView*" style "sidepane" +widget_class "*ThunarTreeView*" style "sidepane" +widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" + +# Caja + +widget_class "*CajaSidePane*" style "sidepane" +# widget_class "*CajaPathBar.*ToggleButton*" style:highest "test" +# widget "*CajaNavigationWindow*GtkHPaned*" style "test" +# widget_class "*CajaNotebook" style "test" diff --git a/Kogaion-nighttime/gtk-2.0/app-styles/panel (copy).rc b/Kogaion-nighttime/gtk-2.0/app-styles/panel (copy).rc new file mode 100755 index 0000000..1d00ae3 --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/app-styles/panel (copy).rc @@ -0,0 +1,101 @@ +style "theme-panel" +{ + xthickness = 2 + ythickness = 2 + + bg_pixmap[NORMAL] = "/Panel/panel-bg.png" + bg[NORMAL] = @window_active_color # mate-panel need it + + fg[NORMAL] = lighter(@fg_color) + fg[PRELIGHT] = @fg_color + + text[NORMAL] = @fg_color + text[PRELIGHT] = @text_color +} + +style "theme-panel-text" +{ + fg[NORMAL] = lighter(@fg_color) + fg[PRELIGHT] = @fg_color + fg[ACTIVE] = lighter(@fg_color) + + text[NORMAL] = @fg_color + text[PRELIGHT] = @fg_color + text[ACTIVE] = @base_color +} + +style "panel-entry" +{ + fg[NORMAL] = @text_color + fg[PRELIGHT] = @text_color + fg[ACTIVE] = @text_color + fg[SELECTED] = @text_color + fg[INSENSITIVE] = @text_color + + text[NORMAL] = @text_color + text[PRELIGHT] = @text_color + text[ACTIVE] = @text_color + text[SELECTED] = @text_color + text[INSENSITIVE] = @text_color + +} + +style "theme-main-menu-text" = "theme-panel-text" +{ + fg[PRELIGHT] = "#ffffff" + text[PRELIGHT] = "#ffffff" +} + +style "workspace-switcher" = "theme-panel" +{ + bg[SELECTED] = shade (1.4, @selected_bg_color) +} + +widget "*PanelWidget*" style "theme-panel" +widget "*PanelApplet*" style "theme-panel" +widget "*fast-user-switch*" style "theme-panel" +widget "*CPUFreq*Applet*" style "theme-panel" +widget "*indicator-applet*" style "theme-panel" +class "PanelApp*" style "theme-panel" +class "PanelToplevel*" style "theme-panel" +widget_class "*PanelToplevel*" style "theme-panel" +widget_class "*notif*" style "theme-panel" +widget_class "*Notif*" style "theme-panel" +widget_class "*Tray*" style "theme-panel" +widget_class "*tray*" style "theme-panel" +widget_class "*computertemp*" style "theme-panel" +widget_class "*Applet*Tomboy*" style "theme-panel" +widget_class "*Applet*Netstatus*" style "theme-panel" + +# Fixes for tooltip text in some apps. +widget_class "*Notif*Beagle*" style "theme-panel" +widget_class "*Notif*Brasero*" style "theme-panel" + +# XFCE panel theming. +widget "*Xfce*Panel*" style "theme-panel" +class "*Xfce*Panel*" style "theme-panel" +widget "*WnckPager*" style "workspace-switcher" + +# Fix gtk-entries in the panel +#class "GtkEntry" style "test" +#class "*SexyIconEntry*" style:highest "test" # fixes dict-plugin +#widget "*xfce4-verve-plugin*GtkEntry" style:highest "test" # fixes verve-plugin + +# Make sure panel text color doesn't change +widget_class "*Panel*MenuBar*" style "theme-main-menu-text" +widget_class "*Panel**" style "theme-main-menu-text" +widget "*.clock-applet-button.*" style "theme-panel-text" +widget "*PanelApplet*" style "theme-panel-text" + +# dark menus +#widget_class "**" style "test" +#widget_class "**" style "test" +#widget_class "*.*." style "test" +#widget_class "*.*." style "panel-entry" +#widget_class "*.*." style "test" +#widget_class "**" style "test" +#widget "*.gtk-combobox-popup-menu.*" style "test" + +# dark bg and black text for gdm's panel +#widget_class "*GdmGreeterPanel*" style "panel-entry" +#widget "*GdmClockWidget*" style "test" diff --git a/Kogaion-nighttime/gtk-2.0/app-styles/panel.rc b/Kogaion-nighttime/gtk-2.0/app-styles/panel.rc new file mode 100644 index 0000000..030a873 --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/app-styles/panel.rc @@ -0,0 +1,182 @@ +style "xfce-panel" +{ + xthickness = 2 # The spacing (padding) inside and between applets. Add a lower value for a more compact look. + ythickness = 2 + + bg_pixmap[NORMAL] = "/Panel/panel-bg-new.svg" # Disable for normal panel backgrounds. + bg[NORMAL] = @selected_bg_color + + fg[NORMAL] = lighter (@fg_color) + fg[PRELIGHT] = shade (1.75, @selected_bg_color) + fg[ACTIVE] = lighter (@fg_color) + + text[NORMAL] = @fg_color + text[PRELIGHT] = @text_color +# text[ACTIVE] = @test1 + + engine "pixmap" { + image { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Panel/panel-button-inactive.png" + border = { 4, 4, 1, 1 } + stretch = TRUE + } + image { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Panel/panel-button-hover.png" + border = { 4, 4, 1, 1 } + stretch = TRUE + } + image { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Panel/panel-button-active.png" + border = { 4, 4, 1, 1 } + stretch = TRUE + } + image { + function = BOX + recolorable = TRUE + state = SELECTED + file = "Panel/panel-button-active.png" + border = { 4, 4, 1, 1 } + stretch = TRUE + } + image { + function = BOX + recolorable = TRUE + state = INSENSITIVE + + } + } +} + +style "other-panel" +{ + bg_pixmap[NORMAL] = "/Panel/panel-bg-new.svg" # Disable for normal panel backgrounds. + bg[NORMAL] = shade (0.70, @window_active_color) + + fg[NORMAL] = @bg_color + fg[PRELIGHT] = shade (0.9, @bg_color) + fg[ACTIVE] = @bg_color + + text[NORMAL] = @fg_color + text[PRELIGHT] = @text_color + text[ACTIVE] = @fg_color + + engine "murrine" { + } +} + +style "theme-panel-light" +{ + xthickness = 1 + ythickness = 0 + + fg[NORMAL] = @fg_color + + engine "murrine" { + textstyle = 0 + roundness = 0 + } +} + +style "theme-panel-text" +{ + fg[NORMAL] = @fg_color + fg[PRELIGHT] = "#ffffff" + fg[ACTIVE] = "#f5f5f5" + text[NORMAL] = "#f5f5f5" + text[PRELIGHT] = "#ffffff" + text[ACTIVE] = "#f5f5f5" + + bg[NORMAL] = @test2 + + engine "murrine" { } +} + +style "theme-main-menu-text" = "theme-panel-text" +{ + fg[PRELIGHT] = "#ffffff" + text[PRELIGHT] = "#ffffff" +} + +style "theme-panel-handle" +{ + engine "pixmap" { + image { + function = HANDLE + } + image { + function = HANDLE + } + } +} + +widget "*PanelWidget*" style "other-panel" +widget "*PanelApplet*" style "other-panel" +widget "*fast-user-switch*" style "other-panel" +widget "*CPUFreq*Applet*" style "other-panel" +widget "*indicator-applet*" style "other-panel" +class "PanelApp*" style "other-panel" +class "PanelToplevel*" style "other-panel" +widget_class "*PanelToplevel*" style "other-panel" +widget_class "*notif*" style "other-panel" +widget_class "*Notif*" style "other-panel" +widget_class "*Tray*" style "other-panel" +widget_class "*tray*" style "other-panel" +widget_class "*computertemp*" style "other-panel" +widget_class "*Applet*Tomboy*" style "other-panel" +widget_class "*Applet*Netstatus*" style "other-panel" + +# Fixes for tooltip text in some apps. +widget_class "*Notif*Beagle*" style "theme-panel-light" +widget_class "*Notif*Brasero*" style "theme-panel-light" + +# XFCE panel theming. +widget "*Xfce*Panel*" style "xfce-panel" +class "*Xfce*Panel*" style "xfce-panel" + +# lxpanel and fbpanel +widget "*.tclock.*" style "other-panel" +widget "*.taskbar.*" style "other-panel" +widget_class "*GtkBgbox*" style "other-panel" + +# Make sure panel text color doesn't change +widget_class "*Panel*MenuBar*" style "theme-main-menu-text" +widget_class "*Panel**" style "theme-main-menu-text" +widget "*.clock-applet-button.*" style "theme-panel-text" +widget "*PanelApplet*" style "theme-panel-text" + +# Hide ugly handle +class "PanelAppletFrame" style:highest "theme-panel-handle" + +# The following removes the arrows from the panel + +style "panel-arrow-remove" { +engine "pixmap" { + image { + function = ARROW + recolorable = TRUE + overlay_file = "Panel/arrow-blank.png" + overlay_border = {2,2,2,2} + overlay_stretch = FALSE + arrow_direction = UP + } + image { + function = ARROW + recolorable = TRUE + overlay_file = "Panel/arrow-blank.png" + overlay_border = {2,2,2,2} + overlay_stretch = FALSE + arrow_direction = DOWN + } + } +} + +widget_class "*PanelToplevel*" style "panel-arrow-remove" diff --git a/Kogaion-nighttime/gtk-2.0/app-styles/terminal.rc b/Kogaion-nighttime/gtk-2.0/app-styles/terminal.rc new file mode 100755 index 0000000..609aab5 --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/app-styles/terminal.rc @@ -0,0 +1,41 @@ +style "terminal" +{ + + bg[NORMAL] = @bg_color + bg[ACTIVE] = @bg_color + bg[PRELIGHT] = @bg_color + bg[SELECTED] = @bg_color + base[NORMAL] = @bg_color +} + +style "terminal-notebook" +{ + bg[NORMAL] = darker(@window_active_color) # bg selected tab + bg[ACTIVE] = @window_active_color + fg[NORMAL] = @fg_color # text selected tab + fg[ACTIVE] = @bg_color + + engine "murrine" + { + contrast = 0.0 + } +} + +style "notebook-button" { + xthickness = 0 + ythickness = 0 + bg[ACTIVE] = shade (0.68, @sidebar_background) + bg[PRELIGHT] = shade (0.75, @sidebar_background) + engine "murrine" + { + gradient_shades = {1.00,1.00,1.00,1.00} + contrast = 0.6 + roundness = 0 + } +} + +class "*TerminalWindow" style "terminal" +widget_class "TerminalWindow*GtkNotebook" style "terminal-notebook" +widget_class "TerminalWindow**" style "terminal-notebook" +widget_class "TerminalWindow**" style "notebook-button" + diff --git a/Kogaion-nighttime/gtk-2.0/apps/panel.rc b/Kogaion-nighttime/gtk-2.0/apps/panel.rc deleted file mode 100755 index 1d00ae3..0000000 --- a/Kogaion-nighttime/gtk-2.0/apps/panel.rc +++ /dev/null @@ -1,101 +0,0 @@ -style "theme-panel" -{ - xthickness = 2 - ythickness = 2 - - bg_pixmap[NORMAL] = "/Panel/panel-bg.png" - bg[NORMAL] = @window_active_color # mate-panel need it - - fg[NORMAL] = lighter(@fg_color) - fg[PRELIGHT] = @fg_color - - text[NORMAL] = @fg_color - text[PRELIGHT] = @text_color -} - -style "theme-panel-text" -{ - fg[NORMAL] = lighter(@fg_color) - fg[PRELIGHT] = @fg_color - fg[ACTIVE] = lighter(@fg_color) - - text[NORMAL] = @fg_color - text[PRELIGHT] = @fg_color - text[ACTIVE] = @base_color -} - -style "panel-entry" -{ - fg[NORMAL] = @text_color - fg[PRELIGHT] = @text_color - fg[ACTIVE] = @text_color - fg[SELECTED] = @text_color - fg[INSENSITIVE] = @text_color - - text[NORMAL] = @text_color - text[PRELIGHT] = @text_color - text[ACTIVE] = @text_color - text[SELECTED] = @text_color - text[INSENSITIVE] = @text_color - -} - -style "theme-main-menu-text" = "theme-panel-text" -{ - fg[PRELIGHT] = "#ffffff" - text[PRELIGHT] = "#ffffff" -} - -style "workspace-switcher" = "theme-panel" -{ - bg[SELECTED] = shade (1.4, @selected_bg_color) -} - -widget "*PanelWidget*" style "theme-panel" -widget "*PanelApplet*" style "theme-panel" -widget "*fast-user-switch*" style "theme-panel" -widget "*CPUFreq*Applet*" style "theme-panel" -widget "*indicator-applet*" style "theme-panel" -class "PanelApp*" style "theme-panel" -class "PanelToplevel*" style "theme-panel" -widget_class "*PanelToplevel*" style "theme-panel" -widget_class "*notif*" style "theme-panel" -widget_class "*Notif*" style "theme-panel" -widget_class "*Tray*" style "theme-panel" -widget_class "*tray*" style "theme-panel" -widget_class "*computertemp*" style "theme-panel" -widget_class "*Applet*Tomboy*" style "theme-panel" -widget_class "*Applet*Netstatus*" style "theme-panel" - -# Fixes for tooltip text in some apps. -widget_class "*Notif*Beagle*" style "theme-panel" -widget_class "*Notif*Brasero*" style "theme-panel" - -# XFCE panel theming. -widget "*Xfce*Panel*" style "theme-panel" -class "*Xfce*Panel*" style "theme-panel" -widget "*WnckPager*" style "workspace-switcher" - -# Fix gtk-entries in the panel -#class "GtkEntry" style "test" -#class "*SexyIconEntry*" style:highest "test" # fixes dict-plugin -#widget "*xfce4-verve-plugin*GtkEntry" style:highest "test" # fixes verve-plugin - -# Make sure panel text color doesn't change -widget_class "*Panel*MenuBar*" style "theme-main-menu-text" -widget_class "*Panel**" style "theme-main-menu-text" -widget "*.clock-applet-button.*" style "theme-panel-text" -widget "*PanelApplet*" style "theme-panel-text" - -# dark menus -#widget_class "**" style "test" -#widget_class "**" style "test" -#widget_class "*.*." style "test" -#widget_class "*.*." style "panel-entry" -#widget_class "*.*." style "test" -#widget_class "**" style "test" -#widget "*.gtk-combobox-popup-menu.*" style "test" - -# dark bg and black text for gdm's panel -#widget_class "*GdmGreeterPanel*" style "panel-entry" -#widget "*GdmClockWidget*" style "test" diff --git a/Kogaion-nighttime/gtk-2.0/apps/terminal.rc b/Kogaion-nighttime/gtk-2.0/apps/terminal.rc deleted file mode 100755 index 609aab5..0000000 --- a/Kogaion-nighttime/gtk-2.0/apps/terminal.rc +++ /dev/null @@ -1,41 +0,0 @@ -style "terminal" -{ - - bg[NORMAL] = @bg_color - bg[ACTIVE] = @bg_color - bg[PRELIGHT] = @bg_color - bg[SELECTED] = @bg_color - base[NORMAL] = @bg_color -} - -style "terminal-notebook" -{ - bg[NORMAL] = darker(@window_active_color) # bg selected tab - bg[ACTIVE] = @window_active_color - fg[NORMAL] = @fg_color # text selected tab - fg[ACTIVE] = @bg_color - - engine "murrine" - { - contrast = 0.0 - } -} - -style "notebook-button" { - xthickness = 0 - ythickness = 0 - bg[ACTIVE] = shade (0.68, @sidebar_background) - bg[PRELIGHT] = shade (0.75, @sidebar_background) - engine "murrine" - { - gradient_shades = {1.00,1.00,1.00,1.00} - contrast = 0.6 - roundness = 0 - } -} - -class "*TerminalWindow" style "terminal" -widget_class "TerminalWindow*GtkNotebook" style "terminal-notebook" -widget_class "TerminalWindow**" style "terminal-notebook" -widget_class "TerminalWindow**" style "notebook-button" - diff --git a/Kogaion-nighttime/gtk-2.0/apps/thunar.rc b/Kogaion-nighttime/gtk-2.0/apps/thunar.rc deleted file mode 100755 index 1c3869b..0000000 --- a/Kogaion-nighttime/gtk-2.0/apps/thunar.rc +++ /dev/null @@ -1,29 +0,0 @@ -## Some additional thunar-specific theming -style "thunar-path-entry-increased-style" -{ - ThunarPathEntry::icon-size = 16 -} -class "ThunarPathEntry" style "thunar-path-entry-increased-style" - -style "thunar-location-buttons" -{ - ThunarLocationButtons::spacing = 0 -} -class "ThunarLocationButtons" style "thunar-location-buttons" - -style "sidepane" -{ - base[NORMAL] = mix (0.5, @window_active_color, @bg_color) # backgroung - bg[NORMAL] = shade (0.91, @base_color) - bg[PRELIGHT] = @fg_color - - engine "murrine" - { - contrast = 0.80 - } -} - -widget_class "*ThunarShortcutsView*" style "sidepane" -widget_class "*ThunarTreeView*" style "sidepane" -widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*" style "sidepane" - diff --git a/Kogaion-nighttime/gtk-2.0/gtkrc b/Kogaion-nighttime/gtk-2.0/gtkrc index 4d03ce6..5cc8b8e 100755 --- a/Kogaion-nighttime/gtk-2.0/gtkrc +++ b/Kogaion-nighttime/gtk-2.0/gtkrc @@ -1026,6 +1026,6 @@ style "xfdesktop-icon-view" { widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" # widget "xfwm4-tabwin*" style "murrine-dark" -include "apps/thunar.rc" # thunar especific -include "apps/terminal.rc" -include "apps/panel.rc" +include "app-styles/file-manager.rc" +include "app-styles/terminal.rc" +include "app-styles/panel.rc" -- cgit v1.2.3