TLC-Search/static/style.css
knight a03af7a4d2 Revert "Dim bright white backgrounds for easier viewing"
This reverts commit 678bdf3a70e31119e3811b95ed7abc994743f360.
2025-11-05 00:04:10 -05:00

333 lines
5.4 KiB
CSS

/* Custom styles for XP.css integration */
/* Fix blurry text rendering - override XP.css font smoothing */
.window,
.window *,
button,
input,
select,
textarea {
-webkit-font-smoothing: none !important;
-moz-osx-font-smoothing: unset !important;
font-smooth: auto !important;
text-rendering: optimizeSpeed !important;
}
/* Use classic Windows fonts for crisp rendering */
button {
font-family: "Tahoma", "MS Sans Serif", sans-serif;
font-size: 11px;
line-height: normal;
transform: none !important;
filter: none !important;
backface-visibility: visible !important;
perspective: none !important;
}
/* Ensure all form controls use same font */
input,
select,
textarea,
label {
font-family: "Tahoma", "MS Sans Serif", sans-serif;
font-size: 11px;
}
body {
background: teal;
padding: 0;
margin: 0;
}
/* Channel dropdown custom styling */
.channel-dropdown {
position: relative;
display: inline-block;
}
.channel-dropdown summary {
list-style: none;
cursor: pointer;
padding: 3px 4px;
background: ButtonFace;
border: 1px solid;
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
min-width: 180px;
text-align: left;
}
.channel-dropdown summary::-webkit-details-marker {
display: none;
}
.channel-dropdown summary::after {
content: ' ▼';
font-size: 8px;
float: right;
}
.channel-dropdown[open] summary::after {
content: ' ▲';
}
.channel-options {
position: absolute;
margin-top: 2px;
padding: 4px;
background: ButtonFace;
border: 1px solid;
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
max-height: 300px;
overflow-y: auto;
box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
z-index: 100;
min-width: 220px;
}
.channel-option {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 4px;
font-size: 11px;
}
.channel-option:last-child {
margin-bottom: 0;
}
/* Layout helpers */
.summary-row {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-top: 12px;
}
.summary-left {
flex: 0 1 280px;
max-width: 360px;
}
.summary-right {
flex: 1 1 0%;
min-width: 300px;
}
/* Results styling */
#results .item {
border-bottom: 1px solid ButtonShadow;
padding: 12px 0;
margin-bottom: 8px;
}
#results .item:last-child {
border-bottom: none;
}
/* Badges */
.badge-row {
margin-top: 6px;
display: flex;
gap: 4px;
flex-wrap: wrap;
}
.badge {
background: #0b6efd;
color: #fff;
border-radius: 3px;
padding: 2px 6px;
font-size: 10px;
font-weight: bold;
}
/* Transcript and highlights */
.transcript {
background: Window;
border: 1px solid;
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
padding: 8px;
margin-top: 6px;
max-height: 200px;
overflow-y: auto;
font-size: 11px;
}
.highlight-list {
display: flex;
flex-direction: column;
gap: 6px;
max-height: none;
overflow: visible;
}
.highlight-row {
padding: 4px;
cursor: pointer;
border: 1px solid transparent;
}
.highlight-row:hover {
background: Highlight;
color: HighlightText;
border: 1px dotted WindowText;
}
mark {
background: yellow;
color: black;
padding: 0 2px;
}
.transcript-toggle {
margin-top: 8px;
}
.full-transcript {
margin-top: 12px;
padding: 8px;
background: Window;
border: 2px solid;
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
max-height: 400px;
overflow-y: auto;
font-size: 11px;
}
.transcript-segment {
margin-bottom: 10px;
padding-bottom: 6px;
border-bottom: 1px solid ButtonShadow;
}
.transcript-segment:last-child {
border-bottom: none;
margin-bottom: 0;
}
.transcript-segment.focused {
background: #ffffe0;
padding: 6px;
border: 2px dotted #000;
animation: pulse-highlight 1s ease-in-out;
}
@keyframes pulse-highlight {
0%, 100% {
background: #ffffe0;
}
50% {
background: #ffffa0;
}
}
.timestamp-link {
display: inline-block;
color: #0000ff;
text-decoration: none;
font-weight: bold;
font-size: 10px;
font-family: 'Courier New', monospace;
margin-right: 8px;
padding: 1px 3px;
background: #e0e0e0;
border: 1px solid #808080;
}
.timestamp-link:hover {
background: #c0c0c0;
text-decoration: underline;
}
.transcript-text {
color: WindowText;
line-height: 1.4;
}
.transcript-header {
font-weight: bold;
margin-bottom: 8px;
display: flex;
align-items: center;
justify-content: space-between;
background: ActiveCaption;
color: CaptionText;
padding: 2px 4px;
}
.transcript-close {
cursor: pointer;
font-size: 16px;
padding: 0 4px;
font-weight: bold;
}
.transcript-close:hover {
background: Highlight;
color: HighlightText;
}
/* Chart styling */
#frequencyChart {
margin-top: 8px;
}
#frequencyChart svg {
max-width: 100%;
}
#frequencyChart .axis path,
#frequencyChart .axis line {
stroke: #808080;
}
#frequencyChart .axis text {
fill: WindowText;
font-size: 10px;
}
#frequencyChart .freq-layer rect {
stroke: #fff;
stroke-width: 0.5px;
}
.freq-legend {
margin-top: 8px;
display: flex;
flex-wrap: wrap;
gap: 8px;
font-size: 10px;
}
.freq-legend-item {
display: flex;
align-items: center;
gap: 4px;
}
.freq-legend-swatch {
width: 12px;
height: 12px;
border: 1px solid #000;
display: inline-block;
}
/* Metrics content */
#metricsContent {
font-size: 11px;
}
/* Pager */
.pager {
margin-top: 12px;
display: flex;
gap: 8px;
}
/* Loading text */
.loading-text {
font-style: italic;
color: GrayText;
}