/*
 * This file is part of  the extension: {{EXTENSION_NAME}}
 * Copyright (c) Eblasoft Bilişim Ltd.
 *
 * This Software is the property of Eblasoft Bilişim Ltd. and is protected
 * by copyright law - it is NOT Freeware and can be used only in one project
 * under a proprietary license, which is delivered along with this program.
 * If not, see <http://eblasoft.com.tr/eula>.
 *
 * This Software is distributed as is, with LIMITED WARRANTY AND LIABILITY.
 * Any unauthorised use of this Software without a valid license is
 * a violation of the License Agreement.
 *
 * According to the terms of the license you shall not resell, sublicense,
 * rent, lease, distribute or otherwise transfer rights or usage of this
 * Software or its derivatives. You may modify the code of this Software
 * for your own needs, if source code is provided.
 */

/* spacer styles */
body #navbar .navbar li.tab > a.menu-separator hr {
    padding: 0;
    margin: 0;
}

body #navbar .navbar li.tab > a.menu-separator span {
    display: none;
}

body #navbar .navbar li.tab > a.menu-separator {
    cursor: default !important;
    height: 1px !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    overflow: hidden;
    padding: 0 !important;
}

.in-group .menu-separator {
    background-color: #e5e5e5;
    height: 1px !important;
}

.in-group .menu-separator:hover {
    color: #333333;
    background-color: #e5e5e5;

}

body[data-navbar="side"].minimized #navbar ul.tabs > li > a.menu-separator {
    padding: 0 7px;
}

a.menu-separator > span.full-label, a.menu-separator > span.short-label {
    display: none !important;
}

/* scope favorite styles */
.header-title span.fa-star {
    cursor: pointer;
}

.header-title span.fa-star {
    cursor: pointer;
}

.header-title span.fa-star.is-favorite {
    color: #ef9c03;
}

.fav-star-header-wrapper {
    display: inline-block;
    margin-left: 8px;
    position: relative;
    height: 18px;
    width: 18px;
}

.fav-star-header-wrapper > span {
    position: absolute;
    top: 2px;
}

/* navbar hover intent - start */
.hover-indent-area {
    position: absolute;
    width: 500px;
    height: 500px;
    display: none;
    z-index: 1;
    left: 185px;
    top: -83px;
    opacity: 0;
    transform: rotate(76deg);
    border-radius: 80px;

}

body[data-navbar="side"] ul.nav.navbar-nav.tabs, body[data-navbar="side"] ul.dropdown-menu.more-dropdown-menu {
    overflow-x: hidden; /* fix scroll x when indent area display on */
}

body[data-navbar="side"] ul.nav.navbar-nav.tabs > li.not-in-more.tab.tab-group.dropdown > .hover-indent-area {
    background: black; /* only bg for main tabs*/
}


@media (hover: hover) {
    body[data-navbar="side"] li.tab.tab-group.dropdown:hover .hover-indent-area {
        display: block;
    }

    body #navbar .navbar li.tab:hover > a:not(.menu-separator) {
        background: #00000059;
    }

    body #navbar .navbar ul.nav.navbar-nav.tabs .dropdown:not(.more):hover > .dropdown-menu {
        display: block;
    }
}

/* navbar hover intent - end */

/* favorite */

.starred-panel-container ul.list-group {
    max-height: 400px;
    overflow: auto;
}

#starred-panel {
    position: absolute;
    width: 400px;
    z-index: 1001;
    right: 0;
    left: auto;
}

#starred-panel > .panel {
    background-color: var(--dropdown-bg);
}

.starred-badge-container .fa-star {
    color: #efd600;
}

@media screen and (min-width: 768px) {
    body[data-navbar=side] #starred-panel {
        margin-top: 30px;
    }
}

/* avatar */
#nav-menu-dropdown {
    padding: 2px !important;
    border-radius: 5px;
}

#nav-menu-dropdown img {
    border-radius: 50%;
    border: 1px dashed;
    padding: 1px;
}
