/
misha_dev
/
game_guild_frontend
Обзор
Документация
Войти
/
misha_dev
/
game_guild_frontend
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/features/Header/styles.module.scss
136 строк
2 KB
misha-dev
fix: styling
28 апр 2025, 19:43
28 апр 2025, 19:43
4ecd0d2
Код
Авторство
О чём код?
.wrapper { height: 64px; position: sticky; top: 0; z-index: 1000; max-width: 100%; background: #ffffff; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding-inline: 10px; } .avatar { background-color: #1677ff; cursor: pointer; } .content { max-width: 1260px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 100%; } .logoWrapper { height: 100%; display: flex; align-items: center; gap: 8px; cursor: pointer; } .logo { width: 65px; height: 50px; } .title { font-size: 28px; font-weight: bold; background: linear-gradient(45deg, #007cf0, #082e81); -webkit-background-clip: text; -webkit-text-fill-color: transparent; @media (max-width: 750px) { display: none; } } .menu { height: 100%; display: flex; align-items: center; gap: 15px; font-size: 20px; @media (max-width: 750px) { display: none; } } .drawerMenu { display: flex; flex-direction: column; gap: 15px; font-size: 18px; padding-left: 10px; } .burgerIcon { display: none; font-size: 28px; cursor: pointer; @media (max-width: 750px) { display: block; } } .drawerHeader { display: flex; align-items: center; gap: 8px; } .drawerLogo { width: 45px; height: 35px; } .drawerTitle { font-size: 20px; font-weight: bold; margin: 0; } .menuItem { height: 100%; cursor: pointer; transition: color 0.1s ease-in-out; display: flex; align-items: center; &:hover { color: #08479f; } &.active { color: #1677ff; } } .mainPart { display: flex; align-items: center; gap: 60px; @media (max-width: 750px) { gap: 20px; } } .userActions { display: flex; align-items: center; gap: 20px; } .cart { font-size: 27px; color: #1677ff; }