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