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