Submit
Path:
~
/
/
home
/
getwphos
/
public_html
/
techniquetechs
/
wp-content
/
themes
/
plexify
/
assets
/
scss
/
menu
/
File Content:
_main.scss
.pxl-primary-menu{ padding: 0; margin: 0; list-style: none; margin-left: $menu_item_space / -2; margin-right: $menu_item_space / -2; display: flex; flex-wrap: wrap; ul, ol{ list-style: none; padding: 0; margin: 0; } li{ position: relative; padding: 0; flex: 0 0 100%; width: 100%; max-width: 100%; &:hover{ > .sub-menu{ visibility: visible; opacity: 1; @include transform(perspective(500px) rotateY(0)); } } } > li { flex: 0 0 auto; width: auto; margin: 0 $menu_item_space / 2; display: inline-flex; &:after{ content: ""; width: 100%; height: 20px; position: absolute; left: 0; bottom: -12px; z-index: 2; } > a{ color: $menu_regular; font-size: $menu_font_size; font-weight: $menu_font_weight; font-family: $menu_font_family; line-height: 50px; letter-spacing: $menu_letter_spacing; position: relative; display: inline-flex; align-items:center; .pxl-icon{ width: 10px; height: auto; font-size: 14px; display: inline-flex; position: absolute; top: 50%; left: -18px; opacity: 0; @include transform( scaleY(0) translateY(-50%)); @include transition(all .3s ease); } svg{ width: 24px; height: auto; display: inline-flex; position: absolute; top: 50%; left: -24px; opacity: 0; @include transform( scaleY(0) translateY(-50%)); @include transition(all .3s ease); fill: $second_color; } &::before{ content: ''; position: absolute; background-color: $primary_color; left: 0; bottom: calc(50% - 8px); transform: translateY(50%); height: 4px; width: 0; transition: all 350ms ease-in-out 0s; z-index: -1; } &:hover{ &::before{ width: 100%; } } } &.active, &.current-menu-item, &.current-menu-ancestor, &:hover{ > a, > .main-menu-toggle{ color: $menu_active; } > a{ .pxl-icon, svg{ opacity: 1; @include transform( scaleY(1) translateY(-50%)); } &::before{ width: 100%; } } } &.pxl-megamenu{ &.current-menu-item, &.current-menu-ancestor{ &:before{ width: 0; height: 0; @include transition(width .8s ease 0s, height .3s ease 0.3s); } &:hover{ &:before{ width: 100%; height: 4px; } } } } > .main-menu-toggle{ line-height: 1; align-self: center; margin-left: 8px; font-weight: normal; color: $menu_regular; font-size: $menu_arrow_size; margin-bottom: -2px; @include transition(); &:before{ font-family: $pxli_font; content: $menu_arrows_down; } [dir="rtl"] &{ margin-left: 0; margin-right: 8px; } } > .sub-menu{ left: -15px; [dir="rtl"] &{ left: auto; right: -15px; } } &.active, &:hover{ > a, > .main-menu-toggle{ color: $menu_hover; .pxl-menu-title:after{ background: $menu_hover; } } &:before{ background-color: $menu_hover; } } } .sub-menu:not(.pxl-mega-menu){ padding: 15px; } .sub-menu{ width: $sub_menu_w; color: $submenu_regular; background-color: $submenu_bg; background-repeat: repeat-x; background-position: top left; position: absolute; top: calc(100% + 10px); left: 100%; z-index: 99; opacity: 0; visibility: hidden; @include border-radius($submenu_radius); @include transform(perspective(500px) rotateY(20deg)); transform-origin: -50% 0%; @include box-shadow($submenu_shadow); @include transition(transform .25s cubic-bezier(0, 0, 0.76, 1), opacity 0.25s cubic-bezier(0, 0, 0.76, 1) ); &.back{ left: auto; right: 100%; } [dir="rtl"] &{ left: auto; right: 100%; &.back{ right: auto; left: 100%; } } a{ @include transition(color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)); } } .sub-menu{ li{ padding: 0; &:last-child{ a{ border-bottom: 0; } } > .main-menu-toggle{ line-height: 1; align-self: center; position: absolute; top: 50%; right: 15px; font-size: 15px; color: $body_color !important; opacity: 1; @include transform(translate(0,-50%)); @include transition(color .3s ease); &:before{ font-family: $pxli_font; content: $menu_item_icon; } } > a{ display: block; font-size: $submenu_font_size; line-height: 1.5; font-weight: $submenu_font_weight; padding: 14px 20px 14px 10px; color: $submenu_regular; background-color: $submenu_item_bg; border-bottom: 1px solid #e4e8ec; span{ position: relative; &::before{ content: ''; position: absolute; background-color: $primary_color; left: 0; bottom: 3px; height: 4px; width: 0; transition: all 350ms ease-in-out 0s; z-index: -1; } } &:hover{ span{ &:before { width: 100%; } } } } &:hover{ > .sub-menu{ top: -15px; } > .main-menu-toggle{ color: $heading_color; } } &.active, &.current-menu-item, &.current-menu-ancestor{ > a{ background-color: $submenu_item_bg_hover; span{ &:before { width: 100%; } } } } } } .pxl-parent-menu-icon{ float: right; &:before{ margin-left: 5px; [dir="rtl"] &{ margin-left: 0; margin-right: 5px; } } [dir="rtl"] &{ float: left; } } } .style-vr{ .pxl-primary-menu{ margin-left: 0; margin-right: 0; padding: 0 30px; >li{ margin: 0; flex: 0 0 100%; width: 100%; @include d-flex(); >.main-menu-toggle{ position: absolute; top: 50%; margin-top: -10px; right: 30px; font-size: 16px; &:before{ content: "\e9a0"; } } >a{ font-weight: normal; line-height: 60px; letter-spacing: 0.04em; text-transform: uppercase; } &.active, &.current-menu-item, &.current-menu-ancestor, &:hover{ > a, > .main-menu-toggle{ color: $menu_active; font-weight: 700; } } > .sub-menu{ left: 0; right: 0; [dir="rtl"] &{ left: 0; } } } .sub-menu{ top: 100%; left: 0; right: 0; width: 100%; text-align: center; padding: 30px 30px; a:hover{ padding-left: 0; } } } } .pxl-navigation{ .align-items-center{ justify-content: end; } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
_inner.scss
977 bytes
0644
_main.scss
7377 bytes
0644
_mega.scss
1580 bytes
0644
_mobile.scss
2783 bytes
0644
_widescreen.scss
2272 bytes
0644
menu.scss
302 bytes
0644
N4ST4R_ID | Naxtarrr