Files
argus/src/styles.css
T
2026-09-24 09:07:31 -04:00

1324 lines
24 KiB
CSS

*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--bg-primary: #0a0e17;
--bg-secondary: #111827;
--bg-tertiary: #1a2234;
--bg-hover: #243044;
--bg-active: #2a3a52;
--border: #1e2d3d;
--border-bright: #2a3f55;
--text-primary: #c9d6e2;
--text-secondary: #6b7d8f;
--text-muted: #3d4f61;
--cyan: #00d4ff;
--cyan-hover: #00b8e0;
--cyan-dim: rgba(0, 212, 255, 0.08);
--cyan-glow: rgba(0, 212, 255, 0.25);
--cyan-subtle: rgba(0, 212, 255, 0.03);
--status-up: #00e676;
--status-up-glow: rgba(0, 230, 118, 0.15);
--status-down: #ff3d57;
--status-down-glow: rgba(255, 61, 87, 0.15);
--status-filtered: #ffab00;
--status-filtered-glow: rgba(255, 171, 0, 0.15);
--status-unknown: #546e7a;
--danger: #ff3d57;
--danger-hover: #e0233d;
--font-mono: "JetBrains Mono", "Cascadia Code", "Fira Code", "Consolas", monospace;
--font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
--radius: 3px;
--radius-lg: 6px;
}
html,
body {
height: 100%;
font-family: var(--font-sans);
font-size: 13px;
color: var(--text-primary);
background: var(--bg-primary);
overflow: hidden;
user-select: none;
}
body {
display: flex;
flex-direction: column;
}
/* ===== Grid Background ===== */
#views {
flex: 1;
overflow: hidden;
position: relative;
background:
linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
background-size: 40px 40px;
}
/* ===== Toolbar ===== */
#toolbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 16px;
background: linear-gradient(180deg, #141c2b 0%, var(--bg-secondary) 100%);
border-bottom: 1px solid var(--border);
box-shadow:
0 1px 8px rgba(0, 0, 0, 0.4),
0 1px 0 rgba(0, 212, 255, 0.05);
gap: 12px;
position: relative;
z-index: 20;
}
.toolbar-circuit {
position: absolute;
top: 0;
right: 0;
width: 400px;
height: 100%;
pointer-events: none;
opacity: 0.7;
}
.toolbar-group {
display: flex;
align-items: center;
gap: 10px;
}
.toolbar-right {
margin-left: auto;
margin-right: 8px;
}
.app-title {
font-family: var(--font-mono);
font-size: 14px;
font-weight: 700;
letter-spacing: 3px;
color: var(--cyan);
text-shadow: 0 0 10px var(--cyan-glow);
margin-right: 8px;
}
#ip-range-input {
width: 340px;
padding: 7px 12px;
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
#ip-range-input:focus {
border-color: var(--cyan);
box-shadow: 0 0 0 2px var(--cyan-dim), 0 0 12px var(--cyan-dim);
}
#ip-range-input::placeholder {
color: var(--text-muted);
}
/* ===== Buttons ===== */
.btn {
padding: 7px 18px;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.3px;
border: 1px solid transparent;
border-radius: var(--radius);
cursor: pointer;
transition: all 0.2s;
text-transform: uppercase;
font-family: var(--font-sans);
}
.btn:disabled {
opacity: 0.3;
cursor: not-allowed;
box-shadow: none;
}
.btn-primary {
color: #fff;
background: var(--cyan);
border-color: var(--cyan);
box-shadow: 0 0 12px var(--cyan-dim);
}
.btn-primary:hover:not(:disabled) {
background: var(--cyan-hover);
box-shadow: 0 0 20px var(--cyan-glow);
}
.btn-primary:active:not(:disabled) {
transform: scale(0.97);
}
.btn-danger {
color: #fff;
background: var(--danger);
border-color: var(--danger);
}
.btn-danger:hover:not(:disabled) {
background: var(--danger-hover);
box-shadow: 0 0 16px rgba(255, 61, 87, 0.2);
}
/* ===== Status / Progress ===== */
.status-text {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-secondary);
white-space: nowrap;
letter-spacing: 0.3px;
}
.progress-bar {
width: 180px;
height: 4px;
background: var(--bg-primary);
border-radius: 2px;
overflow: hidden;
border: 1px solid var(--border);
}
.progress-fill {
height: 100%;
width: 0%;
background: linear-gradient(90deg, var(--cyan), #00ffc8);
border-radius: 2px;
transition: width 0.3s ease-out;
box-shadow: 0 0 8px var(--cyan-glow);
position: relative;
}
.progress-fill::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg,
transparent 0%,
rgba(255, 255, 255, 0.2) 50%,
transparent 100%);
animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
/* ===== Tabs ===== */
#tab-bar {
display: flex;
background: var(--bg-secondary);
border-bottom: 1px solid var(--border);
padding-left: 16px;
position: relative;
}
#tab-bar::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg,
var(--cyan) 0%,
transparent 30%);
opacity: 0.15;
}
.tab {
padding: 10px 22px;
font-size: 12px;
font-weight: 500;
letter-spacing: 0.3px;
color: var(--text-muted);
background: none;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
transition: color 0.2s, border-color 0.2s;
font-family: var(--font-sans);
}
.tab:hover {
color: var(--text-secondary);
}
.tab.active {
color: var(--cyan);
border-bottom-color: var(--cyan);
text-shadow: 0 0 12px var(--cyan-dim);
}
/* ===== Views ===== */
.view {
display: none;
height: 100%;
flex-direction: column;
}
.view.active {
display: flex;
}
.placeholder-text {
padding: 60px 40px;
text-align: center;
color: var(--text-muted);
font-family: var(--font-mono);
font-size: 13px;
letter-spacing: 0.5px;
}
/* ===== Results Filter Bar ===== */
#results-toolbar {
display: flex;
align-items: center;
padding: 6px 16px;
gap: 12px;
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border);
}
#filter-input {
width: 240px;
padding: 5px 10px;
font-size: 12px;
font-family: var(--font-mono);
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: var(--radius);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
#filter-input:focus {
border-color: var(--cyan);
box-shadow: 0 0 0 2px var(--cyan-dim);
}
.host-count {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-secondary);
margin-left: auto;
letter-spacing: 0.3px;
}
/* ===== Results Table ===== */
#results-table-container {
flex: 1;
overflow-y: auto;
overflow-x: auto;
}
#results-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
#results-table thead {
position: sticky;
top: 0;
z-index: 10;
}
#results-table th {
padding: 10px 16px;
text-align: left;
font-weight: 600;
font-size: 11px;
letter-spacing: 0.5px;
color: var(--text-secondary);
background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
border-bottom: 1px solid var(--border-bright);
white-space: nowrap;
}
#results-table th.sortable {
cursor: pointer;
transition: color 0.15s;
}
#results-table th.sortable:hover {
color: var(--cyan);
}
#results-table th.sorted-asc::after {
content: " \25B2";
font-size: 8px;
color: var(--cyan);
}
#results-table th.sorted-desc::after {
content: " \25BC";
font-size: 8px;
color: var(--cyan);
}
#results-table td {
padding: 7px 16px;
font-size: 13px;
font-family: var(--font-mono);
color: var(--text-primary);
border-bottom: 1px solid rgba(30, 45, 61, 0.5);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#results-table tbody tr {
transition: background 0.12s;
}
#results-table tbody tr:nth-child(even) {
background: rgba(255, 255, 255, 0.01);
}
#results-table tbody tr:hover {
background: var(--cyan-dim);
}
#results-table tbody tr.selected {
background: rgba(0, 212, 255, 0.1);
box-shadow: inset 3px 0 0 var(--cyan);
}
/* ===== Status Colors ===== */
.status-up {
color: var(--status-up);
text-shadow: 0 0 6px var(--status-up-glow);
}
.status-down {
color: var(--status-down);
text-shadow: 0 0 6px var(--status-down-glow);
}
.status-filtered {
color: var(--status-filtered);
text-shadow: 0 0 6px var(--status-filtered-glow);
}
.status-unknown {
color: var(--status-unknown);
}
/* ===== Status Bar ===== */
#status-bar {
display: flex;
align-items: center;
padding: 3px 16px;
gap: 16px;
background: var(--bg-secondary);
border-top: 1px solid var(--border);
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-muted);
}
.status-bar-item {
display: flex;
align-items: center;
gap: 6px;
}
#privilege-status {
margin-left: auto;
}
#privilege-status::before {
content: "";
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--status-up);
box-shadow: 0 0 4px var(--status-up-glow);
}
.privilege-elevated {
color: var(--status-filtered) !important;
}
.privilege-elevated::before {
background: var(--status-filtered) !important;
box-shadow: 0 0 4px var(--status-filtered-glow) !important;
}
/* ===== Scrollbar ===== */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
background: var(--border-bright);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.btn-sm {
padding: 3px 10px;
font-size: 11px;
font-weight: 500;
color: var(--text-secondary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
cursor: pointer;
transition: all 0.15s;
font-family: var(--font-sans);
}
.btn-sm:hover {
color: var(--cyan);
border-color: var(--cyan);
box-shadow: 0 0 8px var(--cyan-dim);
}
.toggle-label {
display: flex;
align-items: center;
gap: 5px;
font-size: 12px;
color: var(--text-secondary);
cursor: pointer;
font-family: var(--font-sans);
}
.toggle-label input[type="checkbox"] {
accent-color: var(--cyan);
cursor: pointer;
}
.toggle-label:hover {
color: var(--text-primary);
}
.port-tag {
display: inline-block;
padding: 1px 5px;
margin: 1px 2px;
font-size: 10px;
font-family: var(--font-mono);
color: var(--cyan);
background: var(--cyan-dim);
border: 1px solid rgba(0, 212, 255, 0.15);
border-radius: 2px;
}
.ports-cell {
white-space: normal !important;
line-height: 1.6;
}
/* ===== Detail Panel ===== */
.detail-row td {
padding: 0 !important;
border-bottom: 1px solid var(--border-bright) !important;
background: var(--bg-secondary);
}
.detail-panel {
padding: 16px 24px;
border-left: 3px solid var(--cyan);
background: linear-gradient(90deg, var(--cyan-dim) 0%, transparent 30%);
}
.detail-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 12px;
}
.detail-ip {
font-family: var(--font-mono);
font-size: 15px;
font-weight: 600;
color: var(--text-primary);
}
.detail-hostname {
font-family: var(--font-mono);
font-size: 13px;
color: var(--cyan);
}
.detail-rtt {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-secondary);
}
.detail-table {
width: 100%;
max-width: 700px;
border-collapse: collapse;
margin-bottom: 10px;
}
.detail-table th {
padding: 5px 12px;
text-align: left;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.5px;
color: var(--text-muted);
border-bottom: 1px solid var(--border);
}
.detail-table td {
padding: 4px 12px;
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-primary);
border-bottom: 1px solid rgba(30, 45, 61, 0.3);
}
.detail-summary {
display: flex;
gap: 16px;
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-secondary);
margin-top: 8px;
}
.detail-empty {
font-size: 12px;
color: var(--text-muted);
font-style: italic;
}
/* ===== Context Menu ===== */
.context-menu {
position: fixed;
z-index: 100;
min-width: 180px;
background: var(--bg-tertiary);
border: 1px solid var(--border-bright);
border-radius: var(--radius-lg);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 212, 255, 0.1);
padding: 4px 0;
overflow: hidden;
}
.ctx-item {
display: block;
width: 100%;
padding: 7px 14px;
font-size: 12px;
font-family: var(--font-sans);
color: var(--text-primary);
background: none;
border: none;
text-align: left;
cursor: pointer;
transition: background 0.1s;
}
.ctx-item:hover {
background: var(--cyan-dim);
color: var(--cyan);
}
.ctx-divider {
height: 1px;
margin: 4px 8px;
background: var(--border);
}
/* ===== Modal ===== */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
align-items: center;
justify-content: center;
z-index: 90;
display: none;
}
.modal-overlay.visible {
display: flex;
}
.modal-panel {
width: 640px;
max-height: 80vh;
background: var(--bg-secondary);
border: 1px solid var(--border-bright);
border-radius: var(--radius-lg);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 1px var(--cyan);
display: flex;
flex-direction: column;
overflow: hidden;
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border);
}
.modal-title {
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-primary);
}
.modal-title span {
color: var(--cyan);
}
.modal-close {
background: none;
border: none;
color: var(--text-muted);
font-size: 18px;
cursor: pointer;
padding: 0 4px;
line-height: 1;
}
.modal-close:hover {
color: var(--text-primary);
}
/* ===== Traceroute Output ===== */
.traceroute-output {
flex: 1;
overflow-y: auto;
padding: 12px 16px;
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.8;
color: var(--text-primary);
min-height: 200px;
max-height: 60vh;
}
.traceroute-line {
white-space: pre;
}
.traceroute-line.hop-reached {
color: var(--status-up);
}
.traceroute-running::after {
content: "\2588";
animation: blink 0.8s infinite;
color: var(--cyan);
}
@keyframes blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
/* ===== Column Picker ===== */
.col-picker-wrap {
position: relative;
}
.col-picker {
position: absolute;
top: 100%;
right: 0;
margin-top: 4px;
min-width: 160px;
padding: 8px 0;
background: var(--bg-tertiary);
border: 1px solid var(--border-bright);
border-radius: var(--radius-lg);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
z-index: 50;
}
.col-picker label {
display: flex;
align-items: center;
gap: 8px;
padding: 5px 14px;
font-size: 12px;
color: var(--text-primary);
cursor: pointer;
transition: background 0.1s;
}
.col-picker label:hover {
background: var(--cyan-dim);
}
.col-picker input[type="checkbox"] {
accent-color: var(--cyan);
cursor: pointer;
}
.col-picker input[type="checkbox"]:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.detail-netbios {
display: flex;
gap: 12px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.detail-tag {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-secondary);
padding: 3px 8px;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: var(--radius);
}
.detail-tag strong {
color: var(--text-primary);
font-weight: 500;
}
/* ===== Checkboxes ===== */
.col-check {
width: 32px !important;
text-align: center;
overflow: visible !important;
text-overflow: clip !important;
}
.row-check {
accent-color: var(--cyan);
cursor: pointer;
}
#check-all {
accent-color: var(--cyan);
cursor: pointer;
}
.send-group {
display: flex;
gap: 6px;
}
.send-wrap {
position: relative;
}
.send-menu {
position: absolute;
top: 100%;
left: 0;
margin-top: 4px;
min-width: 140px;
padding: 4px 0;
background: var(--bg-tertiary);
border: 1px solid var(--border-bright);
border-radius: var(--radius-lg);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
z-index: 50;
}
/* ===== Nmap Tab ===== */
#nmap-toolbar {
display: flex;
align-items: center;
padding: 8px 16px;
gap: 8px;
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border);
}
#nmap-target {
width: 280px;
padding: 7px 12px;
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
#nmap-target:focus {
border-color: var(--cyan);
box-shadow: 0 0 0 2px var(--cyan-dim);
}
#nmap-preset {
padding: 7px 10px;
font-size: 12px;
font-family: var(--font-sans);
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
outline: none;
cursor: pointer;
-webkit-appearance: none;
appearance: none;
padding-right: 28px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7d8f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
}
#nmap-preset:focus {
border-color: var(--cyan);
}
#nmap-preset option {
background: var(--bg-secondary);
color: var(--text-primary);
}
#nmap-custom-args {
width: 240px;
padding: 7px 12px;
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
#nmap-custom-args:focus {
border-color: var(--cyan);
box-shadow: 0 0 0 2px var(--cyan-dim);
}
.nmap-output {
flex: 1;
overflow-y: auto;
padding: 12px 16px;
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.7;
color: var(--text-primary);
background:
linear-gradient(rgba(0, 212, 255, 0.01) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 212, 255, 0.01) 1px, transparent 1px);
background-size: 40px 40px;
white-space: pre-wrap;
word-break: break-all;
}
.nmap-line {
white-space: pre;
}
.nmap-line-open {
color: var(--status-up);
}
.nmap-line-closed {
color: var(--status-down);
}
.nmap-line-header {
color: var(--cyan);
font-weight: 600;
}
.nmap-line-info {
color: var(--text-secondary);
}
.nmap-running::after {
content: "\2588";
animation: blink 0.8s infinite;
color: var(--cyan);
}
.tab-running {
color: var(--cyan) !important;
animation: pulse-tab 1.5s infinite;
}
@keyframes pulse-tab {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.4;
}
}
/* ===== Monitor Tab ===== */
#monitor-toolbar {
display: flex;
align-items: center;
padding: 8px 16px;
gap: 8px;
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border);
}
#monitor-input {
width: 300px;
padding: 7px 12px;
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
#monitor-input:focus {
border-color: var(--cyan);
box-shadow: 0 0 0 2px var(--cyan-dim);
}
#monitor-interval {
padding: 7px 10px;
font-size: 12px;
font-family: var(--font-sans);
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
outline: none;
cursor: pointer;
-webkit-appearance: none;
appearance: none;
padding-right: 28px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7d8f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
}
#monitor-interval option {
background: var(--bg-secondary);
color: var(--text-primary);
}
#monitor-table-container {
flex: 1;
overflow-y: auto;
overflow-x: auto;
}
#monitor-table {
width: 100%;
border-collapse: collapse;
}
#monitor-table thead {
position: sticky;
top: 0;
z-index: 10;
}
#monitor-table th {
padding: 8px 12px;
text-align: left;
font-weight: 600;
font-size: 11px;
letter-spacing: 0.5px;
color: var(--text-secondary);
background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
border-bottom: 1px solid var(--border-bright);
white-space: nowrap;
}
#monitor-table td {
padding: 6px 12px;
font-size: 12px;
font-family: var(--font-mono);
color: var(--text-primary);
border-bottom: 1px solid rgba(30, 45, 61, 0.5);
white-space: nowrap;
}
#monitor-table tbody tr {
transition: background 0.12s;
}
#monitor-table tbody tr:hover {
background: var(--cyan-dim);
}
.monitor-status-Up {
color: var(--status-up);
text-shadow: 0 0 6px var(--status-up-glow);
}
.monitor-status-Down {
color: var(--status-down);
text-shadow: 0 0 6px var(--status-down-glow);
}
.monitor-status-Degraded {
color: var(--status-filtered);
text-shadow: 0 0 6px var(--status-filtered-glow);
}
.monitor-status-Unknown {
color: var(--status-unknown);
}
.btn-remove {
background: none;
border: none;
color: var(--text-muted);
font-size: 14px;
cursor: pointer;
padding: 2px 6px;
}
.btn-remove:hover {
color: var(--status-down);
}
/* ===== Update Banner ===== */
.update-banner {
display: none;
align-items: center;
gap: 12px;
padding: 8px 16px;
background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.03));
border-bottom: 1px solid var(--cyan);
font-size: 12px;
color: var(--text-primary);
}
.update-banner.visible {
display: flex;
}
.update-link {
font-family: var(--font-mono);
font-size: 12px;
color: var(--cyan);
text-decoration: none;
font-weight: 600;
}
.update-link:hover {
text-decoration: underline;
}
.update-dismiss {
margin-left: auto;
background: none;
border: none;
color: var(--text-muted);
font-size: 16px;
cursor: pointer;
padding: 0 4px;
}
.update-dismiss:hover {
color: var(--text-primary);
}
/* ===== Settings ===== */
.status-bar-btn {
background: none;
border: none;
color: var(--text-muted);
font-size: 11px;
cursor: pointer;
padding: 0;
font-family: var(--font-mono);
}
.status-bar-btn:hover {
color: var(--cyan);
}
.settings-body {
padding: 20px 24px;
}
.settings-field {
margin-bottom: 16px;
}
.settings-field label {
display: block;
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
margin-bottom: 6px;
}
.settings-field input {
width: 100%;
padding: 7px 12px;
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-primary);
background: var(--bg-primary);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
outline: none;
}
.settings-field input:focus {
border-color: var(--cyan);
box-shadow: 0 0 0 2px var(--cyan-dim);
}
.settings-hint {
font-size: 11px;
color: var(--text-muted);
margin-top: 4px;
}
/* ===== Changelog ===== */
.changelog-content {
flex: 1;
overflow-y: auto;
padding: 20px 24px;
font-family: var(--font-sans);
font-size: 13px;
line-height: 1.7;
color: var(--text-primary);
max-height: 70vh;
}
.changelog-content h1 {
font-size: 20px;
color: var(--cyan);
margin: 0 0 16px 0;
padding-bottom: 8px;
border-bottom: 1px solid var(--border);
}
.changelog-content h2 {
font-size: 16px;
color: var(--cyan);
margin: 24px 0 12px 0;
}
.changelog-content h3 {
font-size: 14px;
color: var(--text-primary);
margin: 16px 0 8px 0;
}
.changelog-content ul {
padding-left: 20px;
margin: 8px 0;
}
.changelog-content li {
margin: 4px 0;
color: var(--text-secondary);
}
.changelog-content code {
font-family: var(--font-mono);
font-size: 12px;
padding: 2px 5px;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: 2px;
color: var(--cyan);
}
.changelog-content a {
color: var(--cyan);
text-decoration: none;
}
.changelog-content a:hover {
text-decoration: underline;
}