@import "../../common/common";
@mixin test {
    border: 1px solid #000;
    box-sizing: border-box;
}
.content-item{
    width: 278px;
    height: 157px;
    border: 2px solid #B995A1;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    background: $itemBg;
    position: relative;

    .content-adminTool{
        width: 36px;
        height: 15px;
        position: absolute;
        top: -18px;
        right: 4px;
        line-height: 15px;
        display: flex;
        justify-content: space-between;

        img {
            width: 15px;
            height: 15px;
            cursor: pointer;
        }
    }
    .content-adminTool-close{
        //@include test();
        width: 30px;
        height: 20px;
        position: absolute;
        top: 10px;
        right: 10px;
        text-align: center;
        line-height: 20px;
        font-weight: bold;
        font-size: 18px;
        z-index: 1;
        border: 2px solid #B995A1;
        cursor: pointer;
    }

    .item-icon{
        width: 65px;
        height: 65px;
        position: relative;
        cursor: pointer;

        img{
            width: 100%;
            height: 100%;
        }
    }

    .item-name{
        position: absolute;
        height: 30px;
        max-width: 190px;
        font-size: 17px;
        font-weight: bold;
        line-height: 30px;
        left: 78px;
        top: 10px;
        cursor: pointer;
        @include textOverflow();
        //@include test();
    }
    .item-desc{
        width: 100%;
        height: 46px;
        font-size: 12px;
        border-top: 2px solid #344857;
        padding-top: 3px;
        margin-top: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */
        -webkit-line-clamp: 3; /* 控制最多显示几行 */
        -webkit-box-orient: vertical; /* 设置或检索伸缩盒对象的子元素的排列方式 */
        //@include test();
    }
    .item-url{
        @include textOverflow();
        display: block;
        width: 245px;
        font-size: 12px;
        color: #5F2150;
        //@include test();
    }
    .follow{
        width: 48px;
        height: 25px;
        position: absolute;
        top: 40px;
        left: 78px;
        line-height: 25px;
        font-weight: bold;
        font-size: 14px;
        cursor: pointer;

        .icon-follow {
            width: 18px;
            height: 16px;
            vertical-align: sub;
            cursor: pointer;
        }
    }
}


