/* sysIndex tab bar, shortcut icon and context menu styles */

#nav_sortable_body {
    position: relative;
}

.content-tabs {
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: none !important;
    height: 30px;
    line-height: 30px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
}

.content-tabs .roll-nav,
.page-tabs-list {
    position: static;
    flex-shrink: 0;
    width: auto;
    height: 30px;
    line-height: 30px;
}

.content-tabs .roll-nav.roll-left {
    border-right: solid 1px #eee;
}

.content-tabs .roll-nav.roll-right {
    border-left: solid 1px #eee;
}

nav.page-tabs {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    height: 30px;
    line-height: 30px;
    margin-left: 0;
    width: auto;
}

.content-tabs button {
    height: 30px;
    width: auto;
    padding: 0 10px;
    white-space: nowrap;
}

.roll-right.J_tabRight {
    right: auto;
}

.roll-right.btn-group {
    position: static;
    right: auto;
    width: auto;
}

.roll-right.btn-group button {
    width: auto;
}

.page-tabs a.active {
    background: #ffffff;
    color: #707070;
}

/*.page-tabs a.active:hover,*/
/*.page-tabs a.active i:hover {*/
/*    background: #ffffff;*/
/*    color: #707070;*/
/*}*/

.page-tabs a {
    color: #797979;
    font-size: 12px;
    padding: 0 10px !important;
}

.page-tabs a.active {
    color: #376aea !important;
    background-color: #e1e9fc !important;
}

.keyboard-icon {
    margin-top: 2px;
    width: 18px;
    height: 14px;
    position: relative;
    background-color: #333333;
    border-radius: 2px;
}

.keyboard-icon-div1 {
    position: absolute;
    background-color: #ffffff;
    height: 2px;
    width: 2px;
    left: 4px;
    top: 4px;
}

.keyboard-icon-div1::before {
    content: '';
    position: absolute;
    background-color: #ffffff;
    height: 2px;
    width: 2px;
    left: 4px;
    top: 0px;
}

.keyboard-icon-div1::after {
    content: '';
    position: absolute;
    background-color: #ffffff;
    height: 2px;
    width: 2px;
    left: 8px;
    top: 0px;
}

.keyboard-icon-div2 {
    position: absolute;
    background-color: #ffffff;
    height: 2px;
    width: 6px;
    left: 4px;
    top: 8px;
}

.keyboard-icon-div2::after {
    content: '';
    position: absolute;
    background-color: #ffffff;
    height: 2px;
    width: 2px;
    left: 8px;
    top: 0px;
}


/* 右键菜单样式 */
.tab-context-menu {
    display: none;
    position: fixed;
    z-index: 9999;
    width: auto;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    width: fit-content !important;
    min-width: unset !important;
    padding: 3px 0;
}

.tab-context-menu .dropdown-menu {
    width: auto;
    display: block;
    position: static;
    margin: 0;
    border: none;
    box-shadow: none;
    width: fit-content !important;
    min-width: unset !important;
    background: transparent;
}

.tab-context-menu .dropdown-menu li {
    width: 100%;
    min-width: unset !important;
}

.tab-context-menu .dropdown-menu li a {
    padding: 2px 18px;
    margin-bottom: 2px;
    color: #757575;
    cursor: pointer;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
    border-radius: 0;
    background: none;
    transition: background 0.2s, color 0.2s;
}

.tab-context-menu .dropdown-menu li:last-child {
    margin-bottom: 0;
}

.tab-context-menu .dropdown-menu li a:hover {
    text-decoration: none !important;
    background-color: #e1e9fc !important;
    color: #376aea !important;
}

.tab-context-menu .divider {
    margin: 5px 0;
    border-top: 1px solid #e5e5e5;
}
