@import (reference) 'mongodb-compass/src/app/styles/index.less';

.document-preview {
  display: flex;
  align-items: center;
  overflow: auto;
  width: 100%;
  position: relative;

  &-documents {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    width: 100%;

    .no-documents {
      background-color: @palette__white;
      border: 1px solid @palette__gray--light-2;
      border-radius: 4px;
      box-shadow: 1px 1px 4px fade(@palette__black, 10%);
      width: 100%;
      height: 150px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: @palette__gray--dark-2;
      font-style: italic;
    }
  }

  &-document-card {
    flex: none;
    border: 1px solid @palette__gray--light-2;
    border-radius: 4px;
    box-shadow: 1px 1px 4px fade(@palette__black, 10%);
    width: 100%;
    height: 150px;
    overflow: scroll;
  }

  &-document-card::-webkit-scrollbar {
    display: none;
  }
}

.document-preview::-webkit-scrollbar {
  display: none;
}
