228 lines
3.9 KiB
SCSS
228 lines
3.9 KiB
SCSS
|
.submenu-wrap {
|
||
|
padding: 20px 1em;
|
||
|
}
|
||
|
|
||
|
.submenu__title {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.submenu__list {
|
||
|
@include clearfix;
|
||
|
list-style: none;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.submenu__item.level-1 {
|
||
|
position: relative;
|
||
|
float: left;
|
||
|
margin-right: 1%;
|
||
|
margin-bottom: 12px;
|
||
|
}
|
||
|
|
||
|
.submenu__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 {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
// Submenu dropdown
|
||
|
.submenu__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 {
|
||
|
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 {
|
||
|
display: block;
|
||
|
padding: 4px 8px;
|
||
|
background: #83cccb;
|
||
|
font-size: 0.8125rem;
|
||
|
@media (max-width: 767px){
|
||
|
font-size: 0.75rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.submenu__link.level-2 {
|
||
|
color: #fff;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.submenu__list.hidden--item {
|
||
|
display: none;
|
||
|
|
||
|
&:before {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
@charset "utf-8";
|
||
|
|
||
|
.sitemenu-horizontal {
|
||
|
padding: 0.625em 0;
|
||
|
|
||
|
@include clearfix;
|
||
|
|
||
|
.sitemenu-title {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.sitemenu-item.level-1 {
|
||
|
font-size: 0.8125rem;
|
||
|
position: relative;
|
||
|
float: left;
|
||
|
margin-right: 1%;
|
||
|
margin-bottom: 0.75em;
|
||
|
padding: 0.5em .8em;
|
||
|
padding-bottom: 0.5em;
|
||
|
color: $theme-white;
|
||
|
border-radius: .2em;
|
||
|
background: $theme-color-second;
|
||
|
|
||
|
&:hover {
|
||
|
background: darken($theme-color-second, 10%);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.sitemenu-link.level-1 {
|
||
|
margin-right: .25rem;
|
||
|
color: $theme-white;
|
||
|
}
|
||
|
|
||
|
.sitemenu-dropdown-toggle {
|
||
|
font-size: 0.75rem;
|
||
|
padding: 0.125em .3125rem;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
// sitemenu dropdown
|
||
|
.sitemenu-list.dropdown-menu {
|
||
|
min-width: 100%;
|
||
|
margin-top: 0.25em;
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.navbar-toggle {
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
padding: 14px 10px;
|
||
|
border-radius: 2px;
|
||
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
||
|
border-width: 2px;
|
||
|
border-color: lighten($theme-gray, 30%);
|
||
|
.icon-bar {
|
||
|
background-color: lighten($theme-gray, 30%);
|
||
|
}
|
||
|
&.collapsed {
|
||
|
.icon-bar-top {
|
||
|
top: 0;
|
||
|
transform: rotate(0);
|
||
|
}
|
||
|
.icon-bar-middle {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
.icon-bar-bottom {
|
||
|
top: 0;
|
||
|
transform: rotate(0);
|
||
|
}
|
||
|
}
|
||
|
// icon bar animation
|
||
|
.icon-bar {
|
||
|
transition: .2s all;
|
||
|
position: relative;
|
||
|
}
|
||
|
.icon-bar-top {
|
||
|
top: 6px;
|
||
|
transform: rotate(45deg);
|
||
|
}
|
||
|
.icon-bar-middle {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
.icon-bar-bottom {
|
||
|
top: -6px;
|
||
|
transform: rotate(-45deg);
|
||
|
}
|
||
|
}
|