[gtk+/gtk-style-context: 396/490] Add an outline around menu popups



commit 7323ee4b8155b08da7ad1d79a7d775093e0683db
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 17 01:39:03 2010 -0500

    Add an outline around menu popups

 gtk/gtkcssprovider.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 30c1943..56c1dd1 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3155,8 +3155,7 @@ gtk_css_provider_get_default (void)
         "  color: @text_color;\n"
         "}\n"
         "\n"
-        ".menu.check,\n"
-        ".menu.radio {\n"
+        ".menu.check, .menu.radio {\n"
         "  color: @fg_color;\n"
         "}\n"
         "\n"
@@ -3165,6 +3164,11 @@ gtk_css_provider_get_default (void)
         "  border-style: none;\n"
         "}\n"
         "\n"
+        ".popup {\n"
+        "  border-style: outset;\n"
+        "  border-width: 1;\n"
+        "}\n"
+        "\n"
         ".viewport {\n"
         "  border-style: inset;\n"
         "  border-width: 2;\n"
@@ -3174,6 +3178,7 @@ gtk_css_provider_get_default (void)
         "  border-style: outset;\n"
         "  border-width: 1;\n"
         "}\n"
+        "\n"
         ".frame {\n"
         "  border-style: inset;\n"
         "  border-width: 1;\n"



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