mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
30 lines
649 B
CSS
30 lines
649 B
CSS
/* testgtk2.css sets all the buttons in the main window to blue by default */
|
|
@import url("testgtk2.css");
|
|
|
|
@binding-set entry-bindings {
|
|
bind "<alt>s" { "move-cursor" (visual-positions, 3, 0) };
|
|
bind "<alt>a" { "move-cursor" (visual-positions, -3, 0) };
|
|
}
|
|
|
|
* {
|
|
font-family: Sans;
|
|
font-size: 12px;
|
|
}
|
|
|
|
label:selected {
|
|
background-color: gray;
|
|
}
|
|
|
|
label:hover {
|
|
background-color: mix (#a0a0a0, rgb (75%, 200, 0%), 0.9);
|
|
}
|
|
|
|
/* override testgtk2, introduce the green color in the button list */
|
|
#main_window scrolledwindow button:hover {
|
|
background-color: rgb (0%, 75%, 0);
|
|
}
|
|
|
|
entry {
|
|
-gtk-key-bindings: entry-bindings;
|
|
}
|