nukeop/nuclear

View on GitHub
packages/ui/lib/components/TrackInfo/styles.scss

Summary

Maintainability
Test Coverage
@import "../../common.scss";

.track_info {
  display: flex;
  flex-flow: row;
  width: calc(50% - 65px);

  & > *:not(:first-child) {
    margin-left: 1em;
  }

  & > *:last-child {
    margin-right: 1em;
  }

  .artist_part {
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: flex-start;
    max-width: calc(100% - 136px);
  }

  .track_name {
    @include ellipsis;
    line-height: 1;
    max-width: 100%;
    font-size: 22px;
  }

  .artist_name {
    font-size: 14px;
    color: rgba($white, 0.6);
    cursor: pointer;

    &:hover {
      color: rgba($white, 0.8);
    }
  }

  .favorite_part {
    display: flex;
    flex-flow: column;
    justify-content: center;

    .icon {
      cursor: pointer;
    }
  }
}