mirror of
https://github.com/smittix/intercept.git
synced 2026-04-25 07:10:00 -07:00
202 lines
3.5 KiB
CSS
202 lines
3.5 KiB
CSS
/* Morse Code / CW Decoder Styles */
|
|
|
|
.morse-mode-help,
|
|
.morse-help-text {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.morse-help-text {
|
|
margin-top: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.morse-hf-note {
|
|
font-size: 11px;
|
|
color: #ffaa00;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.morse-presets {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
.morse-actions-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.morse-file-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.morse-file-row input[type='file'] {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.morse-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.morse-status #morseCharCount {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.morse-ref-grid {
|
|
transition: max-height 0.3s ease, opacity 0.3s ease;
|
|
max-height: 560px;
|
|
opacity: 1;
|
|
overflow: hidden;
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
line-height: 1.8;
|
|
columns: 2;
|
|
column-gap: 12px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.morse-ref-grid.collapsed {
|
|
max-height: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.morse-ref-toggle {
|
|
font-size: 10px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.morse-ref-divider {
|
|
margin-top: 4px;
|
|
border-top: 1px solid var(--border-color);
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.morse-decoded-panel {
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
min-height: 120px;
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 18px;
|
|
line-height: 1.6;
|
|
color: var(--text-primary);
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.morse-decoded-panel:empty::before {
|
|
content: 'Decoded text will appear here...';
|
|
color: var(--text-dim);
|
|
font-size: 14px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.morse-char {
|
|
display: inline;
|
|
animation: morseFadeIn 0.3s ease-out;
|
|
position: relative;
|
|
}
|
|
|
|
@keyframes morseFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
color: var(--accent-cyan);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
color: var(--text-primary);
|
|
}
|
|
}
|
|
|
|
.morse-word-space {
|
|
display: inline;
|
|
width: 0.5em;
|
|
}
|
|
|
|
.morse-raw-panel {
|
|
margin-top: 8px;
|
|
padding: 8px;
|
|
border: 1px solid #1a1a2e;
|
|
border-radius: 4px;
|
|
background: #080812;
|
|
}
|
|
|
|
.morse-raw-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: #667;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.morse-raw-text {
|
|
min-height: 30px;
|
|
max-height: 90px;
|
|
overflow-y: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: #8fd0ff;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.morse-metrics-panel {
|
|
margin-top: 8px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 6px;
|
|
font-size: 10px;
|
|
color: #7a8694;
|
|
}
|
|
|
|
.morse-metrics-panel span {
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid #1a1a2e;
|
|
background: #080811;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.morse-status-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
padding: 6px 0;
|
|
border-top: 1px solid var(--border-color);
|
|
margin-top: 8px;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.morse-status-bar .status-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.morse-metrics-panel {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.morse-file-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
}
|