Files
alrahma_sunday_school/public/assets/css/management.css
T
2026-02-10 22:11:06 -05:00

155 lines
2.5 KiB
CSS

/* Navbar styles */
.navbar {
height: 48px;
}
.navbar-nav .nav-link {
line-height: 48px;
}
.navbar-nav .nav-item .nav-link:hover {
color: orange !important;
font-weight: bold !important;
}
.navbar-nav .dropdown-menu {
width: auto;
min-width: 207px;
max-width: 100%;
padding: 5px;
white-space: nowrap;
overflow-y: auto;
box-sizing: border-box;
max-height: 300px;
}
.navbar-nav .dropdown-menu .dropdown-item {
padding: 8px 10px;
white-space: nowrap;
text-align: left;
box-sizing: border-box;
}
/* Dropdown on large screens */
@media (min-width: 992px) {
.navbar-nav .dropdown:hover .dropdown-menu {
display: block;
margin-top: 0;
}
}
/* Responsive dropdown for smaller screens */
@media (max-width: 991px) {
.navbar-nav .dropdown:hover .dropdown-menu {
display: none;
}
.navbar-nav .dropdown-menu {
position: static;
float: none;
width: 100%;
text-align: left;
}
.navbar-nav .dropdown-item {
padding: 10px;
}
}
.dropdown {
font-size: 15px;
}
/* Top right positioning */
.top-right {
position: absolute;
top: 0;
right: 0;
margin: 10px;
}
/* Dropdown hover container */
.dropdown-hover {
position: relative;
display: inline-block;
}
.dropdown-hover .dropdown-menu {
display: none;
position: absolute;
right: 0;
background-color: white;
min-width: 160px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-hover:hover .dropdown-menu {
display: block;
}
/* Profile picture style */
.profile-picture {
width: 40px;
height: 40px;
background-color: #6c757d;
color: white;
text-align: center;
line-height: 40px;
border-radius: 50%;
cursor: pointer;
}
/* Dropdown items */
.dropdown-item {
color: black;
padding: 10px;
text-decoration: none;
display: block;
}
.dropdown-item:hover {
background-color: #f1f1f1;
}
.sign-out-btn {
width: 100%;
padding: 10px;
}
/* Form and body styling */
body {
background-color: #ffffff;
color: #000000;
}
.form-control,
.btn,
.alert {
background-color: #f8f9fa;
color: #000000;
border: 1px solid #ced4da;
}
.form-control:focus {
background-color: #e9ecef;
color: #000000;
}
label,
h1 {
color: #000000;
}
.btn-primary {
background-color: #007bff;
border-color: #007bff;
color: #ffffff;
}
.card-title {
font-weight: bold;
}
.card-text {
font-size: 1.8rem;
}