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



                     
                         

 



                                      
                          
                        




                       
                      
                    












                                           
                         
                    
                            
                                         







                                    
                                
                         




                          
                     



                     




                                   



                        
                                            



                          
                  









                                       



                                      
       

     




                            




                         










                                             











                                               


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

.create-button {
  @include create-button;
}

input[type=text] {
  @include peertube-input-text(300px);
}

::ng-deep .action-button {
  &.action-button-edit {
    margin-right: 10px;
  }
}

.video-channel {
  @include row-blocks;
  padding-bottom: 0;

  img {
    @include avatar(80px);

    margin-right: 10px;
  }

  .video-channel-info {
    flex-grow: 1;

    a.video-channel-names {
      @include disable-default-a-behaviour;

      width: fit-content;
      display: flex;
      align-items: baseline;
      color: pvar(--mainForegroundColor);

      .video-channel-display-name {
        font-weight: $font-semibold;
        font-size: 18px;
      }

      .video-channel-name {
        font-size: 14px;
        color: $grey-actor-name;
        margin-left: 5px;
      }
    }
  }

  .video-channel-buttons {
    margin-top: 10px;
    min-width: 190px;
  }
}

::ng-deep .chartjs-render-monitor {
  position: relative;
  top: 1px;
}

.video-channels-header {
  margin-bottom: 30px;
}

@media screen and (max-width: $small-view) {
  .video-channels-header {
    text-align: center;
  }

  .video-channel {
    padding-bottom: 10px;

    .video-channel-info {
      padding-bottom: 10px;
      text-align: center;

      .video-channel-names {
        flex-direction: column;
        align-items: center !important;
        margin: auto;

        .video-channel-name {
          margin-left: 0px !important;
        }
      }
    }

    img {
      margin-right: 0;
    }

    .video-channel-buttons {
      align-self: center;
    }
  }
}

@media screen and (max-width: $mobile-view) {
  .video-channels-header {
    flex-direction: column;

    input[type=text] {
      width: 100% !important;
      margin-bottom: 12px;
    }
  }
}

@media screen and (min-width: breakpoint(lg)) {
  :host-context(.main-col:not(.expanded)) {
    .video-channel-buttons {
      float: right;
    }
  }
}

@media screen and (min-width: $small-view) {
  :host-context(.expanded) {
    .video-channel-buttons {
      float: right;
    }
  }
}