]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - css/unrealircd-admin.css
Add branding to the navbar/header
[irc/unrealircd/unrealircd-webpanel.git] / css / unrealircd-admin.css
CommitLineData
709b97f3 1.unrealircd_overview {
371aa651
VP
2 font-family: arial, sans-serif;
3 border-collapse: collapse;
4 border-radius: 7px;
5 width: 25%;
6 box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
82f5bcbf 7}
5cc8ca4a 8
d843c1de
VP
9.badge-pill {
10 box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
11}
12
5cc8ca4a
VP
13.navbar-nav li> {
14 border-radius: 4px;
15}
16.navbar-nav li>a:hover,.navbar-nav li.active {
17 color: white;
18 background-color: #4B86EE;
19 border-radius: 4px;
20}
21.navbar-nav li>a:hover,.navbar-nav li>a:focus {
22 color: white;
23 background-color: #6ca0f8;
24 border-radius: 4px;
25}
26
35ccb286 27.tkl_add_boxheader {
5cc8ca4a 28
371aa651
VP
29 font-weight: bold;
30 background-color: #4B86EE;
31 width: 24%;
32 color: white;
33 margin-top: 20px;
34 border: 10px solid #4B86EE;
35 border-top-left-radius: 10px;
36 border-top-right-radius: 10px;
35ccb286 37}
82f5bcbf 38
35ccb286 39.align_right {
371aa651
VP
40 width: 10px;
41 text-align: right;
35ccb286
VP
42}
43
44.tkl_add_form {
371aa651
VP
45 background-color: lightgray;
46 padding: 10px;
47 width: 24%;
48 box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
49 line-height: 30px;
35ccb286
VP
50}
51
52.tkl_add_form_contents {
371aa651
VP
53 margin-left: auto;
54 margin-right: 0;
35ccb286 55}
ef866d8c 56.users_overview {
371aa651
VP
57 font-family: arial, sans-serif;
58 border-collapse: collapse;
59 border-radius: 7px;
60 width: 100%;
61 box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
82f5bcbf 62}
35ccb286 63.input_text {
371aa651 64 border-radius: 7px;
35ccb286 65}
1d7e7ff8 66select {
371aa651 67 border-radius: 7px;
1d7e7ff8
VP
68}
69
4d834e71 70.thuf {
371aa651 71 border-bottom-left-radius: 10px;
4d834e71
VP
72}
73
74.thuffer {
371aa651 75 border-bottom-right-radius: 10px;
4d834e71
VP
76}
77.filter-fields {
371aa651
VP
78 height: 30px;
79 width: 400px;
80 padding: 5px 5px;
81 margin: 8px 0;
82 border-radius: 7px;
4d834e71
VP
83}
84
1a28c5b0 85.secure-connection {
371aa651
VP
86 color: darkgreen;
87 border: 3px solid darkgreen;
88 background-color: rgba(0, 255, 0, 0.1);
d4a2999b
VP
89}
90
91.operclass-label {
371aa651
VP
92 color:brown;
93 border: 3px solid brown;
94 background-color: rgba(255, 166, 0, 0.247);
1a28c5b0 95}
3f487ee1 96.bluelabel {
371aa651
VP
97 color: blue;
98 border: 3px solid darkblue;
99 background-color: rgba(131, 78, 255, 0.295);
3f487ee1
VP
100}
101.redlabel {
371aa651
VP
102 color: darkred;
103 border: 3px solid darkred;
104 background-color: rgba(255, 78, 78, 0.295);
1a28c5b0 105}
35ccb286
VP
106
107.align_label {
371aa651
VP
108 width: 80px;
109 display: inline-block;
110 text-align: right;
35ccb286
VP
111}
112
113.align_right_button_tkl_add {
371aa651
VP
114 width: 400px;
115 display: inline-block;
116 text-align: right;
35ccb286
VP
117}
118
1a28c5b0 119.label {
371aa651
VP
120 white-space: nowrap;
121 font-family: 'Heebo', sans-serif;
122 font-size: 0.65rem;
123 font-weight: 500;
124 letter-spacing: 0.025rem;
125 font-style: normal;
126 text-transform: uppercase;
127 border-radius: 7px;
128 -webkit-border-radius: 1rem;
129 -moz-border-radius: 1rem;
130 padding: 0.20rem 0.50rem;
131 border-style: solid;
132
133 }
1d7e7ff8 134textarea {
371aa651
VP
135 height: 30px;
136 width: 400px;
137 padding: 5px 5px;
138 margin: 8px 0;
139 border-radius: 7px;
1d7e7ff8 140 }
82f5bcbf 141table {
371aa651
VP
142 border-collapse: collapse;
143 margin: 25px 0;
144 font-size: 0.9em;
145 font-family: sans-serif;
146 min-width: 400px;
147 box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
709b97f3
VP
148}
149
ef866d8c 150td {
371aa651
VP
151 text-align: left;
152 padding: 8px;
ef866d8c
VP
153}
154
709b97f3 155th {
371aa651
VP
156 text-align: left;
157 padding: 8px;
158 background-color: #4B86EE;
159 color: white;
709b97f3
VP
160}
161
82f5bcbf 162th:first-of-type {
371aa651
VP
163 border-top-left-radius: 10px;
164 color: white;
82f5bcbf
VP
165}
166
167th:last-of-type {
371aa651
VP
168 border-top-right-radius: 10px;
169 color: white;
82f5bcbf
VP
170}
171
172tr:last-of-type td:first-of-type {
371aa651 173 border-bottom-left-radius: 10px;
82f5bcbf
VP
174
175}
176
177tr:last-of-type td:last-of-type {
371aa651 178 border-bottom-right-radius: 10px;
82f5bcbf
VP
179}
180
709b97f3 181tr:nth-child(even) {
371aa651 182 background-color: #bec8d3;
709b97f3
VP
183}
184
82f5bcbf 185tr:nth-child(odd) {
371aa651 186 background-color: whitesmoke;
709b97f3
VP
187}
188
26971737 189html {
371aa651
VP
190 height: 100%;
191 /* for the page to take full window height */
192 box-sizing: border-box;
26971737 193
371aa651
VP
194 /* to have the footer displayed at the bottom of the page without scrolling */
195 font-family: arial, sans-serif;
26971737
VP
196
197}
198
199*,
200*:before,
201*:after {
371aa651
VP
202 box-sizing: inherit;
203 /* enable the "border-box effect" everywhere */
26971737
VP
204}
205
206.body-for-sticky {
371aa651
VP
207 position: relative;
208 /* for the footer to move with the page size */
209 min-height: 100%;
210 /* for the footer to be at the bottom */
26971737
VP
211}
212
ef866d8c 213.footer {
371aa651
VP
214 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
215 position: fixed;
216 left: 0;
217 bottom: 0;
218 width: 100%;
219 background-color: #333;
220 color: white;
221 text-align: center;
ef866d8c
VP
222}
223
26971737 224
ef866d8c 225.footer a {
371aa651 226 color: #4B86EE;
ef866d8c 227}
82f5bcbf 228
709b97f3 229.row {
371aa651 230 display: flex;
709b97f3
VP
231}
232
233.column {
371aa651
VP
234 flex: 50%;
235 padding: 5px;
709b97f3
VP
236}
237
238.topnav {
371aa651
VP
239 background-color: #333;
240 overflow: hidden;
241 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
c8ac611d 242
709b97f3
VP
243}
244
245/* Style the links inside the navigation bar */
246.topnav a {
371aa651
VP
247 float: left;
248 color: #f2f2f2;
249 text-align: center;
250 padding: 14px 16px;
251 text-decoration: none;
252 font-size: 17px;
709b97f3
VP
253}
254
255/* Change the color of links on hover */
256.topnav a:hover {
371aa651
VP
257 background-color: #ddd;
258 color: black;
709b97f3
VP
259}
260
261/* Add a color to the active/current link */
262.topnav a.active {
371aa651
VP
263 background-color: #4B86EE;
264 color: white;
709b97f3
VP
265}
266
267
268[data-tab-content] {
371aa651 269 display: none;
709b97f3
VP
270}
271
272.active[data-tab-content] {
371aa651 273 display: block;
709b97f3
VP
274}
275
276.tab.active {
371aa651 277 background-color: #AAA;
709b97f3
VP
278}
279
280.tab:hover {
371aa651 281 background-color: #AAA;
82f5bcbf
VP
282}
283
284#headerContainer,
285#headerTitle {
371aa651
VP
286 background-color: #4B86EE;
287 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
288 height: 62px;
289 margin-top: -10px;
290 padding: 10px 25px;
291 position: relative;
82f5bcbf
VP
292}
293
294#headerContainer {
371aa651
VP
295 margin-left: -15px;
296 z-index: 10;
82f5bcbf 297
371aa651
VP
298 -webkit-box-shadow: 0 3px 3px .01px rgba(0, 0, 0, 0.2);
299 box-shadow: 0 3px 3px .01px rgba(0, 0, 0, 0.2);
82f5bcbf
VP
300}
301
302#headerContainer:before {
371aa651
VP
303 border-color: #034FD5 transparent;
304 border-style: solid;
305 border-width: 1em 0 0 1em;
306 bottom: -1em;
307 content: '';
308 display: block;
309 left: 0;
310 position: absolute;
82f5bcbf
VP
311}
312
313#headerContainer h2,
314#headerContainer h2 small {
371aa651
VP
315 color: white !important;
316 margin-bottom: 0px;
26971737 317
82f5bcbf
VP
318}
319
320#headerContainer h2 small {
371aa651 321 font-weight: lighter;
82f5bcbf
VP
322}
323
324#headerTitle {
371aa651
VP
325 background-color: white;
326 margin-right: 15px;
327 z-index: 9;
82f5bcbf
VP
328}
329
330#headerTitle h2 {
371aa651
VP
331 line-height: 1.5;
332 margin-bottom: 0px;
82f5bcbf
VP
333}
334
335#headerTitle h2 i {
371aa651
VP
336 color: #f2f2f2;
337 font-size: 80px;
338 position: absolute;
339 right: 0;
340 top: -30px;
341 z-index: -1;
82f5bcbf
VP
342}
343
344#headerTitle h2 small {
371aa651 345 color: #bbb;
82f5bcbf
VP
346}
347
26971737 348
82f5bcbf 349body {
911a6472 350 padding-top: 45px;
371aa651
VP
351 background-image: url("/img/linen.png");
352 display: flex;
353 flex-direction: column;
76200e36
VP
354}
355
911a6472 356@media screen and (max-width: 768px) {
5cc8ca4a 357 body { padding-top: 0px; }
911a6472
BM
358}
359
76200e36
VP
360/* CSS */
361.cute_button {
371aa651
VP
362 align-items: center;
363 appearance: none;
364 background-color: #4B86EE;
365 background-size: calc(100% + 20px) calc(100% + 20px);
366 border-radius: 7px;
367 border-width: 0;
368 box-shadow: none;
369 box-sizing: border-box;
370 color: #FFFFFF;
371 cursor: pointer;
372 display: inline-flex;
373 font-family: CircularStd, sans-serif;
374 font-size: 1rem;
375 height: auto;
376 justify-content: center;
377 line-height: 1.5;
378 padding: 6px 20px;
379 position: relative;
380 text-align: center;
381 text-decoration: none;
382 transition: background-color .2s, background-position .2s;
383 user-select: none;
384 -webkit-user-select: none;
385 touch-action: manipulation;
386 vertical-align: top;
387 white-space: nowrap;
76200e36
VP
388}
389
26971737
VP
390.cute_button:active,
391.cute_button:focus {
371aa651 392 outline: none;
76200e36
VP
393}
394
26971737 395.cute_button:hover {
371aa651
VP
396 background-position: -20px -20px;
397 background-color: #034FD5;
76200e36
VP
398}
399
26971737 400.cute_button:focus:not(:active) {
371aa651 401 box-shadow: rgba(40, 170, 255, 0.25) 0 0 0 .125em;
26971737
VP
402}
403
4d834e71 404.cute_button2 {
371aa651
VP
405 align-items: center;
406 appearance: none;
407 height: 27px;
408 background-color: green;
409 border-radius: 7px;
410 font-weight: bold;
411 border-width: 0;
412 box-shadow: none;
413 box-sizing: border-box;
414 color: #FFFFFF;
415 cursor: pointer;
416 display: inline-flex;
417 font-family: CircularStd, sans-serif;
418 font-size: 1rem;
419 justify-content: center;
420 line-height: 1.5;
421 position: relative;
422 text-align: center;
423 text-decoration: none;
424 transition: background-color .2s, background-position .2s;
425 user-select: none;
426 -webkit-user-select: none;
427 touch-action: manipulation;
428 white-space: nowrap;
4d834e71
VP
429}
430
431.cute_button2:active,
432.cute_button2:focus {
371aa651 433 outline: none;
4d834e71
VP
434}
435
436.cute_button2:hover {
371aa651
VP
437 background-position: -20px -20px;
438 background-color: #353c47;
4d834e71
VP
439}
440
441.cute_button2:focus:not(:active) {
371aa651 442 box-shadow: rgba(40, 170, 255, 0.25) 0 0 0 .125em;
4d834e71
VP
443}
444
26971737
VP
445
446.success {
371aa651
VP
447 padding: 10px;
448 background-color: #208120;
449 /* Red */
450 color: white;
451 margin-bottom: 15px;
452 margin-top: 15px;
453 border-radius: 7px;
454 width: 100%;
26971737
VP
455}
456
3f487ee1 457.information {
371aa651
VP
458 padding: 10px;
459 background-color: #245788;
460 /* Red */
461 color: white;
462 margin-bottom: 15px;
463 margin-top: 15px;
464 border-radius: 7px;
465 width: 100%;
26971737
VP
466}
467
468/* The close button */
469.closebtn {
371aa651
VP
470 margin-left: 15px;
471 color: white;
472 font-weight: bold;
473 float: right;
474 font-size: 22px;
475 line-height: 20px;
476 cursor: pointer;
477 transition: 0.3s;
2fba9a82
VP
478}
479
480
481.checkbox-dropdown {
371aa651
VP
482 width: 200px;
483 border: 1px solid #aaa;
484 padding: 10px;
485 position: relative;
486 margin: 0 auto;
487
488 user-select: first;
2fba9a82
VP
489}
490
491/* Display CSS arrow to the right of the dropdown text */
492.checkbox-dropdown:after {
371aa651
VP
493 content:'';
494 height: 0;
495 position: absolute;
496 width: 0;
497 border: 6px solid transparent;
498 border-top-color: #000;
499 top: 50%;
500 right: 10px;
501 margin-top: -3px;
2fba9a82
VP
502}
503
504/* Reverse the CSS arrow when the dropdown is active */
505.checkbox-dropdown.is-active:after {
371aa651
VP
506 border-bottom-color: #000;
507 border-top-color: #fff;
508 margin-top: -9px;
2fba9a82
VP
509}
510
511.checkbox-dropdown-list {
371aa651
VP
512 list-style: none;
513 margin: 0;
514 padding: 0;
515 position: absolute;
516 top: 100%; /* align the dropdown right below the dropdown text */
517 border: inherit;
518 border-top: none;
519 left: -1px; /* align the dropdown to the left */
520 right: -1px; /* align the dropdown to the right */
521 opacity: 0; /* hide the dropdown */
2fba9a82 522
371aa651
VP
523 transition: opacity 0.4s ease-in-out;
524 height: 100px;
525 overflow: scroll;
526 overflow-x: hidden;
527 pointer-events: none; /* avoid mouse click events inside the dropdown */
2fba9a82
VP
528}
529.is-active .checkbox-dropdown-list {
371aa651
VP
530 opacity: 1; /* display the dropdown */
531 pointer-events: auto; /* make sure that the user still can select checkboxes */
2fba9a82
VP
532}
533
534.checkbox-dropdown-list li label {
371aa651
VP
535 display: block;
536 border-bottom: 1px solid silver;
537 padding: 10px;
2fba9a82 538
371aa651 539 transition: all 0.2s ease-out;
2fba9a82
VP
540}
541
542.checkbox-dropdown-list li label:hover {
371aa651
VP
543 background-color: #555;
544 color: white;
2fba9a82 545}