Front end fixes

This commit is contained in:
Amanmyrat 2023-07-29 10:46:55 +05:00
parent e7e86e8523
commit 21b81a3784
4 changed files with 55 additions and 6 deletions

View File

@ -72,9 +72,11 @@
} }
.burger { .burger {
width: 40px; // width: 40px;
height: 40px; height: 40px;
border-radius: 50%; padding: 5px 10px;
border-radius: 10px;
background: #fff; background: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
@ -93,6 +95,10 @@
background: #fff; background: #fff;
} }
} }
p {
color: #FFF;
}
} }
&.active { &.active {
@ -110,6 +116,16 @@
bottom: 0; bottom: 0;
} }
} }
p {
color: $black;
}
&:hover {
p {
color: #fff;
}
}
} }
span { span {
@ -119,6 +135,7 @@
height: 2px; height: 2px;
background: $black; background: $black;
@include transition; @include transition;
margin-right: 10px;
&::before { &::before {
content: ''; content: '';
@ -142,6 +159,13 @@
@include transition; @include transition;
} }
} }
p {
font-size: 12px;
font-weight: 700;
line-height: 1.3;
@include transition;
}
} }
.logo { .logo {

View File

@ -110,6 +110,10 @@
text-align: center; text-align: center;
margin: 50px 0; margin: 50px 0;
} }
.rest_item {
display: block;
}
} }
&_link { &_link {

View File

@ -1,6 +1,6 @@
// Result ==================== // Result ====================
.result { .result {
padding-bottom: 80px; padding: 30px 0 80px;
.menu { .menu {
&_search { &_search {

View File

@ -223,9 +223,9 @@ input[type=date]::-webkit-calendar-picker-indicator {
-moz-transition: all 0.2s ease-in-out 0s; -moz-transition: all 0.2s ease-in-out 0s;
} }
.header .burger { .header .burger {
width: 40px;
height: 40px; height: 40px;
border-radius: 50%; padding: 5px 10px;
border-radius: 10px;
background: #fff; background: #fff;
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
@ -250,6 +250,9 @@ input[type=date]::-webkit-calendar-picker-indicator {
.header .burger:hover span::before, .header .burger:hover span::after { .header .burger:hover span::before, .header .burger:hover span::after {
background: #fff; background: #fff;
} }
.header .burger:hover p {
color: #FFF;
}
.header .burger.active span { .header .burger.active span {
background: none; background: none;
} }
@ -263,6 +266,12 @@ input[type=date]::-webkit-calendar-picker-indicator {
transform: rotate(-45deg); transform: rotate(-45deg);
bottom: 0; bottom: 0;
} }
.header .burger.active p {
color: #171717;
}
.header .burger.active:hover p {
color: #fff;
}
.header .burger span { .header .burger span {
display: block; display: block;
position: relative; position: relative;
@ -272,6 +281,7 @@ input[type=date]::-webkit-calendar-picker-indicator {
-webkit-transition: all 0.2s ease-in-out 0s; -webkit-transition: all 0.2s ease-in-out 0s;
transition: all 0.2s ease-in-out 0s; transition: all 0.2s ease-in-out 0s;
-moz-transition: all 0.2s ease-in-out 0s; -moz-transition: all 0.2s ease-in-out 0s;
margin-right: 10px;
} }
.header .burger span::before { .header .burger span::before {
content: ""; content: "";
@ -297,6 +307,14 @@ input[type=date]::-webkit-calendar-picker-indicator {
transition: all 0.2s ease-in-out 0s; transition: all 0.2s ease-in-out 0s;
-moz-transition: all 0.2s ease-in-out 0s; -moz-transition: all 0.2s ease-in-out 0s;
} }
.header .burger p {
font-size: 12px;
font-weight: 700;
line-height: 1.3;
-webkit-transition: all 0.2s ease-in-out 0s;
transition: all 0.2s ease-in-out 0s;
-moz-transition: all 0.2s ease-in-out 0s;
}
.header .logo { .header .logo {
display: block; display: block;
position: relative; position: relative;
@ -3021,6 +3039,9 @@ input[type=date]::-webkit-calendar-picker-indicator {
text-align: center; text-align: center;
margin: 50px 0; margin: 50px 0;
} }
.post_slider .rest_item {
display: block;
}
.post_link { .post_link {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
@ -3077,7 +3098,7 @@ input[type=date]::-webkit-calendar-picker-indicator {
} }
.result { .result {
padding-bottom: 80px; padding: 30px 0 80px;
} }
.result .menu_search { .result .menu_search {
padding-top: 0; padding-top: 0;