index.scss 2.39 KB
$pxConvertRem : 40;

@import "compass", "compass/reset";
@import "common/header-download","common/header", "common/banner-top","common/banner-center", "common/side-nav", "common/floor-header", "common/banner-top", "common/banner-bottom", "common/hot-brands",  "common/fine-brands", "common/creative-life", "common/plus-star", "common/maybe-like", "common/footer",
"common/icons-enter","common/trendsetter-collocation",
"common/trend-topics","common/goods-category";
@import "girls/hot-category", "girls/hot-brands","kids/kids-goods";

body {
    font-family: helvetica,Arial,"黑体";
    background: #f0f0f0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

ol, ul {
    list-style: none;
}

.hide {
    display: none !important;
}

a {
    text-decoration: none;
}

a:focus {
    outline: none;
}

/**
 * 闭合浮动
 * @Doc: http://nicolasgallagher.com/micro-clearfix-hack/
 */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both; 
}
.clearfix { 
    *zoom: 1; /* IE6-7 触发 hasLayout */
} 

/*
 * 去掉高亮
 */
* { 
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -moz-tap-highlight-color: rgba(0,0,0,0);
    tap-highlight-color: rgba(0,0,0,0);
}

/*
 * 字体图标
 */
@font-face {font-family: 'iconfont';
    src: url('../fonts/iconfont.eot'); /* IE9*/
    src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/iconfont.woff') format('woff'), /* chromefirefox */
    url('../fonts/iconfont.ttf') format('truetype'), /* chromefirefoxoperaSafari, Android, iOS 4.2+*/
    url('../fonts/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

.mobile-wrap {
    position: relative;
    z-index: 2;
    background: #f0f0f0;
    transform: translate3d(0, 0, 0);
    transition: transform .3s ease-out;
}

.mobile-wrap.menu-open {
    -webkit-transform: translate3d(540rem / $pxConvertRem, 0, 0);
    transform: translate3d(540rem / $pxConvertRem, 0, 0);
    transition: transform .3s ease-out;
}

.overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.3;
    z-index: 99;
}

.overlay.show {
    display: block;
}