PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom2
/
modules
/
mod_djmegamenu
/
themes
/
clean
/
css
.dj-megamenu-clean { padding: 0 !important; margin: 0 !important; list-style: none; overflow: visible; height: auto; width: auto; position: relative; z-index: 500; display: flex; flex-wrap: wrap; align-items: center; li.dj-up { position: relative; padding: 0 !important; margin: 0 !important; } li { a.dj-up_a { display: block; height: 60px; font-size: 16px; color: #000; text-decoration: none; padding: 0 18px; cursor: pointer; transition: color 0.2s ease-out; > span { display: flex; align-items: center; flex-wrap: wrap; padding: 0; height: 60px; &.dj-drop { padding: 0 20px 0 0; } span.name { vertical-align: middle; + span { margin-left: 10px; } } } .arrow { display: inline-block; font-family: 'FontAwesome'; position: absolute; right: 16px; top: calc(50% - 6px); font-size: 1em; line-height: 1; height: auto; transition: all 0.2s ease-out; font-style: normal; &:before { content: '\f107'; } } small.subtitle { display: block; font-size: 13px; line-height: 1; color: #999; margin-top: 3px; } .dj-icon { margin: 0; max-height: 32px; + span { margin-left: 15px; } } } div.dj-subwrap { position: absolute; left: -9999px; top: -9999px; margin: 0; padding: 0; list-style: none; .dj-subwrap-in { display: flex; background-color: #f5f5f5; } } &.logo { a.dj-up_a { .dj-icon { max-height: 60px; } } } &:hover, &.hover { position: relative; z-index: 200; a.dj-up_a { color: #444; .arrow { top: calc(50% - 4px); } small.subtitle { color: #666; } } > div.dj-subwrap { left: 0; top: 100%; height: auto; z-index: 300; li { &:hover, &.hover { > div.dj-subwrap { left: 100%; top: 0; margin: 0; height: auto; z-index: 400; } } } } } ul.dj-submenu { padding: 0; margin: 0 10px; height: auto; width: auto; > li { list-style: none; display: block; height: auto; width: auto; position: relative; > a { font-size: 16px; line-height: 24px; color: #444; text-decoration: none; padding: 12px 20px; margin: 0 -10px; transition: all 0.2s ease-out; display: flex; align-items: center; flex-wrap: nowrap; .dj-icon { margin: 0; max-height: 16px; + span { margin-left: 15px; } } small.subtitle { color: #666; display: block; font-size: 11px; line-height: 1; } span.name { vertical-align: middle; + span { margin-left: 10px; } } &:hover, &.active { background: #f1f1f1; } } } > li.parent { > a { .arrow { display: inline-block; font-family: 'FontAwesome'; position: absolute; right: 6px; top: 13px; font-size: 1em; line-height: 1; transition: all 0.2s ease-out; &:before { content: '\f105'; } } } &:not(.subtree) { > a { &:hover { .arrow { right: 4px; } } } } &.subtree { > a { .arrow { &:before { content: '\f107'; } } } } } } ul.dj-subtree { list-style: none; padding: 0 !important; margin: 5px 0 5px 25px !important; > li { list-style: circle outside; padding: 0; margin: 0; color: #666; > a { display: block; font-size: 13px; line-height: 13px; color: #444; text-decoration: none; padding: 5px 0; &:hover, &.active { color: #000; } small.subtitle { color: #666; display: block; font-size: 0.9em; line-height: 1; } span.name { + span { margin-left: 10px; } } } } > li.active { > a { text-decoration: underline; } } } } li.separator { > a { cursor: default; } } .modules-wrap { padding: 10px; color: #444; p { display: block; padding: 0; } } .dj-stickylogo { position: absolute; z-index: 550; img { max-height: 100%; width: auto; } } .dj-stickylogo.dj-align-center { position: static; text-align: center; margin: 10px 0; } .dj-stickylogo.dj-align-left { left: 20px; max-height: 50px; margin: 5px 0; } .dj-stickylogo.dj-align-right { right: 20px; max-height: 50px; margin: 5px 0; } li.dj-up.fullsub { position: static !important; a.dj-up_a { position: relative; } } .djsubrow_separator { clear: both; padding: 0 0 20px; margin: 0 0 20px; } } .dj-megamenu-clean.dj-fa-5 { li { a.dj-up_a { .arrow { font-family: 'Font Awesome 5 Free'; font-weight: 900; } } ul.dj-submenu { > li.parent { > a { .arrow { font-family: 'Font Awesome 5 Free'; font-weight: 900; font-style: normal; } } } } } } .dj-megamenu-clean.dj-megamenu-fixed { position: fixed; -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0) scale(1, 1); transform: translateZ(0); } .dj-megamenu-clean.dj-megamenu-sticky { position: fixed; top: 0; left: 0; width: 100%; height: auto; background: #fff; box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.05); } .dj-megamenu-clean.verticalMenu { height: auto; max-width: 360px; z-index: 400; li.dj-up { width: 100%; } li { a.dj-up_a { height: auto; padding-top: 15px; padding-bottom: 15px; img { max-height: 100%; max-width: 32px; } small.subtitle { margin-top: 0; } >span { flex-wrap: nowrap; } span { height: auto; .dj-icon { vertical-align: middle; } span.image-title { padding: 0 15px; margin: 0; } } .arrow { &:before { content: '\f105'; } } } &:hover { div.dj-subwrap { right: auto !important; left: 100% !important; top: 0; } div.dj-subwrap.open-right { right: auto !important; left: 100% !important; top: 0; } div.dj-subwrap.open-left { left: auto !important; right: 100% !important; } } ul.dj-submenu>li>a .dj-icon { max-height: 100%; max-width: 32px; } } li.hover { div.dj-subwrap { right: auto !important; left: 100% !important; top: 0; } div.dj-subwrap.open-right { right: auto !important; left: 100% !important; top: 0; } div.dj-subwrap.open-left { left: auto !important; right: 100% !important; } } } // OVERLAY body.dj-megamenu-overlay { position: relative; ul.dj-megamenu { z-index: 1001; position: relative; } .dj-megamenu-sticky { z-index: 1000; } } body .dj-megamenu-overlay-box { background: rgba(0, 0, 0, 0.5); position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; pointer-events: none; display: none; } // BADGE .dj-megamenu-clean li a.dj-up_a span.dj-badge, .dj-megamenu-clean li ul>li>a span.dj-badge { float: none; text-transform: uppercase; display: inline-block; padding: .35em .65em; font-size: .75em; font-weight: 700; height: auto; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25em; } // show focus on keyboard navigation only .dj-megamenu-clean.dj-megamenu-wcag { *:focus, //old browsers *:focus-visible { //modern browsers outline: 2px solid currentColor; outline-offset: -2px; } *:focus:not(:focus-visible) { //remove visible focus for modern outline: none; } } // animations .dj-megamenu-clean { .dj-subwrap { animation-duration: 400ms; animation-delay: 50ms; animation-fill-mode: both; } &.fast .dj-subwrap { animation-duration: 200ms; } &.slow .dj-subwrap { animation-duration: 600ms; } // hide submenu li div.dj-subwrap, li.hover div.dj-subwrap li div.dj-subwrap, &:not(.dj-megamenu-js) li:hover div.dj-subwrap li div.dj-subwrap { display: none; } // show submenu li.hover div.dj-subwrap, li.hover div.dj-subwrap li.hover > div.dj-subwrap, &:not(.dj-megamenu-js) li:hover div.dj-subwrap, &:not(.dj-megamenu-js) li:hover div.dj-subwrap li:hover > div.dj-subwrap { display: block; } }
[+]
..
[-] djmegamenu.css
[edit]
[-] djmegamenu.css.map
[edit]
[-] djmegamenu.scss
[edit]
[-] djmegamenu_rtl.css
[edit]
[-] djmegamenu_rtl.css.map
[edit]
[-] djmegamenu_rtl.scss
[edit]
[-] index.html
[edit]
[-] .htaccess.disabled
[edit]