/
Ozz
/
my-app
Обзор
Документация
Войти
/
Ozz
/
my-app
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/components/Layout/Navbar.css
145 строк
2 KB
Ozz
feat: Автоматизация развертывания веб-приложения в Yandex Cloud через CI/CD
24 июн 2026, 14:07
24 июн 2026, 14:07
17520b2
Код
Авторство
О чём код?
.navbar { background: var(--nav-bg); height: 80px; display: flex; justify-content: center; align-items: center; position: sticky; top: 0; z-index: 999; box-shadow: var(--shadow-sm); transition: background 0.3s ease; border-bottom: 1px solid var(--border-color); } .nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; padding: 0 2rem; } .nav-logo { color: var(--nav-text); text-decoration: none; font-size: 1.5rem; font-weight: bold; display: flex; align-items: center; gap: 0.5rem; } .logo-icon { font-size: 2rem; } .nav-menu { display: flex; align-items: center; list-style: none; gap: 1rem; } .nav-item { height: 80px; display: flex; align-items: center; } .nav-link { color: var(--nav-text); text-decoration: none; padding: 0.5rem 1rem; height: 100%; display: flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; border: none; background: none; cursor: pointer; font-size: 1rem; } .nav-link:hover { background: rgba(255, 255, 255, 0.15); border-radius: 4px; } .nav-button { font-family: inherit; } .theme-toggle-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--nav-text); background: transparent; color: var(--nav-text); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.3s ease; } .theme-toggle-btn:hover { background: rgba(255, 255, 255, 0.15); transform: rotate(30deg); } .menu-icon { display: none; flex-direction: column; cursor: pointer; gap: 5px; } .menu-icon span { width: 25px; height: 3px; background: var(--nav-text); transition: all 0.3s ease; } @media (max-width: 768px) { .menu-icon { display: flex; } .nav-menu { display: flex; flex-direction: column; width: 100%; position: absolute; top: 80px; left: -100%; opacity: 1; transition: all 0.5s ease; background: var(--nav-bg); border-bottom: 1px solid var(--border-color); } .nav-menu.active { left: 0; opacity: 1; transition: all 0.5s ease; z-index: 1; } .nav-item { height: 60px; width: 100%; } .nav-link { width: 100%; padding: 1rem; justify-content: center; } }