.unit-filter-wrap {
    background: #666666;
    margin-bottom: 10px;
    border-radius: 5px;
}

.unit-list-wrap {
    width: 100%;
    height: 400px;
    overflow: hidden;

    &:before {
        content: '';
    }

    .unit-list-item {
        position: relative;
        background: #484848;
        margin-bottom: 2px;
        margin-top: 6px;
        border-radius: 2px;
        padding: 10px 10px;
        width: ~"calc(100% - 8px)";
        height: fit-content;

        &:hover {
            background: #525252;
            margin-bottom: 10px;
            margin-top: 0px;
            box-shadow: 1px 4px 5px #191919;
        }

        &:hover .unit-detail-action-icon {
            display: inline-block !important;
        }

        .unit-name {
            font-size: 16px;
        }

        .devid-line {
            margin: 0 15px;
            color: #AAAAAA;
        }

        .unit-detail-info {
            font-size: 12px;
            margin-top: 15px;
            color: #AAAAAA;

            .unit-detail-count {
                color: white;
            }
        }

        .unit-detail-action {
            position: absolute;
            right: 10px;
            top: 0px;
            line-height: 80px;

            .unit-detail-action-icon {
                color: white;
                cursor: pointer;
                font-size: 18px;
                margin-right: 15px;
                display: none;
            }

            .unit-detail-action-icon:hover {
                color: aqua;
            }
        }
    }
}
