BACKEND DONE FOR ALL APPS

This commit is contained in:
andrei-mihnea-cerbu
2024-10-21 18:34:45 +03:00
parent 4157ca9e7d
commit ab1eaec413
349 changed files with 17199 additions and 14015 deletions
+176
View File
@@ -0,0 +1,176 @@
/* Global styles for body and background */
body, html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
font-family: "Roboto", sans-serif;
font-weight: 500;
font-style: normal;
background-image: url('../assets/background.png');
background-size: cover;
background-repeat: no-repeat;
}
/* Container starts hidden */
.container {
opacity: 0;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
min-height: 100vh;
text-align: center;
}
/* Container styling to match your previous design */
.left_block, .right_block {
background-color: rgba(83, 92, 145, 0.71);
padding: 2rem;
border-radius: 1rem;
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.9);
color: white;
}
.left_block {
width: 45%;
}
.right_block {
width: 45%;
}
h1 {
margin-bottom: 2rem;
font-size: 2rem;
color: white;
}
/* Enable scrolling in the departments container */
#departments-container {
max-height: 50vh; /* Limit the height of the container */
overflow-y: auto; /* Enable vertical scrolling */
}
/* Scrollbar styling for departments container */
#departments-container::-webkit-scrollbar {
width: 10px;
}
#departments-container::-webkit-scrollbar-track {
background: #1B1A55;
}
#departments-container::-webkit-scrollbar-thumb {
background: #535C91;
border: 2px solid #1B1A55;
}
#departments-container::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Form styling */
form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
label {
font-size: 1rem;
color: white;
}
input[type="text"] {
padding: 0.8rem;
font-size: 1rem;
border-radius: 5px;
border: 1px solid #ccc;
width: 100%;
}
button[type="submit"], #createDepartmentButton {
background-color: #23BDEE;
color: white;
padding: 0.8rem;
font-size: 1rem;
border: none;
border-radius: 5px;
cursor: pointer;
text-transform: uppercase;
}
button[type="submit"]:hover, #createDepartmentButton:hover {
background-color: #1da1cb;
}
/* Department card styling */
.department-card {
background-color: #ffffff;
color: #333;
padding: 1rem;
margin: 1rem 0;
border-radius: 5px;
display: flex;
justify-content: space-between;
align-items: center;
}
.department-card button {
padding: 0.5rem 1rem;
margin-left: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.modify-button {
background-color: #4CAF50;
color: white;
}
.delete-button {
background-color: #f44336;
color: white;
}
/* Modal styles */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: white;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 50%;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover, .close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
/* Footer style */
.footer {
margin-top: 20px;
text-align: right;
}