/
aska
/
web-static-labs
Обзор
Документация
Войти
/
aska
/
web-static-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
html/lab6/task3/style.css
266 строк
4 KB
yourr
111
14 янв 2026, 14:18
14 янв 2026, 14:18
4d4f934
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; background-color: #ffffff; color: #000000; line-height: 1.6; padding: 20px; } .box { max-width: 800px; margin: 0 auto; background-color: #ffffff; border: 2px solid #000000; border-radius: 8px; padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } h1 { text-align: center; margin-bottom: 20px; } .input-area { margin-bottom: 20px; } textarea { width: 100%; min-height: 100px; padding: 10px 12px; border: 2px solid #000000; border-radius: 4px; background-color: #ffffff; color: #000000; font-size: 14px; font-family: 'Arial', sans-serif; resize: vertical; margin-bottom: 15px; transition: border-color 0.3s ease; } textarea:focus { outline: none; border-color: #333333; background-color: #f8f8f8; } .controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 10px; flex-wrap: wrap; } .task-counter { font-weight: bold; font-size: 14px; color: #333333; } .btn { padding: 10px 20px; border: 2px solid #000000; border-radius: 4px; background-color: #000000; color: #ffffff; font-size: 14px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; min-width: 60px; } .btn:hover { background-color: #333333; border-color: #333333; } .btn:active { background-color: #666666; transform: translateY(1px); } .btn.secondary { background-color: #ffffff; color: #000000; } .btn.secondary:hover { background-color: #f0f0f0; } .btn:disabled { background-color: #cccccc; border-color: #cccccc; color: #666666; cursor: not-allowed; } .task-list { display: flex; flex-direction: column; gap: 15px; } .task-item { border: 2px solid #000000; border-radius: 4px; padding: 15px; background-color: #ffffff; transition: all 0.3s ease; } .task-item:hover { background-color: #f8f8f8; border-color: #333333; } .task-item.completed { background-color: #f0f0f0; border-color: #cccccc; opacity: 0.7; } .task-item.completed .task-text { text-decoration: line-through; color: #666666; } .task-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 10px; } .task-date { font-size: 12px; color: #666666; white-space: nowrap; } .task-text { margin-bottom: 15px; word-wrap: break-word; line-height: 1.5; } .task-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; } .action-btn { padding: 8px 16px; border: 2px solid #000000; border-radius: 4px; background-color: #000000; color: #ffffff; font-size: 12px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; } .action-btn:hover { background-color: #333333; border-color: #333333; } .action-btn:active { background-color: #666666; transform: translateY(1px); } .action-btn.complete-btn { background-color: #ffffff; color: #000000; } .action-btn.complete-btn.completed { background-color: #28a745; border-color: #28a745; color: #ffffff; } .action-btn.copy-btn.copied { background-color: #28a745; border-color: #28a745; } .empty-state { text-align: center; padding: 40px 20px; color: #666666; font-style: italic; } /* Адаптивность для мобильных устройств */ @media (max-width: 768px) { body { padding: 10px; } .box { padding: 15px; } .controls { flex-direction: column; align-items: stretch; } .task-header { flex-direction: column; align-items: flex-start; } .task-actions { width: 100%; justify-content: stretch; } .action-btn { flex: 1; } .btn { width: 100%; } .task-counter { text-align: center; } } .action-btn.copied { background-color: #28a745 !important; border-color: #28a745 !important; color: white !important; } .action-btn.manual-copy { background-color: #ffc107 !important; border-color: #ffc107 !important; color: black !important; animation: pulse 1s infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }