]> Pileus Git - ~andy/gtk/blob - tests/testgtk.css
Make testgtk load CSS for custom styling.
[~andy/gtk] / tests / testgtk.css
1 /* testgtk2.css sets all the buttons in the main window to blue by default */
2 @import url(testgtk2.css);
3
4 * {
5     -GtkButton-child-displacement-x: 1;
6     -GtkButton-child-displacement-y: 1;
7
8     -GtkToolbar-space-size: 10;
9     -GtkToolbar-space-style: line;
10     -GtkToolbar-button-relief: none;
11     -GtkButtonBox-child-min-width: 0;
12     -GtkButtonBox-child-min-height: 0;
13     -GtkArrow-arrow-scaling: 1.0;
14     -GtkEntry-invisible-char: 10046;
15
16     font: Sans 12;
17
18     -Gtest-foo: 47;
19     -Gtest-bar: 47;
20 }
21
22 GtkLabel:selected {
23     background-color: gray;
24 }
25
26 GtkLabel:prelight {
27     background-color: mix (#a0a0a0, rgb (75%, 200, 0%), 0.9);
28 }
29
30 /* override testgtk2, introduce the green color in the button list */
31 #main_window GtkScrolledWindow GtkButton:prelight {
32     background-color: rgb (0%, 75%, 0);
33 }