mirror of
https://github.com/smittix/intercept.git
synced 2026-07-16 05:18:10 -07:00
Fix TSCM modal readability issues
- Fix transparent modal background: use --bg-card instead of undefined --panel-bg - Add box-shadow to modal for better visibility - Fix reason text color: use --text-secondary instead of hard-to-read --text-muted - Fix device details section headings and table labels - Fix indicator tags, disclaimer text, and reasons list colors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+13
-8
@@ -2062,10 +2062,11 @@
|
|||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
.tscm-device-reasons {
|
.tscm-device-reasons {
|
||||||
font-size: 9px;
|
font-size: 10px;
|
||||||
color: var(--text-muted);
|
color: var(--text-secondary);
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
.audio-badge {
|
.audio-badge {
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
@@ -2099,7 +2100,7 @@
|
|||||||
padding: 2px 6px;
|
padding: 2px 6px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
color: var(--text-muted);
|
color: var(--text-secondary);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.score-badge {
|
.score-badge {
|
||||||
@@ -2221,14 +2222,15 @@
|
|||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
}
|
}
|
||||||
.tscm-modal {
|
.tscm-modal {
|
||||||
background: var(--panel-bg);
|
background: var(--bg-card);
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-light);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
max-height: 80vh;
|
max-height: 80vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
.tscm-modal-close {
|
.tscm-modal-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -2307,8 +2309,9 @@
|
|||||||
.device-detail-section h4 {
|
.device-detail-section h4 {
|
||||||
margin: 0 0 12px 0;
|
margin: 0 0 12px 0;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: var(--text-muted);
|
color: var(--text-secondary);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
}
|
}
|
||||||
.device-detail-table {
|
.device-detail-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -2318,7 +2321,7 @@
|
|||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
.device-detail-table td:first-child {
|
.device-detail-table td:first-child {
|
||||||
color: var(--text-muted);
|
color: var(--text-dim);
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
.indicator-list {
|
.indicator-list {
|
||||||
@@ -2349,14 +2352,16 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
color: var(--text-primary);
|
||||||
}
|
}
|
||||||
.device-reasons-list li {
|
.device-reasons-list li {
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
|
color: var(--text-secondary);
|
||||||
}
|
}
|
||||||
.device-detail-disclaimer {
|
.device-detail-disclaimer {
|
||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
color: var(--text-muted);
|
color: var(--text-secondary);
|
||||||
background: rgba(74, 158, 255, 0.1);
|
background: rgba(74, 158, 255, 0.1);
|
||||||
border-top: 1px solid rgba(74, 158, 255, 0.3);
|
border-top: 1px solid rgba(74, 158, 255, 0.3);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user