Files
appointment_to_examiner/client/src/Pages/Navbar.css
2025-01-27 03:06:39 +05:30

58 lines
1.5 KiB
CSS

.navbar {
background-color: #800000; /* Maroon background */
height: 50px; /* Increased navbar height */
width: 100%; /* Full width */
display: flex; /* Use flexbox for layout */
justify-content: space-between; /* Space between items */
align-items: center; /* Align items vertically */
padding: 0 20px; /* Horizontal padding */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
position: fixed; /* Fixed position */
top: 0;
z-index: 1000;
}
.mb-10 {
margin-bottom: 20px;
}
.navbar-container{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.user-icon {
font-size: 30px; /* Size of user icon */
color: #fff; /* Color of the icon */
margin-left: 20px; /* Space after the icon before the buttons */
cursor: pointer; /* Cursor type */
transition: color 0.3s ease-in-out; /* Transition for hover effect */
}
.user-icon:hover {
color: #ffcccc; /* Color on hover */
}
.button-container {
display: flex; /* Flexbox for buttons */
gap: 20px; /* Gap between buttons */
}
.button-container button {
background-color: #c00000; /* Button color */
color: white; /* Text color */
border: none; /* No border */
cursor: pointer; /* Cursor type */
font-size: 12px; /* Font size */
white-space: nowrap; /* Prevent text wrapping */
transition: background-color 0.3s; /* Smooth transition for hover */
padding: 6px 10px;
}
.button-container button:hover {
background-color: #ffcccc; /* Hover color */
}