aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+videos/video-list/overview/video-overview.component.scss
blob: 3a895ae7b3cd245212885ac477c8cd873b1eba02 (plain) (tree)
1
2
3
4
5
6
7
8
9


                  
 




                                                              
                 
                                                     

 
          



                      
                               















                                                    




                                         


                              









                            

                                           
                                     
 
                             



                  

                                   


                                           






















                                               

                                 
                      

     
 
@use '_variables';
@use '_mixins';
@use '_miniature';

.section-title {
  // make the element span a full grid row within .videos grid
  grid-column: 1 / -1;
}

.margin-content {
  @include grid-videos-miniature-layout-with-margins;
}

.section {
  &:first-child {
    padding-top: 30px;

    .section-title {
      border-top: 0 !important;
    }
  }

  .section-title {
    font-size: 24px;
    font-weight: $font-semibold;
    padding-top: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;

    &:not(h2) {
      border-top: 1px solid $separator-border-color;
    }

    a {
      color: pvar(--mainForegroundColor);

      &:hover,
      &:focus:not(.focus-visible),
      &:active {
        text-decoration: none;
        outline: none;
      }
    }
  }

  &.channel {
    .section-title {
      a {
        display: flex;
        width: fit-content;
        align-items: center;

        my-actor-avatar {
          @include actor-avatar-size(28px);
          @include margin-right(8px);

          font-size: initial;
        }
      }

      .followers {
        @include margin-left(10px);

        color: pvar(--greyForegroundColor);
        font-weight: normal;
        font-size: 14px;
        position: relative;
        top: 2px;
      }
    }
  }

  .show-more {
    position: relative;
    top: -5px;
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    color: pvar(--greyForegroundColor);
    margin-bottom: 10px;
    font-weight: $font-semibold;
    text-decoration: none;
  }

  @media screen and (max-width: $mobile-view) {
    max-height: initial;
    overflow: initial;

    .section-title {
      @include margin-left(10px);

      font-size: 17px;
    }
  }
}