_reset.scss 2.1 KB
/*
 | @header reset
 | @author wangzhixiang (zhixiang.wang@yoho.cn)
 | @abstract
 */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
html, button, input, select, textarea {
    color: #222;
}

div,ul,p,h1,h2,h3,h4,h5,h6,input,textarea,dl,dt,dd {margin: 0; padding: 0;}

h1,h2,h3,h4,h5,h6 {font-weight: normal;}

html,body {
    font-size: 12px;
    line-height: 1.4;
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust:none;
    font-family: arial '\u5b8b\u4f53';
}

a {
    color: $YOHO-black-color;
    text-decoration: none;
    outline: none;
    &:hover {
        //color: #06e;
    }
    &:focus {
        outline: none;
        background: none;
    }
}

img {
    vertical-align: middle;
}

li {
    list-style: none;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

em {font-style: normal;}

textarea {
    resize: vertical;
}

.nocallout {
    -webkit-touch-callout: none;
}
input {
    -webkit-appearance: none;
    color: $YOHO-normal-color;
    &:focus {
        outline: none;
    }
}
textarea[contenteditable] {
    -webkit-appearance: none;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.show {
    display: block !important;
    visibility: visible;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.yohoNavgator {

}

.invisible {
    visibility: hidden;
}

.fn-left {
    float: left !important;
}

.fn-right {
    float: right !important;
}

.clearfix {
    @include pie-clearfix;
}

.tdu {
    text-decoration: underline;
}

.disb {
    display: inline-block;
    vertical-align: top;
}
.f16 {font-size: 16px;}
.textRed {
    color: $YOHO-red-color !important;
    font-weight: bold;
}

.ptNone {
    margin-top: 0 !important;
}

.icon-uni3E {
    color: $YOHO-search-color !important;
}

.noticeBox {
    padding: 10px;
    color: $YOHO-search-color;
}