Skip to content

A platform for community discussion. Free, open, simple.

1.4 KB
Raw Blame
.d-modal.user-notes-modal {
  .d-modal__container {
    width: 100%;
  }

  .form-kit__control-textarea {
    max-width: 100%;
    min-width: 100%;
  }

  .posted-by {
    width: 40px;
    float: left;
  }

  .note-contents {
    overflow: hidden;

    .cooked {
      margin-top: 0.5em;
    }

    .username {
      font-weight: bold;
    }

    p {
      margin: 0 0 1em 0;
    }
  }

  .user-note {
    border-top: 1px solid var(--primary-low);
    padding-top: 1em;

    &:first-of-type {
      margin-top: 1em;
    }
  }

  .note-info {
    display: flex;
    justify-content: space-between;
  }

  .post-date {
    flex-grow: 1;
    margin-left: 0.5em;
  }

  .show-reviewable {
    margin-right: 0.5em;
  }

  .show-post {
    margin-bottom: var(--space-4);
  }
}

.show-user-notes-on-flags {
  display: inline-block;

  button {
    display: inline;
    padding: 0;
  }
}

.show-user-notes-on-card {
  button {
    display: inline;
    padding: 0;
  }
}

.user-notes-icon {
  .mobile-view & {
    order: 2;
    margin-left: 10px;
  }
  cursor: pointer;
}

.admin-report.user-notes {
  grid-column: span 12;

  .admin-report-table {
    table-layout: auto;

    tbody tr td,
    thead tr th {
      text-align: left;
    }

    thead tr th.note,
    tbody tr td.note {
      width: 60%;
    }
  }
}

.add-user-note {
  border-top: 1px solid var(--content-border-color);

  &:hover {
    border-top: 1px solid var(--content-border-color);
  }
}