Blame view

public/scss/home/_online-service.css 3.68 KB
lijing authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 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
@define-extend qa {
    margin-left: 30px;
    padding: 0 40px 0 10px;
    font-size: 30px;
    line-height: 76px;
    font-weight: bold;
}

.online-service-page {
    background: #f0f0f0;

    .question {
        background: #fff;
    }

    .question-title {
        padding: 20px 30px;
        font-size: 28px;
        line-height: 1;
        color: #b0b0b0;
    }

    .question-tab {
        padding: 10px 30px 30px;
        font-size: 32px;
        line-height: 58px;
        text-align: center;
        color: #b0b0b0;

        .current {
            color: #444;
        }

        .line {
            margin: 0 32px;
            border-left: 1px solid #b0b0b0;
        }
    }

    .question-list {
        display: none;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;

        &.current {
            display: block;
        }

        li {
            font-size: 28px;
            line-height: 90px;

            a {
                display: block;
                color: #444;
                width: 610px;
                margin-left: 30px;
                border-bottom: 1px solid #ccc;
            }

            .iconfont {
                float: right;
                margin-right: 30px;
                color: #ccc;
                font-size: 32px;
            }

            &:last-child {
                a {
                    border-bottom: none;
                }
            }

            &.highlight {
                background: #eee;
            }
        }
    }

    .connect-info {
        margin-top: 30px;
        font-size: 28px;
        line-height: 50px;
        background: #fff;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;

        p {
            margin-top: 25px;
            margin-left: -72px;
            line-height: 1.5;
        }

        .iconfont {
            font-size: 46px;
        }

        .icon-yoho-enter {
            color: #ccc;
            float: right;
            font-size: 32px;
        }

        .connect-item {
            position: relative;
ccbikai(👎🏻🍜) authored
106
lijing authored
107 108 109 110 111
            a {
                display: block;
                padding: 20px 30px 20px 94px;
                color: #444;
            }
ccbikai(👎🏻🍜) authored
112
lijing authored
113
            &:after {
ccbikai(👎🏻🍜) authored
114
                content: "";
lijing authored
115 116 117 118 119 120 121
                position: absolute;
                right: 0;
                bottom: 0;
                width: 548px;
                height: 1px;
                background: #ccc;
            }
ccbikai(👎🏻🍜) authored
122
lijing authored
123 124 125 126 127
            &:last-child {
                &:after {
                    content: none;
                }
            }
ccbikai(👎🏻🍜) authored
128
lijing authored
129 130 131
            &.highlight {
                background: #eee;
            }
郭成尧 authored
132 133 134 135 136 137 138 139 140

            .call-time {
                color: #ccc;
                font-size: 24px;
            }

            .call-number {
                color: #444;
            }
lijing authored
141
        }
ccbikai(👎🏻🍜) authored
142
lijing authored
143 144 145 146
        .icon {
            display: inline-block;
            margin-right: 28px;
            margin-left: -70px;
ccbikai(👎🏻🍜) authored
147
            vertical-align: middle;
lijing authored
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
        }
    }
}

.online-service-detail-page {
    background: #f0f0f0;

    .qa-list {
        .question-item {
            margin-bottom: 32px;
            border-top: 1px solid #c8c7cc;
            border-bottom: 1px solid #c8c7cc;
            color: #444;
            background: #fff;

            &:last-child {
                margin-bottom: 0;
            }
        }
ccbikai(👎🏻🍜) authored
167
lijing authored
168 169
        .question {
            @extend qa;
郭成尧 authored
170
lijing authored
171 172
            position: relative;
            color: #000;
ccbikai(👎🏻🍜) authored
173
lijing authored
174
            &:after {
ccbikai(👎🏻🍜) authored
175
                content: "";
lijing authored
176 177 178 179 180 181 182
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                border-top: 1px solid #c8c7cc;
            }
        }
ccbikai(👎🏻🍜) authored
183
lijing authored
184 185 186 187 188
        .answer {
            @extend qa;
        }
    }
}