| 1 |
.eel-single-nav{ |
| 2 |
position: relative; |
| 3 |
.eel-nav-menu-icon{ |
| 4 |
position: absolute; |
| 5 |
top: 50%; |
| 6 |
transform: translateY(-50%); |
| 7 |
right: 0; |
| 8 |
line-height: 0; |
| 9 |
cursor: pointer; |
| 10 |
svg{ |
| 11 |
width: 21px; |
| 12 |
height: 20px; |
| 13 |
} |
| 14 |
} |
| 15 |
} |
| 16 |
.eel-single-nav-list { |
| 17 |
list-style: none; |
| 18 |
margin: 0; |
| 19 |
padding: 0; |
| 20 |
display: flex; |
| 21 |
flex-wrap: wrap; |
| 22 |
align-items: center; |
| 23 |
} |
| 24 |
|
| 25 |
.eel-single-nav-list .eel-nav-item svg{ |
| 26 |
width: 18px; |
| 27 |
height: 18px; |
| 28 |
} |
| 29 |
|
| 30 |
.eel-single-nav-list .eel-nav-item svg path{ |
| 31 |
fill: currentColor; |
| 32 |
} |
| 33 |
|
| 34 |
.eel-single-nav-list .eel-nav-item .eel-has-icon-link{ |
| 35 |
display: flex; |
| 36 |
align-items: center; |
| 37 |
gap: 8px; |
| 38 |
span.eel-nav-icon-menu{ |
| 39 |
line-height: 0; |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
|
| 44 |
.eel-single-nav-list .eel-nav-item{ |
| 45 |
margin:4px; |
| 46 |
} |
| 47 |
|
| 48 |
.eel-single-nav-list li a { |
| 49 |
text-decoration: none; |
| 50 |
color: #121212; |
| 51 |
padding: 12px 20px; |
| 52 |
display: block; |
| 53 |
} |
| 54 |
|
| 55 |
.eel-single-nav-list li:hover a, |
| 56 |
.eel-single-nav-list li.active a { |
| 57 |
color: #c30645; |
| 58 |
} |
| 59 |
|
| 60 |
.eel-sticky-header-on.eel--fixed-top-sticky, |
| 61 |
.eel-sticky-header-on.eel-up-scroll{ |
| 62 |
.eel-sticky-logo{ |
| 63 |
display: inline-block !important; |
| 64 |
} |
| 65 |
.eel-main-logo:not(.eel-no-sticky){ |
| 66 |
display: none !important; |
| 67 |
} |
| 68 |
} |
| 69 |
|
| 70 |
@media (min-width: 992px) { |
| 71 |
body.logged-in:not(.elementor-editor-active) header.eel-sticky-header-on { |
| 72 |
top: 32px; |
| 73 |
} |
| 74 |
} |
| 75 |
|
| 76 |
@media (max-width: 992px) { |
| 77 |
.eel-single-nav-list.eel-single-nav-list-mobile{ |
| 78 |
display: none; |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
|
| 83 |
header.eel-sticky-header-on{ |
| 84 |
position: fixed !important; |
| 85 |
top: 0; |
| 86 |
z-index: 9999 !important; |
| 87 |
width: 100% !important; |
| 88 |
transition: all 0.3s ease !important; |
| 89 |
margin: 0 auto; |
| 90 |
left: 0; |
| 91 |
right: 0; |
| 92 |
will-change: transform, top; |
| 93 |
} |
| 94 |
|
| 95 |
header.eel-sticky-header { |
| 96 |
position: fixed; |
| 97 |
top: 0; |
| 98 |
left: 0; |
| 99 |
right: 0; |
| 100 |
z-index: 999; |
| 101 |
transition: transform 0.4s ease, top 0.4s ease; |
| 102 |
} |
| 103 |
|
| 104 |
|
| 105 |
body.admin-bar header.eel-sticky-header { |
| 106 |
top: 32px; |
| 107 |
} |
| 108 |
@media screen and (max-width: 782px) { |
| 109 |
body.admin-bar header.eel-sticky-header { |
| 110 |
top: 46px; |
| 111 |
} |
| 112 |
} |
| 113 |
|
| 114 |
header.eel-down-scroll { |
| 115 |
transform: translateY(-100%); |
| 116 |
} |
| 117 |
|
| 118 |
header.eel-up-scroll { |
| 119 |
transform: translateY(0); |
| 120 |
} |
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
.sidebar-on-mobile-single-nav { |
| 125 |
position: fixed; |
| 126 |
top: 0; |
| 127 |
right: 0; |
| 128 |
max-width: 420px; |
| 129 |
width: 100%; |
| 130 |
height: 110vh; |
| 131 |
background: #fff; |
| 132 |
transform: translateX(100%); |
| 133 |
transition: transform 0.3s ease; |
| 134 |
z-index: 9999; |
| 135 |
padding: 60px 25px 40px 40px; |
| 136 |
overflow-y: auto; |
| 137 |
display: grid; |
| 138 |
.eel-nav-menu-icon{ |
| 139 |
position: absolute; |
| 140 |
right: 20px; |
| 141 |
top: 20px; |
| 142 |
font-size: 25px; |
| 143 |
border: 1px solid #0000000a; |
| 144 |
border-radius: 100%; |
| 145 |
display: inline-grid; |
| 146 |
place-content: center; |
| 147 |
line-height: 36px; |
| 148 |
width: 36px; |
| 149 |
height: 36px; |
| 150 |
cursor: pointer; |
| 151 |
z-index: 999; |
| 152 |
color: #121212; |
| 153 |
i{ |
| 154 |
font-size: 16px; |
| 155 |
} |
| 156 |
} |
| 157 |
} |
| 158 |
|
| 159 |
body.logged-in{ |
| 160 |
.sidebar-on-mobile-single-nav { |
| 161 |
padding: 80px 25px 40px 40px; |
| 162 |
.eel-nav-menu-icon{ |
| 163 |
top: 50px; |
| 164 |
} |
| 165 |
} |
| 166 |
} |
| 167 |
|
| 168 |
|
| 169 |
.sidebar-on-mobile-single-nav.easyel-open { |
| 170 |
transform: translateX(0); |
| 171 |
} |
| 172 |
|
| 173 |
.sidebar-on-mobile-single-nav .unicon-chevron-down { |
| 174 |
display: inline-grid !important; |
| 175 |
height: 30px; |
| 176 |
width: 30px; |
| 177 |
cursor: pointer; |
| 178 |
position: absolute; |
| 179 |
right: 0; |
| 180 |
place-content: center; |
| 181 |
color: #121212; |
| 182 |
top: 7px; |
| 183 |
transition: transform 0.3s ease; |
| 184 |
&.active{ |
| 185 |
transform: rotate(180deg); |
| 186 |
} |
| 187 |
} |
| 188 |
|
| 189 |
.eel-single-nav-list.eel-single-nav-list-mobile li a { |
| 190 |
padding: 10px 0; |
| 191 |
} |
| 192 |
|
| 193 |
/* Mobile menu breakpoint toggle (class set in render: .eel-mobile-bp-XXX) */ |
| 194 |
$eel-nav-breakpoints: 480, 576, 768, 992; |
| 195 |
|
| 196 |
@each $bp in $eel-nav-breakpoints { |
| 197 |
.eel-mobile-bp-#{$bp} { |
| 198 |
.eel-single-nav-list { |
| 199 |
display: flex; |
| 200 |
} |
| 201 |
.eel-nav-menu-icon { |
| 202 |
display: none; |
| 203 |
} |
| 204 |
} |
| 205 |
|
| 206 |
@media (max-width: #{$bp}px) { |
| 207 |
.eel-mobile-bp-#{$bp} { |
| 208 |
.eel-single-nav-list { |
| 209 |
display: none; |
| 210 |
} |
| 211 |
.eel-nav-menu-icon { |
| 212 |
display: block; |
| 213 |
} |
| 214 |
} |
| 215 |
} |
| 216 |
} |
| 217 |
|
| 218 |
|