File: look-gtk2.lua

package info (click to toggle)
ion3-scripts 20050418-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 300 kB
  • ctags: 153
  • sloc: makefile: 18
file content (141 lines) | stat: -rw-r--r-- 3,667 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
-- theme that goes well with the gtk2 default colors
-- it makes use of terminus als artwiz fonts
--
--	By Rene van Bevern <rvb@pro-linux.de>

if not gr_select_engine("de") then return end

de_reset()

de_define_style("*", {
    shadow_colour = "#9c9a94",
    highlight_colour = "#ffffff",
    background_colour = "#dedbd6",
    foreground_colour = "#000000",
    padding_pixels = 0,
    highlight_pixels = 1,
    shadow_pixels = 1,
    border_style = "elevated",
    font = "-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso8859-15",
    text_align = "center",
})

de_define_style("frame", {
    based_on = "*",
    shadow_colour = "#9c9a94",
    highlight_colour = "#ffffff",
    padding_colour = "#dedbd6",
    background_colour = "#dedbd6",
    transparent_background = true,
    foreground_colour = "#ffffff",
    padding_pixels = 2,
    highlight_pixels = 1,
    shadow_pixels = 1,
    de_substyle("active", {
        shadow_colour = "#9c9a94",
        highlight_colour = "#ffffff",
        background_colour = "#dedbd6",
        foreground_colour = "#ffffff",
    }),
})

de_define_style("frame-ionframe", {
    based_on = "frame",
    border_style = "inlaid",
    padding_pixels = 1,
    spacing = 2,
})

de_define_style("frame-floatframe", {
    based_on = "frame",
    border_style = "ridge",
    padding_pixels = 1
})

de_define_style("tab", {
    based_on = "*",
    border_style = "groove",
    font = "anorexia",
    de_substyle("active-selected", {
        shadow_colour = "#1a3954",
        highlight_colour = "#7aa9d4",
        background_colour = "#4a6984",
        foreground_colour = "#ffffff",
    }),
    de_substyle("active-unselected", {
        shadow_colour = "#9c9a94",
        highlight_colour = "#ffffff",
        background_colour = "#dedbd6",
        foreground_colour = "#000000",
    }),
    de_substyle("inactive-selected", {
        shadow_colour = "#9c9a94",
        highlight_colour = "#ffffff",
        background_colour = "#efebe7",
        foreground_colour = "#97979e",
    }),
    de_substyle("inactive-unselected", {
        shadow_colour = "#9c9a94",
        highlight_colour = "#ffffff",
        background_colour = "#dedbd6",
        foreground_colour = "#97979e",
    }),
    text_align = "center",
})

de_define_style("tab-frame", {
    based_on = "tab",
    de_substyle("*-*-*-*-activity", {
        shadow_colour = "#777777",
        highlight_colour = "#eeeeee",
        background_colour = "#990000",
        foreground_colour = "#eeeeee",
    }),
})

de_define_style("tab-frame-ionframe", {
    based_on = "tab-frame",
    spacing = 3,
})

de_define_style("tab-menuentry", {
    based_on = "tab",
    spacing = 2,
    highlight_pixels = 1,
    shadow_pixels = 1,
    text_align = "left",
    font = "fixed",
    de_substyle("inactive-selected", {
        shadow_colour = "#1a3954",
        highlight_colour = "#7aa9d4",
        background_colour = "#4a6984",
        foreground_colour = "#ffffff",
    }),
    de_substyle("inactive-unselected", {
        shadow_colour = "#9c9a94",
        highlight_colour = "#ffffff",
        background_colour = "#dedbd6",
        foreground_colour = "#000000",
    }),

})

de_define_style("tab-menuentry-big", {
    based_on = "tab-menuentry",
    font = "-*-terminus-medium-r-*-*-17-120-*-*-*-*-iso8859-15",
})

de_define_style("input", {
    based_on = "tab",
    font = "-*-terminus-medium-r-*-*-17-120-*-*-*-*-iso8859-15",
    de_substyle("*-cursor", {
        background_colour = "#000000",
        foreground_colour = "#aaaaaa",
    }),
    de_substyle("*-selection", {
        background_colour = "#aaaaaa",
        foreground_colour = "black",
    }),
})

gr_refresh()