@import './variables.scss';
@import './transition.scss';
@import './scss-suger.scss';
@import './reset-style.scss';
@import './elemenet-style-overflow.scss';

//scroll
@mixin main-show-wh() {
  /* css 声明 */
  //height: calc(100vh - #{$navBarHeight} - #{$tagViewHeight} - #{$appMainPadding * 2});
  height: calc(
    100vh - #{var(--nav-bar-height)} - #{var(--tag-view-height)} - #{calc(
        var(--app-main-padding) * 2
      )}
  );
  width: 100%;
}
.scroll-y {
  @include main-show-wh();
  overflow-y: auto;
  overflow-x: hidden;
}
.scroll-x {
  @include main-show-wh();
  overflow-x: auto;
}
.scroll-xy {
  @include main-show-wh();
  overflow: auto;
}
.el-dialog {
  border-radius: 2px !important;
  background: #ffffff !important;
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.3) !important;
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  .el-dialog__header {
    display: none;
  }
  .el-dialog__body {
    padding: 0;
    .title {
      padding: 10px 0px 10px 20px;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      height: 36px;
      background: #ac014d;
      color: #ffffff;
      margin-bottom: 24px;
      width: 100%;
      line-height: 15px;
      display: flex;
      justify-content: space-between;
      .icon-close {
        font-size: 16px;
        color: #ffffff;
        margin-right: 16px;
        cursor: pointer;
      }
    }
    .foot {
      height: 56px;
      background: #f4f4f4;
      border-radius: 2px;
      line-height: 56px;
      padding: 0 24px;
    }
    .del-title,
    .Deltitle {
      padding: 10px 0px 10px 20px;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      height: 36px;
      background: #eb2f3b;
      color: #ffffff;
      display: flex;
      align-items: center;
      margin-bottom: 36px;
      width: 100%;
    }
    .Delfoot {
      background-color: #fff;
    }
    .Delcontent {
      padding: 0 24px 12px 24px;
    }
    .DelIcon {
      width: 26px;
      height: 26px;
      background: #eb2f3b;
      border-radius: 50%;
      margin-right: 15px;
      background: url('@/assets/status/ic_close_hint.png') no-repeat;
      background-size: 100% 100%;
      display: inline-block;
      position: relative;
      top: 6px;
    }
    .DelTxt {
      color: #eb2f3b;
      margin: 0 6px;
    }
    .del-content {
      font-size: 16px;
      color: #101611;
      .error {
        color: #eb2f3b;
        margin: 0 8px;
      }
    }
    .dialog-content .el-form {
      padding-right: 24px;
    }
    .el-form-item__label {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #303133;
    }
    .flex1 {
      .el-form-item__content {
        display: block;
      }
    }
  }
  // .el-button + .el-button {
  //   margin-left: 0px;
  // }
}
.flex-wrap {
  display: flex;
}
.flex {
  display: flex;
  justify-content: space-between;
}
.flex-act {
  display: flex;
  align-items: center;
}
.flex-end {
  display: flex;
  justify-content: flex-end;
}
.br {
  border: 1px solid #d2d6df;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.06);
  border-radius: 4px !important;
  width: 64px;
  height: 32px;
}
.diacont {
  padding: 0 0 0 24px;
}
.L12 {
  margin-left: 12px;
}
.P12 {
  padding: 0px 12px 0 12px;
}
.wrap {
  height: 100%;
}
.app-containers {
  height: calc(100vh - 180px);
}
.r12 {
  margin-right: 12px;
}
.r16 {
  margin-right: 16px;
}
