aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-video-miniature/abstract-video-list.scss
blob: 6570b63d0011fb0c7c9059894aa3b1cab2662a52 (plain) (tree)
1
2
3
4
5
6
7
8

                               
                  
                     
 

                
                                



                

                
                                 
                      
 
                 





                                        


                               
                                                      
     


                     




                         

     
                       
                  

                              







                                            
   

 




                              
 


                                                              
                       

                      



                                                  
                 
                                        
 
 








                                                




                                             
                        






                          
@import '_bootstrap-variables';
@import '_variables';
@import '_mixins';
@import '_miniature';

$iconSize: 16px;

::ng-deep my-video-list-header {
  display: flex;
  flex-grow: 1;
}

.videos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .action-block {
    ::ng-deep my-feed {
      my-global-icon {
        width: calc(#{$iconSize} - 2px);
      }
    }

    a button {
      @include peertube-button;
      @include grey-button;
      @include button-with-icon($iconSize, 3px, -1px);
    }
  }

  .moderation-block {

    my-global-icon {
      position: relative;
      width: $iconSize;
      top: -2px;
    }

    margin-left: .4rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    .dropdown-item {
      padding: 0;

      ::ng-deep my-peertube-checkbox label {
        padding: 3px 15px;
      }
    }
  }
}

.date-title {
  font-size: 16px;
  font-weight: $font-semibold;
  margin-bottom: 20px;
  margin-top: -10px;

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

  &:not(:first-child) {
    margin-top: .5rem;
    padding-top: 20px;
    border-top: 1px solid $separator-border-color;
  }
}

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

.display-as-row.videos {
  margin-left: pvar(--horizontalMarginContent);
  margin-right: pvar(--horizontalMarginContent);

  .video-wrapper {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: $mobile-view) {
  .videos-header {
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-bottom: 10px;

    .title-page {
      margin-bottom: 10px;
      margin-right: 0px;
    }
  }
}