@import "./theme";
.mfunsPlayer-info-panel {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 400px;
    background: rgba(28, 28, 28, 0.8);
    padding: 10px;
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
    z-index: 200;
    &-hide {
        display: none;
    }

    .mfunsPlayer-info-panel-close {
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .mfunsPlayer-info-panel-item {
        & > span {
            display: inline-block;
            vertical-align: middle;
            line-height: 15px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
    }

    .mfunsPlayer-info-panel-item-title {
        width: 100px;
        text-align: right;
        margin-right: 10px;
    }

    .mfunsPlayer-info-panel-item-data {
        width: 260px;
    }
}
.mfunsPlayer-hotkey-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    // width: 200px;
    // height: 300px;
    background: rgba(28, 28, 28, 0.8);
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
    z-index: 1001;
    &-hide {
        display: none;
    }

    .mfunsPlayer-hotkey-panel-close {
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 10px;
        width: 15px;
        height: 15px;
        text-align: center;
        line-height: 15px;
        background: url("../icon/close.svg");
        background-size: 100% 100%;
    }
    .mfunsPlayer-hotkey-panel-title {
        width: 100%;
        height: 50px;
        text-align: center;
        line-height: 40px;
        font-size: 18px;
        color: $translucent-white;
    }
    .mfunsPlayer-hotkey-panel-wrap {
        width: 300px;
        height: 250px;
        overflow-y: auto;
        scrollbar-color: rgba(162, 152, 152, 0.8);
        scrollbar-width: 5px;
        &:hover {
            &::-webkit-scrollbar {
                background: rgba(162, 152, 152, 0.8);
            }
            &::-webkit-scrollbar-thumb {
                border-radius: 10px;
                background: rgba(0, 0, 0, 0.4);
                &:hover {
                    background: rgba(37, 35, 35, 0.8);
                }
            }
        }
        &::-webkit-scrollbar {
            width: 7px;
            height: 7px;
            position: fixed;
            bottom: 0;
            left: 0;
            background: rgba(255, 255, 255, 0);

            border-radius: 10px;
        }
        &::-webkit-scrollbar-thumb {
            border-radius: 10px;
            background: rgba(255, 255, 255, 0);
            &:hover {
                background: rgba(255, 255, 255, 0);
            }
        }
        // &::-webkit-scrollbar-track {
        //     opacity: 0;
        // }
        .mfunsPlayer-hotkey-panel-item {
            display: flex;
            width: 100%;
            justify-content: space-around;
            &-title {
                flex: 1;
                text-align: center;
                height: 30px;
                line-height: 30px;
                color: #999;
            }
            &-data {
                flex: 1;
                text-align: center;
                height: 30px;
                line-height: 30px;
                color: #e6e6e6;
            }
        }
    }
}
