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 # compiler message colors
54 style "geany-compiler-error-style" {
55 fg[NORMAL] = "#ffff00000000"
56 fg[ACTIVE] = "#ffff00000000"
58 style "geany-compiler-context-style" {
59 fg[NORMAL] = "#7f7f00000000"
60 fg[ACTIVE] = "#7f7f00000000"
62 style "geany-compiler-message-style" {
63 fg[NORMAL] = "#00000000D000"
64 fg[ACTIVE] = "#00000000D000"
66 widget "*.geany-compiler-error" style "geany-compiler-error-style"
67 widget "*.geany-compiler-context" style "geany-compiler-context-style"
68 widget "*.geany-compiler-message" style "geany-compiler-message-style"
70 # red "Terminal" label when terminal dirty
71 widget "*.geany-terminal-dirty" style "geany-document-status-changed-style"