Released version 3-2015061300
[notion.git] / contrib / styles / look_awesome.lua
blob419a517b4ad60ac5b1b157701fccc4122b61bb86
1 -- Authors: Unknown
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look-awesome.lua drawing engine configuration file for Ion.
7 if not gr.select_engine("de") then return end
9 de.reset()
11 de.defstyle("*", {
12 shadow_colour = "#99A",
13 highlight_colour = "#99A",
14 background_colour = "#667",
15 foreground_colour = "#FFF",
16 padding_colour = "#99A",
18 transparent_background = false,
20 border_style = "elevated",
22 highlight_pixels = 0,
23 shadow_pixels = 0,
24 padding_pixels = 0,
25 spacing = 0,
27 font = "-xos4-terminus-medium-r-normal--14-*-*-*-*-*-*-*",
28 text_align = "center",
31 de.defstyle("frame", {
32 based_on = "*",
34 -- this sets the color between tabs as well, I could not figure out any way to make it transparent
35 background_colour = "black",
37 transparent_background = true,
39 -- de.substyle("active", {
40 -- }),
41 -- de.substyle("inactive", {
42 -- }),
45 de.defstyle("frame-ionframe", {
46 based_on = "frame",
47 -- de.substyle("active", {
48 -- }),
49 -- de.substyle("inactive", {
50 -- }),
53 de.defstyle("frame-floatframe", {
54 based_on = "frame",
55 padding_pixels = 1,
56 de.substyle("active", {
57 padding_colour = "#99A",
58 }),
59 de.substyle("inactive", {
60 padding_colour = "#666",
61 }),
64 de.defstyle("tab", {
65 based_on = "*",
67 highlight_pixels = 1,
68 shadow_pixels = 1,
69 padding_pixels = 1,
70 spacing = 1,
72 transparent_background = true,
74 text_align = "center",
76 de.substyle("active-selected", {
77 shadow_colour = "#99A",
78 highlight_colour = "#99A",
79 background_colour = "#667",
80 foreground_colour = "#FFF",
81 }),
82 de.substyle("active-unselected", {
83 shadow_colour = "#667",
84 highlight_colour = "#667",
85 background_colour = "#334",
86 foreground_colour = "#999",
87 }),
88 de.substyle("inactive-selected", {
89 shadow_colour = "#666",
90 highlight_colour = "#666",
91 background_colour = "#333",
92 foreground_colour = "#888",
93 }),
94 de.substyle("inactive-unselected", {
95 shadow_colour = "#333",
96 highlight_colour = "#333",
97 background_colour = "#111",
98 foreground_colour = "#777",
99 }),
102 de.defstyle("tab-frame", {
103 based_on = "tab",
104 padding_pixels = 3,
105 -- de.substyle("*-*-tagged", {
106 -- }),
107 -- de.substyle("*-*-*-dragged", {
108 -- }),
109 de.substyle("active-*-*-*-activity", {
110 shadow_colour = "red",
111 highlight_colour = "red",
112 background_colour = "#800",
113 foreground_colour = "#FFF",
115 de.substyle("inactive-*-*-*-activity", {
116 shadow_colour = "#800",
117 highlight_colour = "#800",
118 background_colour = "#400",
119 foreground_colour = "#888",
123 de.defstyle("tab-frame-ionframe", {
124 based_on = "tab-frame",
127 de.defstyle("tab-frame-floatframe", {
128 based_on = "tab-frame",
129 padding_pixels = 4,
132 de.defstyle("tab-menuentry", {
133 based_on = "tab",
135 padding_pixels = 6,
136 spacing = 4,
138 font = "-xos4-terminus-medium-r-normal--16-*-*-*-*-*-*-*",
139 text_align = "left",
141 -- de.substyle("*-*-submenu", {
142 -- }),
145 de.defstyle("tab-menuentry-big", {
146 based_on = "tab-menuentry",
148 padding_pixels = 8,
150 font = "-xos4-terminus-medium-r-normal--28-*-*-*-*-*-*-*",
153 de.defstyle("input", {
154 based_on = "*",
156 foreground_colour = "#FFF",
157 background_colour = "#667",
158 padding_colour = "#667",
160 transparent_background = false,
162 border_style = "elevated",
164 padding_pixels = 2,
167 de.defstyle("input-edln", {
168 based_on = "input",
170 de.substyle("*-cursor", {
171 background_colour = "#FFF",
172 foreground_colour = "#667",
174 de.substyle("*-selection", {
175 background_colour = "#AAA",
176 foreground_colour = "#334",
180 de.defstyle("input-message", {
181 based_on = "input",
184 de.defstyle("input-menu", {
185 based_on = "input",
187 transparent_background = true,
189 highlight_pixels = 0,
190 shadow_pixels = 0,
191 padding_pixels = 0,
192 spacing = 0,
195 de.defstyle("input-menu-big", {
196 based_on = "input-menu",
199 de.defstyle("moveres_display", {
200 based_on = "input",
203 de.defstyle("dock", {
204 --based_on = "frame-ionframe",
205 border = 7,
206 outline_style = "each",
209 gr.refresh()