_message.css 2 KB
.message-me-page {
    .message > .title {
        background-image: resolve('home/message.png');
    }

    .msg-tabs-wrap {
        padding: 0 10px;
    }

    .tabs-list {
        height: 31px;
        font-size: 14px;
        padding-left: 4px;
        margin-top: 8px;
        border-bottom: 1px solid #e6e6e6;

        li {
            display: block;
            float: left;
            min-width: 80px;
            height: 30px;
            line-height: 30px;
            padding: 0 10px;
            text-align: center;
            background-color: #eaeaea;
            border: 1px solid #e6e6e6;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            margin-left: 6px;
            color: #333;
            cursor: pointer;

            &.active {
                background-color: #fff;
                border-bottom-color: #fff;
            }

            > a {
                display: block;
            }
        }
    }

    .message-list {
        padding: 10px;
        font-size: 14px;
        color: #3a3a3a;
    }

    .msg-item:first-child {
        border-top: 1px solid #e6e6e6;
    }

    .msg-item {
        padding: 10px 150px 10px 30px;
        position: relative;
        border-bottom: 1px solid #e6e6e6;

        .it-title {
            line-height: 2;
            padding-bottom: 10px;
        }

        &.new-msg .it-title {
            color: #468fa2;
        }

        .it-content {
            line-height: 1.5;
        }

        .it-time {
            color: #b0b0b0;
            line-height: 2;
        }

        .del-btn {
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            position: absolute;
            top: 50%;
            right: 20px;
            margin-top: -15px;
            cursor: pointer;
            display: none;

            .iconfont {
                font-size: 26px;
            }
        }

        &:hover > .del-btn {
            display: block;
        }
    }
}