]> git.decadent.org.uk Git - ion3.git/blob - etc/lookcommon_clean.lua
[svn-upgrade] Integrating new upstream version, ion3 (20070203)
[ion3.git] / etc / lookcommon_clean.lua
1 -- Settings common to some styles.
2
3 de.defstyle("stdisp", {
4     based_on = "*",
5     shadow_pixels = 0,
6     highlight_pixels = 0,
7     text_align = "left",
8     background_colour = "#000000",
9     foreground_colour = "grey",
10     font="-misc-fixed-medium-r-*-*-13-*-*-*-*-60-*-*",
11     
12     de.substyle("important", {
13         foreground_colour = "green",
14     }),
15
16     de.substyle("critical", {
17         foreground_colour = "red",
18     }),
19 })
20
21 de.defstyle("actnotify", {
22     based_on = "*",
23     shadow_colour = "#c04040",
24     highlight_colour = "#c04040",
25     background_colour = "#901010",
26     foreground_colour = "#eeeeee",
27 })
28
29 de.defstyle("tab-frame", {
30     based_on = "tab",
31     -- TODO: some kind of amend option. It should not be necessary to 
32     -- duplicate this definition for both tab-frame and tab-menuentry,
33     -- or for each style, nor use more complex hacks to communicate
34     -- this stuff otherwise.
35     de.substyle("*-*-*-unselected-activity", {
36         shadow_colour = "#c04040",
37         highlight_colour = "#c04040",
38         background_colour = "#901010",
39         foreground_colour = "#eeeeee",
40     }),
41     
42     de.substyle("*-*-*-selected-activity", {
43         shadow_colour = "#c04040",
44         highlight_colour = "#c04040",
45         background_colour = "#b03030",
46         foreground_colour = "#ffffff",
47     }),
48 })
49
50 de.defstyle("tab-frame-tiled", {
51     based_on = "tab-frame",
52     spacing = 1,
53 })
54
55 de.defstyle("tab-menuentry", {
56     based_on = "tab",
57     text_align = "left",
58     
59     de.substyle("*-*-*-unselected-activity", {
60         shadow_colour = "#c04040",
61         highlight_colour = "#c04040",
62         background_colour = "#901010",
63         foreground_colour = "#eeeeee",
64     }),
65     
66     de.substyle("*-*-*-selected-activity", {
67         shadow_colour = "#c04040",
68         highlight_colour = "#c04040",
69         background_colour = "#b03030",
70         foreground_colour = "#ffffff",
71     }),
72 })
73
74 de.defstyle("frame", {
75     based_on = "*",
76     background_colour = "#000000",
77     transparent_background = false,
78     de.substyle("quasiactive", {
79         -- Something detached from the frame is active
80         padding_colour = "#901010",
81     }),
82 })
83
84 de.defstyle("frame-tiled", {
85     based_on = "frame",
86     shadow_pixels = 0,
87     highlight_pixels = 0,
88     padding_pixels = 1,
89     spacing = 1,
90 })
91
92 de.defstyle("frame-tiled-alt", {
93     based_on = "frame-tiled",
94     bar = "none",
95 })
96
97 de.defstyle("frame-floating", {
98     based_on = "frame",
99     bar = "shaped",
100     padding_pixels = 0,
101 })