mirror of
https://github.com/zadam/trilium.git
synced 2026-02-12 16:54:24 +01:00
Some checks are pending
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / E2E tests on linux-arm64 (push) Waiting to run
playwright / E2E tests on linux-x64 (push) Waiting to run
114 lines
2.7 KiB
CSS
114 lines
2.7 KiB
CSS
/** Reduce the z-index of modals so that ckeditor popups are properly shown on top of it. */
|
|
body.popup-editor-open > .modal-backdrop { z-index: 998; }
|
|
body.popup-editor-open .popup-editor-dialog { z-index: 999; }
|
|
body.popup-editor-open .ck-clipboard-drop-target-line { z-index: 1000; }
|
|
|
|
body.desktop .modal.popup-editor-dialog .modal-dialog {
|
|
max-width: 75vw;
|
|
border-bottom-left-radius: var(--bs-modal-border-radius);
|
|
border-bottom-right-radius: var(--bs-modal-border-radius);
|
|
}
|
|
|
|
body.desktop .modal.popup-editor-dialog .modal-dialog {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.mobile .modal.popup-editor-dialog .modal-dialog {
|
|
max-width: min(var(--preferred-max-content-width), 95vw);
|
|
max-height: var(--tn-modal-max-height);
|
|
height: 100%;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .modal-content {
|
|
transition: background-color 250ms ease-in;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .modal-header .modal-title {
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .modal-header .title-row {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-block: 0;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .modal-header .note-title-widget {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .modal-body {
|
|
padding: 0;
|
|
height: 75vh;
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .title-row,
|
|
.modal.popup-editor-dialog .modal-title,
|
|
.modal.popup-editor-dialog .note-icon-widget {
|
|
height: 32px;
|
|
min-height: unset;
|
|
}
|
|
|
|
:root div.modal.popup-editor-dialog div.note-title-widget {
|
|
--note-title-padding-inline: 8px;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .note-icon-widget button.note-icon,
|
|
.modal.popup-editor-dialog .note-title-widget input.note-title {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .classic-toolbar-outer-container.visible {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.modal.popup-editor-dialog div.promoted-attributes-container {
|
|
margin-block: 0;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .classic-toolbar-widget {
|
|
position: sticky;
|
|
margin-inline: 8px;
|
|
top: 0;
|
|
inset-inline-start: 0;
|
|
inset-inline-end: 0;
|
|
background: var(--modal-background-color);
|
|
z-index: 998;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .note-detail {
|
|
width: 100%;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .note-detail.full-height {
|
|
flex-grow: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .note-detail-editable-text {
|
|
padding: 0 28px;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .note-detail-file {
|
|
padding: 0;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .note-detail-readonly-text {
|
|
padding: 1em;
|
|
}
|
|
|
|
.modal.popup-editor-dialog .note-detail-code-editor {
|
|
padding: 0;
|
|
|
|
& .cm-editor {
|
|
margin: 0;
|
|
border-radius: 0;
|
|
}
|
|
}
|