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

208 lines
3.9 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;
}
.title{
font-size: 32px;
font-weight: 500;
letter-spacing: -1px;
color: white;
}
.user{
display: inline;
color: white;
}
.navbar{
padding-top: 8px;
padding-right: 32px;
padding-left: 32px;
height: 10%;
display:flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.welcome{
display: flex;
flex-direction: row;
align-items: center;
}
img{
padding-right: 8px;
width:25px;
height: auto;
}
.page{
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.container{
width:100%;
height:100%;
display: flex;
flex-direction: row;
justify-content: center;
}
.left_block{
background: linear-gradient(to bottom, #131A24, #4A628A);
width: 25%;
display: flex;
flex-direction: column;
}
.notification-title{
padding-top: 16px;
padding-bottom: 16px;
text-align: center;
height: 10%;
display: flex;
justify-content: center;
align-items: center;
}
.notifications{
overflow-y: auto;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
flex-grow: 1; /* Allow it to take available space */
max-height: calc(90% - 80px);
}
.right_block_content button:last-child {
background-color: #FF6347;
}
.right_block_content button:nth-child(8) {
background-color: #FF6347;
}
.right_block_content button:last-child:hover {
background-color: #fd4c29;
}
.alert, .logout-button{
cursor: pointer;
border-radius: 15px;
width: 80%;
min-height: 64px;
height: auto;
padding:12px;
background: #FF6347;
font-weight: bold;
font-size: 12px;
}
.notification{
cursor: pointer;
border-radius: 15px;
width: 80%;
min-height: 64px;
height: auto;
padding:12px;
background: rgba(186, 229, 255);
font-weight: bold;
font-size: 12px;
}
.notification:hover{
background: #d9efff;
}
.alert:hover, .logout-button:hover{
background: rgb(244, 44, 44);
}
.notif-title{
font-size: 24px;
font-weight: 300;
letter-spacing: -1px;
color: white;
}
.left-content{
height: 90%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.left_block_footer{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
padding-bottom: 16px;
}
.right_block_content{
height: 90%;
}
.right_block{
width: 75%;
display:flex;
flex-direction: column;
justify-content: center;
}
.right_block_content {
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
gap: 8px; /* Spacing between buttons */
padding: 32px; /* Optional padding */
}
button[name="menu_button"] {
padding: 10px 20px;
font-size: 16px;
background-color: rgba(186,229,244,0.4); /* Button background */
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button[name="menu_button"]:hover {
background-color: #3B5173; /* Darker background on hover */
}
.notifications::-webkit-scrollbar {
width: 4px; /* Width of the scrollbar */
}
.notifications::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1); /* Track background color */
border-radius: 10px; /* Rounded corners for the track */
}
.notifications::-webkit-scrollbar-thumb {
background-color: rgba(74, 98, 138, 0.8); /* Scrollbar handle color */
border-radius: 10px; /* Rounded corners for the scrollbar handle */
}
.notifications::-webkit-scrollbar-thumb:hover {
background-color: rgba(74, 98, 138, 1); /* Darker color on hover */
}