@charset "UTF-8";

.page-notification {
    &.gray {
        background: #f5f5f5;
    }
    
    height: 100%;
    header {
        padding: 0 px2rem(25);
        background: #fff;        
    }
    .mod-hd {
        border-bottom: 1px solid $borderColor;
        @include clearfix;
        background: #fff;
        .tab-item {
            float: left;
            width: 50%;
            text-align: center;
            line-height: px2rem(90);
            color: $grayFont;
            font-size: px2rem(30);
            position: relative;
            &.cur {
                color: $blackFont;
                &:after {
                    content: "";
                    position: absolute;
                    width: px2rem(78);
                    height: 2px;
                    background: $mainColor;
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: 0;
                }
            }
        }
    }
    .mod-bd {
        .tab-content {
            display: none;
            padding: 0 px2rem(25);
            &.cur {
                display: block;
            }
        }
        .message {
            li {
                padding: px2rem(25) 0 ;
                border-bottom: 1px solid $borderColor;
                position: relative;
                a {
                    display: block;
                    @include clearfix;
                    img {
                        width: px2rem(80);
                        height: px2rem(80);
                        float: left;
                        border-radius: 50%;
                    }
                    .text-wrap {
                        float: right;
                        width: px2rem(600);
                        position: relative;
                        h4 {
                            width: 100%;
                            @include ellipsis;
                            position: absolute;
                            left: 0;
                            top: px2rem(26);
                            font-size: px2rem(32);
                            color: #000;
                            line-height: px2rem(36);
                        }
                        i {
                            position: absolute;
                            width: px2rem(25);
                            height: px2rem(25);
                            background: url(../img/icon-arrow.png) no-repeat;
                            background-size: 100% 100%;
                            top: px2rem(30);
                            right: 0; 
                        }
                        .text-hd {
                            @include clearfix;
                            .title {
                                float: left;
                                width: px2rem(420);
                                @include ellipsis;
                                font-size: px2rem(32);
                                color: #000;
                            }
                            .time {
                                float: right;
                                color: #999;
                                width: px2rem(200);
                                text-align: right;
                                font-size: px2rem(24);
                                margin-left: -px2rem(25);
                                span {
                                    margin-left: px2rem(25); 
                                }
                            }
                        }
                        .text-bd {
                            width: px2rem(600);
                            margin-top: px2rem(20);
                            color: $grayFont;
                            font-size: px2rem(24);
                            word-wrap: break-word;
                            line-height: px2rem(44);
                        }
                    }
                }
            }

        }
        .notification {
            li {
                .time {
                    line-height: px2rem(77);
                    color: $grayFont;
                    font-size: px2rem(24);
                    text-align: center;
                }
                .content-box {
                    @include clearfix;
                    img {
                        float: left;
                        width: px2rem(80);
                        height: px2rem(80);
                        border-radius: 50%;

                    }
                    .content {
                        padding: px2rem(5) px2rem(15);
                        float: right;
                        width: px2rem(580);
                        background: #fff;
                        border: 1px solid $borderColor;
                        line-height: px2rem(52);
                        color: #000;
                        font-size: px2rem(32);
                        border-radius: 3px;
                        position: relative;
                        
                        &:after {
                            content: "";
                            position: absolute;
                            width: px2rem(21);
                            height: px2rem(21);
                            border-radius: 3px;
                            border-bottom: 1px solid $borderColor;
                            border-left: 1px solid $borderColor;
                            background: #fff;
                            transform: rotateZ(45deg);           
                            top: px2rem(27);
                            left: -px2rem(12); 
                        }
                        span {
                            color: #3db3f2;
                        }
                    }
                }
            }
        }
    }
}