561 lines
9.0 KiB
CSS
561 lines
9.0 KiB
CSS
/* Form Elements */
|
|
label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
label.inline {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
label.wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
label.checkbox {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--ink-2);
|
|
font-weight: 400;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.row-inline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
input[type="email"],
|
|
input[type="number"],
|
|
input[type="search"],
|
|
input[type="datetime-local"],
|
|
input:not([type]),
|
|
select,
|
|
textarea {
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
border: 1px solid var(--rule-strong);
|
|
border-radius: var(--radius);
|
|
padding: 8px 11px;
|
|
font-family: var(--font-body);
|
|
font-size: 14px;
|
|
width: 100%;
|
|
transition: border-color var(--dur-micro) steps(1);
|
|
}
|
|
|
|
input:focus,
|
|
select:focus,
|
|
textarea:focus {
|
|
outline: none;
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
color: var(--muted);
|
|
opacity: 1;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: var(--accent);
|
|
cursor: pointer;
|
|
}
|
|
|
|
fieldset {
|
|
border: 1px solid var(--rule-strong);
|
|
border-radius: var(--radius);
|
|
padding: 12px 14px;
|
|
margin: 0;
|
|
background: var(--paper);
|
|
}
|
|
|
|
legend {
|
|
padding: 0 8px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.checks {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 14px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Buttons */
|
|
button,
|
|
.btn {
|
|
appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
background: var(--paper-3);
|
|
color: var(--ink);
|
|
border: 1px solid var(--rule-strong);
|
|
border-radius: var(--radius);
|
|
padding: 8px 14px;
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
box-shadow: 2px 2px 0 var(--shade);
|
|
transition:
|
|
transform var(--dur-micro) var(--ease-out),
|
|
background-color var(--dur-micro) steps(1),
|
|
border-color var(--dur-micro) steps(1);
|
|
}
|
|
|
|
button:hover,
|
|
.btn:hover {
|
|
border-color: var(--ink-2);
|
|
background: var(--paper-2);
|
|
color: var(--ink);
|
|
transform: translate(-1px, -1px);
|
|
box-shadow: 3px 3px 0 var(--shade);
|
|
}
|
|
|
|
button:active,
|
|
.btn:active {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 var(--shade);
|
|
}
|
|
|
|
button.primary {
|
|
background: var(--accent);
|
|
color: var(--accent-ink);
|
|
border-color: var(--accent);
|
|
box-shadow: 3px 3px 0 var(--shade);
|
|
}
|
|
|
|
button.primary:hover {
|
|
background: var(--accent-hover);
|
|
border-color: var(--accent-hover);
|
|
color: var(--accent-ink);
|
|
}
|
|
|
|
button.ghost,
|
|
.btn.ghost {
|
|
background: transparent;
|
|
color: var(--ink-2);
|
|
border: 1px solid var(--rule-strong);
|
|
box-shadow: none;
|
|
}
|
|
|
|
button.ghost:hover,
|
|
.btn.ghost:hover {
|
|
background: var(--paper-3);
|
|
color: var(--ink);
|
|
border-color: var(--ink-2);
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
button.mini,
|
|
.btn.mini {
|
|
padding: 4px 9px;
|
|
font-size: 12px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
button:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* KPI Cards */
|
|
.cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.card {
|
|
background: var(--paper-2);
|
|
border: 1px solid var(--rule-strong);
|
|
border-top: 3px solid var(--rule-strong);
|
|
border-radius: var(--radius);
|
|
padding: 14px 16px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.card .n {
|
|
font-family: var(--font-outlier);
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
color: var(--ink);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.card .l {
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--muted);
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.card.sev-critical {
|
|
border-top-color: var(--crit);
|
|
}
|
|
.card.sev-critical .n {
|
|
color: var(--crit);
|
|
}
|
|
|
|
.card.sev-high {
|
|
border-top-color: var(--high);
|
|
}
|
|
.card.sev-high .n {
|
|
color: var(--high);
|
|
}
|
|
|
|
.card.sev-medium {
|
|
border-top-color: var(--med);
|
|
}
|
|
.card.sev-medium .n {
|
|
color: var(--med);
|
|
}
|
|
|
|
.card.sev-low {
|
|
border-top-color: var(--low);
|
|
}
|
|
.card.sev-low .n {
|
|
color: var(--low);
|
|
}
|
|
|
|
.card.sev-info {
|
|
border-top-color: var(--info);
|
|
}
|
|
.card.sev-info .n {
|
|
color: var(--info);
|
|
}
|
|
|
|
.card.accent,
|
|
.card.sev-accent {
|
|
border-top-color: var(--accent);
|
|
}
|
|
.card.accent .n,
|
|
.card.sev-accent .n {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.card.extern,
|
|
.card.sev-extern {
|
|
border-top-color: var(--extern);
|
|
}
|
|
.card.extern .n,
|
|
.card.sev-extern .n {
|
|
color: var(--extern);
|
|
}
|
|
|
|
.card.eigen,
|
|
.card.sev-eigen {
|
|
border-top-color: var(--eigen);
|
|
}
|
|
.card.eigen .n,
|
|
.card.sev-eigen .n {
|
|
color: var(--eigen);
|
|
}
|
|
|
|
.card.covered,
|
|
.card.sev-covered {
|
|
border-top-color: var(--covered);
|
|
}
|
|
.card.covered .n,
|
|
.card.sev-covered .n {
|
|
color: var(--covered);
|
|
}
|
|
|
|
/* Severity Distribution Bars */
|
|
.bars {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 11px;
|
|
}
|
|
|
|
.barline {
|
|
display: grid;
|
|
grid-template-columns: 88px 1fr 48px;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.barline .k {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.barline .track {
|
|
height: 10px;
|
|
background: var(--paper);
|
|
border: 1px solid var(--rule);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.barline .track i,
|
|
.barline .track > div {
|
|
display: block;
|
|
height: 100%;
|
|
transition: width 240ms var(--ease-out);
|
|
}
|
|
|
|
.barline .v {
|
|
text-align: right;
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
font-variant-numeric: tabular-nums;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.tr-critical {
|
|
background: var(--crit);
|
|
}
|
|
.tr-high {
|
|
background: var(--high);
|
|
}
|
|
.tr-medium {
|
|
background: var(--med);
|
|
}
|
|
.tr-low {
|
|
background: var(--low);
|
|
}
|
|
.tr-info {
|
|
background: var(--info);
|
|
}
|
|
|
|
/* Provider Readiness List */
|
|
.plist {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.prow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 9px 12px;
|
|
background: var(--paper);
|
|
border: 1px solid var(--rule);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.dot {
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 2px;
|
|
flex: none;
|
|
}
|
|
|
|
.dot.on {
|
|
background: var(--ok);
|
|
}
|
|
|
|
.dot.off {
|
|
background: var(--muted);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.pname {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
min-width: 100px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.pver {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
flex: 1;
|
|
min-width: 0;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
word-break: normal;
|
|
}
|
|
|
|
.pstate {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
/* Live Scan Progress */
|
|
.live {
|
|
background: var(--paper-2);
|
|
border: 1px solid var(--rule-strong);
|
|
border-top: 3px solid var(--accent);
|
|
border-radius: var(--radius);
|
|
padding: 16px 18px;
|
|
margin-bottom: 18px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.proghead {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.proghead .pct {
|
|
margin-left: auto;
|
|
font-family: var(--font-outlier);
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.bar {
|
|
height: 10px;
|
|
background: var(--paper);
|
|
border: 1px solid var(--rule-strong);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fill {
|
|
height: 100%;
|
|
width: 0;
|
|
background: var(--accent);
|
|
transition: width 200ms var(--ease-out);
|
|
}
|
|
|
|
.step {
|
|
font-size: 13px;
|
|
color: var(--ink-2);
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.log {
|
|
background: var(--paper);
|
|
border: 1px solid var(--rule);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
max-height: 200px;
|
|
overflow: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: var(--ink-2);
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* Tables */
|
|
.tablewrap {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13.5px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
padding: 10px 11px;
|
|
border-bottom: 1px solid var(--rule);
|
|
vertical-align: top;
|
|
}
|
|
|
|
th {
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.03em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
background: var(--paper);
|
|
border-bottom: 2px solid var(--rule-strong);
|
|
}
|
|
|
|
tbody tr {
|
|
transition: background-color var(--dur-micro) steps(1);
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
tr.detail {
|
|
display: none;
|
|
background: var(--paper);
|
|
}
|
|
|
|
tr.detail.open {
|
|
display: table-row;
|
|
}
|
|
|
|
.detailbox {
|
|
padding: 14px 16px;
|
|
border-left: 3px solid var(--accent);
|
|
font-size: 13.5px;
|
|
}
|
|
|
|
.detailbox p {
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.detailbox pre {
|
|
background: var(--paper-2);
|
|
border: 1px solid var(--rule);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
overflow: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 12.5px;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.refs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.refs a {
|
|
background: var(--paper-2);
|
|
border: 1px solid var(--rule);
|
|
border-radius: var(--radius);
|
|
padding: 3px 8px;
|
|
font-size: 12px;
|
|
text-decoration: none;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.refs a:hover {
|
|
border-color: var(--accent);
|
|
color: var(--ink);
|
|
}
|