summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-09-29 14:18:34 +0200
committerraveit65 <[email protected]>2016-09-29 14:18:34 +0200
commit0e456dabcdd45a0ce08c5e70eba8266d21f483ee (patch)
tree10e1443a21aa6d6094493a43378921b87d3492ee
parentae8d8a7e8da434bac5c774823254d2db30b9b5a7 (diff)
downloadmate-themes-0e456dabcdd45a0ce08c5e70eba8266d21f483ee.tar.bz2
mate-themes-0e456dabcdd45a0ce08c5e70eba8266d21f483ee.tar.xz
Gtk+-3.20 Submarine themes: improve GtkCalendar for clock applet
fix https://github.com/mate-desktop/mate-themes/issues/143
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css9
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css10
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css9
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css10
4 files changed, 28 insertions, 10 deletions
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 c65ddb92..07e50074 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
@@ -4626,6 +4626,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 cf62eaf4..746a43b0 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
@@ -4629,6 +4629,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 {