Skip to content

Build your personal knowledge base with Trilium Notes

737 B
Raw Blame
.template-dropdown {
  .template-dropdown-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .template-dropdown-button {
    display: flex;
    align-items: center;
    gap: 0.4em;
    max-width: 100%;
    text-align: start;
  }
}

.template-pill {
  .template-pill-button {
    display: flex;
    align-items: center;
    gap: 0.3em;
    max-width: 100%;
    height: 1.6em;
    border: 1px solid var(--main-border-color);
    border-radius: 999px;
    padding-inline: 0.5em;
    background-color: transparent;
    color: var(--muted-text-color);
    font-size: 0.85em;
    line-height: 1;

    &:hover {
      border-color: var(--main-text-color);
      color: var(--main-text-color);
    }
  }
}