aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
blob: f6b5faa45dc1417428f99fb6855cfa63ca7ff95a (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                     

                        

                            


                                
 


                            
 


                                     
 

                         
 


                                     
                                      
 


                                       



     
        
                      
 



                     






                        







                       

                                           
                                        
                     
                         



                                  
                           
                        
                             
                      
 
                           
                                                   

                                    









                                

     


                     



                         
   
 
 
                                            




                           



                      












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

.action-selection-mode {
  width: 174px;
  display: flex;
  justify-content: flex-end;

  .action-selection-mode-child {
    position: fixed;

    .action-button {
      display: inline-block;
    }

    .action-button-cancel-selection {
      @include peertube-button;
      @include grey-button;

      margin-right: 10px;
    }

    .action-button-delete-selection {
      @include peertube-button;
      @include orange-button;
      @include button-with-icon(21px);

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

.video {
  @include row-blocks;

  &:first-child {
    margin-top: 47px;
  }

  .checkbox-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-left: 12px;
  }

  my-video-thumbnail {
    margin-right: 10px;
  }

  .video-info {
    flex-grow: 1;

    .video-info-name {
      @include disable-default-a-behaviour;

      color: var(--mainForegroundColor);
      display: block;
      width: fit-content;
      font-size: 16px;
      font-weight: $font-semibold;
    }

    .video-info-date-views,
    .video-info-privacy,
    .video-info-blacklisted {
      font-size: 13px;

      &.video-info-privacy,
      &.video-info-blacklisted .blacklisted-label {
        font-weight: $font-semibold;
      }

      &.video-info-blacklisted {
        color: red;

        .blacklisted-reason {
          &::before {
            content: ' - ';
          }
        }
      }
    }
  }

  .video-buttons {
    min-width: 190px;

    *:not(:last-child) {
      margin-right: 10px;
    }
  }
}

@media screen and (max-width: $small-view) {
  .video {
    flex-direction: column;
    height: auto;
    text-align: center;

    .video-info-name {
      margin: auto;
    }

    input[type=checkbox] {
      display: none;
    }

    my-video-thumbnail {
      margin-right: 0;
    }

    .video-buttons {
      margin-top: 10px;
    }
  }
}