Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/public_html/templates/startsik/scss/ |
$menu_font_size : 14px;
.sp-megamenu-wrapper {
position: relative;
z-index: 9;
}
.sp-megamenu-parent {
list-style: none;
padding: 0;
margin: 0 -15px;
z-index: 99;
display: block;
position: relative;
>li {
display: inline-block;
position: relative;
padding: 0 15px;
line-height: $header_height;
letter-spacing: .5px;
&.menu-justify {
position: static;
}
>a, >span {
display: inline-block;
font-size: $menu_font_size;
margin: 0;
font-weight: 700;
text-transform: uppercase;
}
&.active > a {
//font-weight: 700;
}
.sp-menu-badge {
height: 20px;
line-height: 20px;
padding: 0 5px;
font-size: 10px;
letter-spacing: 1px;
display: inline-block;
text-transform: uppercase;
background: #d60000;
color: #fff;
border-radius: 3px;
}
}
.sp-module {
padding: 10px;
}
.sp-mega-group {
list-style: none;
padding: 0;
margin: 0;
>li > a {
display: block;
text-transform: uppercase;
font-size: $menu_font_size;
font-weight: 600;
margin-bottom: 10px;
}
.sp-mega-group-child{
list-style: none;
padding: 0;
margin: 0;
}
}
.sp-dropdown {
margin: 0;
position: absolute;
z-index: 10;
display: none;
.sp-dropdown-inner{
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
padding: 0;
background-color: rgba(30,41,46,0.9);
>.row:not(:first-child) {
margin-top: 20px;
}
}
.sp-dropdown-items{
list-style: none;
padding: 0;
margin: 0;
}
&.sp-dropdown-main {
top: 100%;
}
&.sp-dropdown-sub {
top: 0;
.sp-dropdown-inner {
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
}
//List Item
li.sp-menu-item { //child sub
display: block;
padding: 0;
position: relative;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
line-height: 1.2;
letter-spacing: normal;
&:last-child {
border-bottom: 0;
}
&:hover {
background-color: rgba(255, 255, 255, 0.05);
transition: all .4s ease;
}
>a, span:not(.sp-menu-badge) {
font-size: 15px;
display: inline-block;
text-transform: capitalize;
font-weight: 500;
padding: 16px 22px;
cursor: pointer;
&:hover {
color: #fff !important;
}
&.sp-group-title {
text-transform: uppercase;
font-weight: bold;
}
}
&.active {
background-color: rgba(255, 255, 255, 0.08);
}
}
// Module
.sp-module {
padding: 0;
.sp-module-title {
font-size: $menu_font_size;
margin: 0 0 15px;
text-transform: uppercase;
font-weight: bold;
}
.latestnews {
margin: 0;
>li {
&:not(:last-child) {
margin: 0 0 15px;
}
a {
font-size: 14px;
span {
opacity: .8;
}
}
}
}
}
}
.sp-dropdown-mega {
>.row {
margin-top: 30px;
&:first-child {
margin-top: 0;
}
}
}
//Has Child
.sp-has-child {
&:hover {
>.sp-dropdown {
display: block;
}
}
}
//fadeIn
&.menu-animation-fade {
.sp-has-child {
&:hover {
>.sp-dropdown {
animation: spFadeIn 600ms;
}
}
}
}
// fadeInUp
&.menu-animation-fade-up {
.sp-has-child {
&:hover {
>.sp-dropdown {
animation: spFadeInUp 400ms ease-in;
}
}
}
}
// fadeInDown
&.menu-animation-fade-down {
.sp-has-child {
&:hover {
>.sp-dropdown {
animation: spFadeInDown 400ms ease-in;
}
}
}
}
// zoomIn
&.menu-animation-zoom {
.sp-has-child {
&:hover {
>.sp-dropdown {
animation: spZoomIn 300ms;
}
}
}
}
// rotateIn
&.menu-animation-rotate {
.sp-has-child {
&:hover {
>.sp-dropdown {
animation: spRotateIn 300ms;
}
}
}
}
// Elastic
&.menu-animation-pulse {
.sp-has-child {
&:hover {
>.sp-dropdown {
animation: spPulse 300ms;
}
}
}
}
}
// ltr
body {
&.ltr {
.sp-megamenu-parent {
>li {
&.sp-has-child>a:after,
&.sp-has-child>span:after{
font-family: "Font Awesome 5 Free";
content: "\f107";
//float: right;
margin-left: 7px;
position: initial;
}
&.sp-has-child>a:hover:after,
&.sp-has-child>span:hover:after {
background-color: transparent;
}
.sp-menu-badge {
&.sp-menu-badge-right {
margin-left: 5px;
}
&.sp-menu-badge-left {
margin-right: 5px;
}
}
}
.sp-dropdown {
.sp-dropdown-items{
.sp-has-child>a:after{
font-family: "Font Awesome 5 Free";
content: "\f105";
float: right;
margin-left: 7px;
}
}
&.sp-menu-center{
margin-left: 45px;
}
&.sp-dropdown-main {
&.sp-menu-right {
left: -10px;
}
&.sp-menu-full {
left: auto;
right: 0;
}
&.sp-menu-left {
right: 0;
}
}
&.sp-dropdown-sub {
left: 100%;
}
}
}
}
}