| 1 |
.hsr-mobile-sidebar { |
| 2 |
display: none; |
| 3 |
transition: .3s; |
| 4 |
transform:translateX(100%); |
| 5 |
} |
| 6 |
.hsr-mobile-sidebar.hsr-active { |
| 7 |
display: block; |
| 8 |
position: fixed; |
| 9 |
top: 0; |
| 10 |
right: 0; |
| 11 |
width: 300px; |
| 12 |
height: 100vh; |
| 13 |
background-color: $white; |
| 14 |
z-index: 999; |
| 15 |
transform:translateX(0); |
| 16 |
animation: sidebar-animation .3s; |
| 17 |
|
| 18 |
.hsr-wrapper { |
| 19 |
padding: 0 20px; |
| 20 |
} |
| 21 |
.hsr-close { |
| 22 |
margin-top: 27px; |
| 23 |
float: right; |
| 24 |
margin-right: 20px; |
| 25 |
cursor: pointer; |
| 26 |
|
| 27 |
@media(max-width: 782px) { |
| 28 |
margin-top: 41px; |
| 29 |
} |
| 30 |
} |
| 31 |
.hsr-wrapper__list { |
| 32 |
display: block; |
| 33 |
margin-top: 100px; |
| 34 |
padding: 0; |
| 35 |
|
| 36 |
.hsr-list__item { |
| 37 |
display: block; |
| 38 |
padding: 12px 16px 12px 16px; |
| 39 |
margin-bottom: 5px; |
| 40 |
|
| 41 |
svg { |
| 42 |
display: none; |
| 43 |
} |
| 44 |
} |
| 45 |
.hsr-list__item.hsr-active { |
| 46 |
border-bottom: none; |
| 47 |
border-radius: 5px; |
| 48 |
} |
| 49 |
} |
| 50 |
|
| 51 |
.hsr-go-to-hpanel { |
| 52 |
display:flex; |
| 53 |
align-items: center; |
| 54 |
padding: 20px 15px; |
| 55 |
border-top: 1px solid $border-gray; |
| 56 |
svg { |
| 57 |
margin-right: 8px; |
| 58 |
} |
| 59 |
a { |
| 60 |
font-size: 14px; |
| 61 |
font-weight: 700; |
| 62 |
text-decoration: none; |
| 63 |
color:$primary-purple; |
| 64 |
} |
| 65 |
|
| 66 |
.hsr-mobile-menu-icon { |
| 67 |
display: none; |
| 68 |
} |
| 69 |
} |
| 70 |
|
| 71 |
|
| 72 |
} |
| 73 |
|
| 74 |
.hsr-mobile-menu-icon { |
| 75 |
display: none; |
| 76 |
|
| 77 |
@media(max-width: 1000px) { |
| 78 |
display: block; |
| 79 |
position: absolute; |
| 80 |
top: 15px; |
| 81 |
right: 20px; |
| 82 |
cursor: pointer; |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
body.hsr-sidebar-active { |
| 87 |
.hsr-overlay { |
| 88 |
background-color: rgba(0,0,0,0.5); |
| 89 |
position: fixed; |
| 90 |
top: 0; |
| 91 |
left: 0; |
| 92 |
width: 100%; |
| 93 |
height: 100vh; |
| 94 |
z-index: 99; |
| 95 |
} |
| 96 |
} |
| 97 |
|