]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - css/unrealircd-admin.css
Apply fix a8d2da775b3e8a9991b3979d604f3a0218d66085 again
[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
d1d9caa9
VP
18.short-form-control {
19 width: 70%;
20}
21
5cc8ca4a 22
35ccb286 23.align_right {
371aa651
VP
24 width: 10px;
25 text-align: right;
35ccb286
VP
26}
27
35ccb286 28.input_text {
371aa651 29 border-radius: 7px;
35ccb286 30}
1d7e7ff8 31
4d834e71 32.filter-fields {
371aa651
VP
33 height: 30px;
34 width: 400px;
35 padding: 5px 5px;
36 margin: 8px 0;
37 border-radius: 7px;
4d834e71
VP
38}
39
35ccb286
VP
40
41.align_label {
371aa651
VP
42 width: 80px;
43 display: inline-block;
44 text-align: right;
35ccb286
VP
45}
46
809f7483
VP
47body {
48 padding-bottom: 120px;
49}
50footer {
51 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
52 position: absolute;
53 bottom: 0;
54 width: 100%;
55 height: 55px;
399c9625 56 display: none !important;
809f7483 57 }
26971737 58
709b97f3 59.topnav {
371aa651
VP
60 background-color: #333;
61 overflow: hidden;
62 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
c8ac611d 63
709b97f3
VP
64}
65
709b97f3 66
709b97f3 67
82f5bcbf 68body {
911a6472 69 padding-top: 45px;
7e8dc7cb 70 background-image: url("../img/background.jpg");
371aa651
VP
71 display: flex;
72 flex-direction: column;
76200e36
VP
73}
74
2fba9a82 75
ca8cae9d
VP
76.alert-short {
77 width: 40%;
78}
79
80/* The close button */
81.closebtn {
82 color: black;
83 font-weight: bold;
84 float: right;
85 font-size: 22px;
86 line-height: 20px;
87 cursor: pointer;
88 transition: 0.3s;
89}
90
91
2fba9a82 92.checkbox-dropdown {
371aa651
VP
93 width: 200px;
94 border: 1px solid #aaa;
95 padding: 10px;
96 position: relative;
97 margin: 0 auto;
98
99 user-select: first;
2fba9a82
VP
100}
101
102/* Display CSS arrow to the right of the dropdown text */
103.checkbox-dropdown:after {
371aa651
VP
104 content:'';
105 height: 0;
106 position: absolute;
107 width: 0;
108 border: 6px solid transparent;
109 border-top-color: #000;
110 top: 50%;
111 right: 10px;
112 margin-top: -3px;
2fba9a82
VP
113}
114
115/* Reverse the CSS arrow when the dropdown is active */
116.checkbox-dropdown.is-active:after {
371aa651
VP
117 border-bottom-color: #000;
118 border-top-color: #fff;
119 margin-top: -9px;
2fba9a82
VP
120}
121
122.checkbox-dropdown-list {
371aa651
VP
123 list-style: none;
124 margin: 0;
125 padding: 0;
126 position: absolute;
127 top: 100%; /* align the dropdown right below the dropdown text */
128 border: inherit;
129 border-top: none;
130 left: -1px; /* align the dropdown to the left */
131 right: -1px; /* align the dropdown to the right */
132 opacity: 0; /* hide the dropdown */
2fba9a82 133
371aa651
VP
134 transition: opacity 0.4s ease-in-out;
135 height: 100px;
136 overflow: scroll;
137 overflow-x: hidden;
138 pointer-events: none; /* avoid mouse click events inside the dropdown */
2fba9a82
VP
139}
140.is-active .checkbox-dropdown-list {
371aa651
VP
141 opacity: 1; /* display the dropdown */
142 pointer-events: auto; /* make sure that the user still can select checkboxes */
2fba9a82
VP
143}
144
145.checkbox-dropdown-list li label {
371aa651
VP
146 display: block;
147 border-bottom: 1px solid silver;
148 padding: 10px;
2fba9a82 149
371aa651 150 transition: all 0.2s ease-out;
2fba9a82
VP
151}
152
153.checkbox-dropdown-list li label:hover {
371aa651
VP
154 background-color: #555;
155 color: white;
2fba9a82 156}
1e3f5fed
BM
157
158.table-striped>tbody>tr:nth-child(even)>td,
159.table-striped>tbody>tr:nth-child(even)>th {
8cfa32c5 160 background-color: #a5a5a549;
1e3f5fed 161 }
f41baac8
VP
162 .table-striped>tbody>tr:nth-child(odd)>td,
163 .table-striped>tbody>tr:nth-child(odd)>th {
87fc15eb 164 background-color: #ffffff;
f41baac8 165 }
ce9cf366
VP
166
167 /* Small screens (max-width: 576px) */
168@media (max-width: 576px) {
169 /* Change the font size for all headings */
170 h1, h2, h3, h4, h5, h6 {
171 font-size: 18px;
172 }
173
174 /* Hide the sidebar */
175 .sidebar {
176 display: none;
177 }
178
179 /* Make the main content take up the full width of the screen */
180 .main-content {
181 width: 100%;
182 }
183}
184
185/* Medium screens (min-width: 577px) and (max-width: 768px) */
186@media (min-width: 577px) and (max-width: 768px) {
187 /* Change the font size for all headings */
188
189}
190
191/* Large screens (min-width: 769px) */
192@media (min-width: 769px) {
193 /* CSS rules for large screens go here */
194}
195/* Portrait screens (max-width: 576px) */
196@media (max-width: 576px) and (max-height: 812px) {
197 /* CSS rules for portrait screens go here */
198}
199
200/* Landscape screens (min-width: 577px) and (max-height: 812px) */
201@media (min-width: 577px) and (max-height: 812px) {
202 /* CSS rules for landscape screens go here */
203}
0a963606
M
204
205.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
206 width: inherit;
207}
d4aef55c
M
208
209.card-header .badge {
210 top:-10px;
211 left:20px;
212}
df9ec3bd
VP
213
214.card-header i.fa {
215 line-height: 74px;
216}
d91b75a2
M
217
218#top-country ul {
219 list-style: none;
220}
221
222#top-country li {
223 padding: 5px;
224 display: inline-block;
225 margin: 9px;
226 border: solid 1px #ccc;
227}
228
229#top-country li .drag {
230 text-align: center;
231}
232
233#top-country li .count {
234 text-align: center;
235 font-size: 2.2rem;
236}
237
238#top-country li .count span {
239 display:block;
240 text-align: center;
241 font-size: 1rem;
242}
399c9625
BM
243
244/* Show version and 4-icons "footer" at bottom-left,
245 * if screen height is sufficient.
246 */
830edb25 247@media only screen and (min-height: 650px) and (min-width: 768px) {
399c9625
BM
248 footer {
249 float: left;
250 width: 160px;
251 height: 60px;
252 display: block !important;
253 }
254
255 #sidebarlol {
256 height: calc(100% - 60px - 50px);
257 }
258}
332be1fe 259
bf719cce 260/* Virtual link - hover effect (eg on Server Bans) */
332be1fe
BM
261.virtuallink {
262 text-decoration: none;
263}
264.virtuallink:hover {
265 text-decoration: underline;
bf719cce
BM
266 cursor: pointer;
267}
268
269/* TD that may wrap - eg for Reason / Topic */
270.tdwrap {
271 white-space: normal !important;
332be1fe 272}