UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: уплотнение workspace home и интерактивный Гант

This commit is contained in:
DCCONSTRUCTIONS
2026-04-24 00:21:19 +03:00
parent 4c436a949e
commit e5036fc95b
6 changed files with 1328 additions and 437 deletions
+556 -45
View File
@@ -1537,6 +1537,350 @@
box-shadow 160ms ease;
}
.nodedc-home-hero {
position: relative;
overflow: hidden;
isolation: isolate;
border: 0 !important;
outline: none !important;
border-radius: 1.9rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.008) 100%), rgba(10, 10, 12, 0.74) !important;
padding: 1rem;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.022) !important;
-webkit-backdrop-filter: blur(28px);
backdrop-filter: blur(28px);
}
@media (min-width: 768px) {
.nodedc-home-hero {
padding: 1.2rem;
}
}
.nodedc-home-hero-time {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.8rem;
min-height: 1.75rem;
padding: 0.15rem 0.35rem 0.85rem;
text-align: right;
}
.nodedc-home-hero-grid {
display: grid;
min-width: 0;
gap: 1rem;
}
@media (min-width: 1280px) {
.nodedc-home-hero-grid {
grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
align-items: stretch;
}
}
.nodedc-home-hero-title-cell {
display: flex;
min-height: 8rem;
flex-direction: column;
justify-content: flex-end;
border-radius: 1.7rem;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006)), rgba(0, 0, 0, 0.18);
padding: 1.25rem;
}
.nodedc-home-hero-title-cell h1 {
max-width: 16rem;
color: var(--text-color-primary);
font-size: clamp(2rem, 3vw, 3.35rem);
font-weight: 700;
line-height: 0.92;
letter-spacing: 0;
}
.nodedc-home-hero-title-cell p {
margin-top: 0.75rem;
color: var(--text-color-secondary);
font-size: 0.78rem;
line-height: 1.5;
}
.nodedc-home-hero-pill {
display: inline-flex;
min-height: 2.45rem;
align-items: center;
justify-content: center;
border-radius: 999px;
background: rgba(255, 255, 255, 0.06);
padding-inline: 1.15rem;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-color-secondary);
}
.nodedc-home-hero-pill-active {
background: rgba(255, 255, 255, 0.95);
color: #0b1117;
}
.nodedc-home-date-line {
color: rgba(255, 255, 255, 0.42);
font-size: clamp(1.75rem, 4.6vw, 4.8rem);
font-weight: 600;
line-height: 0.95;
}
.nodedc-home-market-band {
display: flex;
min-width: 0;
min-height: 8rem;
align-items: flex-end;
gap: 1.5rem;
border-radius: 1.7rem;
background: rgb(var(--nodedc-card-active-rgb)) !important;
padding: 1.25rem;
color: rgb(var(--nodedc-on-card-active-rgb));
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.42),
0 18px 42px rgba(0, 0, 0, 0.18) !important;
}
@media (max-width: 767px) {
.nodedc-home-market-band {
flex-direction: column;
align-items: stretch;
}
}
.nodedc-home-gantt-card {
position: relative;
overflow: hidden;
isolation: isolate;
min-height: 30rem;
border-radius: 2rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.026) 0%, rgba(255, 255, 255, 0.008) 100%), rgba(8, 8, 10, 0.78) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
-webkit-backdrop-filter: blur(28px);
backdrop-filter: blur(28px);
}
.nodedc-home-gantt-toolbar {
position: relative;
z-index: 2;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1.25rem;
}
.nodedc-home-gantt-chip {
display: inline-flex;
height: 2.35rem;
min-width: 2.85rem;
align-items: center;
justify-content: center;
border: 0 !important;
outline: none !important;
border-radius: 999px !important;
background: rgba(255, 255, 255, 0.07) !important;
padding-inline: 0.95rem;
color: var(--text-color-secondary);
font-size: 0.75rem;
font-weight: 700;
}
.nodedc-home-gantt-chip-active {
background: rgb(var(--nodedc-card-active-rgb)) !important;
color: rgb(var(--nodedc-on-card-active-rgb)) !important;
}
.nodedc-home-gantt-round-button {
display: inline-grid !important;
width: 2.5rem;
min-width: 2.5rem;
height: 2.5rem;
place-items: center;
border: 0 !important;
outline: none !important;
border-radius: 999px !important;
background: rgba(0, 0, 0, 0.42) !important;
color: var(--text-color-primary);
}
.nodedc-home-gantt-round-button:hover {
background: rgba(0, 0, 0, 0.58) !important;
}
.nodedc-home-gantt-round-button-active {
background: rgb(var(--nodedc-card-active-rgb)) !important;
color: rgb(var(--nodedc-on-card-active-rgb)) !important;
}
.nodedc-home-gantt-surface {
position: relative;
min-height: 23.5rem;
margin: 0 1.25rem 1.25rem;
overflow: hidden;
border-radius: 1.75rem;
background: rgba(0, 0, 0, 0.28);
}
.nodedc-home-gantt-scroll {
min-height: 23.5rem;
overflow-x: auto;
overflow-y: hidden;
scrollbar-color: rgba(var(--nodedc-card-active-rgb), 0.65) rgba(255, 255, 255, 0.04);
scrollbar-width: thin;
}
.nodedc-home-gantt-scroll::-webkit-scrollbar {
height: 0.55rem;
}
.nodedc-home-gantt-scroll::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.04);
border-radius: 999px;
}
.nodedc-home-gantt-scroll::-webkit-scrollbar-thumb {
background: rgba(var(--nodedc-card-active-rgb), 0.65);
border-radius: 999px;
}
.nodedc-home-gantt-canvas {
position: relative;
min-height: 23.5rem;
padding: 1rem;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 6rem 100%,
linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 4.2rem;
}
.nodedc-home-gantt-floating {
position: absolute;
top: 3.2rem;
left: 4.2rem;
z-index: 3;
display: flex;
max-width: min(34rem, calc(100% - 3rem));
align-items: flex-start;
gap: 1rem;
border-radius: 1.6rem;
background: rgba(38, 38, 42, 0.92);
padding: 1.25rem;
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
-webkit-backdrop-filter: blur(24px);
backdrop-filter: blur(24px);
}
.nodedc-home-gantt-grid {
position: absolute;
inset: 1rem 1rem 1rem 11.5rem;
z-index: 1;
display: grid;
gap: 0;
}
.nodedc-home-gantt-grid-column {
min-height: 22rem;
border-left: 1px solid rgba(255, 255, 255, 0.04);
padding-left: 0.75rem;
color: var(--text-color-placeholder);
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0;
text-transform: uppercase;
}
.nodedc-home-gantt-row {
display: grid;
grid-template-columns: minmax(7.5rem, 10rem) minmax(0, 1fr);
align-items: center;
gap: 1rem;
min-height: 3.45rem;
}
.nodedc-home-gantt-row-compact {
min-height: 2.8rem;
}
.nodedc-home-gantt-row-label {
position: sticky;
left: 0;
z-index: 2;
border-radius: 1rem;
background: linear-gradient(90deg, rgba(7, 7, 9, 0.94) 0%, rgba(7, 7, 9, 0.72) 76%, transparent 100%);
padding: 0.45rem 0.75rem 0.45rem 0;
}
.nodedc-home-gantt-track {
position: relative;
height: 2.1rem;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.04);
}
.nodedc-home-gantt-bar {
position: absolute;
top: 0.35rem;
height: 1.4rem;
min-width: 2.5rem;
border-radius: 999px;
}
.nodedc-home-gantt-bar-accent {
background: rgb(var(--nodedc-card-active-rgb));
}
.nodedc-home-gantt-bar-white {
background: rgba(255, 255, 255, 0.9);
}
.nodedc-home-gantt-bar-muted {
background: rgba(255, 255, 255, 0.18);
}
@media (max-width: 767px) {
.nodedc-home-gantt-card {
min-height: auto;
}
.nodedc-home-gantt-toolbar {
padding: 1rem;
}
.nodedc-home-gantt-surface {
min-height: 24rem;
margin: 0 1rem 1rem;
}
.nodedc-home-gantt-scroll,
.nodedc-home-gantt-canvas {
min-height: 24rem;
}
.nodedc-home-gantt-grid {
inset: 1rem 1rem 1rem 9.25rem;
}
.nodedc-home-gantt-grid-column {
padding-left: 0.35rem;
font-size: 0.6rem;
}
.nodedc-home-gantt-row {
grid-template-columns: minmax(7rem, 8.25rem) minmax(0, 1fr);
gap: 0.75rem;
min-height: 3.9rem;
}
}
.nodedc-home-card {
position: relative;
overflow: hidden;
@@ -1545,11 +1889,8 @@
outline: none !important;
border-radius: 2rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.026) 0%, rgba(255, 255, 255, 0.008) 100%),
rgba(10, 10, 12, 0.58) !important;
box-shadow:
0 18px 40px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0%, rgba(255, 255, 255, 0.006) 100%), rgba(10, 10, 12, 0.68) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
-webkit-backdrop-filter: blur(28px);
backdrop-filter: blur(28px);
}
@@ -1578,35 +1919,175 @@
}
.nodedc-home-project-card {
height: 14.25rem;
height: 15.5rem;
position: relative;
border: 0 !important;
outline: none !important;
overflow: hidden;
border-radius: 1.75rem !important;
box-shadow:
0 18px 38px rgba(0, 0, 0, 0.22),
inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
transition:
transform 180ms ease,
box-shadow 180ms ease,
filter 180ms ease;
}
.nodedc-home-project-deck-scroller {
overflow-x: auto;
overflow-y: visible;
padding-bottom: 0.25rem;
scrollbar-width: none;
}
.nodedc-home-project-deck-scroller::-webkit-scrollbar {
display: none;
}
.nodedc-home-project-deck-row {
gap: 0;
padding-right: 5rem;
}
.nodedc-home-project-deck-row > .nodedc-home-project-card + .nodedc-home-project-card {
margin-left: -5.25rem;
}
.nodedc-home-project-card-horizontal {
width: 16rem;
min-width: 16rem;
height: 13.5rem;
}
.nodedc-home-project-card::after {
content: "";
position: absolute;
inset: 0;
z-index: 1;
border-radius: inherit;
opacity: 0;
pointer-events: none;
transition: opacity 180ms ease;
}
.nodedc-home-project-card > :last-child {
position: relative;
z-index: 2;
transition: opacity 180ms ease;
}
.nodedc-home-project-card[data-active="true"] {
box-shadow:
0 28px 48px rgba(0, 0, 0, 0.28),
inset 0 0 0 1px rgba(var(--nodedc-accent-rgb), 0.28),
inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}
.nodedc-home-project-card[data-active="false"] {
filter: saturate(0.88);
filter: saturate(0.66) brightness(0.62);
transform: scale(0.965);
}
.nodedc-home-project-card[data-active="false"]::after {
opacity: 1;
background: linear-gradient(180deg, rgba(4, 4, 7, 0.14) 0%, rgba(4, 4, 7, 0.42) 100%), rgba(7, 7, 10, 0.28);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
}
.nodedc-home-project-card[data-active="false"] > :last-child {
opacity: 0.72;
}
.nodedc-home-project-card[data-active="false"]:hover {
transform: translateY(-0.25rem) scale(0.972);
filter: saturate(1);
filter: saturate(0.74) brightness(0.72);
}
.nodedc-home-project-card[data-active="false"]:hover::after {
opacity: 0.88;
}
.nodedc-home-project-card[data-active="false"]:hover > :last-child {
opacity: 0.8;
}
.nodedc-home-user-card {
position: relative;
overflow: hidden;
isolation: isolate;
border-radius: 2rem !important;
background:
radial-gradient(circle at top right, rgba(var(--nodedc-accent-rgb), 0.22), transparent 42%),
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%), rgba(10, 10, 12, 0.82) !important;
box-shadow:
0 24px 52px rgba(0, 0, 0, 0.24),
inset 0 1px 0 rgba(255, 255, 255, 0.024) !important;
}
.nodedc-home-user-card-orb {
position: absolute;
top: -4.5rem;
right: -3rem;
width: 13rem;
height: 13rem;
border-radius: 999px;
background:
radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.34), transparent 32%),
radial-gradient(circle at center, rgba(var(--nodedc-accent-rgb), 0.88), rgba(255, 255, 255, 0.04) 72%);
opacity: 0.85;
filter: blur(12px);
pointer-events: none;
}
.nodedc-home-focus-card {
position: relative;
overflow: hidden;
isolation: isolate;
border-radius: 2rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%), rgba(10, 10, 12, 0.72) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
color: inherit !important;
}
.nodedc-home-focus-card::before {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(circle at top right, rgba(var(--nodedc-accent-rgb), 0.035), transparent 32%),
linear-gradient(135deg, rgba(255, 255, 255, 0.018), transparent 40%);
pointer-events: none;
}
.nodedc-home-focus-chip {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 2.25rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.06) !important;
padding: 0.5rem 0.9rem;
font-size: 0.75rem;
font-weight: 600;
color: rgb(var(--nodedc-accent-rgb)) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
}
.nodedc-home-focus-track {
height: 0.62rem;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
}
.nodedc-home-focus-fill {
height: 100%;
border-radius: inherit;
background: linear-gradient(
90deg,
rgba(var(--nodedc-accent-rgb), 0.96) 0%,
rgba(var(--nodedc-accent-rgb), 0.58) 100%
);
}
.nodedc-home-task-deck-scroller {
@@ -1620,9 +2101,22 @@
display: none;
}
.nodedc-home-task-deck-scroller-compact {
overflow-y: hidden;
}
.nodedc-home-task-deck-row-compact {
gap: 0;
padding-right: 4.5rem;
}
.nodedc-home-task-deck-row-compact > .nodedc-home-task-card + .nodedc-home-task-card {
margin-left: -4.75rem;
}
.nodedc-home-task-card {
width: 18.5rem;
min-width: 18.5rem;
width: 17.5rem;
min-width: 17.5rem;
border: 0 !important;
outline: none !important;
background: transparent !important;
@@ -1636,27 +2130,31 @@
filter 180ms ease;
}
.nodedc-home-task-card-compact {
width: 10.75rem;
min-width: 10.75rem;
}
.nodedc-home-task-card[data-active="true"] {
transform: translateY(-0.85rem) scale(1.015);
transform: translateY(-0.35rem);
z-index: 20;
}
.nodedc-home-task-card[data-active="false"] {
filter: saturate(0.88);
transform: scale(0.975);
filter: saturate(0.7) brightness(0.68);
transform: translateY(0);
}
.nodedc-home-task-card[data-active="false"]:hover {
transform: translateY(-0.2rem) scale(0.985);
filter: saturate(1);
transform: translateY(-0.18rem);
filter: saturate(0.78) brightness(0.75);
}
.nodedc-home-task-card-surface {
overflow: hidden;
isolation: isolate;
border-radius: 2rem !important;
box-shadow:
0 24px 48px rgba(0, 0, 0, 0.24),
inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
-webkit-backdrop-filter: blur(24px);
backdrop-filter: blur(24px);
transition:
@@ -1665,15 +2163,36 @@
color 180ms ease;
}
.nodedc-home-task-card-surface::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
opacity: 0;
pointer-events: none;
transition: opacity 180ms ease;
}
.nodedc-home-task-card[data-active="false"] .nodedc-home-task-card-surface {
-webkit-backdrop-filter: blur(24px);
backdrop-filter: blur(24px);
}
.nodedc-home-task-card[data-active="false"] .nodedc-home-task-card-surface::after {
opacity: 1;
background: linear-gradient(180deg, rgba(3, 3, 5, 0.14) 0%, rgba(3, 3, 5, 0.34) 100%), rgba(7, 7, 10, 0.22);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
}
.nodedc-home-task-card[data-active="false"] .nodedc-home-task-card-surface > * {
opacity: 0.68;
}
.nodedc-home-task-card-surface-passive {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.012) 100%),
rgba(7, 7, 9, 0.74) !important;
linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%), rgba(46, 46, 50, 0.9) !important;
color: rgba(245, 245, 247, 0.58) !important;
}
.nodedc-home-task-card-surface-active {
@@ -1682,7 +2201,6 @@
rgba(var(--nodedc-card-active-rgb), 0.96) !important;
color: rgb(var(--nodedc-on-card-active-rgb)) !important;
box-shadow:
0 30px 56px rgba(0, 0, 0, 0.28),
inset 0 0 0 1px rgba(255, 255, 255, 0.18),
inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}
@@ -1693,20 +2211,20 @@
-webkit-backdrop-filter: none !important;
backdrop-filter: none !important;
box-shadow:
0 30px 56px rgba(0, 0, 0, 0.28),
inset 0 0 0 1px rgba(255, 255, 255, 0.18),
inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}
.nodedc-home-task-card[data-active="true"] .nodedc-home-task-card-surface::after {
opacity: 0;
}
.nodedc-home-task-card-skeleton {
height: 14.75rem;
border-radius: 2rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.01) 100%),
rgba(7, 7, 9, 0.68) !important;
box-shadow:
0 24px 48px rgba(0, 0, 0, 0.22),
inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.01) 100%), rgba(7, 7, 9, 0.68) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
-webkit-backdrop-filter: blur(24px);
backdrop-filter: blur(24px);
}
@@ -1714,8 +2232,7 @@
.nodedc-home-metric-card {
border-radius: 1.5rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%),
rgba(7, 7, 9, 0.58);
linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%), rgba(7, 7, 9, 0.58);
padding: 1rem;
box-shadow:
0 14px 28px rgba(0, 0, 0, 0.14),
@@ -1724,19 +2241,16 @@
.nodedc-home-metric-card-accent {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0%, rgba(255, 255, 255, 0.008) 100%),
rgba(7, 7, 9, 0.62);
linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0%, rgba(255, 255, 255, 0.008) 100%), rgba(7, 7, 9, 0.62);
}
.nodedc-home-chart-panel {
border-radius: 1.75rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%),
rgba(7, 7, 9, 0.56);
radial-gradient(circle at top right, rgba(var(--nodedc-accent-rgb), 0.075), transparent 34%),
linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%), rgba(0, 0, 0, 0.12);
padding: 1rem;
box-shadow:
0 18px 34px rgba(0, 0, 0, 0.16),
inset 0 1px 0 rgba(255, 255, 255, 0.016) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.016) !important;
}
.nodedc-home-progress-track {
@@ -1755,11 +2269,8 @@
.nodedc-home-subpanel {
border-radius: 1.5rem !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%),
rgba(6, 6, 8, 0.64) !important;
box-shadow:
0 14px 28px rgba(0, 0, 0, 0.16),
inset 0 1px 0 rgba(255, 255, 255, 0.01) !important;
linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%), rgba(0, 0, 0, 0.1) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01) !important;
}
.nodedc-home-soft-badge {