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"
24 widget "*.geany-search-entry-no-match" style "geany-search-entry-no-match-style"
26 # document status colors
27 style "geany-document-status-changed-style" {
28 fg[NORMAL] = "#ffff00000000"
29 fg[ACTIVE] = "#ffff00000000"
31 style "geany-document-status-disk-changed-style" {
32 fg[NORMAL] = "#ffff7fff0000"
33 fg[ACTIVE] = "#ffff7fff0000"
35 style "geany-document-status-readonly-style" {
36 fg[NORMAL] = "#00007fff0000"
37 fg[ACTIVE] = "#00007fff0000"
39 widget "*.geany-document-status-changed" style "geany-document-status-changed-style"
40 widget "*.geany-document-status-disk-changed" style "geany-document-status-disk-changed-style"
41 widget "*.geany-document-status-readonly" style "geany-document-status-readonly-style"
43 # red "Terminal" label when terminal dirty
44 widget "*.geany-terminal-dirty" style "geany-document-status-changed-style"