_headerAndfooter.scss 3.7 KB
header{
    @media screen and (min-width: 1300px) {
        height: 44px/$ppr;   
    }
    width: 750px/$ppr;
    position:fixed;
    z-index: 999;
    height: $num88;
    @include background-li-gr(rgba(0,0,0,0.3),rgba(255,255,255,0));
    -webkit-transition: -webkit-transform 3s,opacity 4s,background 10s;
    opacity: 0;
    .content{
        padding-top: $num14;
        @media screen and (min-width: 1300px) {
            padding-top: 6px/$ppr;   
        }
    }
    .logo img{
        margin-left: $num10;
        width: 117px/$ppr;
        height: 45px/$ppr;
        @media screen and (min-width: 1300px) {
            width: 60px/$ppr;
            height: 23px/$ppr;   
        }
    }
    .sea-box{
        width: 490px/$ppr;
        height: $num58;
        @media screen and (min-width: 1300px) {
            height: $num30;  
            width: 580px/$ppr; 
        }
        background:$white;
        position: $pr;
        margin-left: $num10;
        @include border-radius(20px/$ppr);
        span{
            @include background-image(search);
            height: 30px/$ppr;
            width: 30px/$ppr;
            @include position($pa,14px);
            margin-left: $num10;
            @media screen and (min-width: 1300px) {
                width: $num20;
                height: $num20;
                @include position($pa,6px);   
            }
        }
        .sear-input{
            width: 430px/$ppr;
            margin-left: 42px/$ppr;
            @media screen and (min-width: 1300px) {
                width: 520px/$ppr;
            }
        }
        input{
            border: 0;
            width: 100%;
            height: $num58;
            color: #666666;
            @media screen and (min-width: 1300px) {
                height:$num30;  
                font-size: $num20; 
            }
            outline: none;
            padding: 0 $num10;
            font-size: $num28;
        }
    }
    .login{
        margin-left: $num10;
        font-size: $num30;
        @media screen and (min-width: 1300px) {
            font-size: $num18;   
        }
        a{
            color: $white;
        }
    }
}
.headerbg{
    @include background-li-gr(rgba(242,48,48,0.8),rgba(242,48,48,0.8));
    opacity: 1;
}
.foohi{
    height: 110px/$ppr;
    @media screen and (min-width: 1300px) {
        height: 60px/$ppr;
    }
}
.foohiext{
    @media screen and (min-width: 1300px) {
        height: 110px/$ppr;
    }
}
.footer{
    height: $num100;
    background: $white;
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    width: 100%;
    @include box-shadow(0 0 10px 0 rgba(155,143,143,0.6));
    @media screen and (min-width: 1300px) {
        height: 50px/$ppr;
    }
    ul{
        li{
            float: left;
            text-align: center;
            width: 100/4*1%;
            .yello{
                color: #f23030;
            }
            a{
                display: inline-block;
                cursor: pointer;
                .icon{
                    margin-top: 6px/$ppr;
                    @media screen and (min-width: 1300px) {
                        margin-top: 2px/$ppr;
                    }
                    .iconfont{
                        font-size: $num50;
                        @media screen and (min-width: 1300px) {
                            font-size: $num28;
                        }
                    }
                    p{
                        font-size: $num26;
                        margin-top: $num10;
                        @media screen and (min-width: 1300px) {
                            font-size: $num14;
                            margin-top: 4px/$ppr;
                        }
                    }
                }
            }
        }
    }
}