summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-01-10 16:23:47 +0100
committerraveit65 <[email protected]>2015-01-10 16:23:47 +0100
commit05bb4708c92063d5b6d2eb0fb4137c0f1866541b (patch)
tree21696e4e5853b472cd3ed9aa2422aa2ab0977045
parent4ec8a99da0a535bab8142686764b526a45b625ab (diff)
downloadmate-themes-05bb4708c92063d5b6d2eb0fb4137c0f1866541b.tar.bz2
mate-themes-05bb4708c92063d5b6d2eb0fb4137c0f1866541b.tar.xz
GreenLaguna GTK3-3.12: add support for popovers
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css6
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css84
2 files changed, 90 insertions, 0 deletions
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
index aad73842..ed231085 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
@@ -96,10 +96,16 @@
@define-color app_notification_c @theme_bg_color;
@define-color app_notification_border #939493;
+/***********
+ * Popover *
+ ***********/
+@define-color osd_popover_bg alpha(@osd_base, 0.90);
+
@define-color wm_a shade(@theme_bg_color, 1.3);
@define-color wm_b @theme_bg_color;
@define-color wm_util shade(@theme_bg_color, 1.2);
@define-color wm_unfocus shade(@theme_bg_color, 1.05);
+@define-color wm_shadow alpha(black, 0.5);
@import url("gtk-main-common.css");
@import url("gtk-widgets.css");
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
index ae56ee56..cc7979e2 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
@@ -1729,6 +1729,84 @@ GtkProgressBar.osd.progressbar {
border-radius: 0;
}
+/*************************
+ * Touch text selections *
+ *************************/
+
+GtkPopover {
+ border-radius: 5px;
+ background-clip: border-box;
+ /*
+ background-color: @osd_popover_bg;
+ */
+ background-color: @theme_bg_color;
+
+ border-color: darker(@theme_bg_color);
+ border-width: 1px;
+ border-style: solid;
+
+ box-shadow: 0 2px 3px @wm_shadow;
+ margin: 10px;
+ padding: 2px;
+}
+
+GtkPopover.osd {
+ background-color: @osd_popover_bg;
+ border-color: @theme_bg_color;
+ box-shadow: 0 2px 8px 3px alpha(@wm_shadow, 0.4);
+ color: darker(white);
+}
+
+GtkPopover > .list,
+GtkPopover > .view,
+GtkPopover > .toolbar {
+ background-color: transparent;
+}
+
+GtkPopover.osd > .toolbar .button {
+ border-radius: 0px;
+ border-width: 0px;
+ background-image: none;
+ background-color: transparent;
+}
+
+GtkModelButton.button {
+ color: @theme_fg_color;
+}
+
+GtkModelButton.button:active,
+GtkModelButton.button:insensitive,
+GtkModelButton.button:active:insensitive,
+GtkModelButton.button {
+ background-color: transparent;
+ background-image: none;
+ border-color: transparent;
+ border-image: none;
+ border-style: none;
+ box-shadow: none;
+}
+
+GtkPopover .separator {
+ font-size: 80%;
+ font-weight: bold;
+ color: alpha(@theme_text_color,0.4);
+ text-shadow: none;
+ background-color: transparent;
+ icon-shadow: none;
+ border: 0;
+}
+
+GtkModelButton.button:active:hover,
+GtkModelButton.button:hover,
+GtkModelButton.button:selected {
+ background-image: none;
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+ text-shadow: none;
+ border-width: 0;
+ border-color: transparent;
+}
+
/*******
* CSD *
*******/
@@ -2701,3 +2779,9 @@ NemoWindow .notebook NautilusQueryEditor .toolbar {
.nemo-desktop.nautilus-canvas-item:selected {
text-shadow: none;
}
+
+/* needed for left menu popovers menuitems */
+NautilusWindow .menubar .menuitem,
+NautilusWindow .menu .menuitem {
+ text-shadow: none;
+}