[gnome-themes-standard] adwaita: Theme GtkPopovers and their OSD counterparts



commit 7bcf45fafbbbc959c4a1f7f7fcd950fa738a0ed8
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jan 14 18:42:33 2014 +0100

    adwaita: Theme GtkPopovers and their OSD counterparts
    
    GtkPopovers are menu alike widgets that are shown pointing to
    a definite area. Entries and textviews define some of those
    that act as OSD for certain touch operations.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index e5b5e38..1719317 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -4246,16 +4246,37 @@ GtkInfoBar {
 /*************************
  * Touch text selections *
  *************************/
-GtkBubbleWindow {
-    border-radius: 5px;
+GtkPopover {
+    border-radius: 7px;
     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 8px 3px @wm_shadow;
+    margin: 10px;
 }
 
-GtkBubbleWindow.osd.background {
+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 > .toolbar {
+    background-color: transparent;
 }
 
-GtkBubbleWindow .toolbar {
+GtkPopover.osd > .toolbar .button {
+    border-radius: 0px;
+    border-width: 0px;
+    background-image: none;
     background-color: transparent;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]