451 lines
8.7 KiB
CSS
451 lines
8.7 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%;
|
|
}
|
|
|
|
/* Settings modal shell */
|
|
.task-list-kanban-settings-modal-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
width: min(860px, calc(100vw - 48px));
|
|
max-width: 860px;
|
|
}
|
|
|
|
.task-list-kanban-settings-modal {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.settings-scroll-wrapper {
|
|
flex: 1;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
padding-bottom: 8px;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
/* Settings header */
|
|
.settings-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
/* Column editor layout */
|
|
.column-editor-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.column-editor-intro {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
padding: 0 0 10px;
|
|
background: linear-gradient(to bottom, var(--background-primary) 0%, var(--background-primary) 82%, transparent 100%);
|
|
}
|
|
|
|
.column-editor-intro h2 {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.column-editor-intro .setting-item-description {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.column-editor-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 12px;
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.column-editor-row {
|
|
display: flex;
|
|
position: relative;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 8px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
background: transparent;
|
|
transition: background-color 140ms ease, box-shadow 140ms ease;
|
|
overflow: visible;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-editor-row-content {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.column-editor-row:hover {
|
|
background: color-mix(in srgb, var(--background-primary) 86%, var(--background-modifier-hover));
|
|
}
|
|
|
|
.column-editor-row:focus-within {
|
|
background: color-mix(in srgb, var(--background-primary) 82%, var(--background-modifier-hover));
|
|
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--background-modifier-border-focus) 55%, transparent),
|
|
inset 0 -1px 0 color-mix(in srgb, var(--background-modifier-border-focus) 55%, 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;
|
|
}
|
|
|
|
.column-editor-handle:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.column-editor-fields {
|
|
display: flex;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.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 180px;
|
|
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 {
|
|
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-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: 14px;
|
|
height: 14px;
|
|
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 14px;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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: 10px;
|
|
}
|
|
|
|
/* Responsive layout */
|
|
@media (max-width: 720px) {
|
|
.column-editor-row {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.column-editor-fields.column-editor-fields-inline,
|
|
.column-editor-field {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.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-color {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.column-editor-field-tag,
|
|
.column-editor-tag-select-host {
|
|
width: 100%;
|
|
}
|
|
|
|
.column-editor-field-match select,
|
|
.column-editor-field-visibility select,
|
|
.column-editor-field-color .setting-input {
|
|
width: 100%;
|
|
}
|
|
}
|