]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - html/html/themes/ipfire/include/css/style.css
rrdimage: Improve CGI & cosmetic changes
[people/pmueller/ipfire-2.x.git] / html / html / themes / ipfire / include / css / style.css
CommitLineData
f880f8a2
MT
1
2/* This controls the width of the fixed width layouts */
3
697a4d52 4.fixed {
1ada718c 5 width: 960px !important;
f880f8a2
MT
6}
7
8/* Basic Stuff */
9
10* {
11 margin: 0;
12 padding: 0;
13}
14
697a4d52
MT
15html {
16 height: 100%;
17}
18
f880f8a2 19body {
697a4d52
MT
20 /* SVG as background image (IE9/Chrome/Safari/Opera) */
21 background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMTAwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDAwMDAwIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjODgwNDAwIiBvZmZzZXQ9IjU3JSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c2ODQpIiAvPgo8L3N2Zz4=);
22
23 background-image: linear-gradient(
24 bottom,
25 #000000 0%,
26 #880400 57%
27 );
28 background-image: -o-linear-gradient(
29 bottom,
30 #000000 0%,
31 #880400 57%
32 );
33 background-image: -moz-linear-gradient(
34 bottom,
35 #000000 0%,
36 #880400 57%
37 );
38 background-image: -webkit-linear-gradient(
39 bottom,
40 #000000 0%,
41 #880400 57
42 );
43 background-image: -ms-linear-gradient(
44 bottom,
45 #000000 0%,
46 #880400 57%
47 );
48 background-image: -webkit-gradient(
49 linear,
50 left bottom,
51 left top,
52 color-stop(0, #000000),
53 color-stop(0.57, #880400)
54 );
f880f8a2 55 background-attachment: fixed;
697a4d52 56
f880f8a2 57 font-size: 9pt;
d0c91170 58 font-family: "DejaVu Sans", Helvetica, sans-serif;
f880f8a2
MT
59}
60
b0cffde3 61
697a4d52 62h1, h2, h3, h4, h5, h6 {
f880f8a2
MT
63 font-size: 20px;
64 font-weight: normal;
65 letter-spacing: -1px;
f880f8a2
MT
66 text-align: left;
67}
68
0f9894af 69h1 {
f880f8a2
MT
70 color: #66000F;
71}
72
f880f8a2
MT
73br.clear {
74 clear: both;
75}
76
77img {
78 padding: 3px;
79}
80
f880f8a2
MT
81a {
82 text-decoration: underline;
697a4d52 83 color: #d90000;
f880f8a2
MT
84}
85
86a:hover {
87 text-decoration: none;
88}
89
f880f8a2
MT
90p {
91 line-height: 1.8em;
92}
93
697a4d52
MT
94hr {
95 margin: 0.3em 0 0.3em 0;
96}
97
f880f8a2
MT
98iframe {
99 border: 0;
100}
101
c3f00878
MT
102.pull-right {
103 float: right !important;
104}
105
f880f8a2
MT
106/* Header */
107
108#header {
697a4d52 109 height: 70px;
f880f8a2
MT
110 margin: 0 auto;
111}
112
113/* Logo */
114
115#logo {
697a4d52
MT
116 height: 65px;
117 margin-top: 1em;
f880f8a2
MT
118}
119
120#logo h1 {
f880f8a2
MT
121 color: #fff;
122 font-size: 3.6em;
697a4d52 123 font-weight: bold;
9c9c9cb6 124 padding-top: 0.2em;
697a4d52 125 padding-left: 1.7em;
f880f8a2
MT
126}
127
128/* Main */
129
697a4d52 130.bigbox {
f880f8a2 131 margin: 0 auto;
935f311e 132 margin-top: 0.5em;
697a4d52 133 padding: 1.5em 2em 0 2em;
f14e224b 134 background: #fff url('../../images/n2.gif') 0px 0px repeat-x;
f880f8a2 135 border: 1px solid black;
935f311e
MT
136
137 border-radius: 3px 3px 3px 3px;
138 -webkit-border-radius: 3px 3px 3px 3px;
f880f8a2
MT
139}
140
697a4d52
MT
141#main_inner {
142 padding-bottom: 1.5em;
143}
144
f880f8a2
MT
145#main_inner p {
146 text-align: justify;
697a4d52 147 margin-bottom: 2em;
f880f8a2
MT
148}
149
150#main_inner ul {
697a4d52 151 margin-bottom: 2em;
f880f8a2
MT
152}
153
154#main_inner h1 {
697a4d52 155 font-size: 1.8em;
f880f8a2
MT
156 margin-bottom: 1em;
157}
158
f880f8a2 159#main_inner .post {
f880f8a2 160 border: 1px solid silver;
697a4d52
MT
161 padding: 1em 2em 1em 2em;
162 margin-bottom: 1em;
163 clear: both;
f880f8a2
MT
164}
165
697a4d52
MT
166#main_inner .post h2 {
167 border-bottom: dotted 1px #e1e1e1;
0f9894af 168 font-size: 1.6em;
697a4d52 169 margin-bottom: 1em;
f880f8a2
MT
170}
171
f880f8a2 172#footer {
697a4d52
MT
173 height: 2.5em;
174 margin-bottom: 1em;
f880f8a2
MT
175}
176
c3f00878
MT
177#footer a {
178 color: inherit;
179 text-decoration: none;
180}
181
182#footer a:hover {
183 text-decoration: underline;
184}
185
f880f8a2
MT
186input {
187 margin: 0.2em;
188}
189
190input.button {
f14e224b 191 background: #ca2f2f url('../../images/n3.gif') repeat-x;
f880f8a2 192 color: #fff;
697a4d52 193 border: solid 1px #a94b4b;
f880f8a2 194 font-weight: bold;
f880f8a2
MT
195 font-size: 0.8em;
196 height: 2.0em;
197}
198
199input.text {
697a4d52
MT
200 border: solid 1px #f1f1f1;
201 padding: 0.25em;
f880f8a2
MT
202}
203
204#traffic {
f880f8a2 205 float: right;
697a4d52
MT
206 min-width: 20em;
207 line-height: 32px;
f880f8a2
MT
208}
209
af731c7d 210/* Menu */
af731c7d 211#cssmenu {
af731c7d 212 margin: 0 auto;
697a4d52
MT
213 margin-top: 0;
214 padding-top: 0;
af731c7d
AM
215 font-weight: 600;
216 height: 32px;
217 border: 1px solid black;
218}
f880f8a2 219
af731c7d 220#cssmenu a {
af731c7d
AM
221 color: #111111;
222 display: inline-block;
af731c7d 223 line-height: 32px;
697a4d52 224 padding: 0 1em;
af731c7d 225 text-decoration: none;
af731c7d
AM
226}
227
228#cssmenu ul {
229 list-style: none;
230}
f880f8a2 231
af731c7d
AM
232#cssmenu > ul > li {
233 display: inline-block;
af731c7d
AM
234}
235
f880f8a2 236#cssmenu > ul > li.active a, #cssmenu > ul > li:hover > a {
af731c7d
AM
237 color: white;
238 background: #aaaaaa;
239}
240
af731c7d
AM
241#cssmenu .has-sub:hover > ul {
242 display: block;
243}
f880f8a2 244
af731c7d
AM
245#cssmenu .has-sub ul {
246 display: none;
247 position: absolute;
af731c7d 248}
f880f8a2 249
af731c7d 250#cssmenu .has-sub ul li a {
697a4d52 251 min-width: 12em;
af731c7d
AM
252 background: #ffffff;
253 color: grey;
af731c7d
AM
254 display: block;
255 line-height: 40%;
256 padding: 12px 5px;
257 border: 1px solid black;
258}
f880f8a2 259
af731c7d
AM
260#cssmenu .has-sub ul li:hover a {
261 background: #dddddd;
af731c7d 262}
b5890e73
MT
263
264/* This decorates all tables with class="tbl" */
265
266table {
267 *border-collapse: collapse; /* IE7 and lower */
268 border-spacing: 0;
269}
270
271.tbl th {
272 color: #000000;
273 border-top: 1px solid lightgrey;
274 border-bottom: 1px solid lightgrey;
275 background: #cccccc;
b1be2de7
AM
276 padding-left: 0.5em;
277 padding-right: 0.5em;
b5890e73
MT
278}
279
280.tbl th:first-child {
281 border-left: 1px solid lightgrey;
282 border-top: 1px solid lightgrey;
283 border-bottom: 1px solid lightgrey;
284}
285
286.tbl th:last-child {
287 border-right: 1px solid lightgrey;
288 border-top: 1px solid lightgrey;
289 border-bottom: 1px solid lightgrey;
290}
291
292.tbl th:only-child {
293 border: 1px solid lightgrey;
294}
11e012ef
AM
295.tbl td{
296 padding-left: 0.5em;
b1be2de7 297 padding-right: 0.5em;
11e012ef 298}
b5890e73
MT
299.tbl tr td:first-child {
300 border-left: 1px solid lightgrey;
301}
302
303.tbl tr td:last-child {
304 border-right: 1px solid lightgrey;
305}
306
30491c6a 307.tbl tr:first-child td {
b5890e73
MT
308 border-top: 1px solid lightgrey;
309}
310
311.tbl tr:last-child td:only-child {
312 border-bottom: 1px solid lightgrey;
313}
314
315.tbl tr:last-child td:first-child {
316 border-bottom: 1px solid lightgrey;
317}
318
319.tbl tr:last-child td:last-child {
320 border-bottom: 1px solid lightgrey;
321}
322
323.tbl tr:last-child td {
324 border-bottom: 1px solid lightgrey;
325}
c98b743c
SS
326
327table.fw-nat tbody tr td {
328 height: 2.25em;
329}
a249ccd2 330
9064bc72
LAH
331/* RRD graph images */
332
333div.rrdimage > ul {
334 list-style-type: none;
335 margin: 0;
336 display: flex;
337 justify-content: center;
338}
339.rrdimage li:not(:first-child)::before {
340 content: "-";
341 padding: 0 0.3em;
342}
343
344.rrdimage button {
345 padding: 0.3em;
346 font-weight: 700;
347 color: #d90000; /* link color */
348 border: none;
349 background: none;
350 cursor: pointer;
c095f814 351 text-decoration: none;
9064bc72
LAH
352}
353.rrdimage button:focus {
354 outline: none;
355 box-shadow: none;
356}
357.rrdimage button.selected {
c095f814 358 text-decoration: underline;
9064bc72
LAH
359}
360
361div.rrdimage > img {
362 box-sizing: border-box;
363 max-width: 100%;
364 min-height: 290px;
a249ccd2 365}