_index.scss 3.9 KB
.index-page {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    .index-header {
        padding: 0 20rem / $pxConvertRem;
        width: 100%;
        height: 96rem / $pxConvertRem;
        line-height: 96rem / $pxConvertRem;

        .index-logo {
            float: left;
            font-size: 50rem / $pxConvertRem;
            width: 216rem / $pxConvertRem;
            color: #343434;
            overflow: hidden;
            transition: width 400ms;
        }

        .index-search {
            position: absolute;
            top: 0;
            right: 0;
            width: 384rem / $pxConvertRem;
            height: 112rem / $pxConvertRem;
            overflow: hidden;
            transition: width 400ms;
            .search-box {
                float: left;
                position: relative;
                top: 20rem / $pxConvertRem;
                width: 352rem / $pxConvertRem;
                height: 56rem / $pxConvertRem;
                padding-right: 40rem / $pxConvertRem;
                z-index: 1;
                transition: width 400ms;
                box-sizing: border-box;
                border: 1px solid #ccc;
                overflow: hidden;
            }
            input {
                float: left;
                width: 100%;
                font-size: 28rem / $pxConvertRem;
                padding: 10rem / $pxConvertRem;
                color: #999;
                overflow: hidden;
                border: none;
            }
            .iconfont {
                position: absolute;
                top: 8rem / $pxConvertRem;
                width: 40rem / $pxConvertRem;
                font-size: 28rem / $pxConvertRem;
                z-index: 1;
                line-height: 40rem / $pxConvertRem;
            }
            .clear-text {
                display: none;
                right: 50rem / $pxConvertRem;
                color: #ccc;
            }
            .search-icon {
                right: 10rem / $pxConvertRem;
                color: #e6e6e6;
            }
        }

        .no-search {
            display: none;
            float: left;
            margin-right: 10rem / $pxConvertRem;
            color: #999;
            font-size: 28rem / $pxConvertRem;
        }
    }
    .index-container {
        position: relative;
        @include transition(transform 0.5s);
        background-color: white;

        .index_header {
            height: 80rem / $pxConvertRem;
            line-height: 80rem / $pxConvertRem;
            overflow: hidden;
            padding: 0 10rem / $pxConvertRem;;

            
        }

        .index-channel {
           color: #FFF;
           text-align: center;
           position:relative;
           background-color: #000000;

           .index-channel-list {
                padding-top: 50%;
                width: 100%;
                position: absolute;
                top: -180rem / $pxConvertRem;

                .list-item {
                    display: block;
                    position: relative;
                    margin: 0 auto 40rem / $pxConvertRem;
                    width: 216px;
                    height: 52px;
                    text-align: center;
                    font-size: 16px;
                    line-height: 52px;
                    color: #fff;
                    background: #000;
                    border: 4px solid #fff;
                    font-weight: bold;
                }
                .lighter {
                    font-weight: lighter;
                }
                .right-icon {
                    position: absolute;
                    right: 10rem / $pxConvertRem;
                    top: 0;
                    font-weight: bold;
                }
                .homestyle {
                  margin-bottom: 50rem / $pxConvertRem;
                  width: 287.3rem / $pxConvertRem;
                }    
           }
        }
    }
   
}

@import "search","footer", "error";