summaryrefslogtreecommitdiff
path: root/desktop-themes/ContrastHigh/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-01-10 16:20:46 +0100
committerraveit65 <[email protected]>2015-01-10 16:20:46 +0100
commit7f353bce17860345a128bab9b77270690ad2b8e0 (patch)
tree5e2213f1deef01270ce64f21f864574b3229063f /desktop-themes/ContrastHigh/gtk-3.0
parentd1cfa123689b74352cd016d391745b973ca2ba52 (diff)
downloadmate-themes-7f353bce17860345a128bab9b77270690ad2b8e0.tar.bz2
mate-themes-7f353bce17860345a128bab9b77270690ad2b8e0.tar.xz
ContrastHigh GTK3-3.12: add support for popovers
Diffstat (limited to 'desktop-themes/ContrastHigh/gtk-3.0')
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css78
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk.css48
2 files changed, 126 insertions, 0 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
index ec2b69b6..2a36cec6 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
@@ -1176,6 +1176,84 @@ GtkProgressBar.osd.progressbar {
font: 9;
}
+/*************************
+ * Touch text selections *
+ *************************/
+GtkPopover {
+ border-radius: 5px;
+ background-clip: border-box;
+ /*
+ background-color: @osd_popover_bg;
+ */
+ background-color: @theme_base_color;
+
+ border-color: darker(@theme_base_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_base_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_fg_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_active_color;
+ color: @theme_base_color;
+ text-shadow: none;
+ border-width: 0;
+ border-color: transparent;
+}
+
/*******
* CSD *
*******/
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk.css
index e5c5b4ea..10ab961d 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk.css
@@ -73,6 +73,54 @@
@define-color wm_button_prelight_fg @theme_base_color;
@define-color wm_button_pressed_fg @theme_base_color;
+/*******
+ * OSD *
+ *******/
+@define-color osd_highlight #ffffff;
+@define-color osd_lowlight #525252;
+@define-color osd_base #212526;
+
+@define-color osd_fg #ededed;
+@define-color osd_bg alpha(@osd_base, 0.80);
+
+@define-color osd_text_shadow alpha(black, 0.75);
+
+@define-color osd_toolbar_bg_a alpha(@osd_base, 0.80);
+@define-color osd_toolbar_bg_b alpha(#101010, 0.80);
+@define-color osd_toolbar_bg_c alpha(shade(@osd_base, 1.02), 0.80);
+
+@define-color osd_button_bg_a alpha(@osd_highlight, 0.16);
+@define-color osd_button_bg_b alpha(@osd_lowlight, 0.05);
+@define-color osd_button_bg_c alpha(@osd_highlight, 0.12);
+
+@define-color osd_button_bg_insensitive alpha(@osd_highlight, 0.25);
+@define-color osd_button_bg_insensitive_active alpha(@osd_highlight, 0.16);
+
+@define-color osd_button_bg_hover_a alpha(@osd_highlight, 0.28);
+@define-color osd_button_bg_hover_b alpha(@osd_lowlight, 0.14);
+@define-color osd_button_bg_hover_c alpha(@osd_highlight, 0.14);
+
+@define-color osd_button_bg_active_a alpha(@osd_lowlight, 0.18);
+@define-color osd_button_bg_active_b alpha(@osd_highlight, 0.23);
+@define-color osd_button_bg_active_c alpha(@osd_lowlight, 0.17);
+
+@define-color osd_button_fg shade(@osd_fg, 0.80);
+@define-color osd_button_fg_hover shade(@osd_fg, 0.96);
+@define-color osd_button_fg_active shade(@osd_fg, 1.10);
+@define-color osd_button_fg_insensitive shade(@osd_fg, 0.70);
+
+@define-color osd_button_border alpha(@osd_highlight, 0.40);
+@define-color osd_button_inset shade(@osd_fg, 0.67);
+@define-color osd_button_shadow alpha(black, 0.35);
+
+@define-color osd_trough_bg alpha(@osd_button_fg, 0.10);
+
+/***********
+ * Popover *
+ ***********/
+@define-color osd_popover_bg alpha(@osd_base, 0.90);
+@define-color wm_shadow alpha(black, 0.5);
+
* {
/* Pidgin */
-GtkIMHtml-hyperlink-color: #000060;