aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/comment/video-comment-add.component.scss
blob: b3725ab94aa170eeab0b069f627df2d2bf0a45bf (plain) (tree)
1
2
3
4
5
6
7
8
9


                     



                      

                      
                      
 
       
                          

                        
                       







                                             



                            

     

 
                  
                
                            


                             





                                         



                             
   









                                
 
 
                                      
                                     

                               



                            











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

form {
  margin-bottom: 30px;
}

.avatar-and-textarea {
  display: flex;
  margin-bottom: 10px;

  img {
    @include avatar(25px);

    vertical-align: top;
    margin-right: 10px;
  }

  .form-group {
    flex-grow: 1;
    margin: 0;

    textarea {
      @include peertube-textarea(100%, 60px);

      &:focus::placeholder {
        opacity: 0;
      }
    }
  }
}

.comment-buttons {
  display: flex;
  justify-content: flex-end;

  button {
    @include peertube-button;
    @include disable-outline;
    @include disable-default-a-behaviour;

    &:not(:last-child) {
      margin-right: .5rem;
    }

    &:last-child {
      @include orange-button;
    }
  }

  .cancel-button {
    @include tertiary-button;

    font-weight: $font-semibold;
    display: inline-block;
    padding: 0 10px 0 10px;
    white-space: nowrap;
    background: transparent;
  }
}

@media screen and (max-width: 600px) {
  textarea, .comment-buttons button {
    font-size: 14px !important;
  }

  textarea {
    padding: 5px !important;
  }
}

.modal-body {
  .btn {
    @include peertube-button;
    @include orange-button;
  }

  span {
    float: left;
    margin-bottom: 20px;
  }
}