404 lines
7.5 KiB
SCSS
404 lines
7.5 KiB
SCSS
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
.modules-menu{
|
|
position: relative;
|
|
#move{
|
|
position: absolute;
|
|
height: 100%;
|
|
background: $theme-color-second;
|
|
left: 0;
|
|
z-index: 0;
|
|
opacity: 0;
|
|
transition:.3s;
|
|
display: none;
|
|
@media (min-width: 992px) {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
}
|
|
.menu {
|
|
background: rgb(224,224,224);
|
|
background: linear-gradient(0deg, rgba(224,224,224,1) 0%, rgba(245, 245, 245, 1) 20%, rgba(255,255,255,1) 80%, rgba(224,224,224,1) 100%);
|
|
position: relative;
|
|
|
|
.menu-bg{
|
|
display: none;
|
|
position: absolute;
|
|
top:46px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 0;
|
|
background: rgba(0,0,0,.7);
|
|
transition:.3s;
|
|
@media (min-width: 992px) {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
.modules-menu {
|
|
position: relative;
|
|
z-index: 1;
|
|
font-family: $sub-font;
|
|
max-height: none;
|
|
|
|
margin:0 -15px;
|
|
@media (min-width: 992px){
|
|
display: block;
|
|
margin:0 ;
|
|
}
|
|
|
|
li {
|
|
white-space: nowrap;
|
|
|
|
& > a,
|
|
& > .fa {
|
|
color: #4c4c4c;;
|
|
}
|
|
|
|
&:hover {
|
|
& > a,
|
|
& > .fa {
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.modules-menu-level-0 {
|
|
background-size: cover;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
float: none;
|
|
// overflow: hidden;
|
|
@media (min-width: 768px) and (max-width: 991px) {
|
|
font-size: 0;
|
|
}
|
|
@media (min-width: 992px) {
|
|
// background: #77C8FF;
|
|
width: 100%;
|
|
overflow: visible;
|
|
}
|
|
|
|
.has-dropdown.level-1.active {
|
|
.modules-menu-level-1 {
|
|
display: block;
|
|
@media (min-width: $screen-sm) and (max-width: $screen-md){
|
|
position: absolute;
|
|
}
|
|
}
|
|
}
|
|
|
|
.has-dropdown.level-2.active {
|
|
.modules-menu-level-2 {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.dropdown-toggle-icon {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 15px;
|
|
width: 30px;
|
|
height: 30px;
|
|
cursor: pointer;
|
|
line-height: 1.8em;
|
|
font-size: 1em;
|
|
text-align: center;
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
.dropdown-toggle-icon.level-1 {
|
|
background-color: $theme-gray;
|
|
}
|
|
|
|
.dropdown-toggle-icon.level-2 {
|
|
background-color: $theme-gray;
|
|
}
|
|
|
|
& > li {
|
|
position: relative;
|
|
padding: 0 15px;
|
|
|
|
& + li {
|
|
border-top: 2px solid #41b3ff;
|
|
}
|
|
@media (min-width: 768px) and (max-width: 991px) {
|
|
|
|
& + li {
|
|
border-top: 2px solid #aaddff;
|
|
}
|
|
width: 50%;
|
|
float: none;
|
|
display: inline-block;
|
|
font-size: 1em;
|
|
&:nth-child(2) {
|
|
border:0;
|
|
}
|
|
}
|
|
|
|
& > a {
|
|
display: block;
|
|
font-family: $main-font;
|
|
padding-top: 15px;
|
|
padding-bottom: 15px;
|
|
font-weight: bold;
|
|
}
|
|
@media (min-width: 992px) {
|
|
|
|
position: relative;
|
|
margin: 0 ;
|
|
padding: 0;
|
|
border-top: none !important;
|
|
float: none;
|
|
display: inline-block;
|
|
|
|
&:last-child {
|
|
|
|
.modules-menu-level-1 {
|
|
right: 15px;
|
|
left: auto;
|
|
|
|
&:before {
|
|
right: 10px;
|
|
left: auto;
|
|
}
|
|
|
|
& > li {
|
|
padding-right: 15px;
|
|
padding-left: 15px;
|
|
|
|
& > a {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
.modules-menu-level-2 {
|
|
right: 100%;
|
|
left: auto;
|
|
|
|
&:before {
|
|
right: -6px;
|
|
left: auto;
|
|
|
|
@include arrow("left", 6px, 6px, $theme-gray-darker);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
& > a {
|
|
padding: 13px 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
transition:.5s;
|
|
font-weight: bold;
|
|
}
|
|
& > .fa {
|
|
position: static;
|
|
|
|
@include size(auto, auto);
|
|
|
|
padding: 0;
|
|
line-height: 1;
|
|
font-size: 1em;
|
|
cursor: default;
|
|
}
|
|
|
|
&:hover {
|
|
|
|
& > a {
|
|
|
|
color:#fff;
|
|
}
|
|
.modules-menu-level-1 {
|
|
display: block;
|
|
opacity: 1;
|
|
left: 15px;
|
|
transition:opacity .5s .3s;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.modules-menu-level-1 {
|
|
display: none;
|
|
min-width: 100%;
|
|
margin: 0 -15px;
|
|
padding: 0;
|
|
background-color: #dbcdb6;
|
|
list-style: none;
|
|
z-index: 1;
|
|
text-align: left;
|
|
& > li {
|
|
position: relative;
|
|
transition:.5s;
|
|
padding: 0;
|
|
// & + li {
|
|
// border-top: 1px solid #5dc7ff;
|
|
// }
|
|
|
|
& > a {
|
|
display: block;
|
|
padding: 12px 25px;
|
|
font-family: $main-font;
|
|
font-size: 0.9375em;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
background-color: darken($theme-color-main, 10%);
|
|
|
|
& > a,
|
|
& > .fa {
|
|
color: #FFF;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
display: block;
|
|
position: absolute;
|
|
top:43px;
|
|
left: -10000px;
|
|
opacity: 0;
|
|
transition:opacity .5s,left 0s .5s;
|
|
margin-top: 0.2rem;
|
|
&:before {
|
|
display: block;
|
|
position: absolute;
|
|
top: -16px;
|
|
left: 10px;
|
|
|
|
@include arrow("bottom", 10px, 8px, $theme-color-main);
|
|
}
|
|
|
|
& > li {
|
|
padding: 10px 20px;
|
|
|
|
& > a {
|
|
position: relative;
|
|
transition:.3s;
|
|
display: inline-block;
|
|
padding: 0;
|
|
}
|
|
|
|
& > .fa {
|
|
position: static;
|
|
@include size(auto, auto);
|
|
padding: 0;
|
|
margin-right: 0;
|
|
line-height: 1;
|
|
float: none;
|
|
font-size: 1em;
|
|
cursor: default;
|
|
}
|
|
|
|
&:hover {
|
|
.modules-menu-level-2 {
|
|
display: block;
|
|
left: 100%;
|
|
opacity: 1;
|
|
transition:opacity .5s .2s;
|
|
}
|
|
& > a{
|
|
color:#fff;
|
|
padding:0 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.fa {
|
|
&:before {
|
|
content: "\f105";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.modules-menu-level-2 {
|
|
display: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f8b04e;
|
|
list-style: none;
|
|
text-align: left;
|
|
& > li {
|
|
transition:.5s;
|
|
// & + li {
|
|
// border-top: 1px solid #5dc7ff;
|
|
// }
|
|
|
|
& > a {
|
|
display: block;
|
|
padding: 15px 35px;
|
|
font-family: $main-font;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $theme-color-second;
|
|
|
|
& > a {
|
|
color: #FFF;
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
display: block;
|
|
opacity: 0;
|
|
left: -10000px;
|
|
transition:opacity .5s,left 0s .5s;
|
|
position: absolute;
|
|
top: 0;
|
|
background: $theme-color-second;
|
|
// box-shadow: 0 0 10px rgba(0,0,0,.3);
|
|
|
|
&:before {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: 13px;
|
|
left: -6px;
|
|
|
|
@include arrow("right", 6px, 6px, $theme-color-second);
|
|
}
|
|
|
|
& > li {
|
|
padding: 0.7em 15px;
|
|
|
|
& > a {
|
|
padding: 0;
|
|
position: relative;
|
|
transition:.3s;
|
|
}
|
|
&:hover{
|
|
& > a{
|
|
background: $theme-color-second;
|
|
color:#fff;
|
|
padding:0 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.fa {
|
|
&:before {
|
|
content: "\f105";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.has-mobile-dropdown {
|
|
.modules-menu {
|
|
.dropdown-toggle-icon {
|
|
display: block;
|
|
}
|
|
}
|
|
} |