.shell { --navy: #111b2e; --ink: #1b2638; --text: #3f4d62; --muted: #8691a2; --line: #e7eaf0; --blue: #3276f6; --blueSoft: #edf4ff; --green: #20a26a; --greenSoft: #eaf8f1; --orange: #e58b20; --orangeSoft: #fff5e8; --purple: #7a58d6; --purpleSoft: #f2eefc; min-width: 1040px; min-height: 100vh; background: #f5f7fa; color: var(--text); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; } .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 220px; display: flex; flex-direction: column; background: var(--navy); color: #aeb8ca; } .brand { height: 72px; display: flex; align-items: center; gap: 10px; padding: 0 23px; color: #fff; text-decoration: none; } .brand strong { font-size: 18px; letter-spacing: -.4px; } .brand strong span { color: #73a1ff; } .brandMark { position: relative; width: 24px; height: 24px; display: block; transform: rotate(-11deg); } .brandMark i { position: absolute; bottom: 1px; display: block; width: 6px; border-radius: 4px; background: #fff; } .brandMark i:nth-child(1) { left: 0; height: 12px; background: #72a0ff; } .brandMark i:nth-child(2) { left: 8px; height: 21px; } .brandMark i:nth-child(3) { left: 16px; height: 15px; background: #3276f6; } .sidebar nav { flex: 1; padding: 7px 13px; overflow-y: auto; } .sidebar nav > p { margin: 19px 11px 7px; color: #65738b; font-size: 8px; font-weight: 750; letter-spacing: .9px; } .sidebar nav a { min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 7px 11px; border-radius: 8px; color: #aab5c7; cursor: pointer; text-decoration: none; font-size: 10px; } .sidebar nav a:hover { background: rgba(255,255,255,.05); color: #fff; } .sidebar nav a.active { background: #2c64d7; color: #fff; box-shadow: 0 5px 14px rgba(26,74,177,.25); } .sidebar nav a > span { width: 19px; color: inherit; text-align: center; font-size: 15px; } .sidebar nav a b, .sidebar nav a em { margin-left: auto; padding: 2px 6px; border-radius: 8px; background: rgba(255,255,255,.1); color: #92a0b5; font-size: 7px; font-style: normal; } .sidebar nav a.active b { background: rgba(255,255,255,.2); color: #fff; } .sidebar nav a em { background: #234c9b; color: #8eb2ff; } .sidebarFooter { min-height: 65px; display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-top: 1px solid #263249; } .sidebarFooter > span, .avatar, .miniAvatar { display: grid; place-items: center; border-radius: 50%; background: #dce7fd; color: #2d61bd; font-weight: 700; } .sidebarFooter > span { width: 31px; height: 31px; font-size: 9px; } .sidebarFooter > div { flex: 1; display: flex; flex-direction: column; gap: 3px; } .sidebarFooter strong { color: #d7deeb; font-size: 9px; } .sidebarFooter small { color: #718099; font-size: 7px; } .sidebarFooter button { border: 0; background: transparent; color: #708096; font-size: 8px; } .main { min-height: 100vh; margin-left: 220px; } .topbar { position: sticky; top: 0; z-index: 20; height: 64px; display: grid; grid-template-columns: 1fr minmax(280px, 390px) 1fr; align-items: center; gap: 20px; padding: 0 27px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); } .breadcrumb { display: flex; align-items: center; gap: 7px; color: #98a1af; font-size: 8px; } .breadcrumb b { color: #c0c5cd; font-weight: 400; } .breadcrumb strong { color: #59667b; } .globalSearch { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; background: #f3f5f8; color: #929baa; } .globalSearch:focus-within { border-color: #b5caf7; background: #fff; box-shadow: 0 0 0 3px rgba(50,118,246,.08); } .globalSearch > span { font-size: 17px; transform: rotate(-20deg); } .globalSearch input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #445169; font-size: 9px; } .globalSearch kbd { padding: 3px 5px; border: 1px solid #dde2e9; border-bottom-width: 2px; border-radius: 4px; background: #fff; color: #9aa3b1; font-family: inherit; font-size: 7px; } .topActions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; } .topActions button { position: relative; width: 31px; height: 31px; border: 0; border-radius: 50%; background: transparent; color: #697589; font-size: 15px; } .topActions button i { position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border: 2px solid #fff; border-radius: 50%; background: #e55050; } .avatar { width: 31px; height: 31px; border: 2px solid #fff; box-shadow: 0 0 0 1px #dce1e8; font-size: 9px; } .content { max-width: 1520px; margin: 0 auto; padding: 28px 30px 45px; } .heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; } .heading p { margin: 0; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: 1px; } .heading h1 { margin: 4px 0 6px; color: var(--ink); font-size: 25px; letter-spacing: -.6px; } .heading > div:first-child > span { color: #7f8a9c; font-size: 10px; } .heading > div:last-child { display: flex; gap: 8px; } .primaryButton, .secondaryButton { min-height: 36px; padding: 0 13px; border-radius: 7px; cursor: pointer; font-size: 9px; font-weight: 650; } .primaryButton { border: 1px solid var(--blue); background: var(--blue); color: #fff; box-shadow: 0 5px 12px rgba(50,118,246,.2); } .secondaryButton { border: 1px solid #dce1e8; background: #fff; color: #5f6b7f; } .summaryGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 15px; } .summaryGrid article { min-height: 82px; display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 3px 13px rgba(35,48,78,.035); } .summaryIcon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; font-size: 15px; font-weight: 750; } .blue { background: var(--blueSoft) !important; color: var(--blue) !important; } .purple { background: var(--purpleSoft) !important; color: var(--purple) !important; } .orange { background: var(--orangeSoft) !important; color: var(--orange) !important; } .green { background: var(--greenSoft) !important; color: var(--green) !important; } .summaryGrid p { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 9px; margin: 0; color: #8691a2; font-size: 9px; } .summaryGrid strong { color: var(--ink); font-size: 20px; } .summaryGrid small { grid-column: 1 / -1; color: #9ca4b1; font-size: 7px; } .tablePanel { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 6px 22px rgba(35,48,78,.045); } .tabs { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); } .tabs > div { align-self: stretch; display: flex; } .tabs > div button { position: relative; padding: 0 14px; border: 0; background: transparent; color: #7d8798; cursor: pointer; font-size: 9px; } .tabs > div button.activeTab { color: var(--blue); font-weight: 700; } .tabs > div button.activeTab::after { content: ""; position: absolute; right: 12px; bottom: -1px; left: 12px; height: 2px; background: var(--blue); } .tabs > div b { margin-left: 4px; padding: 2px 5px; border-radius: 7px; background: #eef2f8; color: #8190a5; font-size: 7px; } .viewSettings { padding: 7px 9px; border: 1px solid #dde2e8; border-radius: 6px; background: #fff; color: #687589; cursor: pointer; font-size: 8px; } .toolbar { min-height: 55px; display: flex; align-items: center; gap: 7px; padding: 9px 15px; border-bottom: 1px solid #edf0f4; } .toolbar > label { width: 210px; height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #dfe3e9; border-radius: 6px; color: #929baa; } .toolbar > label span { font-size: 15px; transform: rotate(-20deg); } .toolbar input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #46536a; font-size: 8px; } .toolbar select, .toolbar > button { height: 32px; padding: 0 9px; border: 1px solid #dfe3e9; border-radius: 6px; background: #fff; color: #647085; cursor: pointer; font-size: 8px; } .toolbar > button:hover { border-color: #aec5f7; color: var(--blue); } .resultCount { margin-left: auto; color: #99a1ae; font-size: 8px; } .tableWrap { width: 100%; overflow-x: auto; } .tableWrap table { width: 100%; min-width: 1110px; border-collapse: collapse; table-layout: fixed; } .tableWrap th { height: 38px; padding: 0 10px; background: #f8f9fb; color: #8d96a6; font-size: 8px; font-weight: 700; text-align: left; } .tableWrap th:nth-child(1) { width: 38px; } .tableWrap th:nth-child(2) { width: 370px; } .tableWrap th:nth-child(3) { width: 100px; } .tableWrap th:nth-child(4) { width: 88px; } .tableWrap th:nth-child(5) { width: 70px; } .tableWrap th:nth-child(6) { width: 115px; } .tableWrap th:nth-child(7), .tableWrap th:nth-child(8) { width: 75px; } .tableWrap th:last-child { width: 42px; } .tableWrap td { height: 55px; padding: 7px 10px; border-top: 1px solid #edf0f4; color: #647085; font-size: 8px; } .tableWrap tr:hover td { background: #f8faff; } .tableWrap tr.selectedRow td { background: #f2f6ff; } .checkCell { padding-right: 0 !important; text-align: center !important; } .checkCell input { width: 13px; height: 13px; accent-color: var(--blue); } .nameCell { position: relative; } .treeName { position: relative; min-width: 0; display: flex; align-items: center; gap: 7px; } .treeGuide { position: absolute; top: -28px; bottom: -28px; width: 1px; background: #e0e5ec; } .expandButton { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 1px solid #d8dee7; border-radius: 4px; background: #fff; color: #708097; cursor: pointer; font-size: 14px; line-height: 1; transition: transform .15s; } .expandButton.expanded { transform: rotate(90deg); } .leafDot { width: 17px; flex: 0 0 auto; } .kindIcon { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; font-size: 8px; font-weight: 750; } .project { background: #eaf1ff; color: #3269d5; } .milestone { background: #fff1dc; color: #c67519; } .task { background: #eaf8f1; color: #25845b; } .subtask { background: #f0ecfb; color: #7553c4; } .itemTitle { min-width: 0; max-width: 195px; display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; } .itemTitle strong { overflow: hidden; color: #344158; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; } .itemTitle:hover strong { color: var(--blue); } .itemTitle small { color: #9da5b2; font-size: 7px; } .rowTag { max-width: 72px; overflow: hidden; padding: 3px 6px; border-radius: 4px; background: #f1f3f6; color: #788396; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; } .owner { display: flex; align-items: center; gap: 6px; } .owner > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; font-size: 7px; font-weight: 700; } .owner strong { color: #566378; font-size: 8px; font-weight: 550; } .status, .priority { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 4px 7px; border-radius: 5px; font-size: 7px; font-weight: 650; white-space: nowrap; } .status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; } .status_进行中 { background: #edf4ff; color: #3276f6; } .status_已完成 { background: #eaf8f1; color: #20a26a; } .status_待处理 { background: #f1f3f6; color: #7e8898; } .status_待验收 { background: #f3effc; color: #7a58d6; } .status_阻塞 { background: #feeeee; color: #dc5050; } .priority_高 { background: #feeeee; color: #dd5050; } .priority_中 { background: #fff5e8; color: #d77d15; } .priority_低 { background: #eef6f1; color: #438067; } .progress { display: flex; align-items: center; gap: 6px; } .progress > span { width: 63px; height: 4px; overflow: hidden; border-radius: 3px; background: #e9edf2; } .progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue); } .progress b { color: #6c788b; font-size: 7px; font-weight: 600; } .dateCell { color: #7c8798 !important; font-variant-numeric: tabular-nums; } .dueSoon { color: #dc5555 !important; font-weight: 650; } .rowAction { width: 26px; height: 26px; border: 0; border-radius: 5px; background: transparent; color: #939cab; cursor: pointer; font-size: 8px; } .rowAction:hover { background: #edf2fb; color: var(--blue); } .pagination { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-top: 1px solid var(--line); } .pagination > span { color: #929baa; font-size: 8px; } .pagination > div { display: flex; gap: 4px; } .pagination button { min-width: 28px; height: 27px; border: 1px solid #dfe3e9; border-radius: 5px; background: #fff; color: #697589; font-size: 8px; } .pagination button.currentPage { border-color: var(--blue); background: var(--blue); color: #fff; } .pagination button:disabled { opacity: .45; } .empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } .empty > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #f0f3f7; color: #9aa3b1; font-size: 19px; transform: rotate(-20deg); } .empty strong { margin: 12px 0 4px; color: #5d697c; font-size: 10px; } .empty p { margin: 0; color: #99a1ae; font-size: 8px; } .bulkBar { position: fixed; bottom: 24px; left: calc(50% + 110px); z-index: 50; display: flex; align-items: center; gap: 5px; padding: 7px 9px 7px 14px; border: 1px solid #293a55; border-radius: 9px; background: #17253a; box-shadow: 0 15px 35px rgba(17,27,46,.25); color: #d8e0ec; font-size: 8px; transform: translateX(-50%); } .bulkBar strong { color: #77a3ff; } .bulkBar i { width: 1px; height: 20px; margin: 0 5px; background: #35445b; } .bulkBar button { height: 28px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; color: #bac5d6; cursor: pointer; font-size: 8px; } .bulkBar button:hover { background: #263750; color: #fff; } .drawerBackdrop, .modalBackdrop { position: fixed; inset: 0; z-index: 70; background: rgba(16,25,42,.45); backdrop-filter: blur(3px); } .drawer { position: absolute; inset: 0 0 0 auto; width: 430px; display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(15,24,40,.18); } .drawer header { min-height: 86px; display: flex; align-items: flex-start; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); } .drawer header > div { display: flex; gap: 11px; } .drawer header .kindIcon { width: 38px; height: 38px; font-size: 10px; } .drawer header small { color: #9ba3b0; font-size: 7px; } .drawer h2 { margin: 5px 0 0; color: var(--ink); font-size: 15px; } .drawer header > button, .modal header > button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f2f4f7; color: #778296; cursor: pointer; font-size: 16px; } .drawerBody { flex: 1; padding: 19px; overflow-y: auto; } .detailProgress { padding: 13px; border: 1px solid #dde5f4; border-radius: 8px; background: #f7f9fe; } .detailProgress > div { display: flex; justify-content: space-between; color: #6c798e; font-size: 8px; } .detailProgress strong { color: var(--blue); font-size: 11px; } .detailProgress > span { height: 5px; display: block; margin-top: 9px; overflow: hidden; border-radius: 3px; background: #e3e8f0; } .detailProgress i { display: block; height: 100%; background: var(--blue); } .drawer section { margin-top: 22px; } .drawer section h3 { margin: 0 0 10px; color: #4b586d; font-size: 9px; } .drawer dl { margin: 0; padding: 2px 12px; border: 1px solid var(--line); border-radius: 8px; } .drawer dl > div { min-height: 44px; display: grid; grid-template-columns: 92px 1fr; align-items: center; border-bottom: 1px solid #edf0f4; } .drawer dl > div:last-child { border-bottom: 0; } .drawer dt { color: #919aa8; font-size: 8px; } .drawer dd { display: flex; align-items: center; gap: 6px; margin: 0; color: #566378; font-size: 8px; } .drawer dd select { height: 29px; border: 1px solid #dde2e8; border-radius: 5px; color: #566378; font-size: 8px; } .miniAvatar { width: 22px; height: 22px; font-size: 7px; } .detailTags { display: flex; flex-wrap: wrap; gap: 6px; } .detailTags span, .detailTags button { padding: 5px 8px; border: 1px solid #dfe4eb; border-radius: 5px; background: #f6f8fa; color: #687589; font-size: 8px; } .detailTags button { border-style: dashed; color: var(--blue); cursor: pointer; } .activity { display: flex; gap: 8px; padding: 9px 0; border-bottom: 1px solid #edf0f4; } .activity p { display: flex; flex-direction: column; gap: 3px; margin: 0; color: #6c788b; font-size: 8px; } .activity p strong { color: #435168; } .activity p small { color: #9ca4b1; font-size: 7px; } .drawer > footer { display: flex; justify-content: flex-end; gap: 7px; padding: 13px 18px; border-top: 1px solid var(--line); } .drawer > footer button, .modal footer button { min-height: 34px; padding: 0 12px; border: 1px solid #dce1e8; border-radius: 6px; background: #fff; color: #647085; cursor: pointer; font-size: 8px; } .drawer > footer button:last-child, .modal footer button:last-child { border-color: var(--blue); background: var(--blue); color: #fff; } .modalBackdrop { display: grid; place-items: center; padding: 22px; } .modal { width: 500px; padding: 21px; border-radius: 12px; background: #fff; box-shadow: 0 25px 70px rgba(15,24,40,.25); } .modal header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; } .modal h2 { margin: 0 0 4px; color: var(--ink); font-size: 15px; } .modal header p { margin: 0; color: #929baa; font-size: 8px; } .modal > label, .modalRow label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; color: #566378; font-size: 8px; font-weight: 650; } .modal input, .modal select { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #dde2e8; border-radius: 6px; outline: 0; background: #fff; color: #46536a; font-size: 9px; } .modal input:focus, .modal select:focus { border-color: #8fb0f7; box-shadow: 0 0 0 3px rgba(50,118,246,.08); } .modal fieldset { display: flex; gap: 18px; margin: 0 0 15px; padding: 12px; border: 1px solid #e0e4ea; border-radius: 7px; } .modal legend { padding: 0 4px; color: #566378; font-size: 8px; font-weight: 650; } .modal fieldset label { display: flex; align-items: center; gap: 5px; color: #687589; font-size: 8px; } .modal fieldset input { width: 13px; height: 13px; accent-color: var(--blue); } .modalRow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .modal footer { display: flex; justify-content: flex-end; gap: 7px; margin-top: 7px; padding-top: 15px; border-top: 1px solid var(--line); } .toast { position: fixed; right: 22px; bottom: 22px; z-index: 90; min-width: 220px; display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid #dce3eb; border-radius: 8px; background: #fff; box-shadow: 0 15px 35px rgba(23,35,58,.16); color: #4c596d; font-size: 8px; animation: toastIn .2s ease-out; } .toast span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--greenSoft); color: var(--green); font-weight: 800; } @keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 1180px) { .summaryGrid { grid-template-columns: repeat(2, 1fr); } .topbar { grid-template-columns: 1fr minmax(260px, 340px) auto; } .content { padding-right: 20px; padding-left: 20px; } } @media (prefers-reduced-motion: reduce) { .expandButton, .toast { transition: none; animation: none; } }