Chocobozzz/PeerTube

View on GitHub
client/src/app/+admin/system/jobs/jobs.component.scss

Summary

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

.select-job-state {
  display: block;
  min-width: 120px;

  ::ng-deep .pt-badge {
    font-size: 13px;
  }
}

.select-job-type {
  display: block;
  min-width: 240px;
}

@media screen and (min-width: $primeng-breakpoint) {
  .job-id {
    max-width: 30vw !important;
  }

  .job-type,
  .job-state,
  .job-priority {
    width: 150px !important;
  }

  .job-date {
    width: 200px !important;
  }
}

.admin-sub-header {
  flex-direction: row !important;
  justify-content: flex-end;

  .select-filter-block {
    &:not(:last-child) {
      @include margin-right(10px);
    }

    label {
      margin-bottom: 2px;
    }

    .peertube-select-container {
      @include peertube-select-container(auto);
    }
  }

  .button-filter-block {
    align-self: flex-end;
  }
}

pre {
  font-size: 11px;
}

.job-error {
  color: pvar(--red);
}