@use "./reset";
@use "./transition";

.app-container {
  padding: 10px;
}

.el-button-big {
  height: 80px !important;
  border-radius: 40px !important;
  font-size: $f24 !important;
}

.el-button-update {
  height: 80px !important;
  border-radius: 16px !important;
  font-size: $f24 !important;
}

.search-container {
  padding: 18px 0 0 10px;
  margin-bottom: 10px;
  background-color: var(--el-bg-color-overlay);
  border: 1px solid var(--el-border-color-light);
  border-radius: 4px;
  box-shadow: var(--el-box-shadow-light);
}

//气泡确认框样式(适当调大样式)
.el-popconfirm__main {
  font-size: 20px;
}

.el-popconfirm__action {
  height: 40px;
}

.el-popconfirm__action > button {
  font-size: 20px;
  padding: 10px;
  height: 100%;
}

//气泡确认框样式(适当调大样式)
.table-container > .el-card__header {
  padding: calc(var(--el-card-padding) - 8px) var(--el-card-padding);
}

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

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

.mainContentBox {
  width: 100%;
  height: calc(100vh - 80px);
  padding: 0 24px 24px 24px;
  overflow: hidden;
}

.commonTitle {
  font-weight: 500;
  font-size: 38px;
  color: rgba(0, 0, 0, 0.9);
  line-height: 40px;
  text-align: left;
  margin-bottom: 20px;
}

.elColClasss {
  height: calc(100vh - 130px);
}

.drawerTitle {
  width: 100%;
  height: 38px;
  font-weight: 500;
  font-size: 38px;
  color: rgba(0, 0, 0, 0.9);
  text-align: center;
}

//steps 二级路由页面Scroll样式
.stepsViewScroll {
  width: calc((100vw / 6 * 5) - 50px);
  margin-top: $p20;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.stepsViewScrollH {
  width: calc((100vw / 6 * 5) - 50px);
  height: calc(100vh - 254px);
}

//search框样式
.searchInput {
  height: 50px;
  border-radius: 76px;
  overflow: hidden;
  border: 1px solid #00000025;
  font-size: $f24;
  color: #00000080;

  .el-input {
    --el-input-focus-border: none;
    --el-input-hover-border: none;
  }

  .el-input__wrapper {
    box-shadow: none;
    box-sizing: border-box;
  }
}

//字体样式
.titleText {
  font-size: 24px;
  font-weight: 500;
  font-weight: bold;
}

.describeText {
  font-size: 20px;
  color: #00000060;
  line-height: 25px;
}

//公共弹框样式

.midPopUp {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background-color: #00000030;
  top: 0;
  left: 0;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;

  .container {
    width: 50vw;
    height: 80vh;
    background-color: #f1f3f5;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;

    .headerTittle {
      width: 100%;
      height: 55px;
      text-align: center;
      line-height: 55px;
      font-size: 38px;
      font-weight: 500;
    }

    .describeText {
      width: 100%;
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-size: 20px;
      color: #00000060;
    }

    .info {
      flex: 1;
    }
  }
}

// 弹框html模板
// <div class="midPopUp">
// <div class="container">
//   <div class="headerTittle">本次存入</div>
//   <div class="describeText">LX22112233221122</div>
//   <el-scrollbar>
//   </el-scrollbar>
// </div>
// </div>

.rightFullPopUp {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background-color: #00000030;
  top: 0;
  left: 0;
  backdrop-filter: blur(5px);

  .container {
    width: 50vw;
    height: 100vh;
    background-color: #f1f3f5;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    float: right;

    .headerTittle {
      width: 100%;
      height: 55px;
      text-align: center;
      line-height: 55px;
      font-size: 38px;
      font-weight: 500;
    }

    .describeText {
      width: 100%;
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-size: 20px;
      color: #00000060;
    }

    .info {
      flex: 1;
    }
  }
}

// <div class="rightFullPopUp" >
// <div class="container">
//   <div class="headerTittle">本次存入</div>
//   <div class="describeText">LX22112233221122</div>
//   <el-scrollbar />
// </div>
// </div>

//drawer样式
.container {
  width: 50vw;
  height: 100vh;
  background-color: #f1f3f5;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 20px;

  .headerTittle {
    width: 100%;
    height: 55px;
    text-align: center;
    line-height: 55px;
    font-size: 38px;
    font-weight: 500;
  }

  .describeText {
    width: 100%;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #00000060;
  }

  .info {
    flex: 1;
  }
}

//全局表格样式
//控制字体
.el-table__cell {
  font-size: $p20;
  color: black;
}

//解决当pdf组件中，，有写pdf会导致页面右侧多出一个黑色块的canvas
.hiddenCanvasElement {
  display: none;
}


.el-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*height:600px;*/
  max-height: calc(100vh - 100px);
  max-width: calc(100% - 30px);
}
.el-dialog .el-dialog__body {
  flex: 1;
  overflow: auto;
}
