130 lines
2.7 KiB
SCSS
130 lines
2.7 KiB
SCSS
|
.submenu-wrap,.sitemenu-wrap.sitemenu-horizontal {
|
||
|
padding: 20px 1em;
|
||
|
}
|
||
|
|
||
|
.submenu__title,.sitemenu-horizontal .sitemenu-title {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.submenu__list,.sitemenu-horizontal .sitemenu-list {
|
||
|
@include clearfix;
|
||
|
list-style: none;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.submenu__item.level-1,.sitemenu-horizontal .sitemenu-item.level-1 {
|
||
|
position: relative;
|
||
|
float: left;
|
||
|
margin-right: 1%;
|
||
|
margin-bottom: 12px;
|
||
|
}
|
||
|
|
||
|
.submenu__link.level-1,.sitemenu-horizontal .sitemenu-link.level-1 {
|
||
|
float: left;
|
||
|
padding-bottom: 8px;
|
||
|
font-size: 13px;
|
||
|
font-size: 0.8125rem;
|
||
|
background: #0062a7;
|
||
|
color: #fff;
|
||
|
padding: 8px 0.8em;
|
||
|
border-radius: 0.2em;
|
||
|
|
||
|
&:hover {
|
||
|
background: #0f7fcc;
|
||
|
}
|
||
|
@media (max-width: 767px){
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.submenu__item:hover .dropdown,.sitemenu-horizontal .sitemenu-item:hover .dropdown {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
// Submenu dropdown
|
||
|
.submenu__list.dropdown,.sitemenu-horizontal .sitemenu-list.dropdown {
|
||
|
display: none;
|
||
|
padding: 20px 0 0 0;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 80%;
|
||
|
border-radius: 2px;
|
||
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
||
|
z-index: 200;
|
||
|
}
|
||
|
|
||
|
.submenu__list .dropdown:before,.sitemenu-horizontal .sitemenu-list .dropdown:before {
|
||
|
content: "";
|
||
|
border-style: solid;
|
||
|
border-width: 0px 7px 7px 7px;
|
||
|
border-color: transparent transparent #83cccb transparent;
|
||
|
position: absolute;
|
||
|
top: 15px;
|
||
|
left: 15px;
|
||
|
}
|
||
|
|
||
|
.submenu__item.level-2,.sitemenu-horizontal .sitemenu-item.level-2 {
|
||
|
display: block;
|
||
|
padding: 4px 8px;
|
||
|
background: #83cccb;
|
||
|
font-size: 0.8125rem;
|
||
|
@media (max-width: 767px){
|
||
|
font-size: 0.75rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.submenu__link.level-2,.sitemenu-horizontal .sitemenu-link.level-2 {
|
||
|
color: #fff;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.submenu__list.hidden--item,.sitemenu-horizontal .sitemenu-list.hidden--item {
|
||
|
display: none;
|
||
|
|
||
|
&:before {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
@charset "utf-8";
|
||
|
|
||
|
|
||
|
.sitemenu-vertical {
|
||
|
.sitemenu-list {
|
||
|
background-color: $theme-color-second;
|
||
|
}
|
||
|
|
||
|
.sitemenu-item.level-1 {
|
||
|
padding: 0.625em 1.25em;
|
||
|
position: relative;
|
||
|
color: $theme-white;
|
||
|
}
|
||
|
|
||
|
.sitemenu-link {
|
||
|
font-size: 0.8125rem;
|
||
|
color: $theme-white;
|
||
|
}
|
||
|
|
||
|
.sitemenu-dropdown-toggle {
|
||
|
font-size: 0.75rem;
|
||
|
padding: 0.125em .3125rem;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.sitemenu-list.dropdown-menu {
|
||
|
border: none;
|
||
|
border-radius: .2em;
|
||
|
background: $theme-color-main;
|
||
|
}
|
||
|
|
||
|
.sitemenu-link.level-2 {
|
||
|
color: $theme-white;
|
||
|
font-size: 0.8125rem;
|
||
|
padding: 0.25em 0.625rem;
|
||
|
|
||
|
&:hover {
|
||
|
text-decoration: underline;
|
||
|
background-color: transparent;
|
||
|
}
|
||
|
}
|
||
|
}
|