@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 {
        margin-left: -1px;
        font-size: 10px;
        margin-top: 5px;
        position: relative;
        top: 5px;
      }

      &_deployed {
        display: flex;
        background: #118CFD;
        color: white;
        padding: 4px;
        border-radius: 5px;
        right: 4px;
        top: 5px;
        font-size: 13px;
        position: relative;
        width: initial;
        height: initial;
      }

      &_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 {
      margin-left: 5px;
      transform: rotate(45deg);
    }

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

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

  &_Owlet {
    &-Type {
      align-items: center;
      color: get(color 'shale');
      display: inline-flex;
  
      &-Icon {
        fill: currentColor;
        vertical-align: text-top;
        height: 13px;
        margin-right: 5px;
        width: 13px;
      }
    }
  }
}