@import "var";
@import "reset";

.toolbar {
  padding: 6px 18px;
  clear: both;
  position: relative;

  &.pop {
    border-top: $--border-base;
    text-align: right;
  }
}

.form-toolbar {
  clear: both;
  padding-top: 20px;
  border-top: $--border-base;

  .el-button--primary {
    padding-left: 2em;
    padding-right: 2em;
  }
}

.stage-container .stage-header {
  padding: 0;
  position: relative;
  background-color: #ffffff;
  border-bottom: $--border-base;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1);

  .el-breadcrumb {
    padding: 12px 18px;
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
  }

  .el-menu {
    display: inline-block;
    vertical-align: middle;

    .el-menu-item {
      height: 32px;
      line-height: 32px;
    }
  }

  .toolbar {
    border-top: 1px solid rgba($--border-color-base, .5);
  }
}

.line {
  text-align: center;
}

.el-table th.table-space-left, .el-table td.table-space-left {
  padding-left: 1em;
}

.cs-scroll + .el-pagination {
  padding: 10px 18px;
  border-bottom: 1px solid #dedede;
  background: #eeeeee;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.cs-btn-group {
  margin-top: 36px;
}

.loading-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34, 34, 34, 0.48);
  z-index: 100;
  text-align: center;
  display: inline-block;
  user-select: none;
  color: rgba(34, 34, 34, .6);
}

.loading-mask:before {
  display: inline-block;
  content: '';
  height: 50%;
}

.el-dropdown-menu {
  .el-dropdown-menu__item.dropdown-item-with-icon {
    display: block;

    [class^="el-icon-"] {
      margin-left: -8px;
      padding-right: 5px;
      opacity: 0.6;
    }
  }
}

.el-dropdown-link {
  color: $--link-color-active;
  cursor: pointer;
}

.secondary-text {
  font-size: .8em;
  color: rgba($--text-secondary-color, .8)
}

.text-button {
  .el-button {
    border-color: transparent;
    padding: 7px 5px 7px 10px;
    background: transparent;

    &.el-dropdown__caret-button {
      padding: 7px 3px;
    }
  }

  &:hover {
    .el-button {
      border-color: $--border-color-base;
    }
  }
}

.el-message-box__wrapper {
  .el-message-box {
    min-width: 18em;
    width: auto;

    .el-message-box__content {
      padding: .5em 2em 1.5em 1em;
    }
  }
}

.el-range-editor.el-input__inner {
  background: #fff;
}

.el-range-input {
  background-color: transparent;
}

.el-button{
  .el-loading-mask{
    zoom:0.5;
  }
}
