@import "../../../../../../../../styles/var.less";
.logItemMain {
  display: flex;
  padding: 10px 13px 10px 0;
  .left {
    display: flex;
    flex: 0 0 170px;
    margin-top: 3px;
    font-size: 14px;
    //.logIndex {
    //  flex: 0 0 40px;
    //}
    .flexBox {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 16px;
    }
    .dateTime {
      flex: 1;
      padding-right: 5px;
      font-weight: bolder;
      font-size: 12px;
    }
    .operationLine {
      display: flex;
      align-items: center;
      margin-top: 4px;
      color: @font-color;
      .icon {
        padding: 0 4px;
        font-size: 14px;
        border: 1px solid @primary-color-70;
        border-radius: 4px;
        cursor: pointer;
      }
      .popoverOverlay {
        width: 500px;
      }
    }
  }
  .right {
    flex: 1;
    min-width: 0;
    margin-left: 4px;
    .logItemHideMain {
      .logItemHideIndex {
        display: -webkit-box;
        width: 100%;
        height: 48px;
        overflow: hidden;
        line-height: 24px;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        .tag {
          max-width: 200px;
          overflow: hidden;
          color: @font-bord-color;
          white-space: nowrap;
          text-overflow: ellipsis;
          vertical-align: middle;
          cursor: pointer;
        }
        span {
          display: inline-block;
          cursor: default;
        }
      }
    }
  }
}

.details {
  flex: 1;
  font-size: 14px;

  .logLine {
    display: flex;
    align-items: center;
    margin: 2px 0;
    line-height: 21px;
    text-align: justify;
    cursor: default;
    .logKey {
      align-self: flex-start;
      span {
        background: @primary-color-8;
      }
      .notIndexContent {
        background-color: #f5f5f5;
      }
    }
    .logKeyHover {
      cursor: pointer;
    }
    .logContent {
      margin-bottom: 0;
      margin-left: 4px;
      word-break: break-all;

      :global {
        .ant-tag {
          height: 20px;
          color: #41464beb;
          line-height: 20px;
        }
      }
    }
    .logHover {
      &:hover {
        color: @primary-color-90;
        text-decoration: underline;
        cursor: pointer;
      }
    }
    .logContentHighlight {
      color: @primary-color-90;
      font-weight: bold;
      word-break: break-all;
      cursor: pointer;
      &:hover {
        color: @primary-color-90;
      }
    }
  }
}
