Files
dc-observatio/services/pcp-tgu-ops-ui/src/styles/tgu-planning.css
T
Дмитрий Соловьев 9fca4d4051 pcp-tgu интерфейс
2026-05-29 16:09:36 +03:00

570 lines
9.4 KiB
CSS

.tgu-app-shell {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
height: 100%;
background:
linear-gradient(180deg, rgba(104, 195, 189, 0.06), transparent 22rem),
var(--bg-base);
}
.tgu-toolbar {
border-bottom: 1px solid var(--line);
background: rgba(23, 26, 28, 0.96);
box-shadow: var(--shadow);
z-index: 2;
}
.tgu-toolbar__row {
display: flex;
align-items: end;
gap: 0.75rem;
min-height: 4.4rem;
padding: 0.75rem 1rem 0.65rem;
overflow-x: auto;
}
.tgu-toolbar__brand {
display: flex;
align-items: center;
gap: 0.65rem;
min-width: 13.5rem;
padding-right: 0.5rem;
}
.tgu-toolbar__mark {
width: 1.5rem;
height: 1.5rem;
border: 2px solid var(--accent);
border-radius: 50%;
box-shadow: 0 0 18px rgba(104, 195, 189, 0.42);
}
.tgu-toolbar__title {
font-size: 0.96rem;
font-weight: 700;
}
.tgu-toolbar__subtitle {
margin-top: 0.1rem;
color: var(--text-dim);
font-family: "SFMono-Regular", Consolas, monospace;
font-size: 0.68rem;
text-transform: uppercase;
}
.tgu-field {
display: grid;
gap: 0.25rem;
color: var(--text-muted);
font-size: 0.72rem;
}
.tgu-field input,
.tgu-search input {
min-height: 2rem;
border: 1px solid var(--line);
border-radius: 6px;
background: #101214;
color: var(--text);
outline: none;
}
.tgu-field input {
width: 12.8rem;
padding: 0.38rem 0.55rem;
}
.tgu-field input:focus,
.tgu-search input:focus {
border-color: var(--accent);
box-shadow: 0 0 0 2px rgba(104, 195, 189, 0.16);
}
.tgu-button {
min-height: 2rem;
border: 1px solid var(--line);
border-radius: 6px;
padding: 0.38rem 0.72rem;
background: var(--bg-panel-2);
color: var(--text);
white-space: nowrap;
}
.tgu-button:hover:not(:disabled) {
border-color: #4e5a5d;
background: var(--bg-elevated);
}
.tgu-button--primary {
border-color: rgba(104, 195, 189, 0.58);
background: #214341;
color: #eafffd;
}
.tgu-button--accept {
border-color: rgba(47, 158, 68, 0.65);
background: rgba(47, 158, 68, 0.16);
}
.tgu-button--reject {
border-color: rgba(214, 69, 69, 0.7);
background: rgba(214, 69, 69, 0.14);
}
.tgu-legend {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.48rem 0.82rem;
padding: 0 1rem 0.75rem;
color: var(--text-muted);
font-size: 0.74rem;
}
.tgu-legend__item {
display: inline-flex;
align-items: center;
gap: 0.35rem;
white-space: nowrap;
}
.tgu-legend__swatch {
width: 1.05rem;
height: 0.46rem;
border-radius: 999px;
background: #79828d;
}
.tgu-legend__note {
color: var(--accent-strong);
}
.status-accepted {
background-color: #2f9e44;
}
.status-rejected {
background-color: #d64545;
}
.status-waiting {
background-color: #f0ad2e;
}
.status-planned {
background-color: #8d99a6;
}
.status-issuing {
background-color: #2f80ed;
}
.status-expired {
background-color: #495057;
}
.status-superseded {
background-color: #c7ced6;
}
.status-ambiguous {
background-color: #b42318;
outline: 1px dashed #ffd1d1;
}
.status-unknown {
background-color: #79828d;
}
.tgu-workspace {
display: grid;
grid-template-columns: 18.5rem minmax(0, 1fr) 22rem;
min-width: 0;
min-height: 0;
}
.tgu-sidebar,
.tgu-details {
min-height: 0;
background: var(--bg-panel);
}
.tgu-sidebar {
display: flex;
flex-direction: column;
border-right: 1px solid var(--line);
}
.tgu-panel-heading {
display: flex;
justify-content: space-between;
align-items: center;
min-height: 3rem;
padding: 0.75rem 0.9rem;
border-bottom: 1px solid var(--line-soft);
font-size: 0.82rem;
font-weight: 700;
text-transform: uppercase;
}
.tgu-link-button {
border: 0;
background: transparent;
color: var(--accent);
font-size: 0.78rem;
}
.tgu-search {
padding: 0.75rem 0.8rem;
}
.tgu-search input {
width: 100%;
padding: 0.42rem 0.65rem;
}
.tgu-spacecraft-list {
display: grid;
align-content: start;
gap: 0.35rem;
min-height: 0;
overflow: auto;
padding: 0 0.55rem 0.9rem;
}
.tgu-spacecraft {
display: grid;
grid-template-columns: 0.58rem minmax(0, 1fr) auto;
gap: 0.55rem;
align-items: center;
width: 100%;
min-height: 4.35rem;
border: 1px solid transparent;
border-radius: 7px;
padding: 0.55rem 0.62rem;
background: transparent;
color: var(--text);
text-align: left;
}
.tgu-spacecraft:hover,
.tgu-spacecraft.is-selected {
border-color: var(--line);
background: var(--bg-panel-2);
}
.tgu-spacecraft.is-selected {
border-color: rgba(104, 195, 189, 0.6);
}
.tgu-spacecraft__problem {
width: 0.48rem;
height: 0.48rem;
border-radius: 50%;
background: #465154;
}
.tgu-spacecraft__problem.is-problem {
background: var(--danger);
box-shadow: 0 0 12px rgba(214, 69, 69, 0.55);
}
.tgu-spacecraft__body {
display: grid;
min-width: 0;
gap: 0.18rem;
}
.tgu-spacecraft__name {
overflow: hidden;
font-size: 0.86rem;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.tgu-spacecraft__meta,
.tgu-spacecraft__status {
overflow: hidden;
color: var(--text-dim);
font-size: 0.72rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.tgu-spacecraft__count {
display: grid;
place-items: center;
min-width: 1.75rem;
height: 1.5rem;
border-radius: 5px;
background: #101214;
color: var(--accent-strong);
font-family: "SFMono-Regular", Consolas, monospace;
font-size: 0.78rem;
}
.tgu-center {
min-width: 0;
min-height: 0;
overflow: auto;
background: #121516;
}
.tgu-timeline {
min-width: 48rem;
min-height: 100%;
padding: 0.85rem;
}
.tgu-timeline__svg {
display: block;
width: 100%;
min-height: 26rem;
border: 1px solid var(--line);
border-radius: 8px;
background: #151819;
}
.tgu-timeline__background {
fill: #151819;
}
.tgu-timeline__labels-background {
fill: #181c1e;
}
.tgu-timeline__axis,
.tgu-timeline__grid {
stroke: #343c3f;
stroke-width: 1;
}
.tgu-timeline__grid {
stroke-dasharray: 3 5;
}
.tgu-timeline__tick-date {
fill: #d2dddd;
font-size: 12px;
font-weight: 650;
}
.tgu-timeline__tick-time,
.tgu-timeline__row-meta {
fill: #79878a;
font-size: 11px;
}
.tgu-timeline__now {
stroke: #f46e4f;
stroke-width: 1.7;
stroke-dasharray: 5 5;
}
.tgu-timeline__now-label {
fill: #f46e4f;
font-size: 12px;
font-weight: 700;
}
.tgu-timeline__row {
fill: #151819;
stroke: #22282a;
stroke-width: 1;
}
.tgu-timeline__row--alt {
fill: #171b1d;
}
.tgu-timeline__row-title {
fill: #e2e9e9;
font-size: 13px;
font-weight: 700;
}
.tgu-timeline__arrow {
fill: none;
stroke: #8aa2a6;
stroke-width: 1.5;
opacity: 0.8;
}
.tgu-timeline-plan {
cursor: pointer;
}
.tgu-timeline-plan__bar {
stroke-linecap: round;
stroke-width: 13;
}
.tgu-timeline-plan__selection {
stroke: #efffff;
stroke-linecap: round;
stroke-width: 19;
opacity: 0.85;
}
.tgu-timeline-plan__label {
fill: #101214;
font-size: 11px;
font-weight: 700;
pointer-events: none;
}
.tgu-details {
display: flex;
flex-direction: column;
gap: 0.9rem;
overflow: auto;
border-left: 1px solid var(--line);
padding: 1rem;
}
.tgu-details--empty {
align-items: center;
justify-content: center;
}
.tgu-details__placeholder {
display: grid;
justify-items: center;
gap: 0.75rem;
color: var(--text-dim);
text-align: center;
}
.tgu-details__placeholder-icon {
width: 2.2rem;
height: 1rem;
border: 2px solid var(--line);
border-radius: 999px;
}
.tgu-details__header {
display: flex;
align-items: start;
justify-content: space-between;
gap: 0.8rem;
}
.tgu-details__eyebrow {
color: var(--text-dim);
font-size: 0.68rem;
text-transform: uppercase;
}
.tgu-details h2 {
margin: 0.25rem 0 0;
overflow-wrap: anywhere;
font-size: 1rem;
line-height: 1.25;
}
.tgu-icon-button {
display: grid;
place-items: center;
width: 1.8rem;
height: 1.8rem;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--bg-panel-2);
color: var(--text-muted);
}
.tgu-status-pill {
align-self: flex-start;
border-radius: 999px;
padding: 0.22rem 0.65rem;
color: #101214;
font-family: "SFMono-Regular", Consolas, monospace;
font-size: 0.72rem;
font-weight: 800;
}
.tgu-details-grid {
display: grid;
gap: 0.72rem;
margin: 0;
}
.tgu-details-grid dt {
margin-bottom: 0.18rem;
color: var(--text-dim);
font-size: 0.68rem;
text-transform: uppercase;
}
.tgu-details-grid dd {
margin: 0;
overflow-wrap: anywhere;
color: var(--text);
font-size: 0.84rem;
}
.tgu-details__actions {
display: flex;
gap: 0.6rem;
padding-top: 0.35rem;
}
.tgu-alert {
border: 1px solid var(--line);
border-radius: 7px;
padding: 0.62rem 0.72rem;
font-size: 0.8rem;
line-height: 1.35;
}
.tgu-toolbar > .tgu-alert {
margin: 0 1rem 0.75rem;
}
.tgu-alert--danger {
border-color: rgba(214, 69, 69, 0.48);
background: rgba(214, 69, 69, 0.12);
color: #ffd9d9;
}
.tgu-alert--warning {
border-color: rgba(240, 173, 46, 0.48);
background: rgba(240, 173, 46, 0.12);
color: #ffe7b5;
}
.tgu-alert--success {
border-color: rgba(47, 158, 68, 0.48);
background: rgba(47, 158, 68, 0.12);
color: #c9f7d2;
}
.tgu-empty {
display: grid;
place-items: center;
min-height: 18rem;
padding: 2rem;
color: var(--text-dim);
text-align: center;
}
.tgu-empty--compact {
min-height: 5rem;
padding: 1rem;
font-size: 0.82rem;
}
@media (max-width: 1100px) {
.tgu-workspace {
grid-template-columns: 16rem minmax(0, 1fr);
}
.tgu-details {
grid-column: 1 / -1;
max-height: 18rem;
border-left: 0;
border-top: 1px solid var(--line);
}
}