diff options
author | raveit65 <[email protected]> | 2015-01-10 16:18:56 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-01-10 16:18:56 +0100 |
commit | d1cfa123689b74352cd016d391745b973ca2ba52 (patch) | |
tree | 5b0e86d64e191d67613dcc29be4fccc256867254 /desktop-themes/BlackMATE | |
parent | 7834555a8c819c44b73b8e773ee89e6abed0d62c (diff) | |
download | mate-themes-d1cfa123689b74352cd016d391745b973ca2ba52.tar.bz2 mate-themes-d1cfa123689b74352cd016d391745b973ca2ba52.tar.xz |
BlackMate GTK3-3.12: add support for popovers
Diffstat (limited to 'desktop-themes/BlackMATE')
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/gtk-main.css | 35 | ||||
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 78 |
2 files changed, 113 insertions, 0 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css index a17aa655..269b007d 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css @@ -125,6 +125,11 @@ @define-color osd_trough_bg alpha(@osd_button_fg, 0.10); +/*********** + * Popover * + ***********/ +@define-color osd_popover_bg alpha(@osd_base, 0.90); + /* FIXME: needs dark colors from here */ @define-color link_color #2EB8E6; /*#4a90d9*/ @define-color warning_color #f57900; @@ -152,6 +157,36 @@ @define-color scale_progress_border #1864b2; @define-color scale_progress_border_b #3e90e5; +/****** + * WM * + ******/ +@define-color wm_title @theme_fg_color; +@define-color wm_unfocused_title @theme_unfocused_fg_color; +@define-color wm_highlight #ffffff; +@define-color wm_title_highlight_dark alpha(#ffffff, 0.0); +@define-color wm_title_highlight #ffffff; +@define-color wm_title_shadow @wm_title_highlight; + +@define-color wm_bg_a shade (@theme_bg_color, 1.1); +@define-color wm_bg_b @theme_bg_color; + +@define-color wm_shadow alpha(black, 0.5); +@define-color wm_border alpha(black,0.18); + +@define-color wm_button_bg_a shade (@theme_bg_color, 1.0); +@define-color wm_button_bg_b shade (@theme_bg_color, 0.85); +@define-color wm_button_bg_c shade (@theme_bg_color, 0.8); +@define-color wm_button_bg_d shade (@theme_bg_color, 0.9); + +@define-color wm_button_bg_hover_a shade (@wm_button_bg_a, 1.1); +@define-color wm_button_bg_hover_b shade (@wm_button_bg_b, 1.1); +@define-color wm_button_bg_hover_c shade (@wm_button_bg_c, 1.1); +@define-color wm_button_bg_hover_d shade (@wm_button_bg_d, 1.1); + +@define-color wm_button_bg_active_a shade (@theme_bg_color, 0.7); +@define-color wm_button_bg_active_b shade (@theme_bg_color, 0.9); +@define-color wm_button_bg_active_c shade (@theme_bg_color, 0.9); + @import url("gtk-widgets.css"); @import url("gtk-widgets-assets-dark.css"); @import url("unity.css"); diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index ee83fd56..29cb3690 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -1931,6 +1931,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 * *******/ |