]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - css/unrealircd-admin.css
Play with alert messages
[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 107
82f5bcbf 108body {
911a6472 109 padding-top: 45px;
da0ca0f7 110 background-image: url("../img/linen.png");
371aa651
VP
111 display: flex;
112 flex-direction: column;
76200e36
VP
113}
114
2fba9a82 115
ca8cae9d
VP
116.alert-short {
117 width: 40%;
118}
119
120/* The close button */
121.closebtn {
122 color: black;
123 font-weight: bold;
124 float: right;
125 font-size: 22px;
126 line-height: 20px;
127 cursor: pointer;
128 transition: 0.3s;
129}
130
131
2fba9a82 132.checkbox-dropdown {
371aa651
VP
133 width: 200px;
134 border: 1px solid #aaa;
135 padding: 10px;
136 position: relative;
137 margin: 0 auto;
138
139 user-select: first;
2fba9a82
VP
140}
141
142/* Display CSS arrow to the right of the dropdown text */
143.checkbox-dropdown:after {
371aa651
VP
144 content:'';
145 height: 0;
146 position: absolute;
147 width: 0;
148 border: 6px solid transparent;
149 border-top-color: #000;
150 top: 50%;
151 right: 10px;
152 margin-top: -3px;
2fba9a82
VP
153}
154
155/* Reverse the CSS arrow when the dropdown is active */
156.checkbox-dropdown.is-active:after {
371aa651
VP
157 border-bottom-color: #000;
158 border-top-color: #fff;
159 margin-top: -9px;
2fba9a82
VP
160}
161
162.checkbox-dropdown-list {
371aa651
VP
163 list-style: none;
164 margin: 0;
165 padding: 0;
166 position: absolute;
167 top: 100%; /* align the dropdown right below the dropdown text */
168 border: inherit;
169 border-top: none;
170 left: -1px; /* align the dropdown to the left */
171 right: -1px; /* align the dropdown to the right */
172 opacity: 0; /* hide the dropdown */
2fba9a82 173
371aa651
VP
174 transition: opacity 0.4s ease-in-out;
175 height: 100px;
176 overflow: scroll;
177 overflow-x: hidden;
178 pointer-events: none; /* avoid mouse click events inside the dropdown */
2fba9a82
VP
179}
180.is-active .checkbox-dropdown-list {
371aa651
VP
181 opacity: 1; /* display the dropdown */
182 pointer-events: auto; /* make sure that the user still can select checkboxes */
2fba9a82
VP
183}
184
185.checkbox-dropdown-list li label {
371aa651
VP
186 display: block;
187 border-bottom: 1px solid silver;
188 padding: 10px;
2fba9a82 189
371aa651 190 transition: all 0.2s ease-out;
2fba9a82
VP
191}
192
193.checkbox-dropdown-list li label:hover {
371aa651
VP
194 background-color: #555;
195 color: white;
2fba9a82 196}