From 37f9f491d29620898bbfc146ab1bd7e7c8c4596d Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 13 Nov 2010 21:19:41 +0100 Subject: Make testgtk load CSS for custom styling. --- tests/testgtk.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tests/testgtk.css (limited to 'tests/testgtk.css') diff --git a/tests/testgtk.css b/tests/testgtk.css new file mode 100644 index 0000000000..9af02572c2 --- /dev/null +++ b/tests/testgtk.css @@ -0,0 +1,33 @@ +/* testgtk2.css sets all the buttons in the main window to blue by default */ +@import url(testgtk2.css); + +* { + -GtkButton-child-displacement-x: 1; + -GtkButton-child-displacement-y: 1; + + -GtkToolbar-space-size: 10; + -GtkToolbar-space-style: line; + -GtkToolbar-button-relief: none; + -GtkButtonBox-child-min-width: 0; + -GtkButtonBox-child-min-height: 0; + -GtkArrow-arrow-scaling: 1.0; + -GtkEntry-invisible-char: 10046; + + font: Sans 12; + + -Gtest-foo: 47; + -Gtest-bar: 47; +} + +GtkLabel:selected { + background-color: gray; +} + +GtkLabel:prelight { + background-color: mix (#a0a0a0, rgb (75%, 200, 0%), 0.9); +} + +/* override testgtk2, introduce the green color in the button list */ +#main_window GtkScrolledWindow GtkButton:prelight { + background-color: rgb (0%, 75%, 0); +} -- cgit v1.2.1