1
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
ssww23
2026-03-17 01:59:00 +03:00
parent 93a655235a
commit 0ee9f05416
48 changed files with 1193 additions and 413 deletions

View File

@@ -138,12 +138,150 @@ body.pc-body {
justify-content: center;
}
.pc-header-tools {
display: flex;
align-items: center;
}
.pc-header-icons {
display: flex;
gap: 14px;
align-items: flex-start;
}
.pc-lang-switcher {
position: relative;
}
.pc-lang-switcher-trigger {
list-style: none;
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-height: 40px;
padding: 8px 12px;
border-radius: 999px;
border: 1px solid var(--border);
background: #ffffff;
color: var(--ink);
cursor: pointer;
font-size: 0.82rem;
font-weight: 700;
transition:
border-color 0.2s ease,
background 0.2s ease,
box-shadow 0.2s ease;
}
.pc-lang-switcher-trigger::-webkit-details-marker {
display: none;
}
.pc-lang-switcher-trigger:hover {
border-color: rgba(15, 23, 42, 0.2);
background: #f8fafc;
}
.pc-lang-switcher-trigger:focus-visible {
outline: 2px solid rgba(226, 74, 74, 0.25);
outline-offset: 2px;
}
.pc-lang-switcher[open] .pc-lang-switcher-trigger {
border-color: rgba(199, 58, 58, 0.24);
box-shadow: 0 0 0 4px rgba(226, 74, 74, 0.08);
}
.pc-lang-switcher-current {
display: inline-flex;
align-items: center;
gap: 8px;
}
.pc-lang-switcher-chevron {
width: 18px;
height: 18px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--muted);
transition: transform 0.2s ease, color 0.2s ease;
}
.pc-lang-switcher-chevron svg {
width: 14px;
height: 14px;
fill: currentColor;
}
.pc-lang-switcher[open] .pc-lang-switcher-chevron {
transform: rotate(180deg);
color: var(--ink);
}
.pc-lang-switcher-menu {
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 170px;
padding: 8px;
border-radius: 14px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.98);
box-shadow: var(--shadow);
display: grid;
gap: 6px;
z-index: 120;
}
.pc-lang-switcher-option {
width: 100%;
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 9px 10px;
border: 0;
border-radius: 10px;
background: transparent;
color: var(--ink);
font: inherit;
text-align: left;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
}
.pc-lang-switcher-option:hover:not(:disabled) {
background: #f8fafc;
}
.pc-lang-switcher-option:disabled {
opacity: 1;
cursor: default;
}
.pc-lang-switcher-option-main {
display: inline-flex;
align-items: center;
gap: 8px;
}
.pc-lang-switcher-option.is-active {
background: rgba(226, 74, 74, 0.08);
color: #b23434;
}
.pc-lang-switcher-check {
font-size: 1.1rem;
line-height: 1;
}
.pc-lang-switcher-flag {
font-size: 1rem;
line-height: 1;
}
.pc-mobile-menu-toggle {
display: none;
}
@@ -2560,14 +2698,18 @@ body.pc-body {
letter-spacing: 0.08em;
}
.pc-header-tools {
display: none;
}
.pc-catalog-btn {
display: none;
}
.pc-hamburger {
display: inline-flex;
order: 2;
margin-left: auto;
order: 3;
margin-left: 0;
}
.pc-mobile-menu-head {
@@ -2610,11 +2752,33 @@ body.pc-body {
flex: 0 0 100%;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-tools {
display: flex;
order: 3;
margin-left: 0;
width: 100%;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-tools .pc-lang-switcher {
width: 100%;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-tools .pc-lang-switcher-trigger {
width: 100%;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-tools .pc-lang-switcher-menu {
left: 0;
right: auto;
width: 100%;
min-width: 0;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-center {
display: flex;
flex-direction: column;
gap: 10px;
order: 3;
order: 4;
width: 100%;
padding-top: 0;
border-top: 0;
@@ -2625,7 +2789,7 @@ body.pc-body {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
order: 4;
order: 5;
width: 100%;
}
@@ -2634,6 +2798,7 @@ body.pc-body {
grid-template-columns: 1fr;
gap: 6px;
width: 100%;
order: 6;
max-height: none;
opacity: 1;
overflow: visible;