@import './common/var.scss';
.es-handler {
  padding: 5px 16px;
  display: flex;
  align-items: center;
  .es-handler-item {
    position: relative;
    & + .es-handler-item {
      margin-left: 12px;
    }
    .el-badge__content.is-fixed {
      top: 4px;
      right: 14px;
    }
    &:first-child {
      .es-handler-user,
      .es-handler-date {
        padding-right: 12px;
        &::after {
          content: '';
          height: 100%;
          display: block;
          position: absolute;
          top: 0;
          right: 0;
          border-right: $--border-base;
        }
      }
    }
  }
  .es-handler-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    &.es-icon_image {
      width: 24px;
      height: 24px;
      padding: 0;
    }
    &:hover {
      background-color: $--color-primary-light-4;
    }
  }
  .es-handler-contact {
    display: flex;
    line-height: 20px;
    margin-right: 12px;
    text-align-last: justify;
    .es-contact-label {
      width: 56px;
      margin-right: 12px;
    }
  }
  .es-handler-date {
    font-size: 14px;
    padding-right: 8px;
    .es-online-num {
      font-weight: bold;
      padding: 0 7px;
      color: #ffea00;
    }
  }
  .es-handler-user {
    height: 48px;
    .es-user-img {
      width: 48px;
      height: 48px;
      float: left;
    }
    .es-user-info {
      margin-left: 60px;
    }
    .es-user-job {
      max-width: 140px;
    }
  }
}
.es-popper-sub-system {
  background-color: $--color-primary !important;
  color: #ffff;
  min-width: unset;
  &.is-width {
    width: 346px;
  }
  .popper__arrow {
    &::after {
      border-bottom-color: $--color-primary-light-7 !important;
    }
  }
}
.es-sub-system {
  &::after {
    content: '';
    display: block;
    clear: both;
  }
  margin: 0;
  .es-sub-system-item {
    width: 80px;
    height: 80px;
    padding: 10px 4px;
    float: left;
    text-align: center;
    cursor: pointer;
    .es-sub-system-icon {
      font-size: 32px;
      display: block;
      clear: both;
      margin-bottom: 8px;
    }
    .es-sub-system-title {
      width: 100%;
      height: 17px;
      font-size: 13px;
      line-height: 17px;
      display: block;
      overflow: hidden;
    }
    &:hover {
      background-color: $--color-primary-light-4;
      color: #ffffff;
    }
    &.es-disabled {
      cursor: not-allowed;
      color: rgba(255, 255, 255, 0.3);
      background-color: transparent;
    }
  }
}
.el-dropdown-menu__item {
  &:focus,
  &:not(.is-disabled):hover {
    color: $--color-primary;
  }
  &.es-job-active {
    background-color: $--color-primary;
    color: #ffffff;
  }
}
.es-color-picker {
  padding-left: 24px;
  .el-color-picker-tip {
    font-size: 12px;
    color: #f21f06;
    margin-top: 8px;
  }
}
