@import '~scss/variables';

.title {
  display: flex;
  align-items: center;
  margin-left: 4px;

  :global {
    .icon {
      margin-right: 12px;
    }
  }
}

.version {
  display: block;
  padding: 2px 8px 2px 2px;
  border-radius: 3px;
  background-color: $bg-color;
  font-family: $font-family-id;
  font-weight: $font-bold;
  line-height: 16px;

  & > span {
    display: inline-block;
    padding: 0 6px;
    margin-right: 6px;
    border-radius: 1px;
    background-color: #36435c;
    text-shadow: 0 2px 4px rgba(36, 46, 66, 0.1);
    font-weight: $font-bold;
    line-height: 16px;
    color: #fff;
  }
}

.pods {
  margin: 12px 0;
  padding: 8px;
  border-radius: 4px;
  background-color: $lightest;
}

.podItem {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 4px;
  border: solid 1px $light-color03;
  background-color: #ffffff;

  .text {
    font-family: $font-family-id;
    margin-left: 14px;

    & > p {
      color: $light-color08;

      & > strong {
        color: #242e42;
      }
    }
  }

  & + .podItem {
    margin-top: 8px;
  }
}

.icon {
  display: block;
  position: relative;
  height: 32px;

  .status {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;

    &.running {
      background-color: $green;
      box-shadow: 0 4px 8px 0 rgba(85, 188, 138, 0.32);
    }

    &.updating {
      background-color: $yellow;
      box-shadow: 0 4px 8px 0 rgba(245, 166, 35, 0.32);
    }
  }
}
