diff options
author | raveit65 <[email protected]> | 2015-01-10 16:21:56 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-01-10 16:21:56 +0100 |
commit | 4ec8a99da0a535bab8142686764b526a45b625ab (patch) | |
tree | 06882538549f4be33438fbc1e3019fb3ad6284f0 | |
parent | 7f353bce17860345a128bab9b77270690ad2b8e0 (diff) | |
download | mate-themes-4ec8a99da0a535bab8142686764b526a45b625ab.tar.bz2 mate-themes-4ec8a99da0a535bab8142686764b526a45b625ab.tar.xz |
ContrastHighInverse GTK3-3.12: add support for popovers
-rw-r--r-- | desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css | 78 | ||||
-rw-r--r-- | desktop-themes/ContrastHighInverse/gtk-3.0/gtk.css | 49 |
2 files changed, 127 insertions, 0 deletions
diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css index 257ac058..eb5c5449 100644 --- a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css @@ -1158,6 +1158,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/ContrastHighInverse/gtk-3.0/gtk.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk.css index 60719537..f1728ec9 100644 --- a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk.css +++ b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk.css @@ -73,6 +73,55 @@ @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: #ffff9f; |