Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

869 B
Raw Blame
@use '_variables' as *;
@use '_mixins' as *;

@mixin peertube-nav-tabs (
  $border-width: 3px,
  $border-type: solid,
  $border-color: #EAEAEA,
  $nav-link-height: 40px
) {
  border-bottom: $border-width $border-type $border-color;
  margin: 20px 0 0 !important;

  &.hide-nav {
    display: none !important;
  }

  a.nav-link,
  .unavailable-nav-link {
    margin-bottom: -$border-width;
    min-height: $nav-link-height !important;
    padding: 0 30px !important;

    border: $border-width $border-type transparent;

    @include disable-default-a-behaviour;

    span {
      border-bottom: 2px solid transparent;
    }

    &.active {
      border-color: $border-color;
      border-bottom-color: transparent;

      span {
        border-bottom-color: pvar(--border-primary);
      }
    }

    &:hover:not(.active) {
      border-color: transparent;
    }
  }
}