]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - css/unrealircd-admin.css
Overview buttons fully operational
[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.form-control {
19 height: 10px;
20 margin: 5px;
21}
62d4ea03 22
d1d9caa9
VP
23.short-form-control {
24 width: 70%;
25}
26
0959f2fd
VP
27.nav-item {
28 margin-left: 2px;
29 margin-right: 2px;
30}
5cc8ca4a
VP
31.navbar-nav li> {
32 border-radius: 4px;
33}
34.navbar-nav li>a:hover,.navbar-nav li.active {
35 color: white;
36 background-color: #4B86EE;
37 border-radius: 4px;
38}
39.navbar-nav li>a:hover,.navbar-nav li>a:focus {
40 color: white;
41 background-color: #6ca0f8;
42 border-radius: 4px;
43}
44
35ccb286 45.align_right {
371aa651
VP
46 width: 10px;
47 text-align: right;
35ccb286
VP
48}
49
35ccb286 50.input_text {
371aa651 51 border-radius: 7px;
35ccb286 52}
1d7e7ff8 53
4d834e71 54.filter-fields {
371aa651
VP
55 height: 30px;
56 width: 400px;
57 padding: 5px 5px;
58 margin: 8px 0;
59 border-radius: 7px;
4d834e71
VP
60}
61
35ccb286
VP
62
63.align_label {
371aa651
VP
64 width: 80px;
65 display: inline-block;
66 text-align: right;
35ccb286
VP
67}
68
709b97f3 69
82f5bcbf 70
26971737
VP
71
72*,
73*:before,
74*:after {
371aa651
VP
75 box-sizing: inherit;
76 /* enable the "border-box effect" everywhere */
26971737 77}
809f7483
VP
78body {
79 padding-bottom: 120px;
80}
81footer {
82 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
83 position: absolute;
84 bottom: 0;
85 width: 100%;
86 height: 55px;
87 }
26971737 88
709b97f3 89.topnav {
371aa651
VP
90 background-color: #333;
91 overflow: hidden;
92 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
c8ac611d 93
709b97f3
VP
94}
95
96/* Style the links inside the navigation bar */
97.topnav a {
371aa651
VP
98 float: left;
99 color: #f2f2f2;
100 text-align: center;
101 padding: 14px 16px;
102 text-decoration: none;
103 font-size: 17px;
709b97f3
VP
104}
105
709b97f3 106
82f5bcbf 107body {
911a6472 108 padding-top: 45px;
7e8dc7cb 109 background-image: url("../img/background.jpg");
371aa651
VP
110 display: flex;
111 flex-direction: column;
76200e36
VP
112}
113
2fba9a82 114
ca8cae9d
VP
115.alert-short {
116 width: 40%;
117}
118
119/* The close button */
120.closebtn {
121 color: black;
122 font-weight: bold;
123 float: right;
124 font-size: 22px;
125 line-height: 20px;
126 cursor: pointer;
127 transition: 0.3s;
128}
129
130
2fba9a82 131.checkbox-dropdown {
371aa651
VP
132 width: 200px;
133 border: 1px solid #aaa;
134 padding: 10px;
135 position: relative;
136 margin: 0 auto;
137
138 user-select: first;
2fba9a82
VP
139}
140
141/* Display CSS arrow to the right of the dropdown text */
142.checkbox-dropdown:after {
371aa651
VP
143 content:'';
144 height: 0;
145 position: absolute;
146 width: 0;
147 border: 6px solid transparent;
148 border-top-color: #000;
149 top: 50%;
150 right: 10px;
151 margin-top: -3px;
2fba9a82
VP
152}
153
154/* Reverse the CSS arrow when the dropdown is active */
155.checkbox-dropdown.is-active:after {
371aa651
VP
156 border-bottom-color: #000;
157 border-top-color: #fff;
158 margin-top: -9px;
2fba9a82
VP
159}
160
161.checkbox-dropdown-list {
371aa651
VP
162 list-style: none;
163 margin: 0;
164 padding: 0;
165 position: absolute;
166 top: 100%; /* align the dropdown right below the dropdown text */
167 border: inherit;
168 border-top: none;
169 left: -1px; /* align the dropdown to the left */
170 right: -1px; /* align the dropdown to the right */
171 opacity: 0; /* hide the dropdown */
2fba9a82 172
371aa651
VP
173 transition: opacity 0.4s ease-in-out;
174 height: 100px;
175 overflow: scroll;
176 overflow-x: hidden;
177 pointer-events: none; /* avoid mouse click events inside the dropdown */
2fba9a82
VP
178}
179.is-active .checkbox-dropdown-list {
371aa651
VP
180 opacity: 1; /* display the dropdown */
181 pointer-events: auto; /* make sure that the user still can select checkboxes */
2fba9a82
VP
182}
183
184.checkbox-dropdown-list li label {
371aa651
VP
185 display: block;
186 border-bottom: 1px solid silver;
187 padding: 10px;
2fba9a82 188
371aa651 189 transition: all 0.2s ease-out;
2fba9a82
VP
190}
191
192.checkbox-dropdown-list li label:hover {
371aa651
VP
193 background-color: #555;
194 color: white;
2fba9a82 195}
1e3f5fed
BM
196
197.table-striped>tbody>tr:nth-child(even)>td,
198.table-striped>tbody>tr:nth-child(even)>th {
8cfa32c5 199 background-color: #a5a5a549;
1e3f5fed 200 }
f41baac8
VP
201 .table-striped>tbody>tr:nth-child(odd)>td,
202 .table-striped>tbody>tr:nth-child(odd)>th {
87fc15eb 203 background-color: #ffffff;
f41baac8 204 }
ce9cf366
VP
205
206 /* Small screens (max-width: 576px) */
207@media (max-width: 576px) {
208 /* Change the font size for all headings */
209 h1, h2, h3, h4, h5, h6 {
210 font-size: 18px;
211 }
212
213 /* Hide the sidebar */
214 .sidebar {
215 display: none;
216 }
217
218 /* Make the main content take up the full width of the screen */
219 .main-content {
220 width: 100%;
221 }
222}
223
224/* Medium screens (min-width: 577px) and (max-width: 768px) */
225@media (min-width: 577px) and (max-width: 768px) {
226 /* Change the font size for all headings */
227
228}
229
230/* Large screens (min-width: 769px) */
231@media (min-width: 769px) {
232 /* CSS rules for large screens go here */
233}
234/* Portrait screens (max-width: 576px) */
235@media (max-width: 576px) and (max-height: 812px) {
236 /* CSS rules for portrait screens go here */
237}
238
239/* Landscape screens (min-width: 577px) and (max-height: 812px) */
240@media (min-width: 577px) and (max-height: 812px) {
241 /* CSS rules for landscape screens go here */
242}