552 lines
8.6 KiB
CSS
552 lines
8.6 KiB
CSS
:root {
|
|
--bg: #0b0f14;
|
|
--panel: rgba(18, 27, 38, 0.94);
|
|
--border: rgba(160, 190, 220, 0.16);
|
|
--text: #f3f7fb;
|
|
--muted: #9fb2c7;
|
|
--accent: #7dd3a7;
|
|
--warning: #f6c76a;
|
|
--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
|
|
--radius: 22px;
|
|
--font-sans: "Segoe UI", "Aptos", "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(125, 211, 167, 0.18), transparent 28%),
|
|
radial-gradient(circle at top right, rgba(98, 160, 255, 0.16), transparent 24%),
|
|
linear-gradient(180deg, #071018 0%, #0b0f14 100%);
|
|
color: var(--text);
|
|
font-family: var(--font-sans);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
code {
|
|
font-family: "Cascadia Code", Consolas, monospace;
|
|
}
|
|
|
|
.app-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 304px) 1fr;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
padding: 28px;
|
|
border-right: 1px solid var(--border);
|
|
background: rgba(10, 16, 24, 0.75);
|
|
backdrop-filter: blur(14px);
|
|
}
|
|
|
|
.workspace {
|
|
padding: 28px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.workspace-stack {
|
|
display: grid;
|
|
gap: 20px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
color: var(--accent);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.sidebar-copy,
|
|
.project-description,
|
|
.project-root p,
|
|
.note-preview,
|
|
.column-meta,
|
|
.task-card p {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.project-list,
|
|
.project-root,
|
|
.board-panel,
|
|
.notes-panel,
|
|
.trash-panel,
|
|
.hero {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.project-list,
|
|
.project-root,
|
|
.board-panel,
|
|
.notes-panel,
|
|
.trash-panel,
|
|
.hero {
|
|
padding: 18px;
|
|
}
|
|
|
|
.board-panel,
|
|
.notes-panel,
|
|
.trash-panel {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.project-link {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
margin-bottom: 10px;
|
|
padding: 14px;
|
|
border: 1px solid transparent;
|
|
border-radius: 16px;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.project-link:hover,
|
|
.project-link.active {
|
|
border-color: rgba(125, 211, 167, 0.45);
|
|
background: rgba(125, 211, 167, 0.1);
|
|
}
|
|
|
|
.project-link span {
|
|
color: var(--muted);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.workspace-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.workspace-header > div,
|
|
.notes-panel-header > div,
|
|
.column-title-wrap {
|
|
min-width: 0;
|
|
}
|
|
|
|
.notes-panel-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
}
|
|
|
|
.trash-panel-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
}
|
|
|
|
.notes-panel-header h2 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.trash-panel-header h2 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.notes-panel-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
min-width: 0;
|
|
}
|
|
|
|
.header-actions,
|
|
.dialog-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.button,
|
|
.icon-button,
|
|
.column-actions button,
|
|
.task-mini-actions button {
|
|
border: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.button {
|
|
padding: 11px 18px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.button.primary {
|
|
border-color: transparent;
|
|
background: linear-gradient(135deg, var(--accent) 0%, #70e0c6 100%);
|
|
color: #0b1410;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.button.compact {
|
|
padding: 8px 14px;
|
|
}
|
|
|
|
.board-scroll {
|
|
overflow-x: auto;
|
|
max-width: 100%;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.trash-columns-wrap {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.trash-dropzone {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin-top: 18px;
|
|
padding: 18px;
|
|
border: 1px dashed rgba(246, 199, 106, 0.42);
|
|
border-radius: 18px;
|
|
background: rgba(246, 199, 106, 0.08);
|
|
color: var(--muted);
|
|
min-height: 92px;
|
|
align-content: center;
|
|
transition:
|
|
border-color 160ms ease,
|
|
background 160ms ease,
|
|
color 160ms ease;
|
|
}
|
|
|
|
.trash-dropzone-title,
|
|
.trash-dropzone-meta {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.trash-dropzone.sortable-ghost,
|
|
.trash-dropzone.sortable-chosen,
|
|
.trash-dropzone.is-active-dropzone {
|
|
border-color: rgba(246, 199, 106, 0.78);
|
|
background: rgba(246, 199, 106, 0.16);
|
|
color: var(--text);
|
|
}
|
|
|
|
.board-columns {
|
|
display: flex;
|
|
gap: 18px;
|
|
align-items: flex-start;
|
|
min-height: 60vh;
|
|
width: max-content;
|
|
min-width: 100%;
|
|
}
|
|
|
|
.column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(320px, calc(100vw - 72px));
|
|
min-width: 280px;
|
|
border: 1px solid rgba(255, 255, 255, 0.04);
|
|
border-radius: 20px;
|
|
background: linear-gradient(180deg, rgba(28, 39, 54, 0.96), rgba(18, 25, 36, 0.96));
|
|
}
|
|
|
|
.trash-panel .column {
|
|
width: min(360px, 100%);
|
|
}
|
|
|
|
.column-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.column-title-wrap h3 {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.column-actions,
|
|
.task-mini-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.column-actions button,
|
|
.task-mini-actions button,
|
|
.icon-button {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.task-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
min-height: 140px;
|
|
}
|
|
|
|
.task-card,
|
|
.note-card {
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 18px;
|
|
padding: 14px;
|
|
background: rgba(8, 12, 18, 0.55);
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.task-card {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.task-card.is-completed {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(125, 211, 167, 0.12);
|
|
color: var(--accent);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.pill.priority-high,
|
|
.pill.priority-urgent {
|
|
background: rgba(246, 199, 106, 0.14);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.pill.priority-low {
|
|
background: rgba(98, 160, 255, 0.14);
|
|
color: #8ec1ff;
|
|
}
|
|
|
|
.notes-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.notes-panel.is-collapsed .notes-list {
|
|
display: none;
|
|
}
|
|
|
|
.notes-panel.is-expanded .notes-list {
|
|
display: grid;
|
|
}
|
|
|
|
.note-card {
|
|
cursor: pointer;
|
|
min-height: 160px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.note-card h4,
|
|
.task-card h4,
|
|
.column-title-wrap h3,
|
|
.project-description,
|
|
.note-preview,
|
|
.task-card p {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.note-preview {
|
|
flex: 1;
|
|
}
|
|
|
|
.collapse-toggle {
|
|
min-width: 122px;
|
|
}
|
|
|
|
.collapse-toggle::after {
|
|
content: "▾";
|
|
margin-left: 8px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.collapse-toggle[aria-expanded="true"]::after {
|
|
content: "▴";
|
|
}
|
|
|
|
.dialog {
|
|
width: min(720px, calc(100vw - 24px));
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.dialog::backdrop {
|
|
background: rgba(2, 5, 10, 0.72);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.dialog-card {
|
|
display: grid;
|
|
gap: 16px;
|
|
padding: 20px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 24px;
|
|
background: #0e1620;
|
|
color: var(--text);
|
|
}
|
|
|
|
.dialog label {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dialog input[type="text"],
|
|
.dialog textarea,
|
|
.dialog select {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--text);
|
|
}
|
|
|
|
.checkbox-row {
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-state.compact {
|
|
padding: 12px 0 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.sortable-ghost {
|
|
opacity: 0.35;
|
|
}
|
|
|
|
.task-card-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
align-items: center;
|
|
margin-top: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.task-tags {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.app-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar {
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.notes-list {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.workspace,
|
|
.sidebar {
|
|
padding: 18px;
|
|
}
|
|
|
|
.workspace-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.notes-panel-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.trash-panel-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.notes-panel-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.header-actions .button {
|
|
flex: 1;
|
|
}
|
|
|
|
.notes-panel-actions .button {
|
|
flex: 1;
|
|
}
|
|
|
|
.trash-panel .column {
|
|
width: 100%;
|
|
}
|
|
|
|
.column {
|
|
width: min(320px, calc(100vw - 52px));
|
|
}
|
|
|
|
.notes-list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|