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