/
Vadimir29
/
test_ai
Обзор
Документация
Войти
/
Vadimir29
/
test_ai
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/widgets/TaskList/TaskList.scss
183 строки
3 KB
Zhdanov Vadim
test-ai: chore: Update styles
02 авг 2026, 23:38
02 авг 2026, 23:38
059da20
Код
Авторство
О чём код?
.task-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; &__empty { text-align: center; padding: 48px 24px; background: #f8fafc; border-radius: 16px; color: #94a3b8; font-size: 15px; &::before { content: '🎯'; display: block; font-size: 36px; margin-bottom: 12px; } } &__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1.5px solid #f1f5f9; border-radius: 14px; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); animation: listItemSlideIn 0.3s ease; &:hover { border-color: #e2e8f0; background: #fafbfc; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); } &--completed { background: #f8fafc; border-color: #f1f5f9; &:hover { transform: none; box-shadow: none; } } } &__content { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; } &__title { font-size: 15px; font-weight: 500; color: #1e293b; transition: all 0.3s ease; &--completed { text-decoration: none; color: #94a3b8; position: relative; &::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent 0%, #cbd5e1 20%, #cbd5e1 80%, transparent 100%); } } } &__desc { font-size: 13px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; } &__priority-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.2px; .priority-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; } &--low { background: #dcfce7; color: #166534; .priority-dot { background: #22c55e; } } &--medium { background: #fef9c3; color: #854d0e; .priority-dot { background: #eab308; } } &--high { background: #ffedd5; color: #9a3412; .priority-dot { background: #f97316; } } &--critical { background: #fee2e2; color: #991b1b; .priority-dot { background: #ef4444; animation: criticalPulse 1.5s ease infinite; } } } &__actions { display: flex; gap: 6px; transition: opacity 0.2s ease; } &:hover &__actions { opacity: 1; } } @keyframes listItemSlideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } @keyframes criticalPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }