src/components/PageReplacementModal/FileListPanel/FileListPanel.scss
@import '../../../constants/modal.scss';

.FileListPanel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: var(--document-background-color);
  border-radius: 4px;

  ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 16px;
    height: 30em;
    width: 100%;

    li.selected {
      border: 1px solid #48a4e0;
    }

    li {
      background: var(--gray-1);
      border: 1px solid var(--blue-1);
      box-sizing: border-box;
      border-radius: 6px;
      width: 100%;
      height: 60px;
      margin: 4px 0;
      padding: 8px 10px;
      display: flex;
      flex-direction: row;
      cursor: pointer;

      &:hover {
        border: 1px solid #48a4e0;
      }

      .li-div {
        background: white;
        width: 42px;
        height: 100%;
        float: inline-start;
        border-radius: 4px;
        position: relative;
      }
      .li-div-img {
        position: absolute;
        inset-block-start: 50%;
        inset-inline-start: 50%;
        transform: translate(0px, -50%) translateX(-50%);
        width: 28px;
      }

      .li-div-img.with-border {
        height: 34px;
        border: 1px solid var(--blue-1);
      }
      .li-div-txt {
        margin-inline-start: 10px;
        line-height: 40px;
      }
    }
  }
}
