Critical tables page

This commit is contained in:
2026-03-14 12:38:19 +01:00
parent b399840671
commit e4e8995fd8
10 changed files with 828 additions and 103 deletions

View File

@@ -255,6 +255,47 @@ textarea {
margin-bottom: 0;
}
.critical-cell {
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.critical-cell-description {
margin: 0;
font-weight: 600;
color: #2c1a10;
}
.critical-branch-stack {
display: flex;
flex-direction: column;
gap: 0.4rem;
margin-top: 0.65rem;
}
.critical-branch-card {
padding: 0.55rem 0.75rem;
border-radius: 12px;
border: 1px solid rgba(127, 96, 55, 0.12);
background: rgba(255, 255, 255, 0.85);
}
.critical-branch-condition {
display: inline-block;
font-size: 0.75rem;
letter-spacing: 0.05em;
text-transform: uppercase;
font-weight: 700;
color: #6b4c29;
}
.critical-branch-description {
margin: 0.3rem 0 0.45rem;
font-size: 0.85rem;
color: #3b2a21;
}
.effect-stack {
margin-top: 0.85rem;
}
@@ -298,6 +339,39 @@ textarea {
margin-top: 0.75rem;
}
.affix-badge-list {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
margin-top: 0.5rem;
}
.affix-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.35rem 0.5rem;
border-radius: 999px;
border: 1px solid rgba(127, 96, 55, 0.18);
background: rgba(255, 250, 242, 0.9);
font-size: 0.78rem;
letter-spacing: 0.02em;
text-transform: uppercase;
color: #5b4327;
}
.affix-badge-symbol {
font-size: 1rem;
}
.affix-badge-value {
font-weight: 700;
}
.affix-badge-fallback {
text-transform: none;
}
.error-text {
color: #8d2b1e;
}
@@ -376,6 +450,108 @@ textarea {
color: #fff7ee;
}
.tables-page {
display: flex;
flex-direction: column;
gap: 1rem;
}
.table-selector {
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.table-shell {
border-radius: 20px;
padding: 1.2rem;
background: rgba(255, 255, 255, 0.85);
border: 1px solid rgba(127, 96, 55, 0.2);
box-shadow: 0 18px 30px rgba(41, 22, 11, 0.08);
}
.table-shell header {
display: flex;
flex-direction: column;
gap: 0.25rem;
margin-bottom: 0.85rem;
}
.table-shell .table-scroll {
overflow-x: auto;
}
.critical-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
}
.critical-table th,
.critical-table td {
border: 1px solid rgba(127, 96, 55, 0.2);
padding: 0.45rem;
vertical-align: top;
}
.critical-table th {
background: rgba(238, 223, 193, 0.45);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.critical-table td {
background: rgba(255, 255, 255, 0.85);
min-width: 180px;
max-width: 260px;
}
.critical-table td .critical-cell {
gap: 0.25rem;
}
.critical-table .roll-band-header {
width: 120px;
background: rgba(255, 247, 230, 0.52);
}
.empty-cell {
color: #a08464;
font-style: italic;
}
.critical-legend {
margin-top: 1rem;
padding: 0.9rem 1rem;
border-radius: 16px;
background: rgba(235, 226, 209, 0.6);
border: 1px solid rgba(127, 96, 55, 0.2);
}
.legend-grid {
display: grid;
gap: 0.65rem;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
margin-top: 0.75rem;
}
.legend-item {
display: flex;
align-items: flex-start;
gap: 0.4rem;
}
.legend-symbol {
font-size: 1.3rem;
line-height: 1;
}
.legend-item strong {
display: block;
font-size: 0.95rem;
}
@media (max-width: 640.98px) {
.content-shell {
padding: 1rem;