Chocobozzz/PeerTube

View on GitHub
client/src/app/+videos/+video-watch/shared/player-widgets/player-widget.component.scss

Summary

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

.widget-root {
  position: relative;
  min-width: 200px;
  width: 25vw;
  max-width: 470px;
  height: 66vh;
  background-color: pvar(--mainBackgroundColor);
  overflow-y: auto;
  border-bottom: 1px solid $separator-border-color;

  .widget-header {
    background-color: pvar(--submenuBackgroundColor);
    padding: 1rem 2rem;
  }

  .widget-content-padded {
    padding: 0 2rem;
  }

  .widget-title {
    font-size: 18px;
    font-weight: $font-semibold;

    .pt-badge {
      @include margin-left(5px);
    }
  }

  .widget-content {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}