Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
.modal.import-provider-dialog {
/* Each region (provider picker, file upload, options) is its own card, like the delete dialog. */
.tn-card {
margin-bottom: 1rem;
}
.tn-card:last-child {
margin-bottom: 0;
}
/* Local file import is grouped on its own, full-width, beneath the service grid. */
.import-provider-local {
display: flex;
flex-direction: column;
gap: 0.75em;
margin-top: 1em;
padding-top: 1em;
border-top: 1px solid var(--main-border-color);
}
.import-files-description {
margin-bottom: 0.75em;
color: var(--muted-text-color);
}
/* Collapsed-by-default options: the section header toggles the option rows below. */
.import-options-toggle {
display: flex;
align-items: center;
gap: 0.5em;
cursor: pointer;
font-weight: 600;
}
/* Some option descriptions carry rich HTML (e.g. multi-paragraph hints); keep them tight. */
.option-row-description p {
margin: 0;
}
.option-row-description p:not(:first-child) {
margin-top: 0.4em;
}
.import-provider-hint {
color: var(--muted-text-color);
text-align: center;
margin: 1.5em 0;
}
.onenote-account {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1em;
padding-bottom: 0.75em;
border-bottom: 1px solid var(--main-border-color);
}
/* Refresh + Disconnect stay grouped on the row's right edge. */
.onenote-account-actions {
display: flex;
align-items: center;
gap: 0.5em;
}
/* Secondary explanation under a message (e.g. why an account can look notebook-less). */
.onenote-hint {
color: var(--muted-text-color);
font-size: 0.9em;
}
.onenote-status {
display: flex;
align-items: center;
gap: 0.5em;
}
.onenote-device-signin {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.75em;
}
/* The code the user has to carry over to Microsoft's sign-in page: large, monospaced and
selectable so it is easy to read across windows or copy. */
.onenote-device-code {
font-family: var(--monospace-font-family, monospace);
font-size: 1.6em;
letter-spacing: 0.15em;
user-select: all;
padding: 0.25em 0.6em;
border: 1px solid var(--main-border-color);
border-radius: 6px;
background: var(--accented-background-color);
}
.onenote-device-actions {
display: flex;
align-items: center;
gap: 0.5em;
}
.onenote-notebooks {
max-height: 45vh;
overflow-y: auto;
/* Notebooks are the tree's roots; set them apart like the headings they replaced. */
> .checkbox-tree {
gap: 0.5em;
}
> .checkbox-tree > .checkbox-tree-container > .checkbox-tree-row .form-check-label {
font-weight: bold;
}
}
}