index.scss 3.52 KB
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  //background: #f0f2f5;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

p{
  margin: 0;
  padding: 0;
}

.el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
  padding-left: 15px;
}
.el-table thead{
  color: rgba(0, 0, 0, .6);
}

.el-form-item{
  margin-bottom: 0;
}

.table-wrap {
  margin-top: 15px;
  margin-bottom: 15px;
  background-color: #FFF;
}

.table-title {
  color: #99a9bf;
  padding: 15px;
  border-bottom: 1px solid #409EFF;
}

.el-form-item__error{
  padding-top: 10px;
  padding-left: 15px;
}
// 自定义 css
.text-center{
  text-align: center;
}
.common-color{
  color: rgb(64, 158, 255);
}
.font-size24{
  font-size: 24px;
}
.font-size12{
  font-size: 12px;
}
.margin-top-24{
  margin-top: 24px;
}
.bgcolor-fff{
  background-color: #fff;
}
.boxshadow-4{
  box-shadow:0px 4px 10px 0px rgba(225,227,228,1);
  border-radius:4px;
}
.padding-0{
  padding: 0!important;
}
.margin-bottom16{
  margin-bottom: 16px;
}
.float-left{
  float: left;
}
.float-right{
  float: right;
}
/*不换行 省略号*/
.hs-hidden-nowrap{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
//定位
.pos-rel{
  position: relative;
}
.pos-abs{
  position: absolute;
}
//鼠标
.hs-cursor-pointer{
  cursor: pointer;
}

/*自定义导航选中样式*/
.navActive {
  border-bottom: 2px solid #fff !important;
}

.banner {
  width: 100%;
  height: 550px;
}

.sectionBG {
  width: 100%;
  height: 529px;
}

.grayBg {
  background: rgba(248, 248, 248, 1);
}

.commonWidth {
  width: 1200px;
  height: 100%;
  display: flex;
  margin: 0 auto;
  padding-top: 40px;
}

.anchorBL{display:none;}  /*去掉百度地图logo*/

// 官网 移植 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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
ol, ul {
  list-style: none;
}
/*隐藏*/
.dn {
  display: none;
}

.margin0-12 {
  margin: 0 12px;
}

.margin12-0 {
  margin: 12px 0;
}

.flexfm {
  flex: 1;
}

.pos-rel {
  position: relative;
}

.pos-abs {
  position: absolute;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.displayFlex {
  display: flex;
}

.averageFlex {
  flex: 1
}

.contentWidth {
  width: 1200px;
  margin: 0 auto;
}