@import "./element-variables.scss";
@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./topbar.scss";

body {
  height: $contentHeight;
  -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: $contentHeight;
}

*,
*: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;
  }
}

.primary-color{
  color: $--color-primary !important;
  
}
.warning-color{
  color: $--color-warning !important;
  
}
.light-color{
  color: #959AAC !important;
  
}
.large-font{
  font-size: 20px;
}

.small-font{
  font-size: 14px;
}

// main-container global css
.app-container {
  padding: 20px;
  .page-list-wrap {
    background: #fff;
    border-radius: 10px;
    padding: 26px;
  }
  .page-list-top-btn-group {
    margin-bottom: 20px;
  }
}

.primary-color-btn {
  color: $--color-primary !important;
  border-color: #fff !important;
}
.pull-right {
  float: right;
}

.light-label-form {
  .el-form-item__label {
    font-size: 14px;

    font-weight: 400;
    color: #959aac;
  }
}

.page-tit {
  font-size: 20px;

  font-weight: bold;
  color: #3b414f;
  line-height: 28px;
  margin: 0 0 24px;
}

.filled-steps {
   .el-step {
    height: 92px;
    &.is-flex {
      flex-grow: 1;
    }
    .el-step__head {
      position: absolute;
      height: 100%;
      top: 0;
      left: 0;
      right: 41px;
      background-color: #f5f6fa;
      width: calc(100% - 32px);
      &.is-finish {
        background-color: rgba(103, 156, 86, 0.1);

        &::after {
          border-left-color: rgba(103, 156, 86, 0.1);
        }
        .el-step__icon {
          background-color: rgba(103, 156, 86, 0.2);
          color: #679c56;
        }
      }
      &::before {
        content: " ";
        width: 0;
        height: 0;
        border-top: 46px solid transparent;
        border-left: 52px solid #fff;
        border-bottom: 46px solid transparent;
        position: absolute;
        left: 0;
        top: 0;
      }
      &::after {
        content: " ";
        width: 0;
        height: 0;
        border-top: 46px solid transparent;
        border-left: 52px solid #f5f6fa;
        border-bottom: 46px solid transparent;
        position: absolute;
        left: 100%;
        top: 0;
        z-index: 2;
      }
      .el-step__line {
        display: none;
      }
      .el-step__icon {
        position: absolute;
        left: 78px;
        top: 32px;
        border: none;
        background-color: #e5e6eb;
        color: #959aac;
      }
    }
    .el-step__main {
      position: absolute;

      z-index: 2;
      height: 100%;
      font-size: 14px;
      left: 110px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      .el-step__title {
        font-size: 14px;
        font-weight: 600;
        line-height: 24px;
      }
    }
  }
}

.tip-text {
  font-size: 14px;

  color: #959aac;
  line-height: 20px;
}
.text-center {
  text-align: center;
}
.page-title-center {
  text-align: center;
  font-size: 20px;

  font-weight: bold;
  color: #3b414f;
  line-height: 28px;
}

.page-title-left {
  text-align: center;
  font-size: 20px;

  font-weight: bold;
  color: #3b414f;
  line-height: 28px;
}

.flexbox {
  display: flex;
}
.flex1 {
  flex: 1;
}
.align-items-center {
  align-items: center;
}
.justify-content-center {
  justify-content: center;
}

$list: 5 10 15 20 25 30;

@each $i in $list {
  .mt#{$i} {
    margin-top: #{$i}px;
  }
  .mb#{$i} {
    margin-bottom: #{$i}px;
  }
  .ml#{$i} {
    margin-left: #{$i}px;
  }
  .mr#{$i} {
    margin-right: #{$i}px;
  }
  .m#{$i} {
    margin: #{$i}px;
  }

  .pt#{$i} {
    padding-top: #{$i}px;
  }
  .pb#{$i} {
    padding-bottom: #{$i}px;
  }
  .pl#{$i} {
    padding-left: #{$i}px;
  }
  .pr#{$i} {
    padding-right: #{$i}px;
  }
  .p#{$i} {
    padding: #{$i}px;
  }
}


.tox-silver-sink{
  z-index: 11111111111 !important;
}


@media print {
   .sidebar-container{
     display: none;
   }
   #app .main-container{ 
    margin-left: 0px;
    margin-top: 0px;
  }
  .top-nav{
    display: none;
  }
}