Blame view

public/scss/layout/_footer.css 3.95 KB
1
.width750 {
2 3
    .yoho-footer {
        font-size: 28px;
李靖 authored
4
        border-top: solid 1px #e0e0e0;
5 6
    }
7 8 9 10 11 12 13 14 15
    .op-row {
        padding: 0 35px;
        height: 140px;
        line-height: 140px;

        .user-name {
            margin-left: 0.35em;
            max-width: 234px;
        }
16
17 18 19 20 21
        .back-to-top {
            right: 47px;
        }

        .sep-line {
22 23
            color: #e0e0e0;
            margin: 0 30px;
24
        }
25 26
    }
27
    .copyright {
李靖 authored
28 29
        height: 110px !important;
        line-height: 110px !important;
30
    }
31 32 33
}

.wechat-body {
34 35 36 37 38 39
    .yoho-footer {
        .float-top {
            &.hover {
                bottom: 248px;
            }
        }
40 41
    }
}
42
yyq authored
43
.yoho-footer {
44 45 46 47 48
    position: relative;
    width: 100%;
    background-color: #fff;
    font-size: 24px;
    display: none;
49
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
    .op-row {
        padding: 0 30px;
        height: 120px;
        line-height: 120px;

        span {
            display: inline-block;
            overflow: hidden;
        }

        a {
            display: inline-block;
            overflow: hidden;
        }

        .user-name {
            max-width: 200px;
李靖 authored
67
            text-decoration: none;
68 69 70 71 72 73 74 75 76 77
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .back-to-top {
            position: absolute;
            right: 40px;
        }

        .sep-line {
78 79
            color: #e0e0e0;
            margin: 0 30px;
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
    .float-top {
        position: absolute;
        top: 47px;
        right: 47px;
        left: initial;
        bottom: initial;
        border-radius: 50%;
        width: 88px;
        height: 88px;
        background: resolve("product/back-to-top.png") no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        display: none;

        &.hover {
            position: fixed;
            top: initial;
            left: initial;
            right: 30px;
            bottom: 140px;
            z-index: 9999;
            display: block;
        }
陈峰 authored
106
    }
107
108 109 110 111 112 113
    .copyright {
        height: 60PX;
        background-color: #eee;
        color: #666;
        text-align: center;
        line-height: 60PX;
李靖 authored
114
        font-size: 24px;
yyq authored
115 116
    }
117 118 119 120
    &.bottom {
        position: fixed;
        bottom: 0;
        width: 100%;
yyq authored
121 122
    }
}
zzzzzzz authored
123 124

.float-layer {
沈志敏 authored
125
    opacity: 0;
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
    height: 44PX;
    background: rgba(68, 68, 68, 0.95);
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 9999;
    padding: 10PX 0;
    box-sizing: content-box;

    .float-layer-left {
        padding-left: 22PX;
        overflow: hidden;
        float: left;

        img {
            height: 44PX;
            float: left;
            margin-right: 10PX;
        }

        p {
            float: left;
            font-size: 16PX;
            height: 44PX;
            line-height: 44PX;
            color: white;
        }

        .yoho-icon {
            float: left;
            margin-right: 10PX;
            font-size: 22PX;
            line-height: 44PX;
            width: 44PX;
            height: 44PX;
            text-align: center;
            color: #fff;
            border-radius: 10PX;
            background-image: linear-gradient(#323232, #0f0f0f);
        }
167
    }
王水玲 authored
168
}
169
王水玲 authored
170 171 172 173
#float-layer-close {
    position: absolute;
    left: 0;
    top: 0;
174 175 176 177 178 179 180 181 182 183 184
    width: 100px;
    height: 100px;

    .close-icon {
        position: absolute;
        left: 0;
        top: 0;
        color: #c0c0c0;
        z-index: 2;
        font-size: 18PX;
    }
王水玲 authored
185
}
186
王水玲 authored
187
#float-layer-btn {
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
    position: absolute;
    top: 50%;
    right: 15PX;
    font-size: 16PX;
    padding: 0 10PX;
    height: 27PX;
    line-height: 27PX;
    background: white;
    border-radius: 5PX;
    margin-top: -13PX;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.5);

    &:link,
    &:visited,
    &:hover,
郭成尧 authored
203
    &:active {
204 205
        color: #000;
    }
王水玲 authored
206
}
郭成尧 authored
207 208

.circle-rightbottom {
209 210
    position: absolute;
    width: 25PX;
郭成尧 authored
211
    height: 0;
212 213 214
    border: 0 solid #323232;
    border-bottom: 25PX solid #323232;
    border-radius: 0 0 25PX;
215
}