From 71a60e36756b56233a533c22deedca465924fdd5 Mon Sep 17 00:00:00 2001 From: Rafael Laguna Date: Fri, 16 Jan 2015 20:50:25 +0100 Subject: [PATCH] - fix bug #1411553 - add mate-caja rc to dark-panel - remove unncessary files --- .../gtk-2.0/apps/lubuntu_scrollbar.rc | 2 +- .../gtk-2.0/apps/mate-caja.rc | 95 ++++++++++++++++++ .../gtk-2.0/apps/gnome-panel.css | 97 +++++++++++++++++++ .../gtk-2.0/apps/lubuntu_scrollbar.rc | 2 +- 4 files changed, 194 insertions(+), 2 deletions(-) create mode 100644 src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/mate-caja.rc create mode 100644 src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/gnome-panel.css diff --git a/src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/lubuntu_scrollbar.rc b/src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/lubuntu_scrollbar.rc index e09c262..f0665ec 100644 --- a/src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/lubuntu_scrollbar.rc +++ b/src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/lubuntu_scrollbar.rc @@ -5,7 +5,7 @@ style "default" { GtkScrollbar ::min-slider-length = 30 GtkScrollbar ::slider-width = 9 GtkScrollbar ::trough-border = 3 - GtkScrollbar ::activate-slider = FALSE + GtkScrollbar ::activate-slider = 0 GtkScrollbar ::trough-side-details = 0 GtkScrollbar ::stepper-size = 1 diff --git a/src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/mate-caja.rc b/src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/mate-caja.rc new file mode 100644 index 0000000..8a6be93 --- /dev/null +++ b/src/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/apps/mate-caja.rc @@ -0,0 +1,95 @@ +style "caja-window-base" { bg[NORMAL] = @base_color } + +style "caja-sidebar" = "murrine-sidebar" { + GtkTreeView::horizontal_separator = 15 + GtkTreeView::vertical_separator = 2 + + text[NORMAL] = @fg_color + base[NORMAL] = @sidepane_color + + GtkTreeView::odd_row_color = "#E3E3E3" + GtkTreeView::even_row_color = "#E3E3E3" +} + +style "caja-view" { + xthickness = 0 + ythickness = 0 +} + +style "caja-handle" { + GtkPaned::handle-size = 1 + + engine "pixmap" { + # for the thin gray line separating the sidepane and viewpane + image { + function = HANDLE + recolorable = TRUE + file = "images/handle-vert.png" + stretch = TRUE + border = { 0, 0, 0, 0 } + } + } +} + +style "caja-statusbar" +{ + bg[NORMAL] = @base_color + base[NORMAL] = @base_color + fg[NORMAL] = shade (1.2, @fg_color) + + engine "murrine" {} +} + +style "caja-location" +{ + + xthickness = 0 + ythickness = 0 + + bg[NORMAL] = @base_color + + engine "pixmap" { + image + { + function = FLAT_BOX + recolorable = TRUE + file = "../images/extra-widget.png" + state = NORMAL + stretch = TRUE + border = { 0, 0, 1, 0 } + } + } +} + +style "caja-pathbar" +{ + #bg[NORMAL] = @bg_color +} + +############################################ +# CAJA +# Order of assignment is important +############################################# + +widget_class "*CajaSidePane.*" style "caja-sidebar" +widget_class "*Caja*Places*Sidebar*" style "caja-sidebar" +widget_class "*Caja*Side*.GtkWidget" style "caja-sidebar" +widget_class "*Caja*Side*Title*" style "caja-sidebar" + +#widget "*CajaNavigationWindow" style "caja-window-base" + +#widget_class "*Caja*Scrollbar" style "murrine-scrollbar" +#widget_class "*CajaSidePane.*Scrollbar" style:highest "murrine-scrollbar" +widget_class "*Caja*Statusbar*" style "caja-statusbar" + +widget "*Caja*Splitter" style "caja-handle" +widget_class "*Caja*View*" style "caja-view" +#widget_class "*Caja*Notebook" style "murrine-notebook" + +#widget_class "*Caja*." style "murrine-treeview-header" +#widget_class "*Caja*." style "murrine-treeview-header" +#widget_class "*Caja*." style "murrine-treeview-header" +#widget_class "*Caja*." style "murrine-treeview-header" + +widget_class "*CajaPathBar*" style "caja-pathbar" +widget "*.caja-extra-view-widget" style "caja-location" diff --git a/src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/gnome-panel.css b/src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/gnome-panel.css new file mode 100644 index 0000000..6538eba --- /dev/null +++ b/src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/gnome-panel.css @@ -0,0 +1,97 @@ +/* Fallback Mode Panel */ +PanelWidget :backdrop, +PanelApplet :backdrop, +PanelToplevel :backdrop, +PanelWidget, +PanelApplet, +PanelToplevel { + border-image: none; + + color: @dark_fg_color; +} + +PanelWidget, +PanelApplet, +PanelToplevel { + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@dark_bg_color, 1.15)), + to (shade (@dark_bg_color, 0.95))); +} + +PanelApplet { + border-width: 0; +} + +PanelSeparator:backdrop, +PanelSeparator { + border-width: 0; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@dark_bg_color, 1.15)), + to (shade (@dark_bg_color, 0.95))); + + color: @dark_fg_color; +} + +.gnome-panel-menu-bar, +PanelApplet > GtkMenuBar.menubar, +PanelApplet > GtkMenuBar.menubar.menuitem, +PanelMenuBar.menubar, +PanelMenuBar.menubar.menuitem { + -PanelMenuBar-icon-visible: true; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@dark_bg_color, 1.15)), + to (shade (@dark_bg_color, 0.95))); +} + +PanelAppletFrame { + background-color: @dark_bg_color; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@dark_bg_color, 1.15)), + to (shade (@dark_bg_color, 0.95))); + border-width: 0; +} + +PanelApplet .button:backdrop, +PanelApplet .button { + -GtkButton-inner-border: 2; + + border-image: none; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@dark_bg_color, 1.15)), + to (shade (@dark_bg_color, 0.95))); + border-color: alpha (shade (@dark_bg_color, 0.9), 0.6); + border-left-color: alpha (shade (@dark_bg_color, 1.2), 0.6); + border-radius: 0; + border-width: 0 1px 0 1px; + + text-shadow: none; +} + +PanelApplet .button:active:prelight:backdrop, +PanelApplet .button:active:prelight, +PanelApplet .button:active:backdrop, +PanelApplet .button:active { + border-image: none; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@dark_bg_color, 0.7)), + to (shade (@dark_bg_color, 0.8))); + border-color: shade (@dark_bg_color, 0.7); +} + +PanelApplet .button:prelight:backdrop, +PanelApplet .button:prelight { + border-image: none; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@dark_bg_color, 1.3)), + to (shade (@dark_bg_color, 1.1))); + border-color: alpha (shade (@dark_bg_color, 0.9), 0.6); + border-left-color: alpha (shade (@dark_bg_color, 1.2), 0.8); +} + +ClockBox { + text-shadow: 0 1px shade (@dark_bg_color, 1.08); +} + +WnckPager, WnckTasklist { + background-color: @dark_bg_color; +} diff --git a/src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/lubuntu_scrollbar.rc b/src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/lubuntu_scrollbar.rc index e09c262..f0665ec 100644 --- a/src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/lubuntu_scrollbar.rc +++ b/src/usr/share/themes/Lubuntu-default/gtk-2.0/apps/lubuntu_scrollbar.rc @@ -5,7 +5,7 @@ style "default" { GtkScrollbar ::min-slider-length = 30 GtkScrollbar ::slider-width = 9 GtkScrollbar ::trough-border = 3 - GtkScrollbar ::activate-slider = FALSE + GtkScrollbar ::activate-slider = 0 GtkScrollbar ::trough-side-details = 0 GtkScrollbar ::stepper-size = 1