Chocobozzz/PeerTube

View on GitHub
client/src/app/+my-library/my-videos/my-videos.component.scss

Summary

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

input[type=text] {
  @include peertube-input-text(300px);
}

.peertube-select-container {
  @include peertube-select-container(auto);
  @include margin-left(0.5rem);
}

.action-button-delete-selection {
  display: inline-block;

  @include peertube-button;
  @include orange-button;
  @include button-with-icon(21px);

  my-global-icon {
    @include apply-svg-color(#fff);
  }
}

.action-button {
  display: flex;
  align-self: flex-end;

  @include margin-left(10px);
}

my-edit-button {
  @include margin-right(10px);
}

@include on-small-main-col {
  h1 {
    flex-direction: column;

    > span,
    .button-link {
      margin-bottom: 10px;
    }
  }

  .action-button {
    margin-top: 10px;

    @include margin-left(auto);
  }
}

@include on-mobile-main-col {
  .videos-header {
    flex-direction: column;

    input[type=text] {
      width: 100%;
      margin-bottom: 12px;
    }
    .peertube-select-container {
      @include margin-left(0);
    }
  }

  .action-button {
    @include margin-left(0);
  }
}