1 # custom GTK2 style for Geany
3 # make close button on the editor's tabs smaller
4 style "geany-close-tab-button-style" {
5 GtkWidget::focus-padding = 0
6 GtkWidget::focus-line-width = 0
10 widget "*.geany-close-tab-button" style "geany-close-tab-button-style"
12 # use monospaced font in search entries for easier reading of regexp (#1907117)
13 style "geany-monospace" {
14 font_name = "Monospace"
16 widget "GeanyDialogSearch.*.GtkEntry" style "geany-monospace"
17 widget "GeanyDialogSearch.*.geany-search-entry-no-match" style "geany-monospace"
19 # set red background for GtkEntries showing unmatched searches
20 style "geany-search-entry-no-match-style" {
21 base[NORMAL] = "#ffff66666666"
22 text[NORMAL] = "#ffffffffffff"
23 base[SELECTED] = "#777711111111"
24 # try and remove the entry background image on pixmap engine so that our
25 # background color is visible, and we don't end up with white text on white
26 # background (workaround for Adwaita 3.20).
34 widget "*.geany-search-entry-no-match" style "geany-search-entry-no-match-style"
36 # document status colors
37 style "geany-document-status-changed-style" {
38 fg[NORMAL] = "#ffff00000000"
39 fg[ACTIVE] = "#ffff00000000"
41 style "geany-document-status-disk-changed-style" {
42 fg[NORMAL] = "#ffff7fff0000"
43 fg[ACTIVE] = "#ffff7fff0000"
45 style "geany-document-status-readonly-style" {
46 fg[NORMAL] = "#00007fff0000"
47 fg[ACTIVE] = "#00007fff0000"
49 widget "*.geany-document-status-changed" style "geany-document-status-changed-style"
50 widget "*.geany-document-status-disk-changed" style "geany-document-status-disk-changed-style"
51 widget "*.geany-document-status-readonly" style "geany-document-status-readonly-style"
53 # red "Terminal" label when terminal dirty
54 widget "*.geany-terminal-dirty" style "geany-document-status-changed-style"