@import 'src/assets/styles/responsive-base.scss';

:host {
  display: block;
  margin: 28px 0 60px 0;
}

.result-row-mobile {
  display: none;
}
.result-row {
  display: flex;
}
.result-header {
  .file-name {
    flex: 1 1 auto;
    cursor: pointer;
    font-size: 20px;
    word-break: break-all;
  }

  .mdi {
    font-size: 20px;
    margin-right: 6px;
  }

  .mat-icon {
    font-size: 20px;
  }
}

.result-header-subdata {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;

  .resource-name {
    flex-grow: 1;
  }

  .file-size {
    margin-right: 8px;
  }
}

.result-footer {
  display: flex;
}

.drive-path ul {
  margin: 0;
  padding: 0px;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

.drive-path ul li {
  display: flex;
  cursor: pointer;
}

.drive-path ul li span {
  margin-right: 2px;
  word-break: break-all;
}

.drive-path ul li mat-icon {
  font-size: 18px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
}

.room-info {
  display: flex;
  margin-right: 8px;

  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
}

.result-snippet {
  margin-bottom: 8px;
  span {
    display: block;
    word-break: break-all;
    text-align: justify;
    margin-top: 8px;

    &:first-of-type {
      margin-top: 0;
    }
  }
}

app-avatar {
  width: 16px;
  height: 16px;
  margin: 0 6px 0 0;
}

.result-thumbnail {
  margin-right: 16px;
  width: 76px;
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  flex-shrink: 0;
}
.result-data {
  flex: 1 1 0;
  align-self: center;
}

.mdi-thumbnail {
  font-size: 80px;
  line-height: 80px;
}
