aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/video/video-miniature.component.scss
blob: 895879adc5311ce210c734dbc8af78046f29081f (plain) (tree)
1
2
3
4
5
6
7
8
9


                     
                  
                        


                      
                      
 
                                
                 

                        
 
                           




                                  
                             

                                  
                                        

                         
 

                              

       



                          

     
                                       
                     
                      

     

                              

                                           



                              
                      
                     



                       


     
@import '_variables';
@import '_mixins';

.video-miniature {
  display: inline-block;
  padding-right: 15px;
  margin-bottom: 30px;
  height: 175px;
  vertical-align: top;

  .video-miniature-information {
    width: 200px;
    margin-top: 2px;
    line-height: normal;

    .video-miniature-name {
      @include ellipsis-multiline(
        $font-size: 1rem,
        $line-height: 1,
        $lines-to-show: 2
      );
      transition: color 0.2s;
      font-size: 16px;
      font-weight: $font-semibold;
      color: var(--mainForegroundColor);
      margin-top: 5px;
      margin-bottom: 5px;

      &:hover {
        text-decoration: none;
      }

      &.blur-filter {
        filter: blur(3px);
        padding-left: 4px;
      }
    }

    .video-miniature-created-at-views {
      display: block;
      font-size: 13px;
    }

    .video-miniature-account,
    .video-miniature-channel {
      @include disable-default-a-behaviour;

      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 13px;
      color: #585858;

      &:hover {
        color: #303030;
      }
    }
  }
}