/
rules.dei
75 lines (58 loc) · 1.58 KB
/
rules.dei
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
# Length rules for the default UI style
script {
UNIT = 4.0
}
rule unit { constant $= UNIT }
rule halfunit { constant $= UNIT / 2 }
rule gap { constant $= UNIT * 3 }
rule glow { constant $= UNIT * 25 }
group label {
rule gap { constant $= gap.constant / 2 }
}
rule scrollarea.bar { constant $= UNIT }
group document {
rule progress { constant $= UNIT * 30 }
rule popup.width { constant $= UNIT * 120 }
}
group editor {
rule width { constant $= UNIT * 55 }
rule completion.height { constant $= UNIT * 100 }
}
group progress {
rule textgap { constant $= gap.constant }
}
group slider {
rule width { constant $= UNIT * 55 }
rule label { constant $= UNIT * 9 }
rule editor { constant $= UNIT * 20 }
}
group dialog {
rule gap { constant $= UNIT * 2 }
rule about.width { constant $= UNIT * 80 }
rule message.width { constant $= UNIT * 115 }
rule download.width { constant $= UNIT * 115 }
rule multiplayer.width { constant $= UNIT * 80 }
}
group alerts {
rule width { constant $= UNIT * 100 }
}
group sidebar {
rule width { constant $= UNIT * 80 }
}
group console {
rule width { constant $= UNIT * 125 }
group commandline {
rule width.min { constant $= UNIT * 25 }
rule width.max { constant $= UNIT * 75 }
}
}
group gameselection {
rule max.width { constant $= UNIT * 215 }
rule max.height { constant $= UNIT * 215 }
}
group coloradjustment {
rule slider { constant $= slider.width.constant * 1.36 }
}
group rendererappearance {
rule width { constant $= UNIT * 100 }
}