@main-bgColor: rgb(40,40,40); //主背景颜色
@borderColor: #424242;
@primary-textColor: #fff; //文本主颜色
@second-textColor: #a5a5a5; //文本副级颜色
@primary-fontSize: 14px;
@second-fontSize: 16px;

.content-file-wrap {
    height: fit-content;
    padding: 10px 0px 20px 0px;
    color: white;
}
.content-file-item {
    width: ~"calc(100% - 10px)";

    .action-icon {
        cursor: pointer;
        margin-right: 8px;
        font-size: 18px;
        line-height: 22px;

        &:hover {
            color: aqua;
        }
    }

    .content-file-name-wrap {
        font-size: 15px;
        width: ~"calc(100% - 80px)";
    }

    .content-file-item-action {
        display: none;
    }

    &:hover {
        border-bottom: 1px solid @borderColor;
        background: #606060;
        padding-left: 4px;
        border-radius: 4px;
    }

    &:hover .content-file-item-action {
        display: inline-block;
        float: right;
    }
}

.file-icon {
    display: inline-block;
    vertical-align: sub;
    margin-right: 5px;
}