Files
FACULTATE-LICENTA/Desktop App/render/ceo/css/overview_users.css
T

153 lines
3.3 KiB
CSS

body, html {
height: 100vh;
width: 100vw;
margin: 0;
padding: 0;
font-family: "Pridi", sans-serif; /* Use sans-serif fallback */
background-color: #4A628A;
}
h4, h2, h1{
margin: 0;
}
.page{
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.container {
border-radius: 10px;
background: linear-gradient(to bottom, rgba(74, 98, 138, 0.0) 30%, rgba(186, 237, 255, 0.7));
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
height: 90%;
width: 35%;
}
.header{
text-align: center;
padding-bottom: 16px;
padding-top: 32px;
}
.title{
font-size: 24px;
font-weight: 500;
color: white;
margin-bottom: 32px;
}
.users-container{
overflow-y: hidden;
width: 100%;
height: 370px;
max-height: 370px;
display: flex;
flex-direction: column;
gap: 8px;
align-items: center;
}
.user-management-container{
display: flex;
flex-direction: column;
align-items: center;
width: 80%;
}
.footer {
display: flex;
width: 100%;
flex-direction: column;
justify-content: space-between; /* Align buttons next to each other */
align-items: center;
gap: 10px; /* Space between buttons */
margin-top: 20px;
}
/* Styling for buttons */
.user-management-container button {
flex: 1; /* Ensure buttons are equal width */
padding: 16px;
font-weight: 300;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button[name="underline"] {
background-color: transparent; /* No background */
border: none; /* Remove default button border */
color: #4A628A; /* Set text color */
font-size: 1em; /* Set font size */
cursor: pointer; /* Add pointer cursor for interactivity */
text-decoration: underline; /* Underline text */
padding: 0; /* Remove default padding */
}
.user-info{
display: flex;
flex-direction: column;
width: 70%;
}
.user-card{
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: stretch;
}
.delete-button {
width: auto;
margin-right: 8px;
background-color: #ED4B4B; /* Blue background */
color: white; /* White text color */
}
.users-container::-webkit-scrollbar {
width: 4px; /* Width of the scrollbar */
}
.users-container::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1); /* Track background color */
border-radius: 10px; /* Rounded corners for the track */
}
.users-container::-webkit-scrollbar-thumb {
background-color: rgba(74, 98, 138, 0.8); /* Scrollbar handle color */
border-radius: 10px; /* Rounded corners for the scrollbar handle */
}
.users-container::-webkit-scrollbar-thumb:hover {
background-color: rgba(74, 98, 138, 1); /* Darker color on hover */
}
.users-container:empty {
overflow-y: hidden;
}
.user-name{
padding-top: 8px;
font-size: 20px;
letter-spacing: -0.5px;
color: rgba(255,255,255, 1);
}
.user-department{
font-weight: lighter;
padding-top: 8px;
font-size: 14px;
letter-spacing: -0.5px;
color: rgba(255,255,255, 0.8);
}