@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: "Inter", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background-color: #f0f2f5;
}

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;
  background-color: #f0f2f5;
  min-height: calc(100vh - 50px);
}

.el-table--medium td,   .el-table--medium th {
  padding: 8px 0;
}
.el-form-item {
  margin-bottom: 22px;
}
.el-card {
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  
  &:hover {
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
  }
}
.el-message {
  border-radius: 4px;
  overflow: hidden;
}
.el-card__body {
  padding: 20px;
}
.el-card__header {
  padding: 18px 20px;
  border-bottom: 1px solid #ebeef5;
  font-weight: bold;
  font-size: 16px;
}
.el-tabs--border-card>.el-tabs__content {
  padding: 15px;
}
.el-dialog__header {
  padding: 20px 20px 10px;
  font-weight: bold;
}
 .el-dialog{
   border-radius: 8px;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
   display: flex;
   flex-direction: column;
   margin:0 !important;
   position:absolute;
   top:50%;
   left:50%;
   transform:translate(-50%,-50%);
   /*height:600px;*/
   max-height:calc(100% - 30px);
   max-width:calc(100% - 30px);
 }
.el-dialog .el-dialog__body{
   flex:1;
   overflow: auto;
  padding: 20px 24px;
}
 
.el-form--label-top .el-form-item__label {
  line-height: 16px;
}
.el-button+.el-button {
  margin-left: 1px;
}
.el-tabs__header {
  margin: 0 0 6px;
}
.pagination-container {
  padding: 0px 0px;
}
body .el-table th.gutter{
  display: table-cell!important;
}
.el-dialog__footer{
  padding: 6px 6px 6px;
}
