dana-medical-site/web/src/components/MegaMenu.css
2026-10-14 13:33:13 +00:00

109 lines
1.6 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Панель раскрытого меню: 1074 × 360 из макета (Dropdown panel / … / On homepage). */
.mega {
display: flex;
flex-direction: column;
gap: 14px;
padding: 28px 30px 26px;
background: var(--surface);
border-radius: 22px;
box-shadow: 0 12px 32px rgba(13, 31, 46, 0.14);
}
.mega__head {
display: flex;
align-items: center;
gap: 24px;
min-height: 34px;
}
.mega__title {
flex: 1;
font-weight: 700;
font-size: 22px;
line-height: 1.35;
color: var(--navy);
}
.mega__all {
font-weight: 600;
font-size: 14px;
line-height: 1.35;
color: var(--coral);
white-space: nowrap;
}
.mega__all:hover {
text-decoration: underline;
}
.mega__divider {
height: 1px;
background: var(--chip);
}
.mega__columns {
display: flex;
gap: 22px;
}
.mega__column {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
margin: 0;
padding: 0;
list-style: none;
}
.mega__item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: var(--r-12);
}
.mega__item:hover {
background: var(--soft);
}
.mega__dot {
width: 8px;
height: 8px;
flex-shrink: 0;
border-radius: 50%;
background: var(--coral);
}
.mega__copy {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
line-height: 1.35;
}
.mega__item-title {
font-weight: 600;
font-size: 15px;
color: var(--ink);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mega__item:hover .mega__item-title {
color: var(--navy);
}
.mega__item-note {
font-size: 12px;
color: var(--text-muted-3);
}
.mega__state {
padding: 12px;
color: var(--text-muted);
}