Chocobozzz/PeerTube

View on GitHub
client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.scss

Summary

Maintainability
Test Coverage
@use '_variables' as *;
@use '_mixins' as *;

.attribute {
  font-size: 13px;
  display: block;
  margin-bottom: 12px;
}

.attribute-label {
  min-width: 142px;
  display: inline-block;
  color: pvar(--greyForegroundColor);
  font-weight: $font-bold;

  @include padding-right(5px);
}

a.attribute-value {
  color: pvar(--mainForegroundColor);

  @include disable-default-a-behaviour;

  &:hover {
    opacity: 0.9;
  }
}

.attribute-tags {
  .attribute-value:not(:nth-child(2)) {
    &::before {
      content: ', ';
    }
  }
}

@media screen and (max-width: 1600px) {
  .attributes .attribute {
    margin-bottom: 5px;
  }
}