@import "variables";

$filePreviewToolbarHeight: 60px;

link-preview-container {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;

  &.folder-link {
    background-color: mat-color($app-background, card);
  }

  &.file-link {
    background-color: rgba(0,0,0,0.9);
  }

  preview-container {
    margin: $filePreviewToolbarHeight 0;
    min-height: calc(100% - #{$filePreviewToolbarHeight * 2});
  }

  .file-preview-vert-host {
    margin-top: 80px;
  }
}
