_base.css 4.98 KB
@charset "utf-8";
@use postcss-clearfix;

/* reset */
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;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%;
}

html {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

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

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

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

/* common */
html,
body {
    font-family: BrownStd, "黑体";
}

.clearfix {
    clear: fix;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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

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

*:focus {
    outline: none;
}

@font-face {
    font-family: "iconfont";
    src: resolve('iconfont.eot'); /* IE9 */
    src: resolve('iconfont.eot?#iefix') format('embedded-opentype'), resolve('iconfont.woff') format('woff'), resolve('iconfont.ttf') format('truetype'), resolve('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}

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

/* BrownStd standard */
@font-face {
    font-family: "BrownStd";
    src: resolve('brownstd/BrownStd-Regular.eot'); /* IE9 */
    src: resolve('brownstd/BrownStd-Regular.eot?#iefix') format('embedded-opentype'), resolve('brownstd/BrownStd-Regular.woff') format('woff'), resolve('brownstd/BrownStd-Regular.ttf') format('truetype'), resolve('brownstd/BrownStd-Regular.svg#iconfont') format('svg'); /* iOS 4.1- */
}

/* BrownStd-Bold */
@font-face {
    font-family: "BrownStd-Bold";
    src: resolve('brownstd/BrownStd-Bold.eot'); /* IE9 */
    src: resolve('brownstd/BrownStd-Bold.eot?#iefix') format('embedded-opentype'), resolve('brownstd/BrownStd-Bold.woff') format('woff'), resolve('brownstd/BrownStd-Bold.ttf') format('truetype'), resolve('brownstd/BrownStd-Bold.svg#iconfont') format('svg'); /* iOS 4.1- */
}

.brown-bold {
    font-family: "BrownStd-Bold" !important;
}

/* BrownStd-Italic */
@font-face {
    font-family: "BrownStd-Italic";
    src: resolve('brownstd/BrownStd-Italic.eot'); /* IE9 */
    src: resolve('brownstd/BrownStd-Italic.eot?#iefix') format('embedded-opentype'), resolve('brownstd/BrownStd-Italic.woff') format('woff'), resolve('brownstd/BrownStd-Italic.ttf') format('truetype'), resolve('brownstd/BrownStd-Italic.svg#iconfont') format('svg'); /* iOS 4.1- */
}

.brown-italic {
    font-family: "BrownStd-Italic" !important;
}

/* BrownStd-Light */
@font-face {
    font-family: "BrownStd-Light";
    src: resolve('brownstd/BrownStd-Light.eot'); /* IE9 */
    src: resolve('brownstd/BrownStd-Light.eot?#iefix') format('embedded-opentype'), resolve('brownstd/BrownStd-Light.woff') format('woff'), resolve('brownstd/BrownStd-Light.ttf') format('truetype'), resolve('brownstd/BrownStd-Light.svg#iconfont') format('svg'); /* iOS 4.1- */
}

.brown-light {
    font-family: "BrownStd-Light" !important;
}

/* 单一布局 */
.blk-page {
    min-width: 1150px;
}

.body-mask {
    position: fixed;
    z-index: 100;
    background: #1d1d1d;
    opacity: 0.3;
    top: 0;
    left: 0;
}

.center-content {
    width: 1150px;
    margin: 0 auto;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.hide {
    display: none !important;
}

.vhide {
    visibility: hidden;
}

.left {
    float: left;
}

.right {
    float: right;
}

.bold {
    font-weight: bold;
}

/* 共用提示文字以及链接文字颜色 */
.blue {
    color: #219dd6;
}

/* 按钮 */
.btn {
    display: block;
    width: 70px;
    height: 26px;
    line-height: 26px;
    background: #1b1b1b;
    color: #fff;
    text-align: center;
    font-size: 12px;
    cursor: pointer;

    /* 不可点按钮 */
    &.disable {
        background: #999;
    }

    /* 红色按钮 */
    &.red {
        background: #c71814;
    }

    /* 无背景按钮 */
    &.white {
        background: #fff;
        color: #999;
        border: 1px solid #999;
    }
}

/* 输入框 */
.input {
    height: 26px;
    border: 1px solid #f0f0f0;
    text-indent: 5px;
}