Files
NODEDC_DEVICE_CORE/apps/device-manager/src/styles.css
T
DCCONSTRUCTIONS 1b3001dfa1
Device Core qualification / qualify (push) Successful in 7m21s
Remove passive access summary from project overview
2026-10-01 12:17:22 +03:00

1683 lines
32 KiB
CSS

.device-control-stack {
gap: 22px;
}
.device-control-toolbar {
align-items: center;
padding: 2px 0 14px;
}
.device-control-toolbar > p {
max-width: 720px;
margin: 0;
color: var(--nodedc-text-secondary);
line-height: 1.55;
}
.device-control-toolbar__actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
.device-control-section {
display: grid;
gap: 12px;
}
.device-control-section__title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.device-control-section__title h3 {
margin: 0;
font-size: 15px;
letter-spacing: -0.01em;
}
.device-control-resource-grid {
display: grid;
gap: var(--nodedc-space-3);
grid-template-columns: minmax(0, 1fr);
}
.device-control-row {
min-width: 0;
}
.device-control-row__status {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
min-width: 0;
}
.device-control-row__status small {
max-width: 260px;
overflow: hidden;
color: var(--nodedc-text-muted);
text-overflow: ellipsis;
white-space: nowrap;
}
.device-control-command-policy {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 16px;
}
.device-control-command-policy > svg {
color: rgb(var(--nodedc-warning-rgb));
}
.device-control-command-policy strong,
.device-control-command-policy p {
display: block;
margin: 0;
}
.device-control-command-form {
display: grid;
grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
align-items: start;
gap: 14px;
}
.device-control-command-form > .nodedc-select-anchor,
.device-control-command-form > .nodedc-button {
margin-top: 1.35rem;
}
.device-control-command-policy p {
margin-top: 5px;
color: var(--nodedc-text-secondary);
font-size: 13px;
line-height: 1.5;
}
.device-control-policy-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.device-control-policy-grid .nodedc-glass-surface {
display: grid;
gap: 8px;
}
.device-control-policy-grid small {
color: var(--nodedc-text-muted);
}
.device-control-policy-grid strong {
font-size: 14px;
}
.device-control-form {
min-width: 0;
}
.infrastructure-system-workspace {
--infrastructure-panel-soft: var(--nodedc-canvas-soft);
--infrastructure-accent-soft: color-mix(in srgb, var(--nodedc-text-primary) 4.5%, transparent);
--infrastructure-hairline: color-mix(in srgb, var(--nodedc-text-primary) 8%, transparent);
display: grid;
min-width: 0;
gap: 1rem;
padding-bottom: 1rem;
}
.infrastructure-overview-block,
.infrastructure-hosts-block,
.infrastructure-assets-block {
min-width: 0;
border-radius: var(--nodedc-radius-card);
padding: 1rem;
}
.infrastructure-eyebrow {
display: block;
color: var(--nodedc-text-muted);
font-size: 0.62rem;
font-weight: 820;
letter-spacing: 0.12em;
line-height: 1.2;
text-transform: uppercase;
}
.infrastructure-workspace-lead,
.infrastructure-section-heading {
display: flex;
min-width: 0;
align-items: flex-start;
justify-content: space-between;
gap: 1.2rem;
}
.infrastructure-workspace-lead {
padding: 0;
}
.infrastructure-workspace-lead h2,
.infrastructure-section-heading h3 {
margin: 0.4rem 0 0;
color: var(--nodedc-text-primary);
letter-spacing: -0.035em;
}
.infrastructure-workspace-lead h2 {
font-size: 1.42rem;
}
.infrastructure-section-heading h3 {
font-size: 1.02rem;
}
.infrastructure-workspace-lead p,
.infrastructure-section-heading p {
max-width: 48rem;
margin: 0.42rem 0 0;
color: var(--nodedc-text-muted);
font-size: 0.68rem;
line-height: 1.48;
}
.infrastructure-workspace-actions,
.infrastructure-section-actions {
display: flex;
flex: 0 0 auto;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 0.55rem;
}
.infrastructure-overview-grid,
.host-monitoring-series-grid {
display: grid;
min-width: 0;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.65rem;
}
.infrastructure-overview-block .infrastructure-overview-grid {
margin-top: 1rem;
}
.infrastructure-count-card,
.host-monitoring-series {
min-width: 0;
border-radius: var(--nodedc-radius-card);
}
.infrastructure-count-card {
display: grid;
align-content: center;
gap: 0.3rem;
min-height: 5.4rem;
padding: 0.82rem;
background: var(--infrastructure-accent-soft);
}
.infrastructure-count-card span,
.infrastructure-count-card small,
.host-monitoring-series span {
color: var(--nodedc-text-muted);
font-size: 0.62rem;
}
.infrastructure-count-card strong,
.host-monitoring-series strong {
color: var(--nodedc-text-primary);
font-size: 1.14rem;
font-weight: 720;
letter-spacing: -0.035em;
white-space: nowrap;
}
.infrastructure-count-card small {
overflow: hidden;
font-size: 0.55rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.infrastructure-section {
display: grid;
min-width: 0;
gap: 0.75rem;
}
.infrastructure-section--separated {
padding-top: 0.25rem;
border-top: 1px solid var(--infrastructure-hairline);
}
.infrastructure-runtime-grid,
.infrastructure-asset-grid,
.host-monitoring-network-grid {
display: grid;
min-width: 0;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.7rem;
}
.infrastructure-host-list {
display: grid;
min-width: 0;
gap: 0.5rem;
}
.infrastructure-host-card,
.infrastructure-runtime-card,
.host-monitoring-runtime-card,
.host-monitoring-network-card {
display: grid;
min-width: 0;
gap: 0.9rem;
}
.infrastructure-host-card {
overflow: hidden;
border-radius: var(--nodedc-radius-control);
background: var(--infrastructure-accent-soft);
}
.infrastructure-host-card__summary,
.infrastructure-runtime-card > header,
.host-monitoring-runtime-card > header {
display: flex;
min-width: 0;
align-items: center;
justify-content: space-between;
gap: 0.8rem;
}
.infrastructure-host-card__summary {
min-height: 4.35rem;
padding: 0.62rem 0.72rem;
}
.infrastructure-host-card__identity {
min-width: 0;
}
.infrastructure-host-card__actions {
display: flex;
flex: 0 0 auto;
align-items: center;
gap: 0.6rem;
}
.infrastructure-host-card__freshness {
width: 0.48rem;
height: 0.48rem;
flex: 0 0 0.48rem;
border-radius: 50%;
background: var(--nodedc-text-muted);
}
.infrastructure-host-card__freshness[data-freshness="fresh"] {
background: rgb(var(--nodedc-success-rgb));
}
.infrastructure-host-card__freshness[data-freshness="stale"] {
background: rgb(var(--nodedc-warning-rgb));
}
.infrastructure-host-card__toggle svg {
transition: transform 160ms ease;
}
.infrastructure-host-card[data-expanded="true"] .infrastructure-host-card__toggle svg {
transform: rotate(180deg);
}
.infrastructure-host-card h4,
.infrastructure-runtime-card h3,
.host-monitoring-runtime-card h3 {
margin: 0.38rem 0 0.18rem;
color: var(--nodedc-text-primary);
font-size: 0.9rem;
letter-spacing: -0.025em;
}
.infrastructure-host-card code,
.infrastructure-runtime-card code,
.host-monitoring-runtime-card code {
display: block;
max-width: 23rem;
overflow: hidden;
color: var(--nodedc-text-muted);
font-size: 0.56rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.infrastructure-host-card__details {
display: grid;
min-width: 0;
gap: 0.8rem;
padding: 0 0.72rem 0.72rem;
}
.infrastructure-host-card__facts {
display: grid;
min-width: 0;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin: 0;
padding: 0.72rem;
border-radius: var(--nodedc-radius-control);
}
.infrastructure-host-card__facts > div {
display: grid;
min-width: 0;
gap: 0.22rem;
padding-right: 0.65rem;
}
.infrastructure-host-card__facts dt {
color: var(--nodedc-text-muted);
font-size: 0.58rem;
}
.infrastructure-host-card__facts dd {
overflow: hidden;
margin: 0;
color: var(--nodedc-text-primary);
font-size: 0.67rem;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.infrastructure-host-relations {
display: grid;
min-width: 0;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.65rem;
}
.infrastructure-host-relations > section {
display: grid;
min-width: 0;
align-content: start;
gap: 0.55rem;
padding: 0.72rem;
border-radius: var(--nodedc-radius-control);
}
.infrastructure-host-relations > section > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.65rem;
}
.infrastructure-host-relations > section > header strong {
color: var(--nodedc-text-primary);
font-size: 0.68rem;
}
.infrastructure-host-relations > section > p {
margin: 0;
color: var(--nodedc-text-muted);
font-size: 0.58rem;
line-height: 1.45;
}
.infrastructure-host-relations .infrastructure-registry-row {
padding: 0.58rem 0.62rem;
}
.infrastructure-host-relations .infrastructure-registry-row .nodedc-status {
font-size: 0;
}
.infrastructure-host-relations .infrastructure-registry-row .nodedc-status::before {
margin: 0;
}
.infrastructure-host-card dl,
.infrastructure-runtime-card dl,
.host-monitoring-runtime-card dl,
.host-monitoring-network-card dl {
display: grid;
min-width: 0;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin: 0;
gap: 0;
}
.infrastructure-host-card dl > div,
.infrastructure-runtime-card dl > div,
.host-monitoring-runtime-card dl > div,
.host-monitoring-network-card dl > div {
display: grid;
min-width: 0;
gap: 0.22rem;
padding-right: 0.65rem;
}
.infrastructure-host-card dt,
.infrastructure-runtime-card dt,
.host-monitoring-runtime-card dt,
.host-monitoring-network-card dt,
.host-monitoring-hardware-facts dt {
color: var(--nodedc-text-muted);
font-size: 0.58rem;
}
.infrastructure-host-card dd,
.infrastructure-runtime-card dd,
.host-monitoring-runtime-card dd,
.host-monitoring-network-card dd,
.host-monitoring-hardware-facts dd {
min-width: 0;
overflow: hidden;
margin: 0;
color: var(--nodedc-text-primary);
font-size: 0.67rem;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.infrastructure-host-card footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.8rem;
}
.infrastructure-host-card footer > span {
overflow: hidden;
color: var(--nodedc-text-muted);
font-size: 0.58rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.infrastructure-registry-list {
display: grid;
min-width: 0;
gap: 0.48rem;
}
.infrastructure-registry-row,
.infrastructure-asset-card {
display: flex;
min-width: 0;
align-items: center;
justify-content: space-between;
gap: 0.9rem;
padding: 0.72rem 0.8rem;
border-radius: var(--nodedc-radius-control);
}
.infrastructure-registry-row > div,
.infrastructure-asset-card > div {
display: grid;
min-width: 0;
gap: 0.2rem;
}
.infrastructure-registry-row > div:last-child,
.infrastructure-asset-card > div:last-child {
flex: 0 0 auto;
justify-items: end;
}
.infrastructure-registry-row strong,
.infrastructure-asset-card strong {
overflow: hidden;
color: var(--nodedc-text-primary);
font-size: 0.68rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.infrastructure-registry-row small,
.infrastructure-asset-card small {
overflow: hidden;
color: var(--nodedc-text-muted);
font-size: 0.55rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.infrastructure-empty {
padding: 0.8rem;
border-radius: var(--nodedc-radius-control);
color: var(--nodedc-text-muted);
font-size: 0.65rem;
line-height: 1.5;
}
.host-monitoring-series {
overflow: hidden;
padding: 0.82rem 0.82rem 0.32rem;
}
.host-monitoring-series > div {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 0.75rem;
}
.host-monitoring-series__label {
display: grid;
min-width: 0;
gap: 0.16rem;
}
.host-monitoring-series__label small {
overflow: hidden;
max-width: 11rem;
color: var(--nodedc-text-secondary);
font-size: 0.54rem;
line-height: 1.15;
text-overflow: ellipsis;
white-space: nowrap;
}
.host-monitoring-series svg {
display: block;
width: 100%;
height: 2.45rem;
margin-top: 0.45rem;
}
.host-monitoring-series path {
fill: none;
stroke: var(--infrastructure-hairline);
stroke-width: 0.8;
vector-effect: non-scaling-stroke;
}
.host-monitoring-series polyline {
fill: none;
stroke: var(--nodedc-text-primary);
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1.15;
vector-effect: non-scaling-stroke;
}
.host-monitoring-series__range {
display: block;
margin-top: -0.1rem;
color: var(--nodedc-text-secondary);
font-size: 0.5rem;
line-height: 1.2;
text-align: right;
}
.host-monitoring-hardware {
display: grid;
min-width: 0;
gap: 1rem;
}
.host-monitoring-hardware-facts {
display: grid;
min-width: 0;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.7rem;
}
.host-monitoring-hardware-facts dl {
display: grid;
min-width: 0;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin: 0;
gap: 0;
border-radius: var(--nodedc-radius-control);
}
.host-monitoring-hardware-facts dl > div {
display: grid;
min-width: 0;
gap: 0.22rem;
padding: 0.75rem;
}
.host-monitoring-disk-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
gap: 0.55rem;
}
.host-monitoring-disk-list > div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.8rem;
padding: 0.62rem 0.72rem;
border-radius: var(--nodedc-radius-control);
background: var(--infrastructure-accent-soft);
}
.host-monitoring-disk-list span {
color: var(--nodedc-text-muted);
font-size: 0.61rem;
}
.host-monitoring-disk-list strong {
color: var(--nodedc-text-primary);
font-size: 0.64rem;
}
.host-monitoring-network-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.65rem;
}
.host-monitoring-network-card header strong,
.host-monitoring-network-card header small {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.host-monitoring-network-card header strong {
color: var(--nodedc-text-primary);
font-size: 0.71rem;
}
.host-monitoring-network-card header small {
margin-top: 0.25rem;
color: var(--nodedc-text-muted);
font-size: 0.55rem;
}
.host-monitoring-network-card dl {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.65rem;
}
@media (max-width: 1100px) {
.infrastructure-overview-grid,
.host-monitoring-series-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.host-monitoring-network-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.infrastructure-host-relations {
grid-template-columns: 1fr;
}
}
@media (max-width: 760px) {
.device-control-resource-grid,
.device-control-policy-grid {
grid-template-columns: 1fr;
}
.device-control-toolbar {
align-items: stretch;
}
.device-control-toolbar__actions,
.device-control-toolbar__actions > * {
width: 100%;
}
.device-control-command-policy {
grid-template-columns: auto 1fr;
}
.device-control-command-form {
grid-template-columns: 1fr;
}
.device-control-command-form > .nodedc-select-anchor,
.device-control-command-form > .nodedc-button {
margin-top: 0;
}
.device-control-command-policy > .nodedc-status {
grid-column: 2;
justify-self: start;
}
.device-control-row {
grid-template-columns: auto minmax(0, 1fr);
}
.device-control-row__status {
grid-column: 2;
justify-content: flex-start;
}
.infrastructure-workspace-lead,
.infrastructure-section-heading {
display: grid;
}
.infrastructure-workspace-actions,
.infrastructure-section-actions {
justify-content: space-between;
}
.infrastructure-overview-grid,
.host-monitoring-series-grid,
.infrastructure-host-list,
.infrastructure-runtime-grid,
.infrastructure-asset-grid,
.host-monitoring-hardware-facts,
.host-monitoring-network-grid {
grid-template-columns: 1fr;
}
.infrastructure-host-card__facts,
.infrastructure-runtime-card dl,
.host-monitoring-runtime-card dl {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.65rem;
}
.infrastructure-host-card__summary,
.infrastructure-registry-row,
.infrastructure-asset-card {
align-items: flex-start;
}
.infrastructure-host-card__summary {
display: grid;
}
.infrastructure-host-card__actions {
width: 100%;
justify-content: flex-end;
}
}
html,
body,
#root {
width: 100%;
min-width: 320px;
height: 100%;
margin: 0;
}
body {
overflow: hidden;
background: var(--nodedc-canvas);
}
.device-manager-boot {
display: grid;
height: 100%;
place-items: center;
color: var(--nodedc-text-secondary);
font: 500 0.9rem/1.4 var(--nodedc-font-family);
}
.device-manager-brand {
display: block;
width: 124px;
height: auto;
}
.device-context-menu__content {
display: grid;
gap: 0.75rem;
padding: 0.7rem;
}
.device-context-menu__heading {
display: grid;
gap: 0.22rem;
padding: 0.45rem 0.55rem 0.55rem;
}
.device-context-menu__heading span,
.device-context-menu__group > small {
color: var(--nodedc-text-tertiary);
font-size: 0.62rem;
font-weight: 780;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.device-context-menu__heading strong {
overflow: hidden;
font-size: 0.86rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-context-menu__group {
display: grid;
gap: 0.3rem;
}
.device-context-menu__group > small {
padding: 0 0.55rem;
}
.device-context-menu__option {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
text-align: left;
}
.device-context-menu__option > span {
display: grid;
min-width: 0;
gap: 0.12rem;
}
.device-context-menu__option strong,
.device-context-menu__option small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-context-menu__option strong {
font-size: 0.78rem;
}
.device-context-menu__option small {
color: var(--nodedc-text-secondary);
font-size: 0.65rem;
}
.device-manager-stage {
height: 100%;
overflow: hidden;
}
.device-manager-home {
position: relative;
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
overflow: hidden;
border-radius: var(--nodedc-radius-card);
background: var(--nodedc-canvas);
isolation: isolate;
}
.device-manager-home__media,
.device-manager-home__scrim {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.device-manager-home__media {
z-index: 0;
display: block;
object-fit: cover;
}
.device-manager-home__scrim {
z-index: 1;
background:
linear-gradient(90deg, rgb(5 6 8 / 0.82) 0%, rgb(5 6 8 / 0.54) 46%, rgb(5 6 8 / 0.24) 100%),
linear-gradient(0deg, rgb(5 6 8 / 0.58), transparent 38%);
pointer-events: none;
}
.device-manager-home:not([data-has-media="true"]) .device-manager-home__scrim {
background:
radial-gradient(circle at 68% 42%, rgb(255 255 255 / 0.035), transparent 34%),
linear-gradient(90deg, rgb(5 6 8 / 0.2), transparent 62%);
}
.device-manager-hero {
position: absolute;
z-index: 2;
top: 50%;
left: clamp(2rem, 5vw, 6rem);
width: min(39rem, 50%);
transform: translateY(-55%);
}
.device-manager-hero__icon {
display: block;
width: clamp(54px, 6vw, 82px);
height: clamp(54px, 6vw, 82px);
margin-bottom: 1.25rem;
border-radius: var(--nodedc-radius-control);
object-fit: cover;
}
.device-manager-hero > span {
color: rgb(var(--nodedc-accent-rgb));
font-size: 0.68rem;
font-weight: 760;
letter-spacing: 0.16em;
}
.device-manager-hero h1 {
margin: 0.75rem 0 1rem;
color: var(--nodedc-text-primary);
font-size: clamp(3rem, 7vw, 7.6rem);
font-weight: 600;
letter-spacing: -0.072em;
line-height: 0.87;
}
.device-manager-hero p {
max-width: 34rem;
margin: 0;
color: var(--nodedc-text-secondary);
font-size: clamp(0.8rem, 1vw, 1rem);
line-height: 1.6;
}
.device-manager-hero__actions {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
margin-top: 1.6rem;
}
@media (max-width: 1480px) {
.device-manager-hero {
width: min(35rem, 54%);
}
}
.environment-settings {
display: grid;
gap: 1rem;
}
.environment-settings__copy,
.environment-settings__quick-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.85rem;
}
.environment-settings__editor,
.environment-settings__quick-actions > div,
.environment-media-playlist,
.environment-media-playlist__items,
.environment-media-playlist__timing {
display: grid;
min-width: 0;
gap: 0.85rem;
}
.environment-settings__quick-actions > div {
gap: 0.4rem;
}
.environment-settings__quick-actions span {
color: var(--nodedc-text-secondary);
font-size: 0.68rem;
font-weight: 650;
}
.environment-settings__quick-actions .nodedc-select-anchor,
.environment-settings__quick-actions .nodedc-select {
width: 100%;
}
.environment-media-playlist__head {
display: flex;
min-width: 0;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.environment-media-playlist__head > div {
display: grid;
min-width: 0;
gap: 0.22rem;
}
.environment-media-playlist__head span {
color: var(--nodedc-text-secondary);
font-size: var(--nodedc-font-size-sm);
font-weight: var(--nodedc-font-weight-medium);
}
.environment-media-playlist__head p,
.environment-media-playlist__empty,
.environment-media-playlist__timing > span,
.environment-media-playlist__error {
margin: 0;
color: var(--nodedc-text-muted);
font-size: var(--nodedc-font-size-xs);
line-height: 1.4;
}
.environment-media-playlist__error {
color: rgb(var(--nodedc-danger-rgb));
}
.environment-media-playlist__items {
gap: 0.7rem;
}
.environment-media-playlist__item {
display: grid;
min-width: 0;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
gap: 0.4rem;
}
.environment-media-playlist__item-actions {
display: flex;
align-items: center;
gap: 0.1rem;
padding-top: 1.65rem;
}
.environment-media-playlist__timing {
gap: 0.42rem;
}
.device-manager-alert {
display: flex;
max-width: 1420px;
align-items: center;
gap: 0.75rem;
margin: 0 auto 1.25rem;
color: var(--nodedc-text-primary);
}
.device-manager-alert span {
flex: 1;
}
.device-manager-metric {
display: grid;
min-height: 142px;
align-content: space-between;
gap: 0.4rem;
}
.device-manager-metric > span:first-child {
color: var(--nodedc-text-secondary);
font-size: 0.78rem;
}
.device-manager-metric > strong {
color: var(--nodedc-text-primary);
font-size: clamp(2rem, 3vw, 3.25rem);
font-weight: 520;
letter-spacing: -0.05em;
}
.device-manager-metric .nodedc-status {
width: max-content;
}
.device-manager-navigation-context {
display: grid;
gap: 0.65rem;
}
.device-manager-entity__icon {
display: grid;
width: 44px;
height: 44px;
place-items: center;
border-radius: 50%;
background: rgb(var(--nodedc-accent-rgb) / 0.12);
color: rgb(var(--nodedc-accent-rgb));
}
.device-manager-empty {
display: grid;
min-height: 220px;
place-items: center;
align-content: center;
gap: 0.65rem;
text-align: center;
}
.device-manager-empty h3,
.device-manager-empty p {
margin: 0;
}
.device-manager-empty p,
.device-manager-card-copy {
color: var(--nodedc-text-secondary);
font-size: 0.82rem;
line-height: 1.55;
}
.device-manager-panel-empty {
display: grid;
min-height: 220px;
place-items: center;
color: var(--nodedc-text-secondary);
font-size: 0.82rem;
line-height: 1.55;
text-align: center;
}
.device-manager-stack,
.device-manager-entity-list {
display: grid;
gap: 0.85rem;
}
.device-manager-panel-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.4rem;
}
.device-manager-panel-toolbar p {
margin: 0;
color: var(--nodedc-text-secondary);
font-size: 0.82rem;
}
.device-manager-entity {
display: flex;
align-items: center;
gap: 0.85rem;
}
.device-manager-entity__icon {
width: 34px;
height: 34px;
}
.device-manager-entity__body {
display: grid;
flex: 1;
gap: 0.18rem;
}
.device-manager-entity__body small {
overflow: hidden;
color: var(--nodedc-text-secondary);
font-size: 0.74rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-manager-capabilities {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
}
.device-inventory {
display: grid;
gap: 1rem;
}
.device-inventory__toolbar > div:first-child {
display: grid;
gap: 0.2rem;
}
.device-inventory__toolbar strong {
font-size: 0.95rem;
}
.device-inventory__filters {
display: grid;
max-width: 960px;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.75rem;
}
.device-inventory__pending {
display: grid;
gap: 0.75rem;
margin-top: 0.45rem;
padding-top: 1rem;
}
.device-inventory__section-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.device-inventory__section-heading > div {
display: grid;
gap: 0.18rem;
}
.device-inventory__section-heading p {
margin: 0;
color: var(--nodedc-text-secondary);
font-size: 0.75rem;
}
.device-inventory__pending-empty {
min-height: 92px;
}
.device-inventory__empty {
min-height: 280px;
}
.device-inventory-table {
display: grid;
overflow: hidden;
gap: 0.25rem;
}
.device-inventory-table__head,
.device-inventory-row {
display: grid;
grid-template-columns: minmax(180px, 1.35fr) minmax(120px, 0.85fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(90px, 0.7fr) minmax(150px, 0.9fr) 28px;
align-items: center;
gap: 0.8rem;
}
.device-inventory-table__head {
padding: 0.75rem 1rem;
color: var(--nodedc-text-tertiary);
font-size: 0.66rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.device-inventory-row {
width: 100%;
min-height: 58px;
justify-content: stretch;
text-align: left;
}
.device-inventory-row > span {
min-width: 0;
overflow: hidden;
color: var(--nodedc-text-secondary);
font-size: 0.76rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-inventory-row__device {
display: flex;
align-items: center;
gap: 0.7rem;
}
.device-inventory-row__device > span:last-child {
display: grid;
min-width: 0;
gap: 0.15rem;
}
.device-inventory-row__device strong {
overflow: hidden;
color: var(--nodedc-text-primary);
font-size: 0.82rem;
text-overflow: ellipsis;
}
.device-inventory-row__device small {
overflow: hidden;
color: var(--nodedc-text-tertiary);
font-size: 0.67rem;
text-overflow: ellipsis;
}
.device-inventory-row__icon {
display: grid;
width: 32px;
height: 32px;
flex: 0 0 32px;
place-items: center;
border-radius: var(--nodedc-radius-control-compact);
background: var(--nodedc-panel-icon-bg);
color: rgb(var(--nodedc-accent-rgb));
}
.device-inventory-row__open {
display: grid;
justify-items: end;
color: var(--nodedc-text-tertiary) !important;
}
.device-detail {
display: grid;
gap: 1rem;
}
.device-detail__header {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 0.9rem;
padding-bottom: 1rem;
}
.device-detail__identity {
display: grid;
min-width: 0;
gap: 0.12rem;
}
.device-detail__identity small {
color: rgb(var(--nodedc-accent-rgb));
font-size: 0.65rem;
font-weight: 800;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.device-detail__identity h2,
.device-detail__identity p {
margin: 0;
}
.device-detail__identity h2 {
overflow: hidden;
font-size: clamp(1.15rem, 2vw, 1.55rem);
text-overflow: ellipsis;
white-space: nowrap;
}
.device-detail__identity p {
overflow: hidden;
color: var(--nodedc-text-secondary);
font-size: 0.73rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-detail__legend {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
}
.device-detail__connection {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.85rem;
}
.device-detail__connection > div {
display: grid;
min-width: 0;
gap: 0.2rem;
}
.device-detail__connection span {
color: var(--nodedc-text-tertiary);
font-size: 0.62rem;
}
.device-detail__connection strong {
overflow: hidden;
font-size: 0.75rem;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.device-detail__layout {
display: grid;
grid-template-columns: minmax(0, 1fr);
align-items: start;
gap: 1rem;
}
.device-detail-header-tools {
display: flex;
align-items: center;
gap: 0.45rem;
}
.device-detail-section-select {
width: min(20rem, 38vw);
}
.device-detail-header-tools [data-active="true"] {
border-color: rgb(var(--nodedc-accent-rgb) / 0.42);
color: rgb(var(--nodedc-accent-rgb));
}
.device-detail-section {
display: grid;
min-width: 0;
gap: 0.9rem;
}
.device-detail-section__heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
}
.device-detail-section__heading > div {
display: grid;
gap: 0.28rem;
}
.device-detail-section__heading span:first-child {
color: var(--nodedc-text-tertiary);
font-size: 0.62rem;
font-weight: 800;
letter-spacing: 0.09em;
text-transform: uppercase;
}
.device-detail-section__heading h3,
.device-detail-section__heading p {
margin: 0;
}
.device-detail-section__heading h3 {
font-size: 1.08rem;
}
.device-detail-section__heading p {
max-width: 760px;
color: var(--nodedc-text-secondary);
font-size: 0.75rem;
line-height: 1.55;
}
.device-detail-notice {
display: flex;
align-items: flex-start;
gap: 0.55rem;
color: var(--nodedc-text-secondary);
font-size: 0.7rem;
line-height: 1.45;
}
.device-detail-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.55rem;
}
.device-detail-field {
display: grid;
min-width: 0;
gap: 0.42rem;
}
.device-detail-field[data-editing="true"] {
align-content: start;
border-color: rgb(var(--nodedc-accent-rgb) / 0.28);
}
.device-detail-edit-actions {
display: flex;
justify-content: flex-end;
gap: 0.55rem;
padding-top: 0.85rem;
}
.device-detail-field__label {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.4rem;
color: var(--nodedc-text-secondary);
font-size: 0.67rem;
}
.device-detail-field strong {
overflow-wrap: anywhere;
font-size: 0.8rem;
font-weight: 650;
line-height: 1.4;
}
.device-detail-field > small {
color: var(--nodedc-text-tertiary);
font-size: 0.62rem;
line-height: 1.45;
}
.device-access-badge--compact {
flex: 0 0 auto;
padding: 0.25rem 0.45rem !important;
font-size: 0.56rem !important;
}
.device-detail-section__state {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 0.35rem 0.7rem;
padding-top: 0.85rem;
color: var(--nodedc-text-secondary);
font-size: 0.65rem;
}
.device-detail-section__state strong {
overflow-wrap: anywhere;
color: var(--nodedc-text-primary);
font-weight: 600;
}
.device-manager-form {
display: grid;
gap: 1rem;
}
.device-manager-form textarea {
min-height: 110px;
resize: vertical;
}
.device-manager-presentation-form {
display: grid;
gap: 1rem;
}
@media (max-height: 720px) and (min-width: 761px) {
.device-manager-hero h1 {
font-size: clamp(2.7rem, 6vw, 5rem);
}
.device-manager-hero p {
font-size: 0.76rem;
}
.device-manager-hero__actions {
margin-top: 1rem;
}
}
@media (max-width: 760px) {
body { overflow: auto; }
.device-manager-stage {
overflow: hidden;
}
.device-manager-hero {
top: 42%;
right: 1.2rem;
left: 1.2rem;
width: auto;
}
.device-manager-hero h1 {
font-size: clamp(2.8rem, 14vw, 5rem);
}
.device-manager-panel-toolbar,
.device-detail-section__heading {
align-items: stretch;
flex-direction: column;
}
.device-inventory-table__head {
display: none;
}
.device-inventory-row {
grid-template-columns: minmax(0, 1fr) auto;
}
.device-inventory-row > span:not(.device-inventory-row__device):not(.device-inventory-row__open) {
display: none;
}
.device-detail__layout {
grid-template-columns: 1fr;
}
.device-inventory__filters,
.device-detail__connection {
grid-template-columns: 1fr;
}
.device-detail-fields {
grid-template-columns: 1fr;
}
.environment-settings__copy,
.environment-settings__quick-actions,
.environment-media-playlist__item {
grid-template-columns: 1fr;
}
.environment-media-playlist__item-actions {
justify-self: end;
padding-top: 0;
}
}
/* Domain groups use the panel canvas; shared ResourceRow/SettingsCard own surfaces. */
.device-inventory__empty { min-height: 12rem; }
.device-manager-empty h3 { font-size: var(--nodedc-font-size-md); }
.device-control-disclosure__body { padding: var(--nodedc-space-4); color: var(--nodedc-text-secondary); }
.device-control-disclosure__body p { margin-top: 0; }