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

body {
  height: 100%;
  -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: 15px;
}

.el-select {
  width: 100%;
}

.el-form-item__label {
  font-weight: 400;
}

.app-container {
  height: 100%;
  display: flex;
  overflow: hidden;
  width: 100%;
  flex: 1;
  flex-direction: column;
  .app-header {
    padding: 5px 0 10px 0;
  }
  .app-body {
    padding: 5px 0 10px 0;
  }
}
// tabs 容器
.tabs-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: hidden;
  flex: 1;
  padding: 15px;
  // background-color: rgb(241, 242, 245);
  .app-container {
    padding: 0;
  }
  .app-body {
    padding: 15px 0 0 0;
  }
  .app-header {
    padding: 15px 0 15px 0;
  }
}

// 头部查询
.app-header {
  padding: 15px;
  // border-width: 1px;
  // border-style: solid;
  // border-color: #e4e7ed transparent #e4e7ed transparent;
  // background-color: rgb(248, 249, 252);
  .el-select {
    width: 100%;
  }
  .el-form-item {
    margin-bottom: 0;
  }
}
// 页面内容
.app-body {
  padding: 15px;
  background-color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  height: 100%;
}
