]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - css/unrealircd-admin.css
Merge branch 'main' into patch-3
[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;
56 }
26971737 57
709b97f3 58.topnav {
371aa651
VP
59 background-color: #333;
60 overflow: hidden;
61 font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
c8ac611d 62
709b97f3
VP
63}
64
65/* Style the links inside the navigation bar */
66.topnav a {
371aa651
VP
67 float: left;
68 color: #f2f2f2;
69 text-align: center;
70 padding: 14px 16px;
71 text-decoration: none;
72 font-size: 17px;
709b97f3
VP
73}
74
709b97f3 75
82f5bcbf 76body {
911a6472 77 padding-top: 45px;
7e8dc7cb 78 background-image: url("../img/background.jpg");
371aa651
VP
79 display: flex;
80 flex-direction: column;
76200e36
VP
81}
82
2fba9a82 83
ca8cae9d
VP
84.alert-short {
85 width: 40%;
86}
87
88/* The close button */
89.closebtn {
90 color: black;
91 font-weight: bold;
92 float: right;
93 font-size: 22px;
94 line-height: 20px;
95 cursor: pointer;
96 transition: 0.3s;
97}
98
99
2fba9a82 100.checkbox-dropdown {
371aa651
VP
101 width: 200px;
102 border: 1px solid #aaa;
103 padding: 10px;
104 position: relative;
105 margin: 0 auto;
106
107 user-select: first;
2fba9a82
VP
108}
109
110/* Display CSS arrow to the right of the dropdown text */
111.checkbox-dropdown:after {
371aa651
VP
112 content:'';
113 height: 0;
114 position: absolute;
115 width: 0;
116 border: 6px solid transparent;
117 border-top-color: #000;
118 top: 50%;
119 right: 10px;
120 margin-top: -3px;
2fba9a82
VP
121}
122
123/* Reverse the CSS arrow when the dropdown is active */
124.checkbox-dropdown.is-active:after {
371aa651
VP
125 border-bottom-color: #000;
126 border-top-color: #fff;
127 margin-top: -9px;
2fba9a82
VP
128}
129
130.checkbox-dropdown-list {
371aa651
VP
131 list-style: none;
132 margin: 0;
133 padding: 0;
134 position: absolute;
135 top: 100%; /* align the dropdown right below the dropdown text */
136 border: inherit;
137 border-top: none;
138 left: -1px; /* align the dropdown to the left */
139 right: -1px; /* align the dropdown to the right */
140 opacity: 0; /* hide the dropdown */
2fba9a82 141
371aa651
VP
142 transition: opacity 0.4s ease-in-out;
143 height: 100px;
144 overflow: scroll;
145 overflow-x: hidden;
146 pointer-events: none; /* avoid mouse click events inside the dropdown */
2fba9a82
VP
147}
148.is-active .checkbox-dropdown-list {
371aa651
VP
149 opacity: 1; /* display the dropdown */
150 pointer-events: auto; /* make sure that the user still can select checkboxes */
2fba9a82
VP
151}
152
153.checkbox-dropdown-list li label {
371aa651
VP
154 display: block;
155 border-bottom: 1px solid silver;
156 padding: 10px;
2fba9a82 157
371aa651 158 transition: all 0.2s ease-out;
2fba9a82
VP
159}
160
161.checkbox-dropdown-list li label:hover {
371aa651
VP
162 background-color: #555;
163 color: white;
2fba9a82 164}
1e3f5fed
BM
165
166.table-striped>tbody>tr:nth-child(even)>td,
167.table-striped>tbody>tr:nth-child(even)>th {
8cfa32c5 168 background-color: #a5a5a549;
1e3f5fed 169 }
f41baac8
VP
170 .table-striped>tbody>tr:nth-child(odd)>td,
171 .table-striped>tbody>tr:nth-child(odd)>th {
87fc15eb 172 background-color: #ffffff;
f41baac8 173 }
ce9cf366
VP
174
175 /* Small screens (max-width: 576px) */
176@media (max-width: 576px) {
177 /* Change the font size for all headings */
178 h1, h2, h3, h4, h5, h6 {
179 font-size: 18px;
180 }
181
182 /* Hide the sidebar */
183 .sidebar {
184 display: none;
185 }
186
187 /* Make the main content take up the full width of the screen */
188 .main-content {
189 width: 100%;
190 }
191}
192
193/* Medium screens (min-width: 577px) and (max-width: 768px) */
194@media (min-width: 577px) and (max-width: 768px) {
195 /* Change the font size for all headings */
196
197}
198
199/* Large screens (min-width: 769px) */
200@media (min-width: 769px) {
201 /* CSS rules for large screens go here */
202}
203/* Portrait screens (max-width: 576px) */
204@media (max-width: 576px) and (max-height: 812px) {
205 /* CSS rules for portrait screens go here */
206}
207
208/* Landscape screens (min-width: 577px) and (max-height: 812px) */
209@media (min-width: 577px) and (max-height: 812px) {
210 /* CSS rules for landscape screens go here */
211}
0a963606
M
212
213.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
214 width: inherit;
215}
d4aef55c
M
216
217.card-header .badge {
218 top:-10px;
219 left:20px;
4d96f7e7 220 line-height: 74px;
d4aef55c 221}