изменила контактную форму, доработала навбар, партнёры

This commit is contained in:
xomimishka committed 2025-04-12 14:40:04 +03:00
1 parent 79fc2eeb98
commit d24fecd5e4
25 files changed
+620 -236

No files matched your search

+83 -92
View File
@@ -11,130 +11,121 @@
justify-content: space-between;
align-items: center;
transition: transform 0.3s ease-out, height 0.3s ease-out,
background-color 0.8s ease-out;
transition: transform 0.3s ease-out, height 0.3s ease-out, background-color 0.8s ease-out;
&.hidden {
transform: translateY(-110%); // Убираем navbar вверх
transform: translateY(-110%); // Убираем navbar вверх
}
&:not(.hidden) {
transform: translateY(0); // Показываем navbar
transform: translateY(0); // Показываем navbar
}
&.transparent {
background-color: transparent !important;
transition: none;
background-color: transparent !important;
transition: none;
.bar .nav-link {
color: $text-secondary;
.bar .nav-link {
color: $text-secondary;
@media (max-width: 1200px) {
color: black;
}
}
@media (max-width: 1200px) {
color: black;
.burger .line {
background-color: #ffffff;
&.open {
background-color: #072ac8; // Синий цвет, когда меню открыто
}
}
}
}
@media (max-width: 1200px) {
.burger .line {
background-color: #ffffff;
&.open {
background-color: #072ac8; // Синий цвет, когда меню открыто
}
.logo {
filter: brightness(0) invert(1);
}
}
.logo {
filter: brightness(0) invert(1);
}
}
.nav-link:has(> .logo) {
display: flex;
height: 100%;
align-items: center;
display: flex;
height: 100%;
align-items: center;
.logo {
width: $navbar-logo-height;
height: auto;
}
.logo {
width: $navbar-logo-height;
height: auto;
}
}
.bar {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: flex-end;
display: flex;
align-items: center;
.nav-link {
font-size: 16px;
font-weight: 500;
line-height: 20px;
letter-spacing: 0em;
padding: 0.25em;
margin-left: 40px;
color: black;
text-decoration: none;
text-wrap: nowrap;
}
.nav-link {
font-size: 16px;
font-weight: 500;
line-height: 20px;
letter-spacing: 0em;
padding: .25em;
margin-left: 40px;
color: black;
text-decoration: none;
text-wrap: nowrap;
}
.nav-link::after {
background: $text-secondary;
}
.nav-link::after {
background: $text-secondary;
}
}
@media (max-width: 1200px) {
// height: $navbar-height;
// padding: $navbar-padding-tb 5%;
height: $navbar-height;
padding: $navbar-padding-tb 5%;
// .nav-link:has(> .logo) .logo {
// width: $navbar-logo-mini-height;
// }
.bar {
display: none;
flex-direction: column;
position: fixed;
top: 0;
right: 0;
background-color: white;
width: 50%;
height: 200vh;
z-index: 9;
padding: 60px 0px;
&.open {
display: flex;
.nav-link:has(> .logo) .logo {
width: $navbar-logo-mini-height;
}
.nav-link {
padding: 10px 5px;
width: 100%;
text-align: left;
}
}
.bar {
display: none;
flex-direction: column;
position: fixed;
top: 0;
right: 0;
background-color: white;
width: 50%;
height: 200vh;
z-index: 9;
padding: 60px 0px;
.burger {
position: relative;
display: flex;
flex-direction: column;
z-index: 10;
&.open {
display: flex;
}
.line {
width: 25px;
height: 3px;
background-color: #072ac8;
margin: 4px 0;
transition: all 0.3s ease;
.nav-link {
padding: 10px 5px;
width: 100%;
text-align: left;
}
}
}
.burger {
position: relative;
display: flex;
flex-direction: column;
z-index: 10;
.line {
width: 25px;
height: 3px;
background-color: #072ac8;
margin: 4px 0;
transition: all 0.3s ease;
}
}
}
@media (max-width: 768px) {
height: $navbar-height;
padding: $navbar-padding-tb 5%;
.nav-link:has(> .logo) .logo {
width: $navbar-logo-mini-height;
}
}
}