Code: Select all
<li id="quick-links" class="quick-links dropdown-container responsive-menu{% if not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH %} hidden{% endif %}" data-skip-responsive="true">
<a href="#" class="dropdown-trigger">
<span class="quick-icon"><span class="qi-line"></span><span class="qi-line"></span><span class="qi-line"></span></span><span class="quick-text">{L_QUICK_LINKS}</span>
</a>
Code: Select all
/* quick links
---------------------------------------- */
.quick-icon {
display: inline-block;
position: relative;
width: 24px;
height: 18px;
cursor: pointer;
margin-right: 10px;
vertical-align: text-top;
-webkit-tap-highlight-color: rgba(0,0,0,.1);
-webkit-transition-duration: .3s;
transition-duration: .3s;
-webkit-transition-timing-function: cubic-bezier(.6,0,.41,1);
transition-timing-function: cubic-bezier(.6,0,.41,1);
}
.quick-icon .qi-line {
position: absolute;
left: 0;
right: 0;
border-top: 2px solid var(--color01);
border-radius: 2px;
-webkit-transition-duration: .5s;
transition-duration: .5s;
-webkit-transition-timing-function: cubic-bezier(.6,0,.41,1);
transition-timing-function: cubic-bezier(.6,0,.41,1);
display: block;
}
.quick-icon .qi-line:first-child {
top: 3px;
}
.quick-icon .qi-line:nth-child(2) {
top: 50%;
}
.quick-icon .qi-line:nth-child(3) {
bottom: 1px;
left: 30%;
}
.dropdown-visible .quick-icon .qi-line {
border-color: var(--color11);
}
a:hover .quick-icon .qi-line {
border-color: var(--color11);
}
a:hover .qi-line:nth-child(2),a:hover .qi-line:nth-child(3) {
left: 0;
}
.dropdown-visible .quick-icon .qi-line:first-child,.dropdown-visible .quick-icon .qi-line:nth-child(2) {
top: 50%;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
left: 0;
right: 0;
}
.dropdown-visible .quick-icon .qi-line:nth-child(2) {
opacity: 0;
}
.dropdown-visible .quick-icon .qi-line:nth-child(3) {
bottom: calc(50% - 2px);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
left: 0;
}
Code: Select all
@media (max-width: 500px) {
.quick-links .dropdown-trigger span.quick-text {
display: none;
}
}