/* home */
.home {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: auto;
}

.home-body {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  z-index: 98;
  padding-top: 56px;
  padding-bottom: 30px;
  min-width: 800px;
  min-height: 600px;
  background: var(--color-background);

  .home-view {
    margin: 16px;
  }
}

.home-head {
  position: absolute;
  width: 100%;
  height: 56px;
  top: 0;
  left: 0;
  z-index: 99;
  padding: 12px 16px 11px;
  background-color: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);

  .home-title {
    font-size: 18px;
    font-weight: bold;
  }

  .home-action {
    &-item {
      display: inline-block;
      vertical-align: middle;
      height: 32px;
      line-height: 32px;
      padding: 0 8px;
      font-weight: 400;
      border-radius: var(--border-radius-small);

      &:not(:first-child) {
        margin-left: 8px;
      }

      .svg-icon {
        font-size: 18px;
      }

      .svg-icon + span {
        margin-left: 6px;
      }
      > span {
        display: inline-block;
        vertical-align: middle;
      }

      &.cursor {
        cursor: pointer;

        &:hover {
          background-color: var(--color-background);
        }
      }
    }
  }
}

.home-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30px;
  z-index: 99;
  padding: 0 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  &-ip {
    letter-spacing: 1px;
    > i {
      margin-right: 5px;
    }
  }
}
