Spaces:
Sleeping
Sleeping
| /* Global Styles */ | |
| :root { | |
| --primary-color: #0d6efd; | |
| --secondary-color: #6c757d; | |
| --dark-color: #212529; | |
| --light-color: #f8f9fa; | |
| --success-color: #198754; | |
| --danger-color: #dc3545; | |
| } | |
| body { | |
| font-family: 'Roboto', sans-serif; | |
| background-color: #f8f9fa; | |
| color: #333; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| main { | |
| flex: 1; | |
| } | |
| .container { | |
| max-width: 1280px; | |
| } | |
| /* Card Styles */ | |
| .card { | |
| border: none; | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| overflow: hidden; | |
| } | |
| .card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .card-header { | |
| border-bottom: none; | |
| } | |
| .domain-card:hover { | |
| border-color: var(--primary-color); | |
| } | |
| /* Table Styles */ | |
| .table th { | |
| font-weight: 600; | |
| background-color: #f8f9fa; | |
| } | |
| .table-hover tbody tr:hover { | |
| background-color: rgba(13, 110, 253, 0.05); | |
| } | |
| /* Badge Styles */ | |
| .badge { | |
| font-weight: 500; | |
| padding: 0.35em 0.65em; | |
| } | |
| /* Button Styles */ | |
| .btn { | |
| border-radius: 0.35rem; | |
| font-weight: 500; | |
| } | |
| .btn-primary { | |
| background-color: var(--primary-color); | |
| border-color: var(--primary-color); | |
| } | |
| .btn-primary:hover { | |
| background-color: #0b5ed7; | |
| border-color: #0a58ca; | |
| } | |
| /* Navbar Styles */ | |
| .navbar { | |
| padding: 0.75rem 1rem; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .navbar-brand { | |
| font-weight: 700; | |
| letter-spacing: 0.5px; | |
| } | |
| /* Footer Styles */ | |
| footer { | |
| background-color: #343a40; | |
| color: white; | |
| padding: 30px 0; | |
| margin-top: auto; | |
| } | |
| footer a { | |
| color: #adb5bd; | |
| text-decoration: none; | |
| transition: all 0.2s ease; | |
| } | |
| footer a:hover { | |
| color: white; | |
| text-decoration: none; | |
| } | |
| /* Auth Form Styles */ | |
| .auth-form { | |
| max-width: 450px; | |
| margin: 0 auto; | |
| padding: 2rem; | |
| background: white; | |
| border-radius: 10px; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .auth-form .card-header { | |
| background-color: transparent; | |
| border-bottom: none; | |
| text-align: center; | |
| padding-bottom: 0; | |
| } | |
| .auth-form .card-body { | |
| padding-top: 0.5rem; | |
| } | |
| .auth-form h3 { | |
| font-weight: 600; | |
| color: #343a40; | |
| margin-bottom: 1.5rem; | |
| } | |
| .form-control:focus { | |
| border-color: #80bdff; | |
| box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); | |
| } | |
| /* Project Details Page */ | |
| .project-details .card-title { | |
| color: var(--primary-color); | |
| } | |
| .project-details .card-subtitle { | |
| font-size: 1rem; | |
| } | |
| /* Admin Panel */ | |
| .admin-stats .card { | |
| background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); | |
| } | |
| .admin-stats .card i { | |
| opacity: 0.8; | |
| } | |
| .admin-stats .card:hover { | |
| transform: translateY(-5px); | |
| } | |
| .admin-table th { | |
| font-weight: 600; | |
| } | |
| /* Domain Cards */ | |
| .domain-card { | |
| border-radius: 8px; | |
| } | |
| .domain-card .card-header { | |
| border-radius: 8px 8px 0 0; | |
| padding: 1rem; | |
| } | |
| .domain-card .card-body { | |
| padding: 1.25rem; | |
| } | |
| .domain-card .badge { | |
| font-weight: 500; | |
| } | |
| /* Project Details */ | |
| .project-header { | |
| background-color: #f8f9fa; | |
| border-radius: 10px; | |
| padding: 20px; | |
| margin-bottom: 20px; | |
| } | |
| .project-info { | |
| padding: 20px; | |
| background-color: #fff; | |
| border-radius: 10px; | |
| margin-bottom: 20px; | |
| } | |
| /* Student Profile */ | |
| .student-avatar { | |
| width: 100px; | |
| height: 100px; | |
| object-fit: cover; | |
| border-radius: 50%; | |
| border: 3px solid #6c757d; | |
| } | |
| .user-avatar { | |
| width: 150px; | |
| height: 150px; | |
| object-fit: cover; | |
| border-radius: 50%; | |
| margin: 0 auto; | |
| display: block; | |
| border: 5px solid #f0f0f0; | |
| } | |
| /* Project Management Styles */ | |
| .project-card { | |
| border-radius: 8px; | |
| border-left: 4px solid #007bff; | |
| } | |
| .project-card.hardware { | |
| border-left-color: #ffc107; | |
| } | |
| .project-card.software { | |
| border-left-color: #17a2b8; | |
| } | |
| .project-card .card-title { | |
| font-weight: 600; | |
| color: #343a40; | |
| } | |
| .project-card .card-subtitle { | |
| font-size: 0.875rem; | |
| } | |
| .project-card .card-text { | |
| color: #6c757d; | |
| min-height: 60px; | |
| } | |
| .project-card .card-footer { | |
| background-color: transparent; | |
| border-top: 1px solid rgba(0, 0, 0, 0.05); | |
| padding: 0.75rem 1.25rem; | |
| } | |
| .btn-group-sm .btn { | |
| margin-right: 2px; | |
| } | |
| .pagination .page-item.active .page-link { | |
| background-color: var(--primary-color); | |
| border-color: var(--primary-color); | |
| } | |
| .breadcrumb { | |
| background-color: #f8f9fa; | |
| padding: 0.75rem 1rem; | |
| border-radius: 0.25rem; | |
| margin-bottom: 1rem; | |
| } | |
| .form-label { | |
| font-weight: 500; | |
| } | |
| .required-field::after { | |
| content: '*'; | |
| color: var(--danger-color); | |
| margin-left: 4px; | |
| } | |
| .delete-warning { | |
| color: var(--danger-color); | |
| font-weight: 500; | |
| background-color: rgba(220, 53, 69, 0.1); | |
| padding: 1rem; | |
| border-radius: 0.25rem; | |
| margin-bottom: 1rem; | |
| } | |
| /* Responsive Adjustments */ | |
| @media (max-width: 768px) { | |
| .container { | |
| padding-left: 1.5rem; | |
| padding-right: 1.5rem; | |
| } | |
| .auth-form { | |
| max-width: 100%; | |
| padding: 0 1rem; | |
| } | |
| .project-header h1 { | |
| font-size: 1.8rem; | |
| } | |
| .domain-card .card-img-top { | |
| height: 140px; | |
| } | |
| .project-action-buttons { | |
| flex-direction: column; | |
| width: 100%; | |
| } | |
| .project-action-buttons .btn { | |
| margin-bottom: 0.5rem; | |
| } | |
| } | |
| /* Animation */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in; | |
| } | |
| /* Project Form Styles */ | |
| .dynamic-field { | |
| animation: fadeIn 0.3s ease-in-out; | |
| } | |
| .field-option { | |
| display: inline-block; | |
| margin-right: 10px; | |
| margin-bottom: 10px; | |
| padding: 5px 10px; | |
| border-radius: 15px; | |
| background-color: #e9ecef; | |
| font-size: 0.9rem; | |
| } | |
| .field-option:hover { | |
| background-color: #dee2e6; | |
| cursor: pointer; | |
| } | |
| .field-option.selected { | |
| background-color: var(--primary-color); | |
| color: white; | |
| } | |
| /* Home Page Stats */ | |
| .stats-card { | |
| text-align: center; | |
| padding: 1.5rem 1rem; | |
| } | |
| .stats-card .icon { | |
| font-size: 2rem; | |
| margin-bottom: 1rem; | |
| color: #007bff; | |
| } | |
| .stats-card .count { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| margin-bottom: 0.5rem; | |
| } | |
| .stats-card .label { | |
| font-size: 1rem; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| color: #6c757d; | |
| } | |
| /* Admin Panel Styles */ | |
| .stats-box { | |
| padding: 1.5rem; | |
| border-radius: 8px; | |
| text-align: center; | |
| margin-bottom: 1.5rem; | |
| } | |
| .stats-box.primary { | |
| background-color: rgba(0, 123, 255, 0.1); | |
| color: #007bff; | |
| } | |
| .stats-box.success { | |
| background-color: rgba(40, 167, 69, 0.1); | |
| color: #28a745; | |
| } | |
| .stats-box.warning { | |
| background-color: rgba(255, 193, 7, 0.1); | |
| color: #ffc107; | |
| } | |
| .stats-box.danger { | |
| background-color: rgba(220, 53, 69, 0.1); | |
| color: #dc3545; | |
| } | |
| .stats-box .count { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| margin-bottom: 0.5rem; | |
| } | |
| .stats-box .label { | |
| font-size: 0.9rem; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| .stats-box .icon { | |
| font-size: 1.5rem; | |
| margin-bottom: 0.75rem; | |
| } | |
| .user-table th, .user-table td { | |
| vertical-align: middle; | |
| } | |
| .user-table .status-badge { | |
| width: 85px; | |
| } | |
| /* Project Details Page */ | |
| .project-details .badge { | |
| font-size: 0.875rem; | |
| padding: 0.4em 0.8em; | |
| } | |
| .project-details dt { | |
| font-weight: 600; | |
| color: #343a40; | |
| } | |
| .project-details dd { | |
| margin-bottom: 1rem; | |
| } | |
| .students-list { | |
| list-style-type: none; | |
| padding-left: 0; | |
| } | |
| .students-list li { | |
| padding: 0.5rem 0; | |
| border-bottom: 1px solid rgba(0, 0, 0, 0.05); | |
| } | |
| .students-list li:last-child { | |
| border-bottom: none; | |
| } | |
| /* Form Styles */ | |
| .form-group label { | |
| font-weight: 500; | |
| color: #343a40; | |
| } | |
| .invalid-feedback { | |
| font-size: 80%; | |
| } | |
| /* Helper Classes */ | |
| .text-with-icon { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .text-with-icon i { | |
| margin-right: 0.5rem; | |
| } | |
| /* Project Management */ | |
| .project-form { | |
| background-color: white; | |
| border-radius: 10px; | |
| padding: 2rem; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); | |
| } | |
| .dynamic-fields-container .form-group { | |
| position: relative; | |
| padding-right: 50px; | |
| } | |
| .dynamic-fields-container .remove-field { | |
| position: absolute; | |
| right: 15px; | |
| top: 32px; | |
| } | |
| .recent-projects-table tr { | |
| transition: background-color 0.2s ease; | |
| } | |
| .recent-projects-table tr:hover { | |
| background-color: rgba(0, 123, 255, 0.05); | |
| } | |
| /* My Projects Page */ | |
| .my-projects-header { | |
| background-color: #f8f9fa; | |
| padding: 2rem 0; | |
| margin-bottom: 2rem; | |
| border-radius: 8px; | |
| } | |
| .my-projects-header h1 { | |
| margin-bottom: 1rem; | |
| } | |
| /* Student Projects Page */ | |
| .student-info-card { | |
| background-color: rgba(0, 123, 255, 0.05); | |
| border-radius: 8px; | |
| padding: 1.5rem; | |
| margin-bottom: 2rem; | |
| } | |
| .student-info-card h4 { | |
| margin-bottom: 1rem; | |
| color: #007bff; | |
| } | |
| .student-info-card p { | |
| margin-bottom: 0.5rem; | |
| } | |
| /* Button Hover Effects */ | |
| .btn { | |
| transition: all 0.2s ease; | |
| } | |
| .btn-outline-primary:hover, | |
| .btn-outline-success:hover, | |
| .btn-outline-danger:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| } |