_base.css 3.17 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;
}

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

.body-mask {
    position: absolute;
    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;

    /* 不可点按钮 */
    &.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;
}