Fix bug when the focused window deinitialized
[notion.git] / contrib / styles / look_bas.lua
blob23ca06670a7edef94fd67bc12799d372fb832a01
1 -- Authors: Bas Kok
2 -- License: Unknown
3 -- Last Changed: 2004-09-16
4 --
5 -- look-bb.lua for use with the bb background.
6 -- Bas Kok 20040916
8 if not gr.select_engine("de") then return end
10 de.reset()
12 de.defstyle("*", {
13 shadow_colour = "#404040",
14 highlight_colour = "#707070",
15 background_colour = "#505050",
16 foreground_colour = "#a0a0a0",
17 padding_pixels = 1,
18 highlight_pixels = 1,
19 shadow_pixels = 1,
20 border_style = "elevated",
21 font = "-artwiz-snap-*-*-*-*-*-100-*-*-*-*-*-*",
22 text_align = "center",
23 transparent_background = true,
26 de.defstyle("frame", {
27 based_on = "*",
28 shadow_colour = "#404040",
29 highlight_colour = "#707070",
30 padding_colour = "#505050",
31 background_colour = "#1c2636",
32 foreground_colour = "#b6b4b8",
33 padding_pixels = 0,
34 highlight_pixels = 0,
35 shadow_pixels = 0,
36 de.substyle("active", {
37 shadow_colour = "#0f1729",
38 highlight_colour = "#637782",
39 padding_colour = "#4b7d96",
40 foreground_colour = "#b6b4b8",
41 }),
42 transparent_background = true,
45 de.defstyle("frame-ionframe", {
46 based_on = "frame",
47 border_style = "inlaid",
48 padding_pixels = 0,
49 spacing = 0,
52 de.defstyle("frame-floatframe", {
53 based_on = "frame",
54 border_style = "ridge"
57 de.defstyle("tab", {
58 based_on = "*",
59 font = "-artwiz-snap-*-*-*-*-*-100-*-*-*-*-*-*",
60 de.substyle("active-selected", {
61 shadow_colour = "#435663",
62 highlight_colour = "#435663",
63 background_colour = "#546b7c",
64 foreground_colour = "#b6b4b8",
65 }),
66 de.substyle("active-unselected", {
67 shadow_colour = "#435663",
68 highlight_colour = "#435663",
69 background_colour = "#435663",
70 foreground_colour = "#a0a0a0",
71 }),
72 de.substyle("inactive-selected", {
73 shadow_colour = "#161d21",
74 highlight_colour = "#161d21",
75 background_colour = "#232c33",
76 foreground_colour = "#a0a0a0",
77 }),
78 de.substyle("inactive-unselected", {
79 shadow_colour = "#161d21",
80 highlight_colour = "#161d21",
81 background_colour = "#161d21",
82 foreground_colour = "#a0a0a0",
83 }),
84 text_align = "center",
87 de.defstyle("tab-frame", {
88 based_on = "tab",
89 de.substyle("*-*-*-*-activity", {
90 shadow_colour = "#404040",
91 highlight_colour = "#707070",
92 background_colour = "#990000",
93 foreground_colour = "#eeeeee",
94 }),
97 de.defstyle("tab-frame-ionframe", {
98 based_on = "tab-frame",
99 spacing = 0,
102 de.defstyle("tab-menuentry", {
103 based_on = "tab",
104 text_align = "left",
105 highlight_pixels = 0,
106 shadow_pixels = 0,
109 de.defstyle("tab-menuentry-big", {
110 based_on = "tab-menuentry",
111 font = "-artwiz-snap-*-*-*-*-*-100-*-*-*-*-*-*",
112 padding_pixels = 7,
115 de.defstyle("input", {
116 based_on = "*",
117 shadow_colour = "#404040",
118 highlight_colour = "#707070",
119 background_colour = "#1c2636",
120 foreground_colour = "#b6b4b8",
121 border_style = "elevated",
122 de.substyle("*-cursor", {
123 background_colour = "#b6b4b8",
124 foreground_colour = "#1c2636",
126 de.substyle("*-selection", {
127 background_colour = "#505050",
128 foreground_colour = "#b6b4b8",
132 de.defstyle("input-menu", {
133 based_on = "*",
134 de.substyle("active", {
135 shadow_colour = "#0f1729",
136 highlight_colour = "#637782",
137 background_colour = "#5892b0",
138 foreground_colour = "#b6b4b8",
142 gr.refresh()