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