@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";
.pagePadding{
  padding: 8px 12px 0 10px;

}

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;
}
#add-more {
  font-family: "Microsoft Yahei", Arial, 黑体, 宋体, sans-serif;
  font-size: 14px;
  color: rgb(132, 146, 166);
  padding: 0 20px;
  height: 30px;
  line-height: 30px;
  margin-bottom: -5px;
  &:hover {
    cursor: pointer;
  }
}
label {
  font-weight: 700;
}
.hasHover{
  &:hover{
    cursor: pointer!important;
  }

}
html {
  height: 100%;
  box-sizing: border-box;
}
.mini-link{
  padding:0 4px;
  span{
    display: inline-block;
    height: 23px;
    font-size: 12px;
  }
}
#app {
  height: 100%;
}

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

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}
.hover-tag{
  &:hover{
    cursor: pointer!important;
  }
}
a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.el-checkbox{
  margin: 0 20px 5px 0;
}
.el-radio{
  margin: 6px 20px 6px 0;
}
div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.el-list-select-input{
  li{
    float: left;
    &:first-child{
      width: 115px;
      background: #F5F7FA;
      .el-input{
        input{
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
          background: #F5F7FA;
          border-right: 0;
        }
      }
    }
    &:last-child{
      width: calc(100% - 115px);
      .el-input{
        input{
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
        }
      }
    }
  }
}
.right{
  .ladder-body{
    ul{
      li{
        .el-input-number{
          .el-input{
            input.el-input_inner{
              border-radius: 0!important;
            }
          }
        }
      }
    }
  }
}
#el-cor-full-style{
  width: calc( 100% - 316px)!important;
  padding: 0   0 0 10px!important;
}
#tl-number{
  .el-input{
    input{
      text-align: left;
    }
  }

}
.el-tree-node__content{
  height: 35px;
}
.el-tree-node__content>#custom-tree-node {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  border-bottom: 1px solid #eaeefb;
  padding-right: 8px;
  >div{
    span{
      display: inline-block;
      padding:8px 0;
      &.el-tag.el-tag--warning{
        padding:0 5px;

      }
    }

  }
}
aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}
.tl {
  text-align: left;
}
.tc {
  text-align: center;
}
.tr {
  text-align: right;
}
//main-container全局样式

.clear::after,
.clear::before {
  // content: "";
  // height: 0px;
  // display: block;
  clear: both;
}
// .el-steps--simple {
//   background: transparent;
// }

.code-main {
  float: left;
  width: 100%;
  list-style-type: none;
  padding: 0;
  margin: 0;
  vertical-align: top;
  li {
    float: left;
    list-style-type: none;
    height: 40px;
    padding: 0;
    margin: 0;
    &:first-child {
      width: calc(100% - 90px);
      .el-input__inner {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: 0;
      }
      .el-input {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
    }
  }
}
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(
    90deg,
    rgba(32, 182, 249, 1) 0%,
    rgba(32, 182, 249, 1) 0%,
    rgba(33, 120, 241, 1) 100%,
    rgba(33, 120, 241, 1) 100%
  );

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}
.demo-goods-ruleForm{
  .el-form-item{
    margin: 0!important;
  }
}
//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
#yewuInput.el-input-number .el-input__inner input {
  text-align: left;
}
.el-form-item--mini .el-form-item__label {
  // line-height: 15px;
}
  .tb-icon,.tb-download {
    margin: 0 6px;
    font-size: 17px;
    width: 17px;
    height: 17px;
    vertical-align: top;
    cursor: pointer;
  &.el-icon-s-check{
    line-height: 19px;
    font-size: 18px;;

  }
    &:hover {
      color: 3888e5;
    }
  }
  .el-step__title{
    // font-size: 14px!important;
  }
  .el-carousel__indicators--outside{
    display: none;
  }
  .el-input.is-disabled.errorInput{
    input.el-input__inner{
      border:1px solid #ff8888!important;
      color: #ff8888!important;
    }
    
  }
  .el-form-item.errorForm{
    label.el-form-item__label{
      color: #ff8888!important;
    }
    .el-form-item__content{
      // .is-disabled
      .el-input{
        input.el-input__inner{
          border:1px solid #ff8888!important;
          color: #ff8888!important;
        }
        
      }
    }

  }
  .dropzone .dz-message{
    margin: 8em 0!important;
  }
  .dropzone .dz-preview.dz-image-preview{
    background: transparent!important;
  }
  // .el-collapse-item__wrap{
  //   overflow-y: scroll!important;
  //   max-height: 500px!important;
  // }
  .el-collapse-item__content{
    padding:0!important;
  }

  .el-table__expanded-cell[class*=cell] {
    // padding: 20px 20px 20px 50px!important;
  }
  .notAnniu.el-input-number.el-input-number--mini.is-controls-right{
    span.el-input-number__decrease{
      display: none!important;
    }
    span.el-input-number__increase{
      display: none!important;
    }
    .el-input.el-input--mini{
      .el-input__inner{
        padding-right: 15px!important;
        text-align: left;
      }
    }

  }
  .el-form-item.el-form-item--feedback.el-form-item--mini.noMargin{
.el-form-item__content
{
  margin: 0!important;
}
  }
  .my-el-alert.el-alert.is-light{
    

    &.el-alert--success{
      color: #63cbe7!important;
    background: #effafd!important;
    border-color: #c1eaf5!important;
    }
    .el-alert__content>.el-alert__title{
      vertical-align: top!important;
      display: inline-block!important;
      font-size: 17px!important;
      line-height: 30px!important;
    }
    .el-alert__icon{
      display: inline-block!important;
      vertical-align: top!important;
      width: 30px!important;
      height: 30px!important;
      font-size: 26px!important;
      line-height: 30px!important;
      text-align: center!important;
    }
      
  }
  .fl-col{
    position: relative;
    .fl-tag{
      position: absolute;
      z-index: 4;
      top:0;
      left:0;
    }
  }
.my-el-divider.el-divider.el-divider--horizontal{
  margin: 12px 0!important;
  .el-divider__text.is-center{
    
    padding:0 10px!important;
    color: #63cbe7!important;
  }
}
  
 
 
.el-table__fixed-right {
  height: 100% !important;
}
.el-table__fixed-left {
  height: 100% !important;
}
.el-table .warning-row {
  background: #f5f7fa !important;
  // background: oldlace !important;
}

.el-table .success-row {
  background: #f0f9eb !important;
}

.projectDetail,.zxDiffOrderDetail,.zxReturnDetail {
  .modal-form-style {

    #demo-sitem.el-form {
      .el-row {
        border-left: 1px solid #ebeef5 !important;
        border-top : 1px solid #ebeef5 !important;
        .el-col {
          border-bottom: 1px solid #ebeef5 !important;
          border-right: 1px solid #ebeef5 !important;
          .el-form-item {
            margin: 0 !important;
          
            // >.el-form-item__label {
            //   border-right: 1px solid #ebeef5 !important;
            // }
          }
            label.el-form-item__label {
              background: #fafafa !important;
              font-weight: 400!important;
              color: #909399!important;
              border-right: 1px solid #ebeef5 !important;
            }
            .el-form-item__content{
              padding:0 0 0 12px!important;
              color: #606266!important;
            }
           
        }
      }
    }
  }
}

.processTimeLine {
  .el-step__head.is-finish {
    color: #e8e8e8 !important;
      border-color: #e8e8e8 !important;
      .el-step__line{
        background: #e8e8e8!important;
      }
    .el-step__line-inner{
      background: #e8e8e8!important;
    }
    .el-step__icon.is-icon {
      color: #30b08f !important;
      border-color: #30b08f !important;
    }
    // background: #e8e8e8!important;
  }
  .el-step__main{
  
   .el-step__title.is-finish{
     color: rgba(0,0,0,.85)!important;
     font-size: 16px!important;

   } 
   .el-step__description.is-finish{
.name,.item,.time{
  line-height: 23px!important;
  color: rgba(0,0,0,.85)!important;
}
.time{
  color: rgba(0,0,0,.45)!important;
}
   }
   
  }
}
.detail-page-title{
  line-height: 28px!important;
  height: 28px!important;
  // font-size: 16px!important;
  padding:0!important;
  // margin: 20px 0 30px 0!important;

  // span.title{
  //   line-height: 50px!important;
  // font-size: 16px!important;
  // margin: 0 20px 0 0;
  // }
}
.exam-content{
  line-height: 28px!important;
  height: 28px!important;
  // font-size: 16px!important;
  padding:0!important;
  margin: 0 0 20px 0!important;
  &::after,&::before{
    content: "";
  display: block;
  clear: both;
  }
}
.activity-upload {
  position: relative;
  .btnupload {
    float: left;
    border: 1px solid rgb(220, 223, 230);
    box-sizing: border-box;
    width:50px;
    height:50px;
    line-height:50px;
    text-align: center;
  }
  .Upload {
    width:50px;
    height:50px;
    line-height:50px;
    text-align: center;
    position: absolute;
    line-height: 0px;
    top: 0;
    left: 0;
    line-height:50px;
  }
  .fileUp {
    vertical-align: top;
  }
  .avatar {
    width:50px;
    height:50px;
    line-height:50px;
    text-align: center;
  }
  .avatar-uploader .el-upload:hover {
    border-color: #409eff;
  }
  .avatar-uploader-icon {
    font-size: 20px;
    color: #8c939d;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }
  .avatar {
    width: 100%;
    height: 100%;
    display: block;
  }
  .txt-tips {
    display: inline-block;
    font-size: 12px;
    color: #606266;
    padding: 0 0 0 15px;
    p {
      margin: 0;
      line-height: 22px;
    }
  }
  .avatar-uploader .el-upload {
    border: 1px dashed #DCDFE6;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
}
.hover{
  &:hover{
    cursor: pointer!important;
  }
}
.show-data-table {
  padding: 0 0 0 0;
  width: 100%;
  box-sizing: border-box;
  .purchaseOrderDetail-addForm {
    
    border-left: 1px solid #ebeef5 !important;
    width: 100%;
    box-sizing: border-box;
    &.borderBottom{
      border-bottom: 1px solid #ebeef5 !important;
    }
    .purchaseOrderDetail-addForm-el-col {
      display: flex;
      align-items: stretch;
      //  width: 100%;
      box-sizing: border-box;
      //
      border-right: 1px solid #ebeef5 !important;
      .label {
        width: 100px;
        line-height: 35px;
        text-align: right;
        background: #fafafa !important;
        font-weight: 400 !important;
        color: #909399 !important;
        font-size: 12px !important;
        border-top: 1px solid #ebeef5 !important;
        border-right: 1px solid #ebeef5 !important;
      }
      .name {
        width: calc(100% - 100px);
        text-align: left;
        line-height: 23px;
        font-size: 12px !important;
        border-top: 1px solid #ebeef5 !important;
        padding: 6px 0 6px 10px !important;
        word-break: break-all !important;
        color: #606266 !important;
        .el-icon-warning-outline {
          font-size: 16px!important;
          margin: 4px 6px 0 0!important;
          color: #abaea5!important;
          &:hover{
            cursor: pointer;
          }
        }
      }
    }
  }
}