More cleanups of dead code
[notion.git] / contrib / styles / look_tiny_min_tabs.lua
blobb64dc662bb25555008ee2a52587d1b884179222d
1 -- Authors: Unknown
2 -- License: Unknown
3 -- Last Changed: Unknown
4 --
5 -- look_tiny.min_tabs.lua: an ion3 style for use with the min_tabs
6 -- extension, based on:
7 -- look_tiny.lua: an ion3 style for small screens...like mine :(
8 -- based on look_minimalist.lua
10 if not gr.select_engine("de") then return end
12 de.reset()
14 de.defstyle("*", {
15 bar_inside_border = true,
16 background_colour = "#000000",
17 foreground_colour = "#ffffff",
18 padding_colour = "#505050",
19 padding_pixels = 0,
20 highlight_pixels = 0,
21 shadow_pixels = 0,
22 border_style = "ridge",
23 font = "-*-lucida-medium-r-normal-*-10-*-*-*-*-*-*-*",
24 text_align = "left",
25 transparent_background = true,
28 de.defstyle("frame", {
29 based_on = "*",
30 spacing = 2,
33 de.defstyle("frame-tiled", {
34 based_on = "frame",
35 border_style = "elevated",
36 padding_pixels = 2,
37 highlight_colour = "#000000",
38 shadow_colour = "#000000",
39 highlight_pixels = 1,
40 shadow_pixels = 1,
41 de.substyle("active", {
42 padding_colour = "#5555cc",
46 de.defstyle("frame-floating", {
47 based_on = "frame",
48 highlight_colour = "#888888",
49 shadow_colour = "#333333",
50 highlight_pixels = 1,
51 shadow_pixels = 1,
52 padding_pixels = 3,
55 de.defstyle("tabstyle", {
56 based_on = "*",
57 background_colour = "#222222",
58 de.substyle("active-unselected", {
59 padding_colour = "#353577",
60 background_colour = "#000044",
61 }),
62 de.substyle("inactive-selected", {
63 padding_colour = "#707070",
64 background_colour = "#505050",
65 }),
66 de.substyle("active-selected", {
67 padding_colour = "#5555cc",
68 background_colour = "#223399",
69 }),
72 de.defstyle("tab", {
73 based_on = "tabstyle",
74 spacing = 2,
75 padding_pixels=1,
78 de.defstyle("tab-menuentry", {
79 based_on = "tabstyle",
80 font = "-*-lucida-medium-r-normal-*-12-*-*-*-*-*-*-*",
81 text_align = "left",
84 de.defstyle("tab-menuentry-big", {
85 based_on = "tab-menuentry",
86 font = "-*-lucida-medium-r-normal-*-24-*-*-*-*-*-*-*",
89 de.defstyle("input", {
90 based_on = "*",
91 padding_pixels = 1,
92 font = "-*-lucida-medium-r-normal-*-14-*-*-*-*-*-*-*",
93 de.substyle("*-cursor", {
94 background_colour = "#00ff00",
95 foreground_colour = "#000000",
96 }),
97 de.substyle("*-selection", {
98 foreground_colour = "#5555cc",
99 }),
102 de.defstyle("stdisp", {
103 based_on = "tab",
104 background_colour = "#000000",
105 padding_colour = "#000000",
106 de.substyle("important", { foreground_colour = "#ffff00", }),
107 de.substyle("critical", { foreground_colour = "#ff0000", }),
108 de.substyle("gray", { foreground_colour = "#505050", }),
109 de.substyle("red", { foreground_colour = "#ff0000", }),
110 de.substyle("green", { foreground_colour = "#00ff00", }),
111 de.substyle("blue", { foreground_colour = "#0000ff", }),
112 de.substyle("cyan", { foreground_colour = "#00ffff", }),
113 de.substyle("magenta", { foreground_colour = "#ff00ff", }),
114 de.substyle("yellow", { foreground_colour = "#ffff00", }),
117 gr.refresh()