[743de55] | 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{
|
---|
[43c9090] | 46 | padding: 15px;
|
---|
[743de55] | 47 | display: flex;
|
---|
| 48 | flex-direction: column;
|
---|
| 49 | gap: 10px;
|
---|
[43c9090] | 50 | border: 1px solid #ccc;
|
---|
| 51 | border-radius: 5px;
|
---|
| 52 | background-color: #f9f9f9;
|
---|
[743de55] | 53 | }
|
---|
| 54 | #frame{
|
---|
| 55 | display: flex;
|
---|
| 56 | gap: 10px;
|
---|
| 57 | flex-wrap: wrap;
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | * {
|
---|
| 61 | padding: 0;
|
---|
| 62 | margin: 0;
|
---|
| 63 | box-sizing: border-box;
|
---|
| 64 | }
|
---|
| 65 |
|
---|
| 66 | html,
|
---|
| 67 | body {
|
---|
| 68 | margin: 0;
|
---|
| 69 | padding: 0;
|
---|
| 70 | height: 100%;
|
---|
| 71 | width: 100%;
|
---|
| 72 | font-family: var(--font-family);
|
---|
| 73 | background-color: var(--bg-body);
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | .calendar {
|
---|
| 77 | height: max-content;
|
---|
| 78 | width: max-content;
|
---|
| 79 | background-color: var(--bg-main);
|
---|
| 80 | border-radius: 30px;
|
---|
| 81 | padding: 20px;
|
---|
| 82 | position: relative;
|
---|
| 83 | overflow: hidden;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | .light .calendar {
|
---|
| 87 | box-shadow: var(--shadow);
|
---|
| 88 | }
|
---|
| 89 |
|
---|
| 90 | .calendar-header {
|
---|
| 91 | display: flex;
|
---|
| 92 | justify-content: space-between;
|
---|
| 93 | align-items: center;
|
---|
| 94 | font-size: 25px;
|
---|
| 95 | font-weight: 600;
|
---|
| 96 | color: var(--color-txt);
|
---|
| 97 | padding: 10px;
|
---|
| 98 |
|
---|
| 99 | }
|
---|
| 100 |
|
---|
| 101 | .calendar-body {
|
---|
| 102 | padding: 10px;
|
---|
| 103 | }
|
---|
| 104 |
|
---|
| 105 | .calendar-week-day {
|
---|
| 106 | height: 50px;
|
---|
| 107 | display: grid;
|
---|
| 108 | grid-template-columns: repeat(7, 1fr);
|
---|
| 109 | font-weight: 600;
|
---|
| 110 | }
|
---|
| 111 |
|
---|
| 112 | .calendar-week-day div {
|
---|
| 113 | display: grid;
|
---|
| 114 | place-items: center;
|
---|
| 115 | color: var(--bg-second);
|
---|
| 116 | }
|
---|
| 117 |
|
---|
| 118 | .calendar-days {
|
---|
| 119 | display: grid;
|
---|
| 120 | grid-template-columns: repeat(7, 1fr);
|
---|
| 121 | gap: 2px;
|
---|
| 122 | color: var(--color-txt);
|
---|
| 123 | }
|
---|
| 124 |
|
---|
| 125 | .calendar-days div {
|
---|
| 126 | width: 50px;
|
---|
| 127 | height: 50px;
|
---|
| 128 | display: flex;
|
---|
| 129 | align-items: center;
|
---|
| 130 | justify-content: center;
|
---|
| 131 | padding: 5px;
|
---|
| 132 | position: relative;
|
---|
| 133 | cursor: pointer;
|
---|
| 134 | animation: to-top 1s forwards;
|
---|
| 135 | }
|
---|
| 136 | #frame > *:hover{
|
---|
| 137 | background-color:white;
|
---|
| 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 | }
|
---|
| 274 | select#timePicker {
|
---|
| 275 | font-family: Arial, sans-serif;
|
---|
| 276 | font-size: 14px;
|
---|
| 277 | height: 30px;
|
---|
[43c9090] | 278 | width: 70px;
|
---|
[743de55] | 279 | padding: 5px;
|
---|
[43c9090] | 280 | overflow: hidden;
|
---|
[743de55] | 281 | }
|
---|
| 282 |
|
---|
| 283 | select#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%;
|
---|
[43c9090] | 293 | background-color: rgba(0, 0, 0, 0.5);
|
---|
[743de55] | 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 |
|
---|
| 305 | input[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 |
|
---|
| 315 | button {
|
---|
| 316 | padding: 10px 20px;
|
---|
| 317 | border: none;
|
---|
| 318 | border-radius: 3px;
|
---|
| 319 | cursor: pointer;
|
---|
| 320 | }
|
---|
| 321 |
|
---|
[43c9090] | 322 | #cancelBtn, #temporal-deletion, #delete-approval{
|
---|
| 323 | background-color: #ff6666;
|
---|
[743de55] | 324 | color: white;
|
---|
[43c9090] | 325 | max-width: fit-content;
|
---|
[743de55] | 326 | }
|
---|
| 327 |
|
---|
[43c9090] | 328 | #approveBtn, #confirm-approval, #approve-carried-out{
|
---|
| 329 | background-color: #4CAF50;
|
---|
[743de55] | 330 | color: white;
|
---|
| 331 | }
|
---|
| 332 |
|
---|
| 333 | .close {
|
---|
| 334 | position: absolute;
|
---|
| 335 | top: 10px;
|
---|
| 336 | right: 10px;
|
---|
| 337 | font-size: 24px;
|
---|
| 338 | cursor: pointer;
|
---|
| 339 | }
|
---|
| 340 |
|
---|
| 341 | .appointment-section {
|
---|
| 342 | background-color: #f9f9f9;
|
---|
| 343 | border: 1px solid #ddd;
|
---|
| 344 | padding: 20px;
|
---|
| 345 | width: 300px;
|
---|
| 346 | border-radius: 8px;
|
---|
| 347 | }
|
---|
| 348 |
|
---|
| 349 | .appointment-section h2 {
|
---|
| 350 | text-align: center;
|
---|
| 351 | color: #333;
|
---|
| 352 | }
|
---|
| 353 |
|
---|
| 354 | .appointment-section label {
|
---|
| 355 | display: block;
|
---|
| 356 | margin-bottom: 8px;
|
---|
| 357 | font-weight: bold;
|
---|
| 358 | color: #555;
|
---|
| 359 | }
|
---|
| 360 |
|
---|
| 361 | .appointment-section input, .appointment-section select {
|
---|
| 362 | width: 100%;
|
---|
| 363 | padding: 8px;
|
---|
| 364 | margin-bottom: 15px;
|
---|
| 365 | border-radius: 4px;
|
---|
| 366 | border: 1px solid #ccc;
|
---|
| 367 | }
|
---|
| 368 |
|
---|
| 369 | .appointment-section button , #add-Term{
|
---|
| 370 | width: 100%;
|
---|
| 371 | background-color: #4CAF50;
|
---|
| 372 | color: white;
|
---|
| 373 | padding: 10px;
|
---|
| 374 | border: none;
|
---|
| 375 | border-radius: 4px;
|
---|
| 376 | cursor: pointer;
|
---|
| 377 | }
|
---|
| 378 |
|
---|
| 379 | .appointment-section button:hover, #add-Term:hover {
|
---|
| 380 | background-color: #45a049;
|
---|
| 381 | }
|
---|
| 382 |
|
---|
| 383 |
|
---|
| 384 | #delete-all-free , #creation{
|
---|
| 385 | display: flex;
|
---|
| 386 | flex-direction: column;
|
---|
| 387 | padding: 20px;
|
---|
| 388 | border: 1px solid #ccc;
|
---|
| 389 | border-radius: 5px;
|
---|
| 390 | width: 300px;
|
---|
| 391 | background-color: #f9f9f9;
|
---|
| 392 | }
|
---|
[43c9090] | 393 |
|
---|
[743de55] | 394 | #creation > * {
|
---|
| 395 | padding-bottom: 10px;
|
---|
| 396 | }
|
---|
| 397 | #creation button, #delete-all-free input{
|
---|
| 398 | width: max-content;
|
---|
| 399 | }
|
---|
| 400 |
|
---|
| 401 |
|
---|
| 402 | #delete-all-free label,
|
---|
| 403 | #delete-all-free input,
|
---|
| 404 | #delete-all-free button {
|
---|
| 405 | display: block;
|
---|
| 406 | margin: 10px 0;
|
---|
| 407 | }
|
---|
| 408 |
|
---|
[43c9090] | 409 | #authButton{
|
---|
| 410 | position: absolute;
|
---|
| 411 | left: 1145px;
|
---|
| 412 | top: 21px;
|
---|
| 413 | width: 150px;
|
---|
[743de55] | 414 | color: white;
|
---|
[43c9090] | 415 | background-color: red;
|
---|
| 416 | padding: 10px;
|
---|
[743de55] | 417 | border: none;
|
---|
| 418 | border-radius: 5px;
|
---|
| 419 | }
|
---|
| 420 |
|
---|
| 421 | #delete-all-free button:hover {
|
---|
| 422 | background-color: #ff3333;
|
---|
| 423 | }
|
---|
| 424 |
|
---|
| 425 |
|
---|
| 426 | #content{
|
---|
| 427 | margin:50px;
|
---|
| 428 | }
|
---|
| 429 |
|
---|
| 430 | table {
|
---|
[43c9090] | 431 | padding-top: 10px;
|
---|
| 432 | width: fit-content;
|
---|
[743de55] | 433 | border-collapse: collapse;
|
---|
| 434 | margin-bottom: 20px;
|
---|
| 435 | }
|
---|
| 436 |
|
---|
| 437 |
|
---|
[43c9090] | 438 | thead > tr {
|
---|
[743de55] | 439 | padding: 10px;
|
---|
| 440 | text-align: left;
|
---|
| 441 | }
|
---|
| 442 |
|
---|
| 443 | tbody tr {
|
---|
| 444 | border-bottom: 1px solid #ddd;
|
---|
| 445 | background-color: lightgrey;
|
---|
| 446 | }
|
---|
| 447 |
|
---|
| 448 | tbody tr:hover {
|
---|
[43c9090] | 449 | background-color: #f1f1f1;
|
---|
[743de55] | 450 | }
|
---|
| 451 |
|
---|
| 452 | td {
|
---|
| 453 | padding: 10px;
|
---|
[43c9090] | 454 | }
|
---|
| 455 |
|
---|
| 456 | #request-assets, #appointment-assets
|
---|
| 457 | {
|
---|
| 458 | display: flex;
|
---|
| 459 | flex-direction: row;
|
---|
| 460 | gap: 10px;
|
---|
| 461 | }
|
---|
| 462 |
|
---|
| 463 | h3{
|
---|
| 464 | padding-top: 20px;
|
---|
| 465 | }
|
---|
| 466 | #summary{
|
---|
| 467 | margin-top: 20px;
|
---|
| 468 | padding: 15px;
|
---|
| 469 | display: flex;
|
---|
| 470 | flex-direction: column;
|
---|
| 471 | border: 1px solid #ccc;
|
---|
| 472 | border-radius: 5px;
|
---|
| 473 | background-color: #f9f9f9;
|
---|
| 474 | }
|
---|
| 475 | #authButton{
|
---|
| 476 | position: absolute;
|
---|
| 477 | left: 1145px;
|
---|
| 478 | top: 21px;
|
---|
| 479 | width: 150px;
|
---|
[743de55] | 480 | } |
---|