[gtk+/gtk-style-context: 275/540] GtkCssProvider: Improve default CSS.



commit 67c8831ca0f32c7b81024c15dfa5701ebdc79db2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Oct 23 18:32:15 2010 +0200

    GtkCssProvider: Improve default CSS.

 gtk/gtkcssprovider.c |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 0f05114..f763e3e 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -2822,6 +2822,7 @@ gtk_css_provider_get_default (void)
         "  foreground-color: @fg_color;\n"
         "  text-color: @text_color; \n"
         "  base-color: @base_color; \n"
+        "  border-color: #898089;\n"
         "  padding: 2 2; \n"
         "}\n"
         "\n"
@@ -2861,11 +2862,34 @@ gtk_css_provider_get_default (void)
         "  text-color: #000; \n"
         "}\n"
         "\n"
+        ".button,\n"
+        ".slider {\n"
+        "  border-style: outset; \n"
+        "  border-width: 2; \n"
+        "}\n"
+        "\n"
         ".button:active {\n"
         "  background-color: #c4c2bd;\n"
         "  foreground-color: #000000;\n"
         "  text-color: #c4c2bd; \n"
         "  base-color: #9c9a94; \n"
+        "  border-style: inset; \n"
+        "}\n"
+        "\n"
+        ".trough {\n"
+        "  border-style: inset;\n"
+        "  border-width: 1;\n"
+        "}\n"
+        "\n"
+        ".entry {\n"
+        "  border-style: inset;\n"
+        "  border-width: 2;\n"
+        "}\n"
+        "\n"
+        ".viewport {\n"
+        "  border-style: inset;\n"
+        "  border-width: 2;\n"
+        "  border-color: #9a909a;\n"
         "}\n"
         "\n";
 



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