@use '~@angular/material' as mat;
@mixin create-drive-dialog-mat($theme) {
  $color-config: mat-get-color-config($theme);
  $primary-color: mat.get-color-from-palette(map-get($color-config, primary));

  app-create-drive-dialog{
  
    .list-item:hover{
      background-color: rgba($primary-color, 0.2);
    }

    mat-list-item{ //can't write this rule in the component scss because the mat-list-item will be out of it's scope...
      .mat-list-text{
        padding-left: 8px !important;
      }
    }

    mat-dialog-content{
      margin-right: 0;
      max-height: auto;
      flex: 1 1 auto;
    }
    mat-dialog-actions, mat-dialog-content{
      margin:0;
    }
  }

}