aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-main/buttons/button.component.scss
blob: 1a28dd981eb2c9951092969eaaea769e5457bde2 (plain) (tree)
1
2
3
4
5
6
7
8
9


                     
                                 




                        





                      

                                
                                           
 
 

















                                
 












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

my-small-loader ::ng-deep .root {
  display: inline-block;
  margin: 0 3px 0 0;
  width: 20px;
}

span[class$=-button] {
  > span {
    margin-left: 5px;
  }
}

.action-button {
  @include peertube-button-link;
  @include button-with-icon(21px, 0, -1px);
}

.orange-button {
  @include peertube-button;
  @include orange-button;
}

.orange-button-link {
  @include peertube-button-link;
  @include orange-button;
}

.grey-button {
  @include peertube-button;
  @include grey-button;
}

.grey-button-link {
  @include peertube-button-link;
  @include grey-button;
}

// In a table, try to minimize the space taken by this button
@media screen and (max-width: 1400px) {
  :host-context(td) {
    .action-button {
      padding: 0 13px;
    }

    .button-label {
      display: none;
    }
  }
}