index.scss 2.07 KB
@import "compass", "compass/reset";
$pxConvertRem: 40;

* {
    -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);
}

html, body {
    font-family: helvetica,Arial,"黑体";
    width: 100%;
    font-size: 12px;
    line-height: 1.4;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both; 
}

.clearfix { 
    *zoom: 1;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
    border: 0;
    margin: 0 auto;
}

a {
    text-decoration: none;
    outline: none;
    color: #000;

    &:link,
    &:visted,
    &:hover,
    &:active {
        color: #000;
    }
}

*:focus {
    outline: none;
}

.hide {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

@font-face {
    font-family: "iconfont";
    src: font-url('iconfont.eot'); /* IE9*/
    src: font-url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         font-url('iconfont.woff') format('woff'), /* chromefirefox */
         font-url('iconfont.ttf') format('truetype'), /* chromefirefoxoperaSafari, Android, iOS 4.2+*/
         font-url('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

.yoho-tip {
    position: absolute;
    display: none;
    text-align: center;
    width: 70%;
    padding: 34px 0;
    top: 50%;
    left: 50%;
    margin-left: -35%;
    margin-top: -45px;
    background-color: #000;
    opacity: 0.7;
    color: #fff;
    font-size: 18px;
    border: none;
    @include border-radius(10px);
}

@import "layout/header", "layout/footer", "layout/footer_tab", "good", "filter", "loading", "passport/index", "guang/index", "home/index", "category/index", "product/index", "index/index", "shopping-cart/index";