@import "./common/variables.scss";
.table-box {
  min-height: 640px;
}

.dialog-form {
  margin-top: 30px;
}

.step-box {
  margin-top: 20px;
}

.step-box .step-ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(246, 248, 249, 1);
  height: 48px;
}

.step-box .step-ul li {
  z-index: 100;
}

.step-box .step-ul .active {
  font-size: 16px;
  font-family: MicrosoftYaHei;
  color: rgba(255, 255, 255, 1);
}

.active-after {
  width: 0;
  height: 0;
  border-color: transparent transparent transparent $main-border-color;
  border-width: 24px 0 24px 12px;
  border-style: solid;
  position: absolute;
}

.layui-progress {
  background-color: $progress-bg;
  font-size: 16px;
  font-family: MicrosoftYaHei;
  color: $progress-text-color;
}

.layui-progress-bar {
  background-color: $progress-bar-bg;
}

.layui-progress-big,
.layui-progress-big .layui-progress-bar {
  height: 48px;
  line-height: 48px;
}

.layui-progress-bar {
  border-radius: 0;
}

.step-1,
.step-2,
.step-3,
.step-4 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-btn {
  height: 32px;
  line-height: 32px;
  padding: 0 26px;
  background-color: $button-bg;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.layui-form .submit-btn,
.layui-form .next-btn {
  color: white;
  background-color: $button-bg;
}

.layui-form .pre-btn {
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: $main-text-color;
  background: $button-reset-bg;
  border-radius: 4px;
  border: 1px solid $main-border-color;
}

.layui-form .reset-btn {
  color: $button-reset-color;
  background-color: $button-reset-bg;
  border: 1px solid $button-reset-border-color;
}

.layui-input-inline {
  width: 444px;
}

.layui-layer-btn {
  margin-top: 164px;
}

.source-test .layui-input-inline {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.source-test .test-link-fail {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  margin-right: 8px;
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: $fail-text-color;
  background: $fail-bg;
  border: 1px solid $fail-text-color;
}

.source-test .test-link-fail .icon {
  width: 16px;
  height: 16px;
  background: url(../img/fail@2x.png) no-repeat center/cover;
}

.source-test .test-link-success {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  margin-right: 8px;
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: $success-text-color;
  background: $success-bg;
  border: 1px solid $success-text-color;
}

.source-test .test-link-success .icon {
  width: 16px;
  height: 16px;
  background: url(../img/success@2x.png) no-repeat center/cover;
}

.source-test .test-link {
  height: 14px;
  font-size: 14px;
  color: #1289ff;
  line-height: 14px;
  cursor: pointer;
}

/* step2 */

.layui-transfer-box {
  width: 360px;
  height: 360px;
}

.layui-transfer-data {
  height: 320px;
}

.layui-form-checkbox[lay-skin="primary"] {
  padding-left: 20px;
  width: 0;
}

/* tree */

.tree-node {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: rgba(69, 75, 80, 1);
}

.tree-node2 {
  margin-left: 25px;
}

.tree-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 50px;
}

.tree-list .active {
  color: #1289ff;
  width: 100%;
}

.opr-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.total-nodes {
  font-style: normal;
}

.opr-box .icon-next {
  width: 24px;
  height: 24px;
  background: url(../img/icon-next@2x.png) no-repeat center/cover;
}

.opr-box .icon-pre {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  background: url(../img/icon-pre@2x.png) no-repeat center/cover;
}

.rw1 {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url(../img/rw-1@2x.png) no-repeat center/cover;
}

.rw2 {
  width: 16px;
  height: 12px;
  margin-right: 2px;
  background: url(../img/rw-2@2x.png) no-repeat center/cover;
}

.rw3 {
  width: 14px;
  height: 16px;
  margin-right: 10px;
  background: url(../img/rw-3@2x.png) no-repeat center/cover;
}

.layui-transfer-data li:hover {
  background-color: transparent;
}

.layui-transfer-data dd {
  cursor: pointer;
}

.layui-transfer-data dd .edit {
  position: absolute;
  right: 20px;
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: $main-text-color;
}

/* 编辑 */

.msg-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 560px;
  height: 40px;
  background: rgba(255, 250, 235, 1);
  border: 1px solid rgba(255, 191, 0, 1);
}

.msg-box .msg-icon {
  width: 16px;
  height: 16px;
  background: rgba(255, 191, 0, 1);
  margin-right: 10px;
  text-align: center;
  font-size: 12px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 1);
}

.mark-icon {
  display: inline-block;
  width: 14px;
  height: 16px;
  text-align: center;
  font-size: 12px;
  border-radius: 50%;
  border: 1px solid;
  color: rgba(179, 189, 196, 1);
}

.layui-layer-content {
  display: flex;
  justify-content: center;
}

.header-box .layui-form-label {
  width: 92px;
  padding: 0;
  margin: 0;
  margin-right: 10px;
}

.header-box .layui-input-inline {
  display: flex;
  align-items: center;
  width: 460px;
}

.header-box .mark-icon {
  position: absolute;
  top: 10px;
  right: 10px;
}

.layui-layer-content .table-box .layui-input-inline {
  display: flex;
  align-items: center;
}

.layui-table-tool {
  height: 2px;
  position: absolute;
  top: 300px;
  left: 0;
}

/* step 3*/

.layui-checkbox-disbaled span {
  color: rgba(179, 189, 196, 1) !important;
  /*layui.css 写死了 所以需要强制设置 disabled的颜色*/
}

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

.step3-label {
  margin-top: 10px;
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: rgba(69, 75, 80, 1);
  line-height: 14px;
}

.step3-chekbox-box {
  display: flex;
  flex-direction: column;
}

/* step 4 */

.progress-box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(69, 75, 80, 1);
}

.progress-box .layui-progress {
  width: 860px;
  margin-right: 20px;
}

.progress-box .layui-progress-bar {
  background-color: rgba(43, 204, 113, 1);
}

.step4-layer-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.status-success {
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: rgba(43, 204, 113, 1);
}

.status-fail-box {
  display: flex;
  align-items: center;
}

.status-fail-box .status-fail {
  font-size: 14px;
  font-family: MicrosoftYaHei;
  color: rgba(246, 60, 73, 1);
}

.status-fail-box .fail-icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background: url(../img/fail-icon@2x.png) no-repeat center/cover;
}
