source: src/main/resources/static/css/admin-terms.css@ 743de55

Last change on this file since 743de55 was 743de55, checked in by macagaso <gasoskamarija@…>, 6 weeks ago

Initial commit

  • Property mode set to 100644
File size: 7.5 KB
Line 
1:root {
2 --dark-body: #4d4c5a;
3 --dark-main: #141529;
4 --dark-second: #79788c;
5 --dark-hover: #323048;
6 --dark-text: #f8fbff;
7
8 --light-body: #f3f8fe;
9 --light-main: #fdfdfd;
10 --light-second: #c3c2c8;
11 --light-hover: #edf0f5;
12 --light-text: #151426;
13
14 --blue: #0000ff;
15 --white: #fff;
16
17 --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
18
19 --font-family: cursive;
20}
21
22.light {
23 --bg-body: var(--light-body);
24 --bg-main: var(--light-main);
25 --bg-second: var(--light-second);
26 --color-hover: var(--light-hover);
27 --color-txt: var(--light-text);
28}
29
30#left-side{
31 display:flex;
32 justify-content: space-evenly;
33 align-items: flex-end;
34}
35#right-side{
36 display:flex;
37 flex-direction: column;
38 padding: 50px 0;
39}
40#paired{
41 display: flex;
42 gap: 15px;
43 flex-direction: column;
44}
45#active{
46 margin: 15px 0;
47 display: flex;
48 flex-direction: column;
49 gap: 10px;
50}
51#frame{
52 display: flex;
53 gap: 10px;
54 flex-wrap: wrap;
55}
56
57* {
58 padding: 0;
59 margin: 0;
60 box-sizing: border-box;
61}
62
63html,
64body {
65 margin: 0;
66 padding: 0;
67 height: 100%;
68 width: 100%;
69 font-family: var(--font-family);
70 background-color: var(--bg-body);
71}
72
73.calendar {
74 height: max-content;
75 width: max-content;
76 background-color: var(--bg-main);
77 border-radius: 30px;
78 padding: 20px;
79 position: relative;
80 overflow: hidden;
81 /* transform: scale(1.25); */
82}
83
84.light .calendar {
85 box-shadow: var(--shadow);
86}
87
88.calendar-header {
89 display: flex;
90 justify-content: space-between;
91 align-items: center;
92 font-size: 25px;
93 font-weight: 600;
94 color: var(--color-txt);
95 padding: 10px;
96
97}
98
99.calendar-body {
100 padding: 10px;
101}
102
103.calendar-week-day {
104 height: 50px;
105 display: grid;
106 grid-template-columns: repeat(7, 1fr);
107 font-weight: 600;
108}
109
110.calendar-week-day div {
111 display: grid;
112 place-items: center;
113 color: var(--bg-second);
114}
115
116.calendar-days {
117 display: grid;
118 grid-template-columns: repeat(7, 1fr);
119 gap: 2px;
120 color: var(--color-txt);
121}
122
123.calendar-days div {
124 width: 50px;
125 height: 50px;
126 display: flex;
127 align-items: center;
128 justify-content: center;
129 padding: 5px;
130 position: relative;
131 cursor: pointer;
132 animation: to-top 1s forwards;
133 /* border-radius: 50%; */
134}
135#frame > *:hover{
136 background-color:white;
137 transition: background-color 0.3s, transform 0.3s;
138}
139
140.calendar-days div span {
141 position: absolute;
142}
143
144
145.calendar-days div span:nth-child(1),
146.calendar-days div span:nth-child(3) {
147 width: 2px;
148 height: 0;
149 background-color: var(--color-txt);
150}
151
152
153.calendar-days div span:nth-child(1) {
154 bottom: 0;
155 left: 0;
156}
157
158.calendar-days div span:nth-child(3) {
159 top: 0;
160 right: 0;
161}
162
163.calendar-days div span:nth-child(2),
164.calendar-days div span:nth-child(4) {
165 width: 0;
166 height: 2px;
167 background-color: var(--color-txt);
168}
169
170
171
172.calendar-days div span:nth-child(2) {
173 top: 0;
174 left: 0;
175}
176
177.calendar-days div span:nth-child(4) {
178 bottom: 0;
179 right: 0;
180}
181
182
183.curr-date{
184 background-color: var(--blue);
185 color: var(--white);
186 border-radius: 50%;
187}
188
189.calendar-days div.curr-date span {
190 display: none;
191}
192
193.month-picker {
194 padding: 5px 10px;
195 border-radius: 10px;
196 cursor: pointer;
197}
198
199.month-picker:hover {
200 background-color: var(--color-hover);
201}
202
203.year-picker {
204 display: flex;
205 align-items: center;
206}
207
208.year-change {
209 height: 40px;
210 width: 40px;
211 border-radius: 50%;
212 display: grid;
213 place-items: center;
214 margin: 0 10px;
215 cursor: pointer;
216}
217
218.year-change:hover {
219 background-color: var(--color-hover);
220}
221
222
223.month-list {
224 position: absolute;
225 width: 100%;
226 height: 100%;
227 top: 0;
228 left: 0;
229 background-color: var(--bg-main);
230 padding: 20px;
231 grid-template-columns: repeat(3, auto);
232 gap: 5px;
233 display: grid;
234 transform: scale(1.5);
235 visibility: hidden;
236 pointer-events: none;
237}
238
239.month-list.show {
240 transform: scale(1);
241 visibility: visible;
242 pointer-events: visible;
243 transition: all 0.2s ease-in-out;
244}
245
246.month-list > div {
247 display: grid;
248 place-items: center;
249}
250
251.month-list > div > div {
252 width: 100%;
253 padding: 5px 20px;
254 border-radius: 10px;
255 text-align: center;
256 cursor: pointer;
257 color: var(--color-txt);
258}
259
260.month-list > div > div:hover {
261 background-color: var(--color-hover);
262}
263
264@keyframes to-top {
265 0% {
266 transform: translateY(100%);
267 opacity: 0;
268 }
269 100% {
270 transform: translateY(0);
271 opacity: 1;
272 }
273}
274select#timePicker {
275 font-family: Arial, sans-serif;
276 font-size: 14px;
277 height: 30px;
278 width: 55px;
279 padding: 5px;
280 overflow: hidden; /* Hide overflow if needed */
281}
282
283select#timePicker option {
284 font-size: 14px;
285}
286
287.modal {
288 position: fixed;
289 top: 0;
290 left: 0;
291 width: 100%;
292 height: 100%;
293 background-color: rgba(0, 0, 0, 0.5); /* Dark background */
294 justify-content: center;
295 align-items: center;
296}
297.modal-content {
298 background-color: white;
299 padding: 20px;
300 border-radius: 5px;
301 text-align: center;
302 width: 300px;
303}
304
305input[type="text"] {
306 padding: 10px;
307 margin: 15px 0;
308 box-sizing: border-box;
309}
310.buttons {
311 display: flex;
312 justify-content: space-around;
313}
314
315button {
316 padding: 10px 20px;
317 border: none;
318 border-radius: 3px;
319 cursor: pointer;
320}
321
322#cancelBtn {
323 background-color: #f44336; /* Red */
324 color: white;
325}
326
327#approveBtn {
328 background-color: #4CAF50; /* Green */
329 color: white;
330}
331
332.close {
333 position: absolute;
334 top: 10px;
335 right: 10px;
336 font-size: 24px;
337 cursor: pointer;
338}
339
340.appointment-section {
341 background-color: #f9f9f9;
342 border: 1px solid #ddd;
343 padding: 20px;
344 width: 300px;
345 border-radius: 8px;
346}
347
348.appointment-section h2 {
349 text-align: center;
350 color: #333;
351}
352
353.appointment-section label {
354 display: block;
355 margin-bottom: 8px;
356 font-weight: bold;
357 color: #555;
358}
359
360.appointment-section input, .appointment-section select {
361 width: 100%;
362 padding: 8px;
363 margin-bottom: 15px;
364 border-radius: 4px;
365 border: 1px solid #ccc;
366}
367
368.appointment-section button , #add-Term{
369 width: 100%;
370 background-color: #4CAF50;
371 color: white;
372 padding: 10px;
373 border: none;
374 border-radius: 4px;
375 cursor: pointer;
376}
377
378.appointment-section button:hover, #add-Term:hover {
379 background-color: #45a049;
380}
381
382
383#delete-all-free , #creation{
384 display: flex;
385 flex-direction: column;
386 padding: 20px;
387 border: 1px solid #ccc;
388 border-radius: 5px;
389 width: 300px;
390 background-color: #f9f9f9;
391}
392#creation > * {
393 padding-bottom: 10px;
394}
395#creation button, #delete-all-free input{
396 width: max-content;
397}
398
399
400#delete-all-free label,
401#delete-all-free input,
402#delete-all-free button {
403 display: block;
404 margin: 10px 0;
405}
406
407#delete-all-free button {
408 padding: 10px;
409 background-color: #ff6666;
410 color: white;
411 border: none;
412 border-radius: 5px;
413 cursor: pointer;
414}
415
416#delete-all-free button:hover {
417 background-color: #ff3333;
418}
419
420
421#content{
422 margin:50px;
423}
424
425
426
427/* Table styles */
428table {
429 width: 320px;
430 border-collapse: collapse;
431 margin-bottom: 20px;
432}
433
434/* Table header styles */
435thead {
436 background-color: #007BFF;
437 color: white;
438}
439
440th {
441 padding: 10px;
442 text-align: left;
443}
444
445
446
447tbody tr {
448 border-bottom: 1px solid #ddd;
449 background-color: lightgrey;
450}
451
452tbody tr:hover {
453 background-color: #f1f1f1; /* Highlight row on hover */
454}
455
456td {
457 padding: 10px;
458}
Note: See TracBrowser for help on using the repository browser.