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

$primary:#2836fe;

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;
}
p{
  margin: 0;
  padding: 0;
}
label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
  background: #f6f6fb;//解决页面以外，最下面的异常白色块状
}

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

.el-dialog__title{
  font-size: 16px;
  font-weight: bold!important;
}

.search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

// main-container global css
.app-container {
  padding: 20px;
  background: #fff;
  border-radius: 4px;

}
.item-width-100 {
  width: 100px !important;
}
.item-width-150 {
  width: 150px !important;
}

.item-width-200{
  width: 200px !important;
}

.item-width-250{
  width: 250px !important;
}
.item-width-300{
  width: 300px!important;
}
.item-width-350{
  width: 350px !important;
}
.item-width-400{
  width: 400px !important;
}
.item-width-500{
  width: 500px !important;
}
.item-width-600{
  width: 600px !important;
}
.ml10{
  margin-left: 10px!important;
}
.mb10{
  margin-bottom: 10px;
}
.mr10{
  margin-right: 10px;
}
.mt10 {
  margin-top: 10px;
}
.mt20{
  margin-top: 20px;
}

.page-box{
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
}

.logo{
  position: fixed;
  width: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin-top: -300px;
  .outside{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 150px;
  }
  .inside {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100px;
  }
}

.handle-box{
  margin-bottom: 20px;
}

.green{
  color: #00A870;
}
.red{
  color: red;
}
.gray{
  color: #999;
}

.disable{
  pointer-events:none;
  cursor:not-allowed;
}

  input::-webkit-outer-spin-button,
  
  input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
  
    margin: 0;
  
  }
  .el-input {
    input[type="number"] {
      padding-right: 0px;
      -moz-appearance: textfield;
      -webkit-appearance: textfield;
      // 解决el-input设置类型为number时，中文输入法光标上移问题
      line-height: 1px !important;
    }
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
  }