Files

1132 lines
32 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ============================================================
NEXUS COMMAND CENTER — Stil Katmanı
1) Temel & değişkenler 2) Yerleşim 3) Kenar çubuğu
4) Üst çubuk 5) Kartlar & metrik 6) Kanban
7) Tablo 8) Modal & form 9) Bildirim 10) Duyarlı
============================================================ */
/* ---------- 1) TEMEL & DEĞİŞKENLER ---------- */
:root {
--bg: #0b1120;
--bg-2: #0f172a;
--panel: #131c31;
--panel-2: #17233d;
--border: #24314f;
--border-soft: #1c2742;
--text: #e8eefc;
--text-dim: #93a4c4;
--text-mute: #64748b;
--track: #1e2b47;
--accent: #4f8cff;
--accent-dim: rgba(79, 140, 255, 0.14);
--todo: #64748b;
--progress: #4f8cff;
--done: #22c55e;
--p-dusuk: #64748b;
--p-orta: #38bdf8;
--p-yuksek: #f59e0b;
--p-kritik: #ef4444;
--danger: #ef4444;
--warn: #f59e0b;
--ok: #22c55e;
--radius: 12px;
--radius-sm: 8px;
--shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
--sidebar-w: 248px;
--topbar-h: 68px;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
min-height: 100%;
}
body {
background:
radial-gradient(1100px 600px at 12% -10%, rgba(79, 140, 255, 0.10), transparent 60%),
radial-gradient(900px 500px at 100% 0%, rgba(168, 85, 247, 0.07), transparent 55%),
var(--bg);
color: var(--text);
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 15px;
line-height: 1.5;
overflow-y: auto;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #26334f; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #33415f; background-clip: content-box; }
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: 6px;
}
/* ---------- 2) YERLEŞİM ---------- */
.app {
display: flex;
min-height: 100vh;
align-items: stretch;
}
.main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
padding: 0 clamp(14px, 2.4vw, 30px) 40px;
}
.view-host {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 18px;
padding-top: 4px;
}
.loading, .skeleton-wrap {
color: var(--text-dim);
padding: 40px 4px;
font-size: 14px;
}
.skeleton-row {
height: 62px;
border-radius: var(--radius);
background: linear-gradient(90deg, #131c31 25%, #1a2540 50%, #131c31 75%);
background-size: 300% 100%;
animation: shimmer 1.4s infinite linear;
margin-bottom: 12px;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.scrim {
display: none;
position: fixed;
inset: 0;
background: rgba(2, 6, 23, 0.6);
backdrop-filter: blur(2px);
z-index: 40;
}
.scrim.show { display: block; }
/* ---------- 3) KENAR ÇUBUĞU ---------- */
.sidebar {
width: var(--sidebar-w);
flex: 0 0 var(--sidebar-w);
background: linear-gradient(180deg, var(--panel) 0%, #101a2e 100%);
border-right: 1px solid var(--border-soft);
display: flex;
flex-direction: column;
padding: 18px 14px;
position: sticky;
top: 0;
height: 100vh;
z-index: 50;
}
.brand {
display: flex;
align-items: center;
gap: 11px;
padding: 4px 6px 18px;
border-bottom: 1px solid var(--border-soft);
margin-bottom: 14px;
}
.brand-mark {
width: 40px;
height: 40px;
flex: 0 0 40px;
border-radius: 11px;
display: grid;
place-items: center;
font-weight: 800;
font-size: 19px;
color: #fff;
background: linear-gradient(135deg, #4f8cff, #a855f7);
box-shadow: 0 6px 16px rgba(79, 140, 255, 0.35);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 16px; letter-spacing: 0.06em; }
.brand-text span { font-size: 11.5px; color: var(--text-mute); letter-spacing: 0.03em; }
.sidebar-close {
display: none;
margin-left: auto;
background: transparent;
border: 0;
font-size: 18px;
color: var(--text-dim);
padding: 6px 8px;
border-radius: 8px;
}
.sidebar-close:hover { background: var(--panel-2); color: var(--text); }
.nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav-item {
display: flex;
align-items: center;
gap: 11px;
width: 100%;
padding: 11px 12px;
min-height: 44px;
background: transparent;
border: 0;
border-radius: 10px;
color: var(--text-dim);
font-size: 14.5px;
text-align: left;
transition: background 0.15s, color 0.15s, transform 0.12s;
}
.nav-item:hover { background: var(--panel-2); color: var(--text); }
.nav-item.is-active {
background: linear-gradient(90deg, var(--accent-dim), transparent);
color: var(--text);
box-shadow: inset 2px 0 0 var(--accent);
font-weight: 600;
}
.nav-item:active { transform: scale(0.985); }
.nav-ico { font-size: 15px; width: 18px; text-align: center; opacity: 0.85; }
.nav-badge {
margin-left: auto;
font-size: 11.5px;
font-weight: 700;
background: var(--panel-2);
border: 1px solid var(--border);
color: var(--text-dim);
padding: 1px 8px;
border-radius: 20px;
min-width: 26px;
text-align: center;
}
.sidebar-foot { padding-top: 14px; border-top: 1px solid var(--border-soft); }
.sys-status {
display: flex;
align-items: center;
gap: 8px;
font-size: 12.5px;
color: var(--text-mute);
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text-mute);
flex: 0 0 8px;
}
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16); }
.dot.bad { background: var(--danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16); }
/* ---------- 4) ÜST ÇUBUK ---------- */
.topbar {
height: var(--topbar-h);
display: flex;
align-items: center;
gap: 14px;
padding: 12px 0;
border-bottom: 1px solid var(--border-soft);
position: sticky;
top: 0;
background: rgba(11, 17, 32, 0.86);
backdrop-filter: blur(10px);
z-index: 30;
margin-bottom: 18px;
}
.topbar-title { min-width: 0; }
.topbar-title h1 {
font-size: clamp(17px, 2.2vw, 21px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topbar-title p {
font-size: 12.5px;
color: var(--text-mute);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topbar-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 9px;
flex-wrap: wrap;
justify-content: flex-end;
}
.last-sync { font-size: 12px; color: var(--text-mute); white-space: nowrap; }
.menu-btn { display: none; }
/* ---------- Düğmeler ---------- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 40px;
padding: 9px 15px;
border-radius: 10px;
border: 1px solid transparent;
background: var(--panel-2);
color: var(--text);
font-size: 14px;
font-weight: 550;
white-space: nowrap;
transition: filter 0.15s, background 0.15s, border-color 0.15s, transform 0.12s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary {
background: linear-gradient(135deg, #4f8cff, #3b6fe0);
color: #fff;
box-shadow: 0 6px 18px rgba(79, 140, 255, 0.28);
}
.btn-ghost {
background: transparent;
border-color: var(--border);
color: var(--text-dim);
}
.btn-ghost:hover { background: var(--panel-2); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn.sm { min-height: 32px; padding: 5px 11px; font-size: 13px; }
.icon-btn {
display: inline-grid;
place-items: center;
width: 40px;
height: 40px;
border-radius: 10px;
border: 1px solid transparent;
background: transparent;
color: var(--text-dim);
font-size: 15px;
transition: background 0.15s, color 0.15s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.icon-btn.sm { width: 32px; height: 32px; font-size: 13px; border-radius: 8px; }
.icon-btn.xs { width: 26px; height: 26px; font-size: 11px; border-radius: 7px; }
.icon-btn.danger:hover { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.link-btn {
background: transparent;
border: 0;
color: var(--accent);
font-size: 13px;
padding: 4px 2px;
border-radius: 6px;
}
.link-btn:hover { text-decoration: underline; }
/* ---------- 5) KARTLAR & METRİK ---------- */
.card {
background: linear-gradient(180deg, var(--panel), #111a2d);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
overflow: hidden;
}
.card-head {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 16px;
border-bottom: 1px solid var(--border-soft);
}
.card-head h2 { font-size: 15px; }
.card-sub { font-size: 12px; color: var(--text-mute); margin-left: auto; text-align: right; }
.card-body { padding: 16px; }
.card-ok { border-color: rgba(34, 197, 94, 0.3); }
.card-warn { border-color: rgba(245, 158, 11, 0.32); }
.inline-ok {
display: flex;
align-items: center;
gap: 10px;
color: #86efac;
font-size: 14px;
}
.ok-mark {
display: grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 50%;
background: rgba(34, 197, 94, 0.16);
color: var(--ok);
font-weight: 700;
}
.metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
gap: 13px;
}
.metric {
background: linear-gradient(180deg, var(--panel), #111a2d);
border: 1px solid var(--border-soft);
border-left: 3px solid var(--accent);
border-radius: var(--radius);
padding: 15px 16px;
min-width: 0;
}
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.metric-label { font-size: 12.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.metric-ico { font-size: 15px; opacity: 0.5; }
.metric-value { font-size: clamp(24px, 3.4vw, 32px); font-weight: 750; margin-top: 6px; line-height: 1.1; }
.metric-sub { font-size: 12px; color: var(--text-mute); margin-top: 3px; }
.metric-blue { border-left-color: var(--progress); }
.metric-green { border-left-color: var(--done); }
.metric-amber { border-left-color: var(--warn); }
.metric-red { border-left-color: var(--danger); }
.metric-muted { border-left-color: var(--todo); }
.metric-red .metric-value { color: #fca5a5; }
.metric-green .metric-value { color: #86efac; }
.grid-main {
display: grid;
grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
gap: 16px;
align-items: start;
}
@media (max-width: 1000px) { .grid-main { grid-template-columns: 1fr; } }
.chart-canvas { display: block; width: 100%; }
.chart-center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; width: 100%; justify-content: center; }
.legend li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-dim); }
.legend strong { color: var(--text); }
.legend-dot { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 9px; }
.priority-bars { display: flex; flex-direction: column; gap: 13px; }
.pbar-row { display: grid; grid-template-columns: minmax(64px, 92px) 1fr 52px; align-items: center; gap: 10px; }
.pbar-label { font-size: 13px; color: var(--text-dim); }
.pbar-track { height: 9px; border-radius: 6px; background: var(--track); overflow: hidden; }
.pbar-fill { height: 100%; border-radius: 6px; transition: width 0.35s ease; }
.pbar-value { font-size: 13px; text-align: right; font-weight: 650; }
.pbar-value small { color: var(--text-mute); font-weight: 500; }
.progress-track { height: 8px; border-radius: 5px; background: var(--track); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 5px; transition: width 0.4s ease; }
/* ---------- Aktivite listeleri ---------- */
.log-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.log-list-full { max-height: none; }
.log-item {
display: flex;
gap: 11px;
padding: 11px 2px;
border-bottom: 1px solid var(--border-soft);
}
.log-item:last-child { border-bottom: 0; }
.log-ico {
flex: 0 0 28px;
width: 28px;
height: 28px;
display: grid;
place-items: center;
border-radius: 8px;
font-size: 13px;
background: var(--panel-2);
color: var(--text-dim);
}
.log-gorev .log-ico { background: rgba(79, 140, 255, 0.14); color: #93b8ff; }
.log-proje .log-ico { background: rgba(168, 85, 247, 0.14); color: #d8b4fe; }
.log-ekip .log-ico { background: rgba(34, 197, 94, 0.14); color: #86efac; }
.log-hata .log-ico { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.log-body { min-width: 0; flex: 1; }
.log-head { display: flex; align-items: baseline; gap: 10px; }
.log-head strong { font-size: 13.5px; }
.log-head time { margin-left: auto; font-size: 11.5px; color: var(--text-mute); white-space: nowrap; }
.log-detail { font-size: 13px; color: var(--text-dim); margin-top: 2px; word-break: break-word; }
.log-actor { font-size: 11.5px; color: var(--text-mute); margin-top: 3px; }
/* ---------- Araç çubuğu / filtre ---------- */
.toolbar {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.toolbar-right { margin-left: auto; }
.search-box { position: relative; display: flex; align-items: center; min-width: 210px; flex: 1 1 240px; max-width: 420px; }
.search-ico { position: absolute; left: 11px; color: var(--text-mute); font-size: 15px; pointer-events: none; }
.search-box input {
width: 100%;
min-height: 42px;
padding: 9px 34px 9px 32px;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--bg-2);
color: var(--text);
font-size: 14px;
}
.search-box input::placeholder { color: var(--text-mute); }
.search-box input:focus { border-color: var(--accent); outline: 0; }
.search-clear {
position: absolute;
right: 8px;
width: 22px;
height: 22px;
border-radius: 50%;
border: 0;
background: var(--panel-2);
color: var(--text-dim);
font-size: 14px;
line-height: 1;
transform: rotate(45deg);
display: grid;
place-items: center;
}
.search-clear:hover { background: var(--border); color: var(--text); }
.select-sm, .select-xs {
min-height: 42px;
padding: 8px 12px;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--bg-2);
color: var(--text);
font-size: 13.5px;
cursor: pointer;
}
.select-sm:focus, .select-xs:focus { border-color: var(--accent); outline: 0; }
.select-xs { min-height: 32px; padding: 5px 8px; font-size: 12.5px; border-radius: 8px; }
.count-chip {
font-size: 12.5px;
color: var(--text-dim);
background: var(--panel-2);
border: 1px solid var(--border);
padding: 5px 11px;
border-radius: 20px;
white-space: nowrap;
}
.filter-summary {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
font-size: 12.5px;
color: var(--text-mute);
min-height: 20px;
}
.chip-label { color: var(--text-mute); }
.filter-chip {
background: var(--accent-dim);
border: 1px solid rgba(79, 140, 255, 0.3);
color: #b9d0ff;
padding: 2px 10px;
border-radius: 20px;
font-size: 12px;
}
.filter-total { margin-left: auto; color: var(--text-dim); }
.seg { display: inline-flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg-btn {
min-height: 36px;
padding: 7px 13px;
border: 0;
border-radius: 8px;
background: transparent;
color: var(--text-dim);
font-size: 13px;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.is-active { background: var(--accent); color: #fff; font-weight: 600; }
.inline-form {
display: flex;
gap: 9px;
align-items: center;
flex-wrap: wrap;
padding: 13px 15px;
background: var(--panel);
border: 1px solid var(--border);
border-radius: var(--radius);
}
.inline-form input {
min-height: 42px;
padding: 9px 12px;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--bg-2);
color: var(--text);
min-width: 180px;
flex: 1 1 180px;
}
.inline-form input:focus { border-color: var(--accent); outline: 0; }
/* ---------- 6) KANBAN ---------- */
.kanban {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 15px;
align-items: start;
}
@media (max-width: 900px) { .kanban { grid-template-columns: 1fr; } }
.kanban-col {
background: rgba(19, 28, 49, 0.6);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
display: flex;
flex-direction: column;
min-height: 160px;
transition: border-color 0.15s, background 0.15s;
}
.kanban-col.is-over {
border-color: var(--accent);
background: rgba(79, 140, 255, 0.08);
box-shadow: inset 0 0 0 1px rgba(79, 140, 255, 0.35);
}
.kanban-head {
display: flex;
align-items: center;
gap: 9px;
padding: 13px 14px;
border-bottom: 1px solid var(--border-soft);
}
.kanban-head h3 { font-size: 14px; }
.kanban-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--col, var(--accent)); flex: 0 0 8px; }
.kanban-count {
margin-left: auto;
font-size: 12px;
font-weight: 700;
color: var(--text-dim);
background: var(--panel-2);
border: 1px solid var(--border);
border-radius: 20px;
padding: 1px 9px;
}
.kanban-body { padding: 11px; display: flex; flex-direction: column; gap: 10px; min-height: 90px; }
.kanban-empty {
border: 1px dashed var(--border);
border-radius: 10px;
padding: 18px 10px;
text-align: center;
font-size: 12.5px;
color: var(--text-mute);
}
.kanban-card {
background: linear-gradient(180deg, var(--panel-2), #141f37);
border: 1px solid var(--border);
border-left: 3px solid var(--p-orta);
border-radius: 10px;
padding: 11px 12px;
cursor: grab;
transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s;
user-select: none;
}
.kanban-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kanban-card:active { cursor: grabbing; }
.kanban-card.is-dragging { opacity: 0.45; transform: rotate(1.5deg); }
.kanban-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
.kanban-card.prio-dusuk { border-left-color: var(--p-dusuk); }
.kanban-card.prio-orta { border-left-color: var(--p-orta); }
.kanban-card.prio-yuksek { border-left-color: var(--p-yuksek); }
.kanban-card.prio-kritik { border-left-color: var(--p-kritik); }
.kc-top { display: flex; align-items: center; gap: 8px; }
.kc-actions { margin-left: auto; display: flex; gap: 4px; opacity: 0; transition: opacity 0.15s; }
.kanban-card:hover .kc-actions, .kanban-card:focus-within .kc-actions { opacity: 1; }
.kc-title { font-size: 14px; line-height: 1.35; margin-top: 7px; word-break: break-word; }
.kc-desc {
font-size: 12.5px;
color: var(--text-dim);
margin-top: 5px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.kc-project {
display: inline-block;
margin-top: 8px;
font-size: 11.5px;
color: #cbd9f5;
background: color-mix(in srgb, var(--pc, #4f8cff) 18%, transparent);
border: 1px solid color-mix(in srgb, var(--pc, #4f8cff) 38%, transparent);
padding: 2px 9px;
border-radius: 20px;
}
.kc-noproject { color: var(--text-mute); background: var(--panel-2); border-color: var(--border); }
.kc-foot {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
padding-top: 9px;
border-top: 1px solid var(--border-soft);
flex-wrap: wrap;
}
.prio {
display: inline-block;
font-size: 11px;
font-weight: 650;
padding: 2px 9px;
border-radius: 20px;
white-space: nowrap;
border: 1px solid transparent;
}
.prio-dusuk { background: rgba(100, 116, 139, 0.18); color: #b7c3d6; border-color: rgba(100, 116, 139, 0.35); }
.prio-orta { background: rgba(56, 189, 248, 0.15); color: #93dcfd; border-color: rgba(56, 189, 248, 0.32); }
.prio-yuksek { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border-color: rgba(245, 158, 11, 0.32); }
.prio-kritik { background: rgba(239, 68, 68, 0.16); color: #fca5a5; border-color: rgba(239, 68, 68, 0.36); }
.meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-dim); min-width: 0; }
.avatar {
display: inline-grid;
place-items: center;
width: 22px;
height: 22px;
border-radius: 50%;
font-size: 10px;
font-weight: 700;
color: #fff;
flex: 0 0 22px;
}
.avatar.lg { width: 44px; height: 44px; font-size: 16px; flex: 0 0 44px; border-radius: 12px; }
.due { font-size: 11.5px; white-space: nowrap; margin-left: auto; }
.due-ok { color: var(--text-mute); }
.due-soon { color: #fcd34d; }
.due-today { color: #fdba74; font-weight: 650; }
.due-over { color: #fca5a5; font-weight: 650; }
.due-done { color: #86efac; }
.due-none { color: var(--text-mute); }
.text-danger { color: #fca5a5; }
.text-muted { color: var(--text-mute); }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mini-item {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 11px;
background: var(--bg-2);
border: 1px solid var(--border-soft);
border-radius: 9px;
flex-wrap: wrap;
}
.mini-title { font-size: 13.5px; min-width: 0; flex: 1 1 160px; }
.mini-assignee { font-size: 12px; color: var(--text-mute); }
.mini-item .due { margin-left: auto; }
/* ---------- 7) TABLO ---------- */
.list-details {
background: var(--panel);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
overflow: hidden;
}
.list-details > summary {
cursor: pointer;
padding: 13px 16px;
font-size: 13.5px;
color: var(--text-dim);
list-style: none;
user-select: none;
}
.list-details > summary::-webkit-details-marker { display: none; }
.list-details > summary::before { content: "▸ "; color: var(--accent); }
.list-details[open] > summary::before { content: "▾ "; }
.list-details > summary:hover { color: var(--text); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--border-soft); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.table th {
text-align: left;
padding: 10px 14px;
font-size: 11.5px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-mute);
background: var(--bg-2);
border-bottom: 1px solid var(--border-soft);
white-space: nowrap;
position: sticky;
top: 0;
}
.table td { padding: 11px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.table tbody tr:hover { background: rgba(79, 140, 255, 0.05); }
.td-title { font-weight: 550; max-width: 280px; }
.td-actions { white-space: nowrap; text-align: right; }
.tag-over {
font-size: 10.5px;
background: rgba(239, 68, 68, 0.16);
color: #fca5a5;
border: 1px solid rgba(239, 68, 68, 0.32);
border-radius: 20px;
padding: 1px 7px;
margin-left: 6px;
}
/* ---------- Proje kartları ---------- */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
gap: 15px;
}
.project-card {
background: linear-gradient(180deg, var(--panel), #111a2d);
border: 1px solid var(--border-soft);
border-top: 3px solid var(--accent, var(--accent));
border-radius: var(--radius);
padding: 15px 16px;
display: flex;
flex-direction: column;
gap: 12px;
transition: transform 0.15s, box-shadow 0.15s;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-top { display: flex; align-items: center; gap: 9px; }
.pc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: 0 0 10px; }
.pc-name { font-size: 15.5px; flex: 1; min-width: 0; word-break: break-word; }
.pc-actions { display: flex; gap: 3px; opacity: 0; transition: opacity 0.15s; }
.project-card:hover .pc-actions, .project-card:focus-within .pc-actions { opacity: 1; }
.pc-desc { font-size: 13px; color: var(--text-dim); min-height: 34px; }
.pc-progress-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-dim); margin-bottom: 6px; }
.pc-progress-sub { font-size: 11.5px; color: var(--text-mute); margin-top: 6px; }
.pc-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.pc-meta .due { margin-left: auto; }
.pc-foot {
display: flex;
align-items: center;
gap: 9px;
padding-top: 11px;
border-top: 1px solid var(--border-soft);
}
.pc-foot .btn { margin-left: auto; }
/* ---------- Ekip ---------- */
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
gap: 15px;
}
.team-card {
background: linear-gradient(180deg, var(--panel), #111a2d);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
padding: 15px 16px;
display: flex;
flex-direction: column;
gap: 13px;
cursor: pointer;
transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border); }
.tc-head { display: flex; align-items: center; gap: 11px; }
.tc-id { min-width: 0; flex: 1; }
.tc-id h3 { font-size: 15px; }
.tc-role { font-size: 12px; color: var(--text-mute); }
.tc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tc-stat {
background: var(--bg-2);
border: 1px solid var(--border-soft);
border-radius: 9px;
padding: 8px 6px;
text-align: center;
}
.tc-stat strong { display: block; font-size: 18px; }
.tc-stat span { font-size: 11px; color: var(--text-mute); }
.tc-stat.danger strong { color: #fca5a5; }
.tc-load-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
.tc-mail { font-size: 11.5px; color: var(--text-mute); word-break: break-all; }
/* ---------- 8) MODAL & FORM ---------- */
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(2, 6, 23, 0.72);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
padding: 18px;
z-index: 100;
opacity: 0;
transition: opacity 0.18s ease;
overflow-y: auto;
}
.modal-backdrop.open { opacity: 1; }
.modal-backdrop[hidden] { display: none; }
.modal {
width: 100%;
max-width: 560px;
max-height: 92vh;
overflow-y: auto;
background: linear-gradient(180deg, var(--panel), #101a2e);
border: 1px solid var(--border);
border-radius: 15px;
box-shadow: 0 26px 60px rgba(2, 6, 23, 0.7);
transform: translateY(10px) scale(0.985);
transition: transform 0.2s ease;
margin: auto;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-sm { max-width: 430px; }
.modal-head {
display: flex;
align-items: center;
gap: 12px;
padding: 16px 18px;
border-bottom: 1px solid var(--border-soft);
position: sticky;
top: 0;
background: var(--panel);
z-index: 2;
}
.modal-head h2 { font-size: 16.5px; flex: 1; }
.modal-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot {
display: flex;
justify-content: flex-end;
gap: 9px;
padding-top: 6px;
margin-top: 2px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; color: var(--text-dim); font-weight: 550; }
.field-label em { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
width: 100%;
min-height: 44px;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--bg-2);
color: var(--text);
font-size: 14px;
transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 76px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
border-color: var(--accent);
outline: 0;
box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field-error { font-size: 12px; color: #fca5a5; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
border-color: var(--danger);
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}
.color-input { padding: 5px !important; height: 44px; cursor: pointer; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }
.hint {
font-size: 12px;
color: var(--text-mute);
background: var(--bg-2);
border: 1px dashed var(--border);
border-radius: 9px;
padding: 9px 11px;
line-height: 1.45;
}
/* ---------- 9) BİLDİRİM (TOAST) ---------- */
.toast-host {
position: fixed;
right: 16px;
bottom: 16px;
display: flex;
flex-direction: column;
gap: 9px;
z-index: 200;
pointer-events: none;
max-width: min(92vw, 380px);
}
.toast {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
border-radius: 11px;
background: var(--panel-2);
border: 1px solid var(--border);
border-left: 3px solid var(--accent);
box-shadow: var(--shadow);
font-size: 13.5px;
transform: translateX(24px);
opacity: 0;
transition: transform 0.22s ease, opacity 0.22s ease;
pointer-events: auto;
word-break: break-word;
}
.toast.in { transform: translateX(0); opacity: 1; }
.toast-ico {
flex: 0 0 22px;
width: 22px;
height: 22px;
display: grid;
place-items: center;
border-radius: 50%;
font-size: 12px;
font-weight: 700;
background: var(--accent-dim);
color: #b9d0ff;
}
.toast-ok { border-left-color: var(--ok); }
.toast-ok .toast-ico { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.toast-err { border-left-color: var(--danger); }
.toast-err .toast-ico { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.toast-warn { border-left-color: var(--warn); }
.toast-warn .toast-ico { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }
/* ---------- Boş / hata durumları ---------- */
.empty {
text-align: center;
padding: clamp(26px, 6vw, 54px) 20px;
background: rgba(19, 28, 49, 0.5);
border: 1px dashed var(--border);
border-radius: var(--radius);
display: flex;
flex-direction: column;
align-items: center;
gap: 9px;
}
.empty-ico {
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--panel-2);
color: var(--text-mute);
font-size: 22px;
margin-bottom: 3px;
}
.empty h3 { font-size: 15.5px; }
.empty p { font-size: 13.5px; color: var(--text-dim); max-width: 420px; }
.empty .btn { margin-top: 8px; }
.empty-error { border-color: rgba(239, 68, 68, 0.35); }
.empty-error .empty-ico { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }
/* ---------- 10) DUYARLILIK (Mobil) ---------- */
@media (max-width: 860px) {
.sidebar {
position: fixed;
left: 0;
top: 0;
transform: translateX(-100%);
transition: transform 0.22s ease;
box-shadow: 0 0 40px rgba(2, 6, 23, 0.7);
width: min(84vw, 290px);
flex-basis: auto;
}
.sidebar.open { transform: translateX(0); }
.sidebar-close { display: block; }
.menu-btn { display: inline-grid; }
.main { padding: 0 14px 34px; }
.topbar { gap: 10px; }
.last-sync { display: none; }
.topbar-actions { gap: 7px; }
.topbar-actions .btn { padding: 8px 12px; font-size: 13px; }
.toast-host { right: 10px; left: 10px; bottom: 10px; max-width: none; }
}
@media (max-width: 620px) {
body { font-size: 14.5px; }
.metrics { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.metric { padding: 12px 13px; }
.metric-value { font-size: 24px; }
.toolbar-right { width: 100%; }
.toolbar-right .select-sm { flex: 1 1 130px; }
.search-box { max-width: none; }
.project-grid, .team-grid { grid-template-columns: 1fr; }
.filter-total { margin-left: 0; width: 100%; }
.modal { max-width: none; }
.modal-backdrop { padding: 10px; align-items: flex-start; }
.kanban-card { padding: 10px; }
}
@media (max-width: 400px) {
.topbar-title p { display: none; }
.metric-label { font-size: 11.5px; }
}
/* Dokunmatik hedefler min 44px — WCAG 2.5.5 */
@media (pointer: coarse) {
.icon-btn.sm, .icon-btn.xs { width: 40px; height: 40px; font-size: 14px; }
.kc-actions, .pc-actions { opacity: 1; }
.select-xs { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}