From 8f3c2f6ebe0adbcc83a218ed6535c72c36cbf077 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 6 Sep 2015 19:16:04 +0200 Subject: Gtk3 submarine themes: adjust panel settings - wnckpager support full transparancy - fix padding-area of icons in na-tray - style system-monitor applet --- .../Blue-Submarine/gtk-3.0/mate-applications.css | 36 ++++++++++++++-- .../Green-Submarine/gtk-3.0/mate-applications.css | 48 +++++++++++++++++----- 2 files changed, 70 insertions(+), 14 deletions(-) diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css index 6e744513..6959fc76 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -935,24 +935,52 @@ MatePanelApplet > GtkMenuBar.menubar { font: normal; } +/* WnckPager */ WnckPager { background-image: none; border-color: transparent; - background-color: shade (@terminal_background_color, 1.15); + background-color: transparent; + text-shadow: none; + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); +} + +/* selected WnckPager */ +WnckPager:selected { + background-image: linear-gradient(to bottom, + @theme_selected_bg_color, + shade (@theme_selected_bg_color, 0.36)); } /* prelight of WnckPager */ WnckPager:hover { background-image: linear-gradient(to bottom, - @theme_bg_color, - shade (@theme_selected_bg_color, 0.86)); + shade (@theme_selected_bg_color, 0.56), + @theme_selected_bg_color); +} + +/* no background for icon-padding area */ +GtkTrayIcon.background { + background-color: transparent; } NaTrayApplet { - -NaTrayApplet-icon-padding: 12px; + -NaTrayApplet-icon-padding: 3px; -NaTrayApplet-icon-size: 16; } +/* system-monitor-applet */ +MatePanelApplet .horizontal .vertical .frame { + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), + inset 1px 0px shade (@theme_selected_bg_color, 1.3), + inset -1px 0px shade (@theme_selected_bg_color, 1.3), + inset 0px -1px shade (@theme_selected_bg_color, 1.3); + border-style: none; + border-radius: 6px; +} + /* Classic icon style */ .mate-panel-menu-bar { -PanelMenuBar-icon-visible: true; diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css index 6b257270..1329b003 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -926,10 +926,10 @@ WnckSelector.menubar .menu .menuitem:hover { background-image: none; border-radius: 6px; text-shadow: none; - box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), - inset 1px 0px shade (@theme_selected_bg_color, 1.3), - inset -1px 0px shade (@theme_selected_bg_color, 1.3), - inset 0px -1px shade (@theme_selected_bg_color, 1.3); + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px shade(@selected_bg_color, 0.93), + inset 0px -1px shade(@selected_bg_color, 0.93); } ClockBox, @@ -938,24 +938,52 @@ MatePanelApplet > GtkMenuBar.menubar { font: normal; } +/* WnckPager */ WnckPager { - background-image: none; - border-color: transparent; - background-color: shade (@terminal_background_color, 1.15); + background-image: none; + border-color: transparent; + background-color: transparent; + text-shadow: none; + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px shade(@selected_bg_color, 0.93), + inset 0px -1px shade(@selected_bg_color, 0.93); +} + +/* selected WnckPager */ +WnckPager:selected { + background-image: linear-gradient(to bottom, + @theme_selected_bg_color, + shade (@theme_selected_bg_color, 0.36)); } /* prelight of WnckPager */ WnckPager:hover { background-image: linear-gradient(to bottom, - @theme_bg_color, - shade (@theme_selected_bg_color, 0.86)); + shade (@theme_selected_bg_color, 0.56), + @theme_selected_bg_color); +} + +/* no background for icon-padding area */ +GtkTrayIcon.background { + background-color: transparent; } NaTrayApplet { - -NaTrayApplet-icon-padding: 12px; + -NaTrayApplet-icon-padding: 3px; -NaTrayApplet-icon-size: 16; } +/* system-monitor-applet */ +MatePanelApplet .horizontal .vertical .frame { + box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05), + inset 1px 0px shade(@selected_bg_color, 0.97), + inset -1px 0px shade(@selected_bg_color, 0.93), + inset 0px -1px shade(@selected_bg_color, 0.93); + border-style: none; + border-radius: 6px; +} + /* Classic icon style */ .mate-panel-menu-bar { -PanelMenuBar-icon-visible: true; -- cgit v1.2.1