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 --- .../gtk-2.0/app-styles/file-manager.rc | 36 ++++ Kogaion-daylight/gtk-2.0/app-styles/panel.rc | 182 +++++++++++++++++++++ Kogaion-daylight/gtk-2.0/app-styles/panel1.rc | 158 ++++++++++++++++++ Kogaion-daylight/gtk-2.0/app-styles/terminal.rc | 42 +++++ 4 files changed, 418 insertions(+) create mode 100755 Kogaion-daylight/gtk-2.0/app-styles/file-manager.rc create mode 100644 Kogaion-daylight/gtk-2.0/app-styles/panel.rc create mode 100755 Kogaion-daylight/gtk-2.0/app-styles/panel1.rc create mode 100755 Kogaion-daylight/gtk-2.0/app-styles/terminal.rc (limited to 'Kogaion-daylight/gtk-2.0/app-styles') diff --git a/Kogaion-daylight/gtk-2.0/app-styles/file-manager.rc b/Kogaion-daylight/gtk-2.0/app-styles/file-manager.rc new file mode 100755 index 0000000..76c3da8 --- /dev/null +++ b/Kogaion-daylight/gtk-2.0/app-styles/file-manager.rc @@ -0,0 +1,36 @@ +style "sidepane" +{ + base[NORMAL] = mix (0.5, @bg_color, @window_active_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-daylight/gtk-2.0/app-styles/panel.rc b/Kogaion-daylight/gtk-2.0/app-styles/panel.rc new file mode 100644 index 0000000..01c2f66 --- /dev/null +++ b/Kogaion-daylight/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] = shade (0.70, @window_active_color) + + fg[NORMAL] = @bg_color + fg[PRELIGHT] = lighter (@selected_bg_color) + fg[ACTIVE] = @bg_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] = @bg_color + fg[PRELIGHT] = shade (0.9, @bg_color) + fg[ACTIVE] = @bg_color + 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-daylight/gtk-2.0/app-styles/panel1.rc b/Kogaion-daylight/gtk-2.0/app-styles/panel1.rc new file mode 100755 index 0000000..51d7430 --- /dev/null +++ b/Kogaion-daylight/gtk-2.0/app-styles/panel1.rc @@ -0,0 +1,158 @@ +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] = @bg_color + fg[PRELIGHT] = @fg_color + + text[NORMAL] = @fg_color + text[PRELIGHT] = @text_color + + 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 "theme-panel-text" +{ + fg[NORMAL] = @bg_color + fg[PRELIGHT] = @fg_color + fg[ACTIVE] = @bg_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) +} + +style "theme-panel-handle" +{ + engine "pixmap" { + image { + function = HANDLE + } + image { + function = HANDLE + } + } +} + +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" + +# Hide ugly handle +class "PanelAppletFrame" style:highest "theme-panel-handle" + +# 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-daylight/gtk-2.0/app-styles/terminal.rc b/Kogaion-daylight/gtk-2.0/app-styles/terminal.rc new file mode 100755 index 0000000..204adec --- /dev/null +++ b/Kogaion-daylight/gtk-2.0/app-styles/terminal.rc @@ -0,0 +1,42 @@ +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] = @bg_color # text selected tab + fg[ACTIVE] = @fg_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" + + -- cgit v1.2.3