/
Centermant
/
web-nodejs
Обзор
Документация
Войти
/
Centermant
/
web-nodejs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
public/lab10/task2/style.css
357 строк
8 KB
Centermant
feat(lab11)
16 дек 2025, 00:57
16 дек 2025, 00:57
01b83c7
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #2d3748; line-height: 1.6; min-height: 100vh; padding: 20px; } nav { background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1); color: white; padding: 1rem 0; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); border-radius: 15px; margin-bottom: 2rem; overflow: hidden; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; } .nav-title { font-size: 2rem; font-weight: bold; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); background: linear-gradient(45deg, #ffffff, #f0f0f0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .nav-tabs { display: flex; gap: 1rem; } .nav-tab { padding: 1rem 2rem; background: linear-gradient(45deg, #ff9a9e, #fecfef); color: #2d3748; border: none; border-radius: 25px; cursor: pointer; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); text-shadow: 1px 1px 2px rgba(255,255,255,0.5); } .nav-tab.active { background: linear-gradient(45deg, #a8edea, #fed6e3); transform: scale(1.05); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); } .nav-tab:hover:not(.active) { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); } .auth-buttons, .user-info { display: flex; gap: 1rem; align-items: center; } .home-link { padding: 1rem 2rem; background: linear-gradient(45deg, #ffecd2, #fcb69f); color: #2d3748; text-decoration: none; border-radius: 25px; transition: all 0.3s ease; font-weight: 600; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); text-shadow: 1px 1px 2px rgba(255,255,255,0.5); } .home-link:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); } main { max-width: 1200px; margin: 0 auto; padding: 0 1rem; } .page { display: none; } .page.active { display: block; animation: fadeIn 0.5s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } h2 { color: white; margin-bottom: 1.5rem; font-size: 2.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); background: linear-gradient(45deg, #ffffff, #f0f0f0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-align: center; } .card { background: linear-gradient(145deg, #ffffff, #f8f9fa); border-radius: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); padding: 2rem; margin-bottom: 2rem; border: 2px solid rgba(255,255,255,0.3); } .form-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; } .form-group { flex: 1; min-width: 250px; } label { display: block; margin-bottom: 0.75rem; color: #2d3748; font-weight: 600; font-size: 1.1rem; } select, input { width: 100%; padding: 1rem; border: 2px solid #e2e8f0; border-radius: 15px; background: linear-gradient(145deg, #f8fafc, #ffffff); font-size: 1rem; transition: all 0.3s ease; } select:focus, input:focus { outline: none; border-color: #4ecdc4; box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1); } .checkbox-grid { border: 2px solid #e2e8f0; border-radius: 15px; padding: 1.5rem; max-height: 300px; overflow-y: auto; background: linear-gradient(145deg, #f8fafc, #ffffff); box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); } .checkbox-item { display: flex; align-items: center; padding: 1rem; border-bottom: 1px solid #e2e8f0; transition: background-color 0.2s ease; } .checkbox-item:last-child { border-bottom: none; } .checkbox-item:hover { background-color: #f7fafc; border-radius: 8px; } .checkbox-item input { width: 1.5rem; height: 1.5rem; margin-right: 1rem; accent-color: #4ecdc4; } .counter { color: #4ecdc4; font-weight: bold; font-size: 1.1rem; } .btn { padding: 1rem 2rem; border: none; border-radius: 25px; cursor: pointer; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); text-shadow: 1px 1px 2px rgba(255,255,255,0.5); } .btn-primary { background: linear-gradient(45deg, #ff9a9e, #fecfef); color: #2d3748; } .btn-primary:hover { background: linear-gradient(45deg, #ff6b6b, #ff8e8e); transform: scale(1.05); } .btn-danger { background: linear-gradient(45deg, #ff6b6b, #ff8e8e); color: white; } .btn-danger:hover { background: linear-gradient(45deg, #ff5252, #ff7675); transform: scale(1.05); } .btn-secondary { background: linear-gradient(45deg, #a8edea, #fed6e3); color: #2d3748; } .btn-secondary:hover { background: linear-gradient(45deg, #80deea, #ffab91); transform: scale(1.05); } table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 1rem; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); } th, td { border: 1px solid #e2e8f0; padding: 1.5rem; text-align: left; } th { background: linear-gradient(45deg, #667eea, #764ba2); color: white; font-weight: 600; font-size: 1.1rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); } .time-cell { background: linear-gradient(45deg, #ffecd2, #fcb69f); font-weight: 600; width: 200px; color: #2d3748; text-shadow: 1px 1px 2px rgba(255,255,255,0.5); } .lesson-item { margin-bottom: 1rem; padding: 1.5rem; border-radius: 15px; position: relative; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.3); } .lesson-item:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); } .lesson-lecture { background: linear-gradient(145deg, #dbeafe, #eff6ff); border-left: 6px solid #3b82f6; } .lesson-practice { background: linear-gradient(145deg, #dcfce7, #f0fdf4); border-left: 6px solid #22c55e; } .lesson-lab { background: linear-gradient(145deg, #fef3c7, #ffedd5); border-left: 6px solid #f59e0b; } .delete-btn { position: absolute; top: 0.5rem; right: 0.5rem; background: linear-gradient(45deg, #ff6b6b, #ff8e8e); color: white; border: none; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; transition: opacity 0.3s ease, transform 0.2s ease; } .lesson-item:hover .delete-btn { opacity: 1; transform: scale(1.1); } .delete-btn:hover { transform: scale(1.2); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); } .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)); z-index: 1000; align-items: center; justify-content: center; } .modal.active { display: flex; animation: fadeIn 0.3s ease; } .modal-content { background: linear-gradient(145deg, #ffffff, #f8f9fa); padding: 2rem; border-radius: 20px; max-width: 500px; width: 90%; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); border: 2px solid rgba(255,255,255,0.3); } .modal-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; } .hidden { display: none; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mt-1 { margin-top: 0.25rem; } .text-center { text-align: center; } .text-gray-500 { color: #a0aec0; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .table-container { overflow-x: auto; border-radius: 15px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }