2010-11-13 20:19:41 +00:00
|
|
|
/* testgtk2.css sets all the buttons in the main window to blue by default */
|
2010-11-19 22:07:09 +00:00
|
|
|
@import url("testgtk2.css");
|
2010-11-13 20:19:41 +00:00
|
|
|
|
2011-01-28 10:05:01 +00:00
|
|
|
@binding-set entry-bindings {
|
|
|
|
bind "<alt>s" { "move-cursor" (visual-positions, 3, 0) };
|
|
|
|
bind "<alt>a" { "move-cursor" (visual-positions, -3, 0) };
|
2011-06-01 22:40:11 +00:00
|
|
|
}
|
2011-01-28 10:05:01 +00:00
|
|
|
|
2010-11-13 20:19:41 +00:00
|
|
|
* {
|
|
|
|
-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;
|
|
|
|
|
2016-10-03 07:31:44 +00:00
|
|
|
font-family: Sans;
|
|
|
|
font-size: 12px;
|
2010-11-13 20:19:41 +00:00
|
|
|
|
|
|
|
-Gtest-foo: 47;
|
|
|
|
-Gtest-bar: 47;
|
|
|
|
}
|
|
|
|
|
2016-10-03 07:31:44 +00:00
|
|
|
label:selected {
|
2010-11-13 20:19:41 +00:00
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
|
2016-10-03 07:31:44 +00:00
|
|
|
label:hover {
|
2010-11-13 20:19:41 +00:00
|
|
|
background-color: mix (#a0a0a0, rgb (75%, 200, 0%), 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* override testgtk2, introduce the green color in the button list */
|
2016-10-03 07:31:44 +00:00
|
|
|
#main_window scrolledwindow button:hover {
|
2010-11-13 20:19:41 +00:00
|
|
|
background-color: rgb (0%, 75%, 0);
|
|
|
|
}
|
2011-01-28 10:05:01 +00:00
|
|
|
|
2016-10-03 07:31:44 +00:00
|
|
|
entry {
|
|
|
|
-gtk-key-bindings: entry-bindings;
|
2011-01-28 10:05:01 +00:00
|
|
|
}
|