@import '~@/styles/sbElement-ui.scss';
@import "~@/styles/_handle.scss";
@import "~@/styles/_handle.scss";

//input
.el-input__inner {
  color: #7A7A7A !important;
  padding: 0 7px !important;
}



.from-clues {
  // height: 100%;
  width: 100%;
  min-width: 1280px;
  box-sizing: border-box;
  overflow-x: hidden;

  &-header {
    width: 100%;
    padding: 7px 15px 15px 15px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 4px;
  }

  &-content {
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    background: #FFFFFF;
    border-radius: 4px;
    padding: 15px;
  }

  // .el-dialog__close {
  //   font-size: 0;
  // }

  .el-form-item {
    display: flex;
    width: 100%;
  }

  .from-clues-content {
    .el-table__expand-icon {
      color: rgb(0, 0, 0);
    }
  }

  .el-form--inline .el-form-item {
    width: auto;
    margin-right: 0px;

    .el-form-item__content {
      width: auto;
    }
  }

  .el-form-item--small.el-form-item {
    margin-bottom: 0px;
  }
}

.echarts-box {
  display: flex;
  justify-content: center;
  height: calc(100vh - 230px);
}

/* --------------进度条美化---------------- */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  width: 7px;
  background-color: rgba(255, 255, 255, 0);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(207, 208, 209);
  background-clip: padding-box;
  min-height: 28px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(162, 164, 167);
}

// 搜索框按钮的位置
.btnColRight {
  box-sizing: border-box;
  text-align: right;
}

// 按钮样式
.button:hover {
  width: 86px;
  height: 32px;
  color: #ffffff;
  cursor: pointer;
  border: 0;
  font-size: 12px;
  background: none;
}

.cx {
  width: 86px;
  height: 32px;
  @include background_color("btnBg");
  color: white;
  border: none;
}

.cx:hover {
  width: 86px;
  height: 32px;
  @include background_color("btnBg");
  color: white;
  border: none;
}

.cz {
  width: 86px;
  height: 32px;
  background-color: white;
  @include font_color("btnColor");
  border: 1px solid rgba(65, 98, 216, 0.3);
}

.cz:hover {
  width: 86px;
  height: 32px;
  background-color: white;
  @include font_color("btnColor");
  border: 1px solid rgba(65, 98, 216, 0.3);
}

.cx:focus {
  color: white;
  @include background_color("btnBg");
  background-size: cover;
}

.cz:focus {
  background-color: white;
  background-size: cover;
}

// 角色管理人员菜单配置弹框样式
.roleconfiguration {
  .el-tabs__item {
    color: #cef8ff !important;
    // background: url("~@/image/tabitem.png") no-repeat;
    // background-size: 100% 100%;
    @include background("btnBg");
    border-radius: 3px;
  }

  .el-tabs__item.is-active {
    @include background("btnselect");
  }

  .el-dialog__headerbtn .el-dialog__close {
    font-size: 20px;
    color: #4162D8
  }

  .el-dialog__header {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 24px;
    background-color: #3D59C4;

    .dialog_title {

      color: white;
      margin-bottom: 10px;
    }
  }

}

// 面包屑
// .breadcrumb {
//   width: 80%;
//   text-indent: 10px;
//   background: url("~@/image/breadcrumb.png") no-repeat;
//   background-size: 100% 100%;
//   line-height: 32px;
//   height: 32px;
//   padding-left: 35px;
//   margin: 8px 0 10px 6px;
//   color: #CEF8FF;
// }

.el-icon-arrow-right {
  // width: 2px;
  // position: relative;
  // left: 10px;
}

.el-breadcrumb__inner {
  color: #CEF8FF !important;
}

.breadcrumb1366 {
  padding: 10px 0 !important;
}

.cur-location {
  font-size: 16px;
  color: white;
  line-height: 40px;
  float: left;

  img {
    position: relative;
    top: 3px;
    margin-right: 4px;
  }
}

.el-breadcrumb__inner a,
.el-breadcrumb__inner.is-link {
  color: white;
  cursor: text;
  font-weight: normal;
}

.contentCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 85px), -50%);
}

.mainCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  // 展开收起按钮位置
  .el-input__suffix {
    right: 10px;
  }
}

// 登簿日志弹出框
.commonDialog {
  .el-textarea.is-disabled .el-textarea__inner {
    margin-top: 20px;
    @include borderColor("border");
  }

  /deep/.dialog-from_header {
    margin: 0 !important;
  }

  .el-dialog__headerbtn .el-dialog__close {
    font-size: 20px;
    color: #4162D8
  }

  .el-dialog__header {
    text-align: center;
    font-size: 24px;
    @include background("navbg");
  }

  .el-tabs__header {
    margin: 0 !important;
    border-bottom: none;
  }

  .el-dialog {
    display: flex;
    flex-direction: column;
  }

  .el-dialog__body {
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    padding-bottom: 30px;
    height: 100%;
    flex: 1;
    position: relative;
  }

  .regularHeight {
    display: flex;
    flex-direction: column;
    height: 80vh;
    margin-bottom: 5px;

    .editDialogBox-con,
    .JsonEditor {
      flex: 1;
    }

    .editXML {
      margin-top: 10px;

      .el-textarea__inner {
        height: 68vh !important;
      }
    }
  }

  .dialog_title {
    color: white;
    margin-bottom: 10px;
  }

  .el-tabs__item {
    color: #CEF8FF !important;
    background-color: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 3px;
  }

  .el-tabs__nav {
    display: flex;
    border: none !important;
  }

  .el-tabs__item.is-top:not(:last-child) {
    margin-right: 5px;
  }

  .el-icon-circle-close {
    display: none;
  }

  .el-tabs__item {
    color: #cef8ff !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    @include background("btnBg");
    border-radius: 3px;
  }

  .el-tabs__item.is-active {
    @include background("btnselect");
  }

  .from-clues-content {
    margin-top: 0;
    background: none;
    padding: 0;


  }

  .editDialogBox-box {
    position: relative;
    top: 10px;
  }

  .dialog-from {
    padding-top: 0;

    .el-col {
      height: 40px;
      line-height: 40px;
      display: flex;
      justify-content: space-between;
    }

    .bz {
      height: 100%;
      position: relative;
      top: 3px;
    }

    .el-input {
      flex: 1;
      width: 100%;
    }



    .el-textarea__inner {

      margin: 0;
    }

    &_header {
      // margin: 0 -5px !important;
    }

    &_title {
      font-size: 14px;
      font-weight: 600;
      color: #000000;
      margin: 3px 0;
    }
  }
}

.entryJournal {
  .el-textarea__inner {
    height: 67vh !important;
    border: none !important;
    background-color: #ffffff !important;
    color: #000000 !important;
  }
}

// 上报日志弹出框
.sbdialog {
  .el-textarea__inner {
    height: 30vh !important;
    border: none !important;
    background-color: #ffffff !important;
    color: #000000 !important;
  }
}

// 数据上报弹出框
.dataReporting {
  .el-dialog__header {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 24px;
    @include background("navbg");

    .dialog_title {

      color: white;
      margin-bottom: 10px;
    }
  }

  .el-dialog__headerbtn .el-dialog__close {
    font-size: 20px;
    color: #4162D8
  }

  .el-dialog__body {
    padding-top: 0px;
    display: flex;
    flex-direction: column;
  }

  .el-tabs {
    color: #cef8ff;
  }

  .d-center {
    z-index: 1000;
  }

  .sjmx {
    display: flex;
    flex-direction: column;
    height: 49vh;

    .el-tabs__item {
      height: 50px;
      padding-top: 6px;
    }
  }

  .result {
    flex: 1;
    height: 100%;
  }

  .editDialogBox-con {
    flex: 1;
    height: 100%;
    overflow-y: hidden;
  }

  .el-tabs__item {
    color: #cef8ff !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    @include background("btnBg");
    border-radius: 3px;
  }

  .obligee-item-name {
    // background: url("~@/image/itembg.png") no-repeat;
    // background-size: 100% 100%;
    @include background("btnBg");
    border-radius: 3px;
    @include borderColor("border");
  }

  .el-tabs__nav-scroll {
    background: none;
  }

  .result {
    padding: 15px;
    height: 100%;

    /deep/.el-textarea__inner {
      height: 50%;
      color: #ffffff;
      border: none !important;
      color: #ffffff;
    }

    &-con {
      background: #ffffff;
      // @include borderColor("border");
      // border: 1px solid blue;
      border-radius: 2px;
      padding: 10px;
      box-sizing: border-box;
      height: 49%;

      p {
        color: #2997E8;
        font-size: 14px;
        position: relative;
        padding-left: 10px;
      }

      p::before {
        position: absolute;
        content: '';
        width: 3px;
        height: 10px;
        background-color: #2997E8;
        left: 0;
        top: 3px;
      }
    }
  }

  .el-tabs__nav {
    display: flex;
    border: none !important;
  }

  .el-tabs__item.is-top {
    border: 1px solid #dfe4ed;
    border-top: 1px solid #dfe4ed;
    border-bottom: 1px solid transparent;
  }

  .el-tabs__header {
    border: none;
    margin-bottom: 0;
    border-bottom: none;
  }

  .el-tabs__item.is-top:not(:last-child) {
    margin-right: 5px;
  }

  .el-tabs__item.is-top {
    background-color: none !important;
  }

  .el-tabs__item.is-active {
    @include background("btnselect");
    color: #FFFFFF;
  }

  .success-images {
    width: 30px;
    height: 30px;
    position: relative;
    top: 10px;
    right: 3px;
  }

  .tab-pane-item {
    line-height: 20px;
    color: #02d9fd;

    p {
      text-align: center;
    }
  }

  .edit-content {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1px;
    border-top: none;
  }

  .editDialogBox {
    border-radius: 8px;
    overflow: hidden;
    min-width: 1228px;

    .el-dialog__header {
      display: flex;
      margin-bottom: 10px;
    }

    .dialog_footer {
      flex-direction: column;

      .dialog_button {
        margin-top: 8px;
      }
    }

    .divider {
      width: 100%;
      border-bottom: 1px solid #ccc;
    }
  }

  .el-dialog__wrapper {
    overflow: hidden;
  }

  .dialog-from {
    padding-top: 0;

    .el-col {
      height: 40px;
      line-height: 40px;
      display: flex;
      justify-content: space-between;
    }

    .bz {
      height: 100%;
      position: relative;
      top: 3px;
    }

    .el-select {
      padding-right: 15px;
    }

    .el-icon-circle-close {
      display: none;
    }

    .el-input__suffix {
      right: 0px !important;
      top: -5px;
    }

    .el-select,
    .el-input {
      flex: 1;
      width: 100%;
    }

    .el-textarea__inner {
      border: none !important;
      margin: 0;
    }

    &_header {
      margin: 0 -5px !important;
    }

    &_title {
      font-size: 18px;
      color: #d7eaee;
      margin: 3px 0;
    }
  }
}

// // 人员管理上下移动按钮样式
// .el-button.is-disabled.el-button--text {
//   width: 64px;
//   height: 28px;
//   background: rgba(255, 255, 255, 0.1);
//   border-radius: 16px;
// }

// 人员管理角色管理菜单管理修改新增弹框样式
.PersonnelDialog {


  .el-dialog__headerbtn .el-dialog__close {
    font-size: 20px;
    color: #4162D8
  }

  .el-dialog__header {
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
    @include background("navbg");

    .dialog_title {
      b {
        color: white !important;
      }

      margin-bottom: 10px;
    }
  }

  .el-form-item {
    display: flex;
  }

  .el-input__inner {
    // background-color: #07388b;
  }

  .el-input__inner {
    // background: #07388b;
    // border-radius: 2px;
    // border: 1px solid #6bc1fc;
  }

  .el-textarea__inner {
    // background: #07388b;
    // color: rgb(0, 0, 0);
  }

  .el-dialog__header {


    .el-dialog__headerbtn {
      right: 20px !important;
      top: 23px !important;
    }
  }

  .selbig {
    width: 500px;
  }
}

// 弹框中间区域样式
.dialogCon {
  background: #ffffff;
  border: 1px solid #294ef1;
  padding: 15px;
}

// 修改密码界面样式
.informationpassword {
  margin: 36px 200px;
  overflow-y: auto;

  .form-wrapper {
    padding: 24px 120px 0px;

    .el-form-item {
      margin-bottom: 24px;

      .el-form-item__label {
        color: #000000;
      }

      .el-input .el-input__inner {
        padding: 0 8px;
        height: 40px;
        line-height: 40px;
      }
    }
  }

  .bottom-wrapper {
    padding: 32px 120px 24px;
    text-align: center;
  }
}

// 个人信息
.information {
  height: calc(100% - 58px);
  display: flex;
  flex-direction: column;
  .from-clues-content {
    flex: 1;
    height: 100%;
  }
}


// 修改基本信息界面样式
.informationbase {
  margin: 0.1875rem 1.0417rem;
  overflow-y: auto;

  .form-wrapper {
    padding: 0px 120px 0px;

    .el-form-item {
      /deep/.el-form-item__label {
        color: #000000;
      }

      ::v-deep .el-input .el-input__inner {
        padding: 0 8px;
        height: 40px;
        line-height: 40px;
      }
    }

    .el-form-item--small.el-form-item {
      margin-bottom: 16px;
    }
  }

  .bottom-wrapper {
    padding: 0px 120px 0px;
    text-align: center;
  }
}

// 权利人信息样式
.itemForm {
  position: relative;
  padding: 10px;

  .el-select {
    width: 100%;
  }

  .el-form-item__error {
    right: 25px;
    top: 15px;
    text-align: right;
    pointer-events: none;
  }

  .el-date-editor {
    width: 100%;
  }

  .el-date-editor--date {
    width: 100%;
  }

  .el-cascader {
    width: 100%;
  }

  // table 样式
  .el-form-item__label {
    border-right: none;
    text-align: center;
    padding: 0;
    line-height: 16px;
    font-size: 12px;
    text-align: right;
    margin-top: 8px !important;
  }

  .el-form-item__content {
    display: flex;
    margin-right: -1px;
  }

  .obligee-item-name,
  .receivingInfo-item-name,
  .auditInfo-item-name {
    @include background("btnselect");
    border-radius: 3px;
    color: #FFFFFF;
  }

  .el-textarea__inner {
    margin: 5px;
    width: 96%;
    background: none;
    color: #FFFFFF;
    border-radius: 2px;
  }

  .el-input-number {
    width: 100%;
  }

  .el-input-number__increase {
    // background: #05275B;
    color: #FFFFFF;
    border: none;
    right: 7px;
    top: 2px;
  }

  .el-input-number__decrease {
    // background: #05275B;
    color: #FFFFFF;
    border: none;
    right: 7px;
    bottom: 10px;
  }

  .el-input__inner {
    margin: 5px;
    width: 96%;
    // background: #05275B;
    border-radius: 2px;
    text-align: left;

  }

  .el-form-item {
    margin-bottom: 0;
    margin-top: -1px;
  }

  .item-label {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    font-size: 12px;
    flex: 0 0 90px;
    margin-right: 3px;

    p {
      line-height: 16px;
      white-space: nowrap;
      text-align: right;
    }

    p:nth-child(1) {
      position: relative;
      right: 5px;
    }
  }
}

// 字典管理弹框
.dictionary {
  .el-dialog__header {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 24px;
    @include background("navbg");

    .dialog_title {

      color: white;
      margin-bottom: 10px;
    }
  }

  .el-dialog__headerbtn .el-dialog__close {
    font-size: 20px;
    color: #4162D8
  }
}

// 配置参数
.configuration {
  color: white;
  margin-top: 6vh;

  .el-dialog {
    background-color: #ffffff !important;

    .el-dialog__header {
      @include background("navbg");

      .el-dialog__title {
        color: white !important;
      }

      .el-dialog__headerbtn {
        top: 20px;

        .el-dialog__close {
          color: #4162D8
        }
      }
    }

    /deep/ .jsoneditor-vue {
      height: 100%;
    }

    .fullScreen {
      position: absolute;
      right: 4%;
      top: 17%;
      cursor: pointer;
      color: #4162D8
    }

    /deep/ .jsoneditor-modes {
      display: none !important;
    }

    /deep/.jsoneditor-poweredBy {
      display: none !important;
    }

    .jsoneditor-menu {
      @include background("navbg");
      border-bottom: 1px solid #9c9e9f !important;
    }

    .jsoneditor {
      border: 1px solid #9c9e9f !important;
    }

    .el-collapse {
      border: 0;
    }

    .el-collapse-item__header {
      height: 44px;
    }
  }
}