2020-09-24 05:14:38 +03:00
|
|
|
.burger {
|
2020-09-28 06:05:46 +03:00
|
|
|
position: relative;
|
2020-10-19 04:07:40 +03:00
|
|
|
margin-right: -7px;
|
|
|
|
margin-left: 20px;
|
2020-09-28 06:05:46 +03:00
|
|
|
width: 30px;
|
2020-10-19 04:07:40 +03:00
|
|
|
height: 30px;
|
|
|
|
cursor: pointer;
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
2020-09-24 05:14:38 +03:00
|
|
|
.burger-bar {
|
2020-09-28 06:05:46 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2020-10-19 04:07:40 +03:00
|
|
|
left: 0;
|
2020-09-28 06:05:46 +03:00
|
|
|
width: 100%;
|
2020-10-19 04:07:40 +03:00
|
|
|
height: 100%;
|
|
|
|
transition: transform 0.1806s cubic-bezier(0.04, 0.04, 0.12, 0.96);
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
|
|
|
.burger-bar::before {
|
2020-09-28 06:05:46 +03:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2020-10-19 04:07:40 +03:00
|
|
|
left: 7px;
|
2020-09-28 06:05:46 +03:00
|
|
|
width: 16px;
|
2020-10-19 04:07:40 +03:00
|
|
|
height: 2px;
|
|
|
|
background-color: var(--dark-gray-color);
|
|
|
|
transition: transform 0.1596s cubic-bezier(0.52, 0.16, 0.52, 0.84) 0.1008s;
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
|
|
|
.burger-bar:first-child::before {
|
2020-09-28 06:05:46 +03:00
|
|
|
top: 14px;
|
|
|
|
transform: translateY(-3px);
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
|
|
|
.burger-bar:last-child::before {
|
2020-09-28 06:05:46 +03:00
|
|
|
bottom: 14px;
|
|
|
|
transform: translateY(3px);
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
2020-09-24 05:14:38 +03:00
|
|
|
.burger-close .burger-bar {
|
2020-09-28 06:05:46 +03:00
|
|
|
transition: transform 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
2020-09-24 05:14:38 +03:00
|
|
|
.burger-close .burger-bar:first-child {
|
2020-09-28 06:05:46 +03:00
|
|
|
transform: rotate(45deg);
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
2020-09-24 05:14:38 +03:00
|
|
|
.burger-close .burger-bar:last-child {
|
2020-09-28 06:05:46 +03:00
|
|
|
transform: rotate(-45deg);
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|
2020-09-24 05:18:34 +03:00
|
|
|
|
|
|
|
.burger-close .burger-bar::before {
|
2020-09-28 06:05:46 +03:00
|
|
|
transition: transform 0.1806s cubic-bezier(0.04, 0.04, 0.12, 0.96);
|
2020-10-19 04:07:40 +03:00
|
|
|
transform: none;
|
2020-09-24 05:14:38 +03:00
|
|
|
}
|