@import '../../../styles/core.scss';

.Log {
  font-size: 15px;
  padding: 5px 10px;
  margin-top: 4px;

  &-Status {
    display: flex;
    min-width: 20px;
    min-height: 20px;
    flex-direction: column;
    justify-content: center;

    &-Icon {
      width: 9px;
      height: 9px;
      border-radius: 9px;

      &_changelog {
        align-items: center;
        background: get(color 'blue');
        border-radius: 6px;
        box-sizing: border-box;
        color: white;
        display: flex;
        font-size: 9px;
        height: 20px;
        justify-content: center;
        padding-top: 2px;
        position: relative;
        right: 4px;
        top: 5px;
        width: 20px;
      }

      &_deployed {
        background: get(color 'shale');
        border-radius: 6px;
        box-sizing: border-box;
        color: white;
        display: flex;
        font-size: 13px;
        height: 20px;
        padding: 4px;
        position: relative;
        right: 4px;
        top: 5px;
        width: 20px;
      }

      &_create {
        background: get(color 'green');
      }

      &_delete {
        background: get(color 'red');
      }

      &_edit {
        background: get(color 'yellow');
      }
    }
  }

  &-Info {
    margin-left: 7px;
  }

  &-Label {
    font-weight: 600;
    text-transform: capitalize;
  }

  &-Link,
  &-Text {
    color: currentColor;
    margin-left: 5px;
  }

  &-Link {
    text-decoration: none;

    &-ExternalIcon {
      opacity: 0.5;
      margin-left: 5px;
      transform: rotate(45deg);
    }

    &:hover,
    &:active,
    &:focus {
      text-decoration: underline;
    }
  }

  &-Details {
    align-items :center;
    color: get(color 'graphite');
    display: flex;
    font-size: 12px;
    margin-top: 3px;
  }

  &_Owlet {
    &-Type {
      align-items: center;
      color: get(color 'shale');
      display: inline-flex;

      &-Icon {
        fill: currentColor;
        height: 13px;
        opacity: 0.5;
        margin-right: 5px;
        width: 13px;
      }
    }
  }
}
