ci / api / api (push) Successful in 36s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 48s
ci / ts / ts (packages + web) (push) Canceled after 12s
ci / db / db (push) Successful in 2m43s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 59s
- settings get a search position (left, center by default, right); the top bar is three zones and the suggestions open towards the free space - buttons, chips, tabs, menu items and the home screen controls are not text-selectable, so clicks and double clicks no longer highlight labels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
250 lines
4.2 KiB
CSS
250 lines
4.2 KiB
CSS
.shell {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: 240px 1fr;
|
|
grid-template-rows: 60px 1fr 88px;
|
|
grid-template-areas:
|
|
'top top'
|
|
'side content'
|
|
'player player';
|
|
height: 100%;
|
|
}
|
|
|
|
.shell > :where(:not([aria-hidden])) {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Плеер-остров: плавает над контентом, контенту — запас снизу (docs/design.md#4). */
|
|
.island {
|
|
grid-template-rows: 60px 1fr;
|
|
grid-template-areas:
|
|
'top top'
|
|
'side content';
|
|
}
|
|
|
|
.island .content {
|
|
padding-bottom: 132px;
|
|
}
|
|
|
|
/* Над контентом: выпадающие подсказки поиска и меню профиля перекрывают страницу, а не уходят под неё. */
|
|
.top {
|
|
grid-area: top;
|
|
z-index: 30;
|
|
/* Три зоны: логотип, середина, профиль; поиск — в одной из них (настройка «Расположение поиска»). */
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--bar-a);
|
|
backdrop-filter: blur(20px);
|
|
}
|
|
|
|
.logoLink {
|
|
width: 196px;
|
|
flex: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.logoLink {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.topLeft {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topCenter {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.topRight {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
}
|
|
|
|
.profileButton {
|
|
border-radius: 50%;
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.profileButton[aria-expanded='true'] {
|
|
box-shadow: 0 0 0 3px var(--accent-soft);
|
|
}
|
|
|
|
.profileHead {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 4px 12px;
|
|
align-items: center;
|
|
padding: 10px 10px 12px;
|
|
margin-bottom: 6px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.profileHead > :last-child {
|
|
grid-column: 1 / -1;
|
|
margin-top: 10px;
|
|
justify-self: start;
|
|
}
|
|
|
|
.profileName {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profileMeta {
|
|
font-size: 12px;
|
|
color: var(--text3);
|
|
}
|
|
|
|
.side {
|
|
grid-area: side;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 16px 12px;
|
|
border-right: 1px solid var(--line);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.navSection {
|
|
margin: 18px 12px 6px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text3);
|
|
}
|
|
|
|
.navItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
border-radius: 10px;
|
|
color: var(--text2);
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navItem:hover {
|
|
background: var(--hover);
|
|
color: var(--text);
|
|
}
|
|
|
|
.navItem[data-status='active'] {
|
|
background: var(--accent-soft);
|
|
color: var(--text);
|
|
}
|
|
|
|
.navIcon {
|
|
color: var(--text3);
|
|
}
|
|
|
|
.navLabel {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.navCount {
|
|
font-size: 12px;
|
|
color: var(--text3);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.navBadge {
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--accent-fill);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.navItem[data-status='active'] .navIcon {
|
|
color: var(--accent2);
|
|
}
|
|
|
|
.content {
|
|
grid-area: content;
|
|
overflow-y: auto;
|
|
padding: 32px 36px;
|
|
animation: pipuIn 0.2s ease-out;
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.shell {
|
|
grid-template-columns: 72px 1fr;
|
|
}
|
|
|
|
.navItem {
|
|
justify-content: center;
|
|
padding: 0;
|
|
font-size: 0;
|
|
}
|
|
|
|
.navLabel,
|
|
.navCount,
|
|
.navBadge {
|
|
display: none;
|
|
}
|
|
|
|
.navSection {
|
|
margin: 14px 0 6px;
|
|
text-align: center;
|
|
font-size: 0;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.shell {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 60px 1fr 72px 64px;
|
|
grid-template-areas:
|
|
'top'
|
|
'content'
|
|
'player'
|
|
'side';
|
|
}
|
|
|
|
.side {
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
padding: 6px 8px;
|
|
border-right: 0;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.navSection {
|
|
display: none;
|
|
}
|
|
|
|
.navItem {
|
|
flex: 1;
|
|
}
|
|
|
|
.content {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
}
|