index.css 3.45 KB
@charset "utf-8";

@use postcss-clearfix;

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

q, blockquote {
    quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}

a img {
    border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
/*Reset End*/

.clearfix {
    clear: fix;
}

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

button, input, select, textarea {
    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,
    &:visited,
    &:hover,
    &:actived {
        color: #111;
    }
}

*:focus {
    outline: none;
}

.hide {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

@font-face {
    font-family: "iconfont";
    src: resolve('iconfont.eot'); /* IE9*/
    src: resolve('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         resolve('iconfont.woff') format('woff'), /* chrome、firefox */
         resolve('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
         resolve('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: fixed;
    display: none;
    text-align: center;
    width: 70%;
    padding: 34PX 0;
    top: 50%;
    left: 50%;
    margin-left: -35%;
    margin-top: -45PX;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    font-size: 18PX;
    border: none;
    z-index:4;
    border-radius: 10PX;
}

.tap-hightlight {
    &.highlight {
        background: #eee!important;
    }
}

.load-more-info {
    width: 100%;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 14PX;
    overflow: hidden;

    .status {
        &.hide {
            display: none;
        }
    }
}

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