-
Notifications
You must be signed in to change notification settings - Fork 275
/
defaults.less
134 lines (110 loc) · 2.02 KB
/
defaults.less
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
/* Color definitions */
@colorMainLayout: #049baf;
@colorMainBackground: #fff;
@colorMainForeground: #666;
@colorMainLink: #222;
@colorSecondary: #f9f9f9;
@colorGray: #f9f9f9;
@colorLinkDefault: #049baf;
@colorTextDefault: @colorMainForeground;
@colorTextDarkDefault: #555;
@colorOk: #44bb77;
@colorWarning: #ffaa44;
@colorWarningHandled: #ffcc66;
@colorCritical: #ff5566;
@colorCriticalHandled: #ff99aa;
@colorUnknown: #aa44ff;
@colorUnknownHandled: #cc77ff;
@colorUnreachable: #aa44ff;
@colorUnreachableHandled: #cc77ff;
@colorPending: #77aaff;
@colorInvalid: #999;
@colorFormNotificationInfo: #77aaff;
@colorFormNotificationWarning: #ffaa44;
@colorFormNotificationError: #ff5566;
/* deprecated */
@colorPetrol: @colorMainLayout;
/*** Base rules ***/
* {
font-size: 100%;
}
html, body {
height: 100%;
}
html {
background: #fff;
}
img {
border: none;
}
/*
TODO: -xy-text-resize-dings
*/
html, body, form {
/* TODO: Really 0 ? */
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border: none;
}
body {
font-family: Calibri, Helvetica, sans-serif;
color: #666;
background-color: white;
}
a {
color: @colorMainLink;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
h1, h2, h3, h4, h5, h6 {
font-size: 1em;
padding: 0.3em 0em;
margin: 0.7em 0 0.5em 0;
color: @colorMainForeground;
border-bottom: 1px dotted #aaa;
a {
text-decoration: none;
color: inherit;
&:hover {
text-decoration: underline;
}
}
}
h5 {
font-size: 0.83em;
}
h6 {
font-size: 0.75em;
}
h1 {
border-bottom: 3px solid #666;
font-variant: small-caps;
font-weight: bold;
}
h2 {
border-bottom: 1px solid #888;
font-variant: small-caps;
font-weight: normal;
}
h3 {
font-weight: normal;
border-bottom: 1px solid #aaa;
}
button {
font-family: inherit;
}
#fontsize-calc {
display: none;
width: 1000em;
height: 1em;
font-size: 1em;
position: absolute;
top: -2em;
}
/*** END of Base rules */