aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-main/account/video-avatar-channel.component.scss
blob: 4998e85faa77e120832676298df550e2e0077843 (plain) (tree)
1
2
3
4
5
6
7
8
9


                  



                       

                     
                     
 


                 
                       

   









                             
                                    
                       



                            




                        
                                                  

                               
                                                  

   
@import '_mixins';

.wrapper {
  $avatar-size: 35px;

  width: $avatar-size;
  height: $avatar-size;
  position: relative;
  margin-right: 5px;
  margin-bottom: 5px;

  &.avatar-sm {
    width: 28px;
    height: 28px;
    margin-bottom: 3px;
  }

  a {
    @include disable-outline;
  }

  a img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    border-radius: 5px;

    &:not(.channel-avatar) {
      border-radius: 50%;
    }
  }

  a:nth-of-type(2) img {
    height: 60%;
    width: 60%;
    border: 2px solid pvar(--mainBackgroundColor);
    transform: translateX(15%);
    position: relative;
    background-color: pvar(--mainBackgroundColor);
  }
}