aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+admin/plugins/shared/plugin-list.component.scss
blob: 83030b7e0444eea559126747e51585c58bba29b7 (plain) (tree)
1
2
3
4
5
6
7
8
9


                     

                 
                                         

 
            

                      










                                


                      
 
                    
                                                            
 
                         
                                                             










                          


             

                                  





                                 





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

.plugin {
  margin: 15px 0;
  background-color: pvar(--submenuColor);
}

.first-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;

  .plugin-name {
    font-size: 16px;
    margin-right: 10px;
    font-weight: $font-semibold;
  }

  .plugin-version {
    opacity: 0.6;
  }

  .plugin-icon {
    margin-left: 10px;

    my-global-icon {
      @include apply-svg-color(pvar(--greyForegroundColor));

      &[iconName="npm"] {
        @include fill-svg-color(pvar(--greyForegroundColor));
      }
    }
  }

  .buttons {
    margin-left: auto;
    width: max-content;
    > *:not(:last-child) {
      margin-right: 10px;
    }
  }
}

.second-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: space-between;

  .description {
    opacity: 0.8
  }
}

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