index.scss 6.01 KB
Newer Older
zhanghaozhe committed
1
#live {
zhanghaozhe committed
2
    margin-top: 30px;
FE committed
3

zhanghaozhe committed
4
    .title {
zhanghaozhe committed
5 6
        display: flex;
        justify-content: center;
zhanghaozhe committed
7
        align-items: center;
zhanghaozhe committed
8 9 10
        font-size: 18px;
        color: #FFF604;
        text-align: center;
zhanghaozhe committed
11 12 13
        margin-bottom: 20px;

        span {
zhanghaozhe committed
14 15
            margin: 0 15px;
        }
zhanghaozhe committed
16 17

        img {
zhanghaozhe committed
18 19 20 21
            width: 37px;
            height: 18px;
        }
    }
zhanghaozhe committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191

    .live-container {
        width: 355px;
        margin: 0 auto;
        background: rgba(57, 0, 201, 1);
        border: 1px solid rgba(89, 112, 255, 1);
        border-radius: 5px;
        padding-bottom: 30px;

        .content {
            position: relative;
            width: 325px;
            height: 312px;
            padding: 26px 30px 0;
            margin-top: 50px;
            background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/live-bg.png") no-repeat;
            background-size: contain;
            color: #333;
            text-align: center;
            overflow: hidden;
        }

        .tag {
            position: absolute;
            right: -75px;
            top: 10px;
            width: 200px;
            height: 36px;
            font-size: 11px;
            color: #fff;
            line-height: 36px;
            text-align: center;
            transform: rotate(45deg);

            &.teacher {
                background: linear-gradient(rgba(178, 47, 175, 1) 0%, rgba(246, 64, 152, 1) 100%);
            }

            &.student {
                background: linear-gradient(rgba(10, 72, 245, 1) 0%, rgba(0, 153, 255, 1) 100%);
            }
        }

        .person-info {
            display: flex;
        }

        .name {
            color: #3900C9;
            font-size: 20px;
            text-align: left;
        }

        .avatar {
            width: 55px;
            height: 55px;
            margin-right: 20px;
            border-radius: 50%;
            border: 1px solid #5970FF;
            overflow: hidden;

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

        .profession {
            color: #666;
            font-size: 12px;
        }

        .title {
            font-size: 15px;
            color: #333;
            text-align: left;
            margin-bottom: 10px;
            display: block;

        }

        .time {
            margin-bottom: 10px;
            color: #666;
            font-size: 12px;
            text-align: left;
        }

        .outline {
            text-align: left;
            margin-bottom: 10px;

            &-title {
                font-size: 14px;
                margin-bottom: 6px;
            }

            li {
                font-size: 11px;
                color: #666;
            }
        }

        button {
            position: absolute;
            bottom: 20px;
            left: 50%;
            margin-left: -67px;
            width: 134px;
            height: 33px;
            border: none;
            border-radius: 17px;
            outline: none;
            font-size: 15px;
            color: #fff;

            &.subscribe {
                padding-left: 25px;
                background: linear-gradient(90deg, rgba(255, 140, 27, 1) 0%, rgba(255, 59, 5, 1) 100%);

                &::before {
                    content: '';
                    display: block;
                    position: absolute;
                    left: 25px;
                    top: 9px;
                    width: 15px;
                    height: 15px;
                    background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/subscribe-icon.png") no-repeat;
                    background-size: contain;
                }
            }

            &.subscribed {
                background: #CBCED0;
            }

            &.on-living {
                padding-left: 25px;
                background: linear-gradient(-90deg, rgba(7, 240, 255, 1) 0%, rgba(0, 153, 255, 1) 100%);

                &::before {
                    content: '';
                    display: block;
                    position: absolute;
                    top: 10px;
                    left: 25px;
                    width: 11px;
                    height: 12px;
                    background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/live-play-icon.png") no-repeat;
                    background-size: contain;
                }
            }
        }

    }

    .am-tabs {
        width: 330px;
        margin: 0 auto;
        color: #fff;

        & .am-tabs-default-bar-tab:nth-last-of-type(2) {
            &::after {
                display: none;
            }
        }

        .am-tabs-tab-bar-wrap {
            height: 33px;
zhanghaozhe committed
192

zhanghaozhe committed
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
        }

        .am-tabs-default-bar-tab {
            height: auto;
            line-height: 1;

            &::after {
                content: '';
                display: block;
                position: absolute;
                right: 0;
                left: unset;
                top: 50%;
                margin-top: -7px;
                width: 1px;
                height: 14px;
                background: #FFF604;
                transform: none;
            }
        }

        .am-tabs-default-bar-tab-active {
            background: #FFF604;
zhanghaozhe committed
216 217 218 219 220 221 222
            border-radius: 0 0 5px 5px;
        }
        .am-tabs-default-bar-top{
            .am-tabs-default-bar-content{
                border: 1px solid rgba(255, 246, 4, 1);
                border-radius: 0 0 6px 6px;
            }
zhanghaozhe committed
223 224
        }

zhanghaozhe committed
225

zhanghaozhe committed
226
    }
zhanghaozhe committed
227
}
FE committed
228 229 230 231 232 233 234 235

.popup-container {
    .title {
        color: #525C65;
    }

    .content {
        display: flex;
zhanghaozhe committed
236 237
        flex-direction: column;
        align-items: center;
FE committed
238 239 240 241

        img {
            width: 120px;
            height: 120px;
zhanghaozhe committed
242
            margin-top: 10px;
FE committed
243 244
        }
    }
zhanghaozhe committed
245 246 247 248 249 250 251 252 253 254 255 256 257

    .save-image {
        width: 133px;
        height: 30px;
        margin-top: 16px;
        background: rgba(83, 39, 250, 1);
        border-radius: 15px;
        font-size: 14px;
        color: #fff;
        -webkit-appearance: none;
        outline: 0;
        border: none;
    }
FE committed
258 259
}