mirror of
https://github.com/erikars/task-list-kanban.git
synced 2026-07-22 10:20:32 +00:00
Replace the focused-column add-card command with a global modal that lets users choose board, column, and scoped target file. Assisted-by: Codex <codex@openai.com>
1421 lines
33 KiB
CSS
1421 lines
33 KiB
CSS
/*
|
|
|
|
This CSS file will be included with your plugin, and
|
|
available in the app when your plugin is enabled.
|
|
|
|
If your plugin does not need CSS, delete this file.
|
|
|
|
*/
|
|
|
|
.setting-item.column {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.setting-item.column .setting-item-control {
|
|
margin-top: var(--size-4-2);
|
|
}
|
|
|
|
.setting-item.column .setting-item-control > input {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Kanban filter surface
|
|
Svelte 5 emits component CSS with low-specificity :where() selectors.
|
|
Obsidian themes and other plugins often style plain input/button/select
|
|
elements more strongly, so keep the always-visible search bar and its
|
|
expanded editor protected behind the view's root class. */
|
|
.task-list-kanban-view .board-toolbar {
|
|
position: relative !important;
|
|
z-index: 120 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
gap: var(--size-2-2) !important;
|
|
width: 100% !important;
|
|
max-width: min(1120px, calc(100% - var(--size-4-8))) !important;
|
|
margin: 0 auto var(--size-4-2) auto !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .board-content {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.task-list-kanban-view .view-control,
|
|
.task-list-kanban-view .settings-control {
|
|
position: relative !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
flex: 0 0 auto !important;
|
|
width: auto !important;
|
|
height: 42px !important;
|
|
min-height: 0 !important;
|
|
margin: 0 !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.task-list-kanban-view .view-editor-popover {
|
|
position: absolute !important;
|
|
top: calc(100% + 8px) !important;
|
|
z-index: 200 !important;
|
|
box-sizing: border-box !important;
|
|
width: max-content !important;
|
|
overflow: auto !important;
|
|
}
|
|
|
|
.task-list-kanban-view .view-editor-toggle {
|
|
box-sizing: border-box !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
gap: var(--size-2-2) !important;
|
|
height: 42px !important;
|
|
min-height: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 var(--size-4-3) !important;
|
|
border: var(--input-border-width, 1px) solid var(--background-modifier-border) !important;
|
|
border-radius: 999px !important;
|
|
background: var(--background-primary) !important;
|
|
box-shadow: var(--shadow-s) !important;
|
|
color: var(--text-normal) !important;
|
|
font-size: var(--font-ui-small) !important;
|
|
font-weight: 600 !important;
|
|
line-height: 1 !important;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.task-list-kanban-view .settings-control .clickable-icon {
|
|
box-sizing: border-box !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
width: 42px !important;
|
|
height: 42px !important;
|
|
min-width: 42px !important;
|
|
min-height: 42px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border-radius: 999px !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-bar-container {
|
|
position: relative !important;
|
|
z-index: 100 !important;
|
|
flex: 1 1 auto !important;
|
|
width: auto !important;
|
|
min-width: 0 !important;
|
|
max-width: none !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-bar {
|
|
box-sizing: border-box !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: var(--size-2-3) !important;
|
|
width: 100% !important;
|
|
height: 42px !important;
|
|
min-height: 0 !important;
|
|
padding: 0 var(--size-2-3) 0 var(--size-4-3) !important;
|
|
background: var(--background-primary) !important;
|
|
border: var(--input-border-width, 1px) solid var(--background-modifier-border) !important;
|
|
border-radius: 999px !important;
|
|
box-shadow: var(--shadow-s) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-bar:focus-within {
|
|
box-shadow: 0 0 0 2px var(--background-modifier-border-focus) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-bar input.filter-bar-input {
|
|
flex: 1 1 auto !important;
|
|
width: auto !important;
|
|
min-width: 0 !important;
|
|
height: 100% !important;
|
|
min-height: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
color: var(--text-normal) !important;
|
|
font-size: var(--font-ui-medium) !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-bar input.filter-bar-input:focus,
|
|
.task-list-kanban-view .filter-bar input.filter-bar-input:focus-visible {
|
|
border: 0 !important;
|
|
box-shadow: none !important;
|
|
outline: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-bar-clear,
|
|
.task-list-kanban-view .filter-bar-expand {
|
|
flex: 0 0 auto !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
min-width: 30px !important;
|
|
min-height: 30px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
border-radius: 999px !important;
|
|
box-shadow: none !important;
|
|
color: var(--text-muted) !important;
|
|
cursor: pointer !important;
|
|
font-size: 18px !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-bar-clear:hover,
|
|
.task-list-kanban-view .filter-bar-expand:hover,
|
|
.task-list-kanban-view .filter-bar-clear:focus-visible,
|
|
.task-list-kanban-view .filter-bar-expand:focus-visible {
|
|
background: var(--background-modifier-hover) !important;
|
|
color: var(--text-normal) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor {
|
|
box-sizing: border-box !important;
|
|
position: absolute !important;
|
|
top: 100% !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
z-index: 200 !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: var(--size-4-3) !important;
|
|
max-height: min(70vh, 720px) !important;
|
|
margin-top: var(--size-2-1) !important;
|
|
padding: var(--size-4-4) !important;
|
|
overflow-y: auto !important;
|
|
background: var(--background-primary) !important;
|
|
border: 1px solid var(--background-modifier-border) !important;
|
|
border-radius: var(--radius-m) !important;
|
|
box-shadow: var(--shadow-s) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .editor-section {
|
|
display: grid !important;
|
|
grid-template-columns: 72px minmax(0, 1fr) !important;
|
|
gap: var(--size-2-3) !important;
|
|
align-items: start !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .section-label,
|
|
.task-list-kanban-view .filter-editor .saved-toggle {
|
|
color: var(--text-muted) !important;
|
|
font-size: var(--font-ui-small) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .section-rows {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: var(--size-2-2) !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .editor-row,
|
|
.task-list-kanban-view .filter-editor .save-row,
|
|
.task-list-kanban-view .filter-editor .date-condition-row {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: var(--size-2-2) !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .suggestion-anchor {
|
|
position: relative !important;
|
|
display: flex !important;
|
|
flex: 1 1 auto !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor input.text-input,
|
|
.task-list-kanban-view .filter-editor input[type="date"],
|
|
.task-list-kanban-view .filter-editor select.dropdown {
|
|
box-sizing: border-box !important;
|
|
min-width: 0 !important;
|
|
height: auto !important;
|
|
min-height: 0 !important;
|
|
margin: 0 !important;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
border-bottom: 1px solid var(--background-modifier-border) !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
color: var(--text-normal) !important;
|
|
font-size: var(--font-ui-small) !important;
|
|
line-height: 1.4 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor input.text-input {
|
|
flex: 1 1 auto !important;
|
|
width: 100% !important;
|
|
padding: var(--size-2-2) 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor select.dropdown {
|
|
flex: 0 1 auto !important;
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor input.text-input:focus,
|
|
.task-list-kanban-view .filter-editor input.text-input:focus-visible,
|
|
.task-list-kanban-view .filter-editor input[type="date"]:focus,
|
|
.task-list-kanban-view .filter-editor input[type="date"]:focus-visible,
|
|
.task-list-kanban-view .filter-editor select.dropdown:focus,
|
|
.task-list-kanban-view .filter-editor select.dropdown:focus-visible {
|
|
border-bottom-color: var(--interactive-accent) !important;
|
|
box-shadow: none !important;
|
|
outline: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor button {
|
|
min-height: 0 !important;
|
|
margin: 0 !important;
|
|
box-shadow: none !important;
|
|
cursor: pointer !important;
|
|
font-size: var(--font-ui-small) !important;
|
|
line-height: 1.2 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .row-remove,
|
|
.task-list-kanban-view .filter-editor .add-row-btn,
|
|
.task-list-kanban-view .filter-editor .saved-toggle,
|
|
.task-list-kanban-view .filter-editor .editor-clear-btn {
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
color: var(--text-muted) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .row-remove {
|
|
flex: 0 0 auto !important;
|
|
width: 28px !important;
|
|
height: 28px !important;
|
|
padding: 0 !important;
|
|
border-radius: 999px !important;
|
|
font-size: 18px !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .add-row-btn,
|
|
.task-list-kanban-view .filter-editor .saved-toggle {
|
|
align-self: flex-start !important;
|
|
padding: var(--size-2-1) 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .save-filter-btn {
|
|
flex: 0 0 auto !important;
|
|
padding: var(--size-2-2) var(--size-4-3) !important;
|
|
background: transparent !important;
|
|
border: 1px solid var(--background-modifier-border) !important;
|
|
border-radius: 999px !important;
|
|
color: var(--text-muted) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .date-value-toggle {
|
|
display: inline-flex !important;
|
|
align-items: stretch !important;
|
|
overflow: hidden !important;
|
|
background: var(--background-modifier-form-field, var(--background-primary)) !important;
|
|
border: var(--input-border-width, 1px) solid var(--background-modifier-border) !important;
|
|
border-radius: var(--input-radius) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .date-value-toggle button {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
padding: var(--size-2-2) var(--size-2-3) !important;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
color: var(--text-muted) !important;
|
|
font-size: var(--font-ui-smaller) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .date-value-toggle button + button {
|
|
border-left: var(--input-border-width, 1px) solid var(--background-modifier-border) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .date-value-toggle button.active,
|
|
.task-list-kanban-view .filter-editor .editor-search-btn {
|
|
background: var(--interactive-accent) !important;
|
|
color: var(--text-on-accent) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .editor-actions {
|
|
display: flex !important;
|
|
justify-content: flex-end !important;
|
|
gap: var(--size-2-3) !important;
|
|
padding-top: var(--size-2-3) !important;
|
|
border-top: 1px solid var(--background-modifier-border) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .editor-clear-btn,
|
|
.task-list-kanban-view .filter-editor .editor-search-btn {
|
|
padding: var(--size-2-2) var(--size-4-3) !important;
|
|
border: 0 !important;
|
|
border-radius: 999px !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .editor-search-btn {
|
|
padding-right: var(--size-4-5) !important;
|
|
padding-left: var(--size-4-5) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .saved-filter-list {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: var(--size-2-1) !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
list-style: none !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .saved-filter-list li {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: var(--size-2-1) !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .saved-filter-name {
|
|
display: block !important;
|
|
flex: 1 1 auto !important;
|
|
min-width: 0 !important;
|
|
padding: var(--size-2-1) var(--size-2-2) !important;
|
|
overflow: hidden !important;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
border-radius: var(--radius-s) !important;
|
|
color: var(--text-normal) !important;
|
|
text-align: left !important;
|
|
text-overflow: ellipsis !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .row-remove:hover,
|
|
.task-list-kanban-view .filter-editor .add-row-btn:hover,
|
|
.task-list-kanban-view .filter-editor .saved-toggle:hover,
|
|
.task-list-kanban-view .filter-editor .editor-clear-btn:hover,
|
|
.task-list-kanban-view .filter-editor .save-filter-btn:hover:not(:disabled),
|
|
.task-list-kanban-view .filter-editor .saved-filter-name:hover,
|
|
.task-list-kanban-view .filter-editor .date-value-toggle button:hover {
|
|
background: var(--background-modifier-hover) !important;
|
|
color: var(--text-normal) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .row-remove:hover {
|
|
color: var(--color-red) !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-editor .save-filter-btn:disabled {
|
|
opacity: 0.5 !important;
|
|
cursor: default !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-suggestions {
|
|
box-sizing: border-box !important;
|
|
position: absolute !important;
|
|
top: 100% !important;
|
|
right: 0 !important;
|
|
left: 0 !important;
|
|
z-index: 300 !important;
|
|
max-height: 240px !important;
|
|
margin: var(--size-2-1) 0 0 0 !important;
|
|
padding: var(--size-2-1) !important;
|
|
overflow-y: auto !important;
|
|
background: var(--background-primary) !important;
|
|
border: 1px solid var(--background-modifier-border) !important;
|
|
border-radius: var(--radius-m) !important;
|
|
box-shadow: var(--shadow-s) !important;
|
|
list-style: none !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-suggestions li {
|
|
display: flex !important;
|
|
align-items: baseline !important;
|
|
gap: var(--size-2-3) !important;
|
|
padding: var(--size-2-2) var(--size-2-3) !important;
|
|
border-radius: var(--radius-s) !important;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.task-list-kanban-view .filter-suggestions li:hover,
|
|
.task-list-kanban-view .filter-suggestions li.selected {
|
|
background: var(--background-modifier-hover) !important;
|
|
}
|
|
|
|
/* Settings modal shell */
|
|
.task-list-kanban-settings-modal-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
width: min(1120px, calc(100vw - 48px));
|
|
max-width: 1120px;
|
|
}
|
|
|
|
.task-list-kanban-settings-modal {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.settings-scroll-wrapper {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* Settings header */
|
|
.settings-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding-bottom: 14px;
|
|
margin-bottom: 0;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.settings-header h1 {
|
|
margin: 0;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.settings-header-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 24px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.settings-status-pill {
|
|
--settings-pill-color: var(--text-muted);
|
|
--settings-pill-background: transparent;
|
|
--settings-pill-border: transparent;
|
|
|
|
display: none;
|
|
align-items: center;
|
|
max-width: min(520px, calc(100vw - 180px));
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
color: var(--settings-pill-color);
|
|
background: var(--settings-pill-background);
|
|
border: 1px solid var(--settings-pill-border);
|
|
font-size: var(--font-ui-smaller);
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.settings-status-pill.is-visible {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.settings-status-pill-validation {
|
|
--settings-pill-color: var(--text-error);
|
|
--settings-pill-background: rgba(var(--background-modifier-error-rgb), 0.14);
|
|
--settings-pill-border: color-mix(in srgb, var(--background-modifier-error) 75%, transparent);
|
|
}
|
|
|
|
.settings-status-pill-dirty {
|
|
--settings-pill-color: var(--text-accent);
|
|
--settings-pill-background: color-mix(in srgb, var(--interactive-accent) 12%, transparent);
|
|
--settings-pill-border: color-mix(in srgb, var(--interactive-accent) 35%, transparent);
|
|
}
|
|
|
|
.settings-button-bar {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 0 0;
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.task-list-kanban-confirm-modal {
|
|
min-width: min(420px, calc(100vw - 64px));
|
|
}
|
|
|
|
.task-list-kanban-confirm-modal h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.confirm-modal-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal-container {
|
|
width: min(680px, calc(100vw - 48px));
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .create-card-setting {
|
|
display: grid;
|
|
grid-template-columns: 120px minmax(0, 1fr);
|
|
gap: 14px;
|
|
align-items: start;
|
|
padding: 10px 0;
|
|
border-top: 0;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .create-card-setting .setting-item-info {
|
|
width: auto;
|
|
min-width: 0;
|
|
margin-right: 0;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .create-card-setting .setting-item-control {
|
|
width: 100%;
|
|
min-width: 0;
|
|
justify-content: stretch;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .create-card-text,
|
|
.task-list-kanban-create-card-modal .create-card-select {
|
|
width: 100%;
|
|
max-width: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .create-card-text {
|
|
min-height: 112px;
|
|
resize: vertical;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .confirm-modal-actions {
|
|
margin-top: 22px;
|
|
padding-top: 14px;
|
|
border-top: var(--border-width) solid var(--background-modifier-border);
|
|
}
|
|
|
|
.settings-body {
|
|
display: grid;
|
|
grid-template-columns: 180px minmax(0, 1fr);
|
|
gap: 24px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.settings-nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 2px 0 12px;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
border-right: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.settings-nav button {
|
|
justify-content: flex-start;
|
|
width: calc(100% - 14px);
|
|
height: auto;
|
|
min-height: 32px;
|
|
padding: 6px 10px;
|
|
border-radius: var(--radius-s);
|
|
color: var(--text-muted);
|
|
background: transparent;
|
|
box-shadow: none;
|
|
font-size: var(--font-ui-small);
|
|
font-weight: 600;
|
|
text-align: left;
|
|
}
|
|
|
|
.settings-nav button:hover,
|
|
.settings-nav button:focus-visible {
|
|
color: var(--text-normal);
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.settings-content {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
min-height: 0;
|
|
padding: 0 2px 12px 0;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.global-board-defaults-editor {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.task-list-kanban-global-settings > h2,
|
|
.task-list-kanban-global-settings > .setting-item-description,
|
|
.task-list-kanban-global-settings .setting-item-heading,
|
|
.task-list-kanban-settings-inline .settings-header,
|
|
.task-list-kanban-settings-inline .settings-header h2,
|
|
.task-list-kanban-settings-inline .settings-section-header,
|
|
.task-list-kanban-settings-inline .settings-section-header h2 {
|
|
margin-left: 0 !important;
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-global-settings > h2 {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
.task-list-kanban-global-settings > .setting-item,
|
|
.task-list-kanban-global-settings > .setting-item-description {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.task-list-kanban-settings-inline .settings-scroll-wrapper {
|
|
display: block;
|
|
overflow: visible;
|
|
min-height: 0;
|
|
}
|
|
|
|
.task-list-kanban-settings-inline .settings-header {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.task-list-kanban-settings-inline .settings-header h2 {
|
|
margin: 0;
|
|
font-size: 1.35em;
|
|
}
|
|
|
|
.task-list-kanban-settings-inline .settings-body-inline {
|
|
display: block;
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.task-list-kanban-settings-inline .settings-content {
|
|
overflow: visible;
|
|
padding: 0;
|
|
}
|
|
|
|
.settings-section {
|
|
padding-bottom: 22px;
|
|
scroll-margin-top: 10px;
|
|
}
|
|
|
|
.settings-section + .settings-section {
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.settings-section-header {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.settings-section-header h2 {
|
|
margin: 0 0 4px;
|
|
font-size: 1.35em;
|
|
}
|
|
|
|
.settings-section-header .setting-item-description {
|
|
margin: 0;
|
|
max-width: 760px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.settings-section-header-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.settings-section-header-row h2 {
|
|
margin: 0 0 4px;
|
|
font-size: 1.35em;
|
|
}
|
|
|
|
/* Inherited-vs-overridden indicator (SPEC 0030 Phase 4). Reads as small
|
|
bold text, not a button: Obsidian's default button chrome is stripped
|
|
and the flex sizing pinned so row layouts can't stretch it. */
|
|
.settings-override-chip {
|
|
appearance: none;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
height: auto;
|
|
flex: 0 0 auto;
|
|
align-self: center;
|
|
width: auto;
|
|
color: var(--text-faint);
|
|
cursor: pointer;
|
|
font-size: var(--font-smallest);
|
|
font-weight: var(--font-semibold, 600);
|
|
line-height: 1.4;
|
|
margin-left: 8px;
|
|
padding: 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.settings-override-chip:hover {
|
|
background: none;
|
|
box-shadow: none;
|
|
color: var(--text-muted);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.settings-override-chip.is-overridden {
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
/* The section-level reset shares the chip's text styling; it sits right
|
|
after the section title and dims when nothing in the section is
|
|
overridden. */
|
|
.settings-section-reset {
|
|
flex: 0 0 auto;
|
|
margin-left: 0;
|
|
color: var(--text-normal);
|
|
/* A step above the item-level chips, still well below the h2, so the
|
|
section action reads as the top of the reset hierarchy. */
|
|
font-size: var(--font-small, 0.875em);
|
|
}
|
|
|
|
.settings-section-reset:hover:not(:disabled) {
|
|
color: var(--text-normal);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.settings-section-reset:disabled {
|
|
color: var(--text-faint);
|
|
cursor: default;
|
|
text-decoration: none;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.settings-section-body > .setting-item:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.settings-subsection {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* Column editor layout */
|
|
.column-editor-section {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.column-editor-intro {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.column-editor-intro .setting-item-description {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.column-editor-controls button {
|
|
height: 30px;
|
|
padding: 4px 10px;
|
|
font-size: var(--font-ui-smaller);
|
|
}
|
|
|
|
.column-editor-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.column-editor-row {
|
|
display: flex;
|
|
position: relative;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
background: var(--background-primary);
|
|
transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
|
|
overflow: visible;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-editor-row.is-bookend {
|
|
align-items: center;
|
|
}
|
|
|
|
.column-editor-row-content {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-editor-row:hover {
|
|
border-color: color-mix(in srgb, var(--background-modifier-border) 55%, var(--text-muted));
|
|
background: color-mix(in srgb, var(--background-primary) 92%, var(--background-modifier-hover));
|
|
}
|
|
|
|
.column-editor-row:focus-within {
|
|
border-color: var(--background-modifier-border-focus);
|
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--background-modifier-border-focus) 45%, transparent);
|
|
}
|
|
|
|
.column-editor-row.is-drop-target {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.column-editor-row.is-dragging {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.column-editor-row.is-drop-before::before,
|
|
.column-editor-row.is-drop-after::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 8px;
|
|
right: 8px;
|
|
height: 2px;
|
|
background: var(--interactive-accent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.column-editor-row.is-drop-before::after,
|
|
.column-editor-row.is-drop-after::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 4px;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: var(--interactive-accent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.column-editor-row.is-drop-before::before {
|
|
top: -2px;
|
|
}
|
|
|
|
.column-editor-row.is-drop-before::after {
|
|
top: -6px;
|
|
}
|
|
|
|
.column-editor-row.is-drop-after::before {
|
|
bottom: -2px;
|
|
}
|
|
|
|
.column-editor-row.is-drop-after::after {
|
|
bottom: -6px;
|
|
}
|
|
|
|
.column-editor-handle,
|
|
.column-editor-handle-spacer {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex: 0 0 20px;
|
|
}
|
|
|
|
.column-editor-handle {
|
|
cursor: grab;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
opacity: 0.7;
|
|
padding: 0;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.column-editor-handle:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.column-editor-fields {
|
|
display: flex;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-editor-summary {
|
|
display: grid;
|
|
grid-template-columns: minmax(180px, 1fr) 24px minmax(150px, auto);
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.column-editor-row.is-bookend .column-editor-summary {
|
|
/* The trailing auto column holds the override chip; it collapses to
|
|
nothing in the global-defaults editor where no chip is rendered. */
|
|
grid-template-columns: minmax(180px, 1fr) minmax(150px, auto) auto;
|
|
}
|
|
|
|
.column-editor-summary > .settings-override-chip {
|
|
justify-self: start;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.column-editor-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 24px;
|
|
max-width: 180px;
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-s);
|
|
color: var(--text-muted);
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
font-size: var(--font-ui-smaller);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.column-editor-popover-anchor {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-editor-match-anchor {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.column-editor-popover {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
z-index: 20;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
background: var(--background-primary);
|
|
box-shadow: var(--shadow-s);
|
|
}
|
|
|
|
.column-editor-color-popover {
|
|
left: 50%;
|
|
width: 230px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.column-editor-match-popover {
|
|
right: 0;
|
|
width: min(360px, calc(100vw - 64px));
|
|
}
|
|
|
|
.column-editor-popover-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-editor-summary-button {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.column-editor-summary-button:hover,
|
|
.column-editor-summary-button:focus-visible {
|
|
color: var(--text-normal);
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.column-editor-fields.column-editor-fields-inline {
|
|
align-items: center;
|
|
flex: 1 1 auto;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
padding: 1px 0 2px;
|
|
}
|
|
|
|
.column-editor-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
.column-editor-fields.column-editor-fields-inline .column-editor-field {
|
|
align-self: center;
|
|
}
|
|
|
|
.column-editor-field input,
|
|
.column-editor-field select {
|
|
margin: 0;
|
|
}
|
|
|
|
.column-editor-field .setting-input,
|
|
.column-editor-field select {
|
|
height: 34px;
|
|
}
|
|
|
|
.column-editor-field-label {
|
|
flex: 1 1 220px;
|
|
min-width: 180px;
|
|
}
|
|
|
|
.column-editor-field-label .setting-input {
|
|
width: 100%;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.column-editor-field-label .setting-input:focus {
|
|
text-overflow: clip;
|
|
}
|
|
|
|
.column-editor-field-tag {
|
|
flex: 1 1 260px;
|
|
min-width: 0;
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.column-editor-tag-select-host {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow: visible;
|
|
}
|
|
|
|
.column-editor-field-match,
|
|
.column-editor-field-visibility,
|
|
.column-editor-field-status {
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
.column-editor-field-match select {
|
|
width: auto;
|
|
min-width: 0;
|
|
padding-left: 10px;
|
|
padding-right: 28px;
|
|
}
|
|
|
|
.column-editor-field-visibility select {
|
|
min-width: 150px;
|
|
}
|
|
|
|
.column-editor-field-status select {
|
|
min-width: 120px;
|
|
}
|
|
|
|
.column-editor-field-status .setting-input {
|
|
width: 84px;
|
|
}
|
|
|
|
.column-editor-field-status .setting-input:not(.is-visible) {
|
|
display: none;
|
|
}
|
|
|
|
.column-editor-inline-label {
|
|
flex: 0 0 auto;
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.column-editor-field-color .setting-input {
|
|
width: 96px;
|
|
}
|
|
|
|
.column-editor-color-swatch {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background-color: var(--column-editor-swatch-color, transparent) !important;
|
|
background-image: repeating-conic-gradient(
|
|
from 45deg,
|
|
var(--background-primary) 0deg 90deg,
|
|
var(--background-secondary) 90deg 180deg
|
|
);
|
|
background-blend-mode: overlay;
|
|
flex: 0 0 18px;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.column-editor-summary-swatch {
|
|
justify-self: center;
|
|
}
|
|
|
|
.column-editor-color-swatch.has-color {
|
|
border-color: color-mix(in srgb, var(--background-modifier-border) 40%, var(--text-normal));
|
|
background-image: none;
|
|
}
|
|
|
|
.column-editor-color-picker {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
width: 0;
|
|
height: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.column-editor-rename-option {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
white-space: nowrap;
|
|
flex: 0 0 auto;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.column-editor-rename-option input,
|
|
.column-editor-rename-option label {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.column-editor-remove-rail {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: auto;
|
|
flex: 0 0 20px;
|
|
width: 20px;
|
|
}
|
|
|
|
.column-editor-remove-rail > button {
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-faint);
|
|
opacity: 0.75;
|
|
transition: color 140ms ease, background-color 140ms ease, opacity 140ms ease;
|
|
}
|
|
|
|
.column-editor-remove-rail > button:hover {
|
|
color: var(--text-muted);
|
|
background: var(--background-modifier-hover);
|
|
opacity: 1;
|
|
}
|
|
|
|
.column-editor-controls {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* Responsive layout */
|
|
@media (max-width: 900px) {
|
|
.task-list-kanban-settings-modal-container {
|
|
width: min(920px, calc(100vw - 24px));
|
|
}
|
|
|
|
.settings-body {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.settings-nav {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 4;
|
|
flex-direction: row;
|
|
gap: 6px;
|
|
overflow-x: auto;
|
|
padding: 0 0 10px;
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
background: var(--background-primary);
|
|
}
|
|
|
|
.settings-nav button {
|
|
width: auto;
|
|
flex: 0 0 auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .create-card-setting {
|
|
grid-template-columns: 1fr;
|
|
gap: 6px;
|
|
}
|
|
|
|
.task-list-kanban-create-card-modal .create-card-setting .setting-item-info {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.column-editor-summary {
|
|
grid-template-columns: minmax(160px, 1fr) auto auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.column-editor-row {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.column-editor-intro,
|
|
.column-editor-summary,
|
|
.column-editor-fields.column-editor-fields-inline,
|
|
.column-editor-field {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.column-editor-intro {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.column-editor-summary {
|
|
display: flex;
|
|
}
|
|
|
|
.column-editor-row.is-bookend .column-editor-summary {
|
|
display: flex;
|
|
}
|
|
|
|
.column-editor-fields.column-editor-fields-inline {
|
|
gap: 12px;
|
|
}
|
|
|
|
.column-editor-field-label,
|
|
.column-editor-field-tag,
|
|
.column-editor-field-match,
|
|
.column-editor-field-visibility,
|
|
.column-editor-field-status,
|
|
.column-editor-field-color {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.column-editor-field-tag,
|
|
.column-editor-tag-select-host {
|
|
width: 100%;
|
|
}
|
|
|
|
.column-editor-popover-anchor,
|
|
.column-editor-popover,
|
|
.column-editor-popover-field {
|
|
width: 100%;
|
|
}
|
|
|
|
.column-editor-popover {
|
|
position: static;
|
|
transform: none;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.column-editor-field-match select,
|
|
.column-editor-field-visibility select,
|
|
.column-editor-field-status select,
|
|
.column-editor-field-status .setting-input,
|
|
.column-editor-field-color .setting-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.column-editor-pill {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Shared add/remove string-list editors in the settings modal */
|
|
.settings-list-add-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.settings-list-add-row input[type="text"] {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.settings-list-indent {
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.settings-list-block {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.settings-list-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 4px 8px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.settings-list-label {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.settings-list-label-mono {
|
|
font-family: var(--font-monospace);
|
|
font-size: var(--font-ui-smaller);
|
|
}
|
|
|
|
.settings-list-note {
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
font-size: var(--font-smallest);
|
|
}
|
|
|
|
.settings-list-note.is-warning {
|
|
color: var(--text-error);
|
|
}
|
|
|
|
.settings-list-remove-icon {
|
|
margin-left: 8px;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
.settings-list-remove-text {
|
|
padding: 2px 8px;
|
|
font-size: var(--font-ui-smaller);
|
|
}
|
|
|
|
.settings-subsection {
|
|
margin-bottom: 12px;
|
|
}
|