_editorial.css 3.08 KB
.favorite-editorials {
    position: relative;

    .num {
        position: absolute;
        top: -30px;
        left: 600px;
        font-size: 16px;
        color: #666;
    }

    .editorial-raw > div {
        float: left;
    }

    .editorial-raw.choose,
    .editorial-raw:hover {
        .fav-cancel {
            display: block;
        }
    }

    .editorial-raw {
        padding: 30px 0;
        border-bottom: 1px solid #eee;
        position: relative;

        .fav-cancel {
            position: absolute;
            display: none;
            top: 30px;
            right: 30px;
            cursor: pointer;

            .iconfont {
                color: #999;
                font-size: 14px;
            }
        }

        .check {
            padding: 80px 0;
            margin-right: 20px;
            cursor: pointer;

            .iconfont {
                font-size: 14px;
                color: #666;
            }
        }

        .editorial-cover {
            width: 240px;
            height: 160px;
            position: relative;
            overflow: hidden;

            .editorial-cate {
                position: absolute;
                top: 0;
                left: 0;
                padding: 5px 10px;
                background-color: #000;
                color: #fff;
                font-size: 14px;
            }
        }

        .editorial-info {
            width: 520px;
            height: 160px;
            margin-left: 30px;
            position: relative;

            .editorial-title {
                font-size: 18px;
                line-height: 28px;

                a {
                    display: block;
                    width: 505px;
                    overflow: hidden;
                    word-wrap: break-word;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                }
            }

            .summer {
                display: block;
                overflow: hidden;
                font-size: 14px;
                margin-top: 10px;
                white-space: nowrap;
                text-overflow: ellipsis;
                height: 18px;
                line-height: 18px;
            }
        }

        .editorial-tags {
            position: absolute;
            bottom: 0;

            .tags-wrap {
                position: relative;
                height: 25px;
                overflow: hidden;
            }

            span {
                background-color: #bbb;
                color: #fff;
                display: inline-block;
                padding: 5px 10px;
                font-size: 14px;
                margin-right: 10px;
                margin-bottom: 5px;
            }
        }

        .editorial-some {
            margin-top: 15px;
            font-size: 14px;

            .author {
                margin-right: 50px;
                color: #1b1b1b;
            }

            span {
                margin-right: 30px;
                color: #999;
            }
        }
    }
}