d0d1_obsidian-move-to-new-f.../styles.css
David e37b7d8649 chore: address Obsidian scorecard findings
Prepare the 1.0.7 release by clearing actionable Community scorecard warnings, updating install documentation for the Community listing, and tightening release assets with provenance attestations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 22:14:15 -03:00

211 lines
4.9 KiB
CSS

.move-to-new-folder-modal {
width: min(640px, 92vw);
padding-left: 20px;
padding-right: 20px;
}
.move-to-new-folder-modal .modal-content {
padding-top: 0.25rem;
}
.move-to-new-folder-modal.move-to-new-folder-modal-mobile .modal-content {
max-height: min(78vh, 720px);
overflow-y: auto;
overscroll-behavior: contain;
padding-bottom: max(1rem, env(safe-area-inset-bottom));
}
.move-to-new-folder-modal .move-to-new-folder-layout {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.move-to-new-folder-modal .move-to-new-folder-hint {
color: var(--text-muted);
margin: 0;
line-height: 1.35;
}
.move-to-new-folder-modal .move-to-new-folder-sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.move-to-new-folder-modal .move-to-new-folder-search {
width: 100%;
}
.move-to-new-folder-modal .move-to-new-folder-section {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.move-to-new-folder-modal .move-to-new-folder-section-name {
order: 1;
gap: 0.5rem;
}
.move-to-new-folder-modal .move-to-new-folder-section-parent {
order: 2;
gap: 0.5rem;
margin-top: 0.5rem;
}
.move-to-new-folder-modal .move-to-new-folder-label {
color: var(--text-muted);
font-size: var(--font-ui-small);
font-weight: var(--font-medium);
padding-left: 0;
}
.move-to-new-folder-modal .move-to-new-folder-text-input {
width: 100%;
}
.move-to-new-folder-modal .move-to-new-folder-validation {
font-size: var(--font-ui-small);
line-height: 1.35;
color: var(--text-muted);
display: none;
}
.move-to-new-folder-modal .move-to-new-folder-validation.is-invalid {
display: block;
color: var(--text-error);
margin-top: 0.25rem;
margin-bottom: 0;
}
.move-to-new-folder-modal .move-to-new-folder-list {
max-height: 260px;
overflow-y: auto;
overflow-x: auto;
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-m);
padding: 0.25rem;
background: var(--background-primary-alt);
}
.move-to-new-folder-modal .move-to-new-folder-list:focus-visible {
outline: 2px solid color-mix(in srgb, var(--interactive-accent) 55%, transparent);
outline-offset: 2px;
}
.move-to-new-folder-modal.move-to-new-folder-modal-mobile .move-to-new-folder-list {
max-height: min(32vh, 220px);
}
.move-to-new-folder-modal .move-to-new-folder-item {
display: flex;
align-items: center;
justify-content: center;
width: max-content;
min-width: 100%;
box-sizing: border-box;
text-align: center;
white-space: nowrap;
border: 0;
background: transparent;
color: var(--text-normal);
border-radius: calc(var(--radius-m) - 2px);
padding: 0.5rem 0.65rem;
margin-left: 3px;
margin-right: 0;
cursor: pointer;
min-height: 2.5rem;
}
.move-to-new-folder-modal .move-to-new-folder-item-row {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
min-height: 100%;
}
.move-to-new-folder-modal .move-to-new-folder-item-label {
display: inline-flex;
align-items: center;
text-align: center;
}
.move-to-new-folder-modal .move-to-new-folder-item:hover {
background: var(--background-modifier-hover);
}
.move-to-new-folder-modal .move-to-new-folder-item.is-hovered:not(.is-selected) {
background: var(--background-modifier-hover);
}
.move-to-new-folder-modal .move-to-new-folder-item.is-selected {
background: color-mix(in srgb, var(--interactive-accent) 14%, var(--background-secondary));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--interactive-accent) 55%, transparent);
}
.move-to-new-folder-modal .move-to-new-folder-empty {
color: var(--text-muted);
padding: 0.75rem;
}
.move-to-new-folder-modal .move-to-new-folder-actions {
margin-top: 0.75rem;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
padding-top: 0;
padding-bottom: 0;
align-items: center;
}
.move-to-new-folder-modal .move-to-new-folder-actions .mod-cta {
background: color-mix(in srgb, var(--interactive-accent) 62%, black);
border-color: color-mix(in srgb, var(--interactive-accent) 55%, white 8%);
color: var(--text-on-accent, #ffffff);
}
.move-to-new-folder-modal .move-to-new-folder-actions .mod-cta:hover:not(:disabled),
.move-to-new-folder-modal .move-to-new-folder-actions .mod-cta:focus-visible:not(:disabled) {
background: color-mix(in srgb, var(--interactive-accent) 56%, black);
}
.move-to-new-folder-confirmation-modal {
width: min(480px, 90vw);
}
.move-to-new-folder-confirmation-modal .modal-content {
padding-top: 0.25rem;
}
.move-to-new-folder-confirmation-body {
display: flex;
flex-direction: column;
gap: 0.44rem;
}
.move-to-new-folder-confirmation-text {
margin: 0;
color: var(--text-normal);
line-height: 1.45;
}
.move-to-new-folder-confirmation-actions {
margin-top: 0.85rem;
display: grid;
grid-auto-flow: column;
justify-content: end;
align-items: center;
gap: 0.75rem;
}
.move-to-new-folder-confirmation-actions > button {
margin: 0;
}