/
RusToya
/
Crimea_plus
Обзор
Документация
Войти
/
RusToya
/
Crimea_plus
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
css/animations.css
153 строки
3 KB
Руслан Уфимцев
Commin1
24 июн 2026, 19:23
Верифицирован
24 июн 2026, 19:23
ce059c2
Код
Авторство
О чём код?
/* animation styles for all pages */ .active-anim{ transform: translate(0%, 0%); opacity: 1; } button{ transition: 0.6s; cursor: pointer; } button:hover{ transition-delay: 0s; filter: brightness(120%); } .stock-add__card, .sale-add__card, .pur-add__card{ display: none; } .section-stock-list:has(.add-button.active) .stock-add__card, .section-sale-list:has(.add-button.active) .sale-add__card, .section-pur-list:has(.add-button.active) .pur-add__card{ display: block; } /* main page */ .coutner-item__num{ transition: 0.6s; } .coutner-item__num:hover{ transform: scale(1.1); } .header__burger-button { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 22px; cursor: pointer; z-index: 1001; } .burger-slash { width: 100%; height: 3px; background: var(--primary); border-radius: 2px; transition: all 0.3s ease; } .header__burger-button.active .burger-slash:nth-child(1) { transform: translateY(9.5px) rotate(45deg); } .header__burger-button.active .burger-slash:nth-child(2) { opacity: 0; } .header__burger-button.active .burger-slash:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); } .header__burger-menu { display: none; position: fixed; top: 100px; right: 20px; background: var(--bg-white); border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); padding: 16px; min-width: 220px; z-index: 1000; flex-direction: column; } .header__burger-menu.active { display: flex; } .header__burger-menu nav ul { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 0; } .header__burger-menu nav ul li a { display: block; padding: 10px 16px; color: var(--text); font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 16px; text-decoration: none; border-radius: 8px; transition: background 0.2s; } .header__burger-menu nav ul li a:hover { background: var(--bg-light); } .burger__login { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); } .burger__login-button { width: 100%; padding: 10px 16px; background: var(--primary); color: var(--text-white); border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s; } .burger__login-button:hover { background: var(--primary-dark); } @media (max-width: 768px) { .header__burger-button { display: flex; } .header__var-wrapper{ display: none !important; } .header__var-wrapper .header__login { display: none !important; } }