From 86832d74124523485779d77dec9f59b3730495f8 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 29 Sep 2016 14:18:34 +0200 Subject: Gtk+-3.20 Submarine themes: improve GtkCalendar for clock applet fix https://github.com/mate-desktop/mate-themes/issues/143 --- desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css | 9 +++++++++ desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css | 10 +++++----- desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css | 9 +++++++++ desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css | 10 +++++----- 4 files changed, 28 insertions(+), 10 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css index f98eb249..0cf69ca0 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -4632,6 +4632,15 @@ calendar.button:hover:last-child { inset 0px -1px shade (@theme_selected_bg_color, 1.3); } +calendar { + color: @theme_fg_color; + text-shadow: none; +} + +calendar:indeterminate { + color: alpha(@theme_fg_color, 0.4); +} + highlight, calendar.highlight { background-color: @theme_selected_bg_color; 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 96fa6d32..abd1a54f 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -539,14 +539,14 @@ MatePanelAppletFrameDBus { } #MatePanelPopupWindow { - border-radius: 0px 0px 4px 4px; + border-radius: 4px 4px 4px 4px; border-style: none; border-width: 0px; background-color: rgba(0,0,0,0.5); } #MatePanelPopupWindow frame { - border-radius: 0px 0px 4px 4px; + border-radius: 4px 4px 4px 4px; border-style: solid; border-width: 1px; border-color: shade(@theme_selected_bg_color, 1.5); @@ -566,7 +566,7 @@ MatePanelAppletFrameDBus { border-color: shade(@theme_selected_bg_color, 1.5); } -#MatePanelPopupWindow calendar.header { +#MatePanelPopupWindow calendar .header { background-color:transparent; background-image: -gtk-gradient (linear, left top, left bottom, @@ -574,14 +574,14 @@ MatePanelAppletFrameDBus { to (alpha(shade(@theme_bg_dark_color, 0.95) ,0.8))); } -#MatePanelPopupWindow calendar.header arrow, -#MatePanelPopupWindow calendar.header label { +#MatePanelPopupWindow calendar .header { /* month/year label */ color: @menu_fg_dark_color; text-shadow: 1px 1px alpha (#000000, 0.8); } #MatePanelPopupWindow calendar.button { color: @menu_fg_dark_color; + -gtk-icon-shadow: 1px 1px alpha (#000000, 0.8); } #MatePanelPopupWindow calendar.button:hover { diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css index 20a438fd..de707ce8 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -4635,6 +4635,15 @@ calendar.button:hover:last-child { inset 0px -1px shade(@selected_bg_color, 0.93); } +calendar { + color: @theme_fg_color; + text-shadow: none; +} + +calendar:indeterminate { + color: alpha(@theme_fg_color, 0.4); +} + highlight, calendar.highlight { background-color: @theme_selected_bg_color; 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 d312cbe1..1cb7af29 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -539,14 +539,14 @@ MatePanelAppletFrameDBus { } #MatePanelPopupWindow { - border-radius: 0px 0px 4px 4px; + border-radius: 4px 4px 4px 4px; border-style: none; border-width: 0px; background-color: rgba(0,0,0,0.5); } #MatePanelPopupWindow frame { - border-radius: 0px 0px 4px 4px; + border-radius: 4px 4px 4px 4px; border-style: solid; border-width: 1px; border-color: shade(@theme_selected_bg_color, 1.3); @@ -566,7 +566,7 @@ MatePanelAppletFrameDBus { border-color: shade(@theme_selected_bg_color, 1.3); } -#MatePanelPopupWindow calendar.header { +#MatePanelPopupWindow calendar .header { background-color:transparent; background-image: -gtk-gradient (linear, left top, left bottom, @@ -574,14 +574,14 @@ MatePanelAppletFrameDBus { to (alpha(shade(@theme_bg_dark_color, 0.95) ,0.8))); } -#MatePanelPopupWindow calendar.header arrow, -#MatePanelPopupWindow calendar.header label { +#MatePanelPopupWindow calendar .header { /* month/year label */ color: @menu_fg_dark_color; text-shadow: 1px 1px alpha (#000000, 0.8); } #MatePanelPopupWindow calendar.button { color: @menu_fg_dark_color; + -gtk-icon-shadow: 1px 1px alpha (#000000, 0.8); } #MatePanelPopupWindow calendar.button:hover { -- cgit v1.2.1