2107 lines
40 KiB
CSS
2107 lines
40 KiB
CSS
/* DNSRecon - Enhanced Tactical/Cybersecurity Theme */
|
|
|
|
/* Reset and Base Styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Roboto Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
|
|
background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
|
|
color: #e0e0e0;
|
|
line-height: 1.6;
|
|
letter-spacing: 0.5px;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Container and Layout */
|
|
.container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* === ENHANCED HEADER === */
|
|
.header {
|
|
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
|
|
border-bottom: 2px solid #333;
|
|
padding: 1.5rem 2rem;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
font-family: 'Special Elite', 'Courier New', monospace;
|
|
font-size: 1.6rem;
|
|
font-weight: 700;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.logo-icon {
|
|
color: #00ff41;
|
|
margin-right: 0.5rem;
|
|
text-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
|
|
animation: logoGlow 3s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes logoGlow {
|
|
from { text-shadow: 0 0 15px rgba(0, 255, 65, 0.6); }
|
|
to { text-shadow: 0 0 25px rgba(0, 255, 65, 0.8); }
|
|
}
|
|
|
|
.logo-text {
|
|
color: #c7c7c7;
|
|
text-shadow: 0 0 5px rgba(199, 199, 199, 0.3);
|
|
}
|
|
|
|
.status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 1rem;
|
|
background: rgba(42, 42, 42, 0.6);
|
|
border-radius: 25px;
|
|
border: 1px solid #333;
|
|
}
|
|
|
|
.status-indicator.scanning {
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
.status-indicator.completed {
|
|
background-color: #00ff41;
|
|
}
|
|
|
|
.status-indicator.error {
|
|
background-color: #ff6b6b;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background-color: #00ff41;
|
|
box-shadow: 0 0 10px rgba(0, 255, 65, 0.7);
|
|
animation: statusPulse 2s infinite;
|
|
}
|
|
|
|
@keyframes statusPulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.7; transform: scale(1.1); }
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
|
|
.status-text {
|
|
font-size: 0.9rem;
|
|
color: #00ff41;
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 1.25rem; /* Reduced from 2rem */
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: auto auto 1fr auto;
|
|
gap: 1rem; /* Reduced from 1.5rem */
|
|
grid-template-areas:
|
|
"control status"
|
|
"visualization visualization"
|
|
"visualization visualization"
|
|
"providers providers";
|
|
}
|
|
|
|
/* === ENHANCED PANELS === */
|
|
section {
|
|
background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
|
|
border: 1px solid #444;
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 32px rgba(0,0,0,0.3);
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
section:hover {
|
|
border-color: #555;
|
|
box-shadow: 0 12px 40px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.panel-header {
|
|
background: linear-gradient(90deg, #333 0%, #2a2a2a 100%);
|
|
padding: 0.75rem 1rem; /* Reduced from 1.25rem 1.5rem */
|
|
border-bottom: 2px solid #444;
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Remove the generic top line */
|
|
.panel-header::before {
|
|
display: none;
|
|
}
|
|
|
|
.panel-header h2 {
|
|
font-size: 1.2rem;
|
|
color: #00ff41;
|
|
text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
|
|
font-weight: 600;
|
|
margin: 0;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
/* Control Panel */
|
|
.control-panel {
|
|
grid-area: control;
|
|
}
|
|
|
|
.form-container {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.input-group {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.input-group label {
|
|
display: block;
|
|
margin-bottom: 0.75rem;
|
|
color: #e0e0e0;
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
input[type="text"], select {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
|
|
border: 2px solid #444;
|
|
border-radius: 6px;
|
|
color: #e0e0e0;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.95rem;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
input[type="text"]:focus, select:focus {
|
|
outline: none;
|
|
border-color: #00ff41;
|
|
box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
|
|
background: linear-gradient(135deg, #1f1f1f 0%, #141414 100%);
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
/* === ENHANCED BUTTONS === */
|
|
.btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem 1.5rem;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
|
|
transition: left 0.5s;
|
|
}
|
|
|
|
.btn:hover:not(:disabled)::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #2c5c34 0%, #1e4025 100%);
|
|
color: #e0e0e0;
|
|
border: 1px solid #3a7a48;
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: linear-gradient(135deg, #3d7d4e 0%, #2a5436 100%);
|
|
box-shadow: 0 6px 20px rgba(0, 255, 65, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: linear-gradient(135deg, #4a4a4a 0%, #333 100%);
|
|
color: #e0e0e0;
|
|
border: 1px solid #555;
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: linear-gradient(135deg, #5a5a5a 0%, #444 100%);
|
|
box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-secondary:active {
|
|
background-color: #6a4f2a;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.btn-icon {
|
|
color: #00ff41;
|
|
font-weight: 700;
|
|
text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
|
|
}
|
|
|
|
.btn-icon-small {
|
|
background: transparent;
|
|
border: 1px solid #555;
|
|
color: #c7c7c7;
|
|
padding: 0.25rem 0.5rem;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-icon-small:hover {
|
|
border-color: #00ff41;
|
|
color: #00ff41;
|
|
}
|
|
|
|
/* Status Panel */
|
|
.status-panel {
|
|
grid-area: status;
|
|
}
|
|
|
|
.status-content {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.status-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
padding: 0.75rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 4px;
|
|
border-left: 3px solid #333;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.status-row:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-left-color: #00ff41;
|
|
}
|
|
|
|
.status-label {
|
|
color: #999;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-value {
|
|
color: #00ff41;
|
|
font-weight: 600;
|
|
text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
|
|
font-family: 'Roboto Mono', monospace;
|
|
}
|
|
|
|
.progress-container {
|
|
padding: 1rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.progress-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.9rem;
|
|
color: #999;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
#progress-compact {
|
|
color: #00ff41;
|
|
font-weight: 600;
|
|
font-family: 'Roboto Mono', monospace;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 12px;
|
|
background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
|
|
border: 1px solid #444;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #00ff41 0%, #00aa2e 50%, #00ff41 100%);
|
|
width: 0%;
|
|
transition: width 0.5s ease;
|
|
position: relative;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.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.3) 50%,
|
|
transparent 100%);
|
|
animation: progressShimmer 2s infinite;
|
|
}
|
|
|
|
@keyframes progressShimmer {
|
|
0% { transform: translateX(-100%); }
|
|
100% { transform: translateX(100%); }
|
|
}
|
|
|
|
.progress-bar.scanning {
|
|
animation: progressGlow 2s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes progressGlow {
|
|
from { box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 5px rgba(0, 255, 65, 0.3); }
|
|
to { box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 0 15px rgba(0, 255, 65, 0.6); }
|
|
}
|
|
|
|
/* Visualization Panel */
|
|
.visualization-panel {
|
|
grid-area: visualization;
|
|
min-height: 500px;
|
|
}
|
|
|
|
.graph-container {
|
|
height: 800px;
|
|
position: relative;
|
|
background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
|
|
border-top: 2px solid #444;
|
|
transition: height 0.3s ease;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.graph-controls {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
z-index: 10;
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.graph-control-btn {
|
|
background: rgba(42, 42, 42, 0.9);
|
|
border: 1px solid #555;
|
|
color: #c7c7c7;
|
|
padding: 0.5rem;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.graph-control-btn:hover {
|
|
border-color: #00ff41;
|
|
color: #00ff41;
|
|
background: rgba(42, 42, 42, 1);
|
|
}
|
|
|
|
.graph-filter-panel {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 10px;
|
|
z-index: 10;
|
|
background: rgba(42, 42, 42, 0.9);
|
|
border: 1px solid #555;
|
|
color: #c7c7c7;
|
|
padding: 0.75rem;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.8rem;
|
|
/*max-height: 40%;
|
|
overflow-y: auto;*/
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.filter-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.filter-column h4 {
|
|
color: #00ff41;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.9rem;
|
|
border-bottom: 1px solid #444;
|
|
padding-bottom: 0.25rem;
|
|
}
|
|
|
|
.filter-column .checkbox-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.filter-column label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.filter-column label:hover {
|
|
color: #00ff41;
|
|
}
|
|
|
|
.filter-column input[type="checkbox"] {
|
|
appearance: none;
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 1px solid #555;
|
|
background-color: #1a1a1a;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.filter-column input[type="checkbox"]:checked {
|
|
background-color: #00ff41;
|
|
border-color: #00ff41;
|
|
}
|
|
|
|
.filter-column input[type="checkbox"]:checked::after {
|
|
content: '✓';
|
|
position: absolute;
|
|
top: -3px;
|
|
left: 1px;
|
|
color: #1a1a1a;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.graph-context-menu {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
background-color: #2a2a2a;
|
|
border: 1px solid #444;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.5);
|
|
display: none;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.9rem;
|
|
color: #c7c7c7;
|
|
}
|
|
|
|
.graph-context-menu ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.graph-context-menu ul li {
|
|
padding: 0.75rem 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.graph-context-menu ul li:hover {
|
|
background-color: #3a3a3a;
|
|
color: #00ff41;
|
|
}
|
|
|
|
.graph-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
color: #666;
|
|
text-align: center;
|
|
background: radial-gradient(circle at center, rgba(0, 255, 65, 0.05) 0%, transparent 70%);
|
|
}
|
|
|
|
.placeholder-content {
|
|
max-width: 300px;
|
|
}
|
|
|
|
.placeholder-icon {
|
|
font-size: 4rem;
|
|
margin-bottom: 1rem;
|
|
color: #333;
|
|
text-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
|
|
}
|
|
|
|
.placeholder-text {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 0.5rem;
|
|
color: #999;
|
|
}
|
|
|
|
.placeholder-subtext {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
}
|
|
|
|
.legend {
|
|
background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
|
|
border-top: 2px solid #444;
|
|
padding: 0.75rem 1rem; /* Reduced from 1.25rem 1.75rem */
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem; /* Reduced from 1.5rem */
|
|
align-items: center;
|
|
}
|
|
|
|
.legend-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.legend-title {
|
|
font-size: 0.7rem;
|
|
color: #00ff41;
|
|
text-transform: uppercase;
|
|
font-weight: 500;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-size: 0.85rem;
|
|
color: #ccc;
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.legend-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.legend-color {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
border: 2px solid #444;
|
|
box-shadow: 0 0 5px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.legend-edge {
|
|
width: 20px;
|
|
height: 2px;
|
|
}
|
|
|
|
.legend-edge.high-confidence {
|
|
background-color: #00ff41;
|
|
box-shadow: 0 0 3px rgba(0, 255, 65, 0.5);
|
|
}
|
|
|
|
.legend-edge.medium-confidence {
|
|
background-color: #ff9900;
|
|
box-shadow: 0 0 3px rgba(255, 153, 0, 0.5);
|
|
}
|
|
|
|
.legend-edge.low-confidence {
|
|
background-color: #666666;
|
|
}
|
|
|
|
/* Provider Panel */
|
|
.provider-panel {
|
|
grid-area: providers;
|
|
}
|
|
|
|
.provider-list {
|
|
padding: 1rem; /* Reduced from 1.75rem */
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 1rem; /* Reduced from 1.25rem */
|
|
}
|
|
|
|
.provider-item {
|
|
background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
padding: 1rem; /* Reduced from 1.25rem */
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Remove provider item top line */
|
|
.provider-item::before {
|
|
display: none;
|
|
}
|
|
|
|
.provider-item:hover {
|
|
border-color: #444;
|
|
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.provider-item:hover::before {
|
|
background: linear-gradient(90deg, #00ff41 0%, #00aa2e 100%);
|
|
}
|
|
|
|
.provider-name {
|
|
font-weight: 600;
|
|
color: #e0e0e0;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.provider-status {
|
|
font-size: 0.8rem;
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 4px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.provider-status.enabled {
|
|
background: linear-gradient(135deg, #2c5c34 0%, #1e4025 100%);
|
|
color: #e0e0e0;
|
|
border: 1px solid #3a7a48;
|
|
}
|
|
|
|
.provider-status.disabled {
|
|
background: linear-gradient(135deg, #5c2c2c 0%, #402020 100%);
|
|
color: #e0e0e0;
|
|
border: 1px solid #7a3a3a;
|
|
}
|
|
|
|
.provider-status.api-key-required {
|
|
background: linear-gradient(135deg, #5c4c2c 0%, #403620 100%);
|
|
color: #e0e0e0;
|
|
border: 1px solid #7a6a3a;
|
|
}
|
|
|
|
.provider-stats, .provider-task-stats {
|
|
font-size: 0.8rem;
|
|
color: #999;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.75rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.provider-task-stats {
|
|
border-top: 1px solid #333;
|
|
padding-top: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.provider-stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.provider-stat-label {
|
|
color: #999;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.provider-stat-value {
|
|
color: #00ff41;
|
|
font-weight: 600;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.provider-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.node-info-popup {
|
|
position: fixed;
|
|
background: rgba(42, 42, 42, 0.95);
|
|
border: 1px solid #555;
|
|
padding: 1rem;
|
|
border-radius: 4px;
|
|
color: #c7c7c7;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.8rem;
|
|
max-width: 300px;
|
|
z-index: 1001;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
/* === ENHANCED MODAL STYLING === */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
backdrop-filter: blur(8px);
|
|
background-color: rgba(0,0,0,0.7);
|
|
}
|
|
|
|
.modal-content {
|
|
background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
|
|
margin: 10% auto;
|
|
padding: 0;
|
|
border: 1px solid #444;
|
|
border-radius: 8px;
|
|
width: 60%;
|
|
max-width: 800px;
|
|
max-height: 85vh;
|
|
overflow: hidden;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.7);
|
|
animation: modalSlideIn 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes modalSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px) scale(0.95);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.modal-opening {
|
|
animation: modalFadeIn 0.3s ease-out;
|
|
}
|
|
|
|
.modal-closing {
|
|
animation: modalFadeOut 0.2s ease-in;
|
|
}
|
|
|
|
@keyframes modalFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.9);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes modalFadeOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
}
|
|
}
|
|
|
|
.modal-header {
|
|
background: linear-gradient(90deg, #2a2a2a 0%, #1e1e1e 100%);
|
|
border-bottom: 2px solid #444;
|
|
padding: 1.5rem 2rem;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-header h3 {
|
|
font-size: 1.3rem;
|
|
margin: 0;
|
|
color: #00ff41;
|
|
text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-title-icon {
|
|
margin-right: 0.5rem;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.modal-title-text {
|
|
font-family: 'Special Elite', monospace;
|
|
}
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
color: #c7c7c7;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
padding: 0 10px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 0;
|
|
max-height: calc(85vh - 120px);
|
|
overflow-y: auto;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.modal-section {
|
|
border: 1px solid #333;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
.modal-section details {
|
|
border: none;
|
|
}
|
|
|
|
.modal-section summary {
|
|
padding: 0.75rem 1rem;
|
|
background: rgba(0, 255, 65, 0.05);
|
|
border-bottom: 1px solid #333;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-weight: 500;
|
|
color: #00ff41;
|
|
list-style: none;
|
|
}
|
|
|
|
.modal-section summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.modal-section summary::after {
|
|
content: '▼';
|
|
transition: transform 0.3s ease;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.modal-section[open] summary::after {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.modal-section-content {
|
|
padding: 0.75rem 1rem;
|
|
background: #1e1e1e;
|
|
}
|
|
|
|
/* Custom scrollbar for modal */
|
|
.modal-body::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.modal-body::-webkit-scrollbar-track {
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
.modal-body::-webkit-scrollbar-thumb {
|
|
background: #444;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.modal-body::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
/* === ENHANCED NODE DETAILS LAYOUT === */
|
|
.modal-details {
|
|
padding: 1rem; /* Reduced from 1.5rem */
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem; /* Reduced from 1.5rem */
|
|
}
|
|
|
|
/* Node Header */
|
|
.node-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem; /* Reduced from 1rem */
|
|
padding: 0.75rem; /* Reduced from 1rem */
|
|
background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
|
|
border-radius: 8px;
|
|
border-left: 4px solid #00ff41;
|
|
}
|
|
|
|
.node-type-badge {
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.node-type-domain { background: #00ff41; color: #000; }
|
|
.node-type-ip { background: #ff9900; color: #000; }
|
|
.node-type-asn { background: #00aaff; color: #000; }
|
|
.node-type-large_entity { background: #ff6b6b; color: #fff; }
|
|
.node-type-correlation_object { background: #9620c0; color: #fff; }
|
|
|
|
.node-id-display {
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 1.1rem;
|
|
color: #e0e0e0;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* Quick Stats Bar */
|
|
.quick-stats {
|
|
display: flex;
|
|
gap: 0.75rem; /* Reduced from 1rem */
|
|
padding: 0.5rem; /* Reduced from 0.75rem */
|
|
background: rgba(42, 42, 42, 0.5);
|
|
border-radius: 6px;
|
|
border: 1px solid #333;
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-icon {
|
|
font-size: 1.2rem;
|
|
color: #00ff41;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.8rem;
|
|
color: #999;
|
|
}
|
|
|
|
/* Section Cards */
|
|
.section-card {
|
|
background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
animation: slideInUp 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.section-card:hover {
|
|
border-color: #444;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.section-card.collapsed .section-header .toggle-icon {
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.section-card.collapsed,
|
|
.section-card.collapsed .metadata-content {
|
|
display: none;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem 1rem; /* Reduced from 1rem 1.5rem */
|
|
background: rgba(0, 255, 65, 0.05);
|
|
border-bottom: 1px solid #333;
|
|
cursor: pointer; /* Make clickable for collapse */
|
|
}
|
|
|
|
.section-header h4 {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
color: #00ff41;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.section-icon {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.count-badge, .merge-badge, .entity-badge {
|
|
background: #444;
|
|
color: #fff;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 3px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.merge-badge { background: #9620c0; }
|
|
.entity-badge { background: #ff6b6b; }
|
|
|
|
.toggle-section-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #999;
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.toggle-section-btn:hover {
|
|
color: #00ff41;
|
|
}
|
|
|
|
.toggle-icon {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
/* === RELATIONSHIP SECTIONS === */
|
|
.relationship-list {
|
|
padding: 1rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.relationship-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 4px;
|
|
border-left: 3px solid #444;
|
|
transition: all 0.3s ease;
|
|
animation: fadeIn 0.3s ease-out;
|
|
}
|
|
|
|
.relationship-compact {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.relationship-compact-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 4px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.relationship-compact-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.relationship-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-left-color: #00ff41;
|
|
}
|
|
|
|
.relationship-source, .relationship-target {
|
|
font-family: 'Roboto Mono', monospace;
|
|
color: #e0e0e0;
|
|
cursor: pointer;
|
|
flex: 1;
|
|
}
|
|
|
|
.node-link-compact {
|
|
color: #00aaff;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
font-family: 'Roboto Mono', monospace;
|
|
}
|
|
|
|
.node-link-compact:hover {
|
|
color: #00ff41;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.node-link::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
background: rgba(0, 255, 65, 0.1);
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: width 0.6s, height 0.6s;
|
|
}
|
|
|
|
.node-link:hover::before {
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
|
|
.relationship-type {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.relation-label {
|
|
font-size: 0.8rem;
|
|
color: #999;
|
|
background: #333;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.confidence-compact {
|
|
font-size: 0.7rem;
|
|
padding: 0.1rem 0.3rem;
|
|
border-radius: 2px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.confidence-indicator {
|
|
font-size: 0.7rem;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.confidence-compact.high { background: #00ff41; color: #000; }
|
|
.confidence-compact.medium { background: #ff9900; color: #000; }
|
|
.confidence-compact.low { background: #ff6b6b; color: #fff; }
|
|
|
|
|
|
/* === ATTRIBUTES SECTION === */
|
|
.attribute-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.attribute-item-compact {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 4px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.attribute-key-compact {
|
|
color: #999;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.attribute-value-compact {
|
|
color: #e0e0e0;
|
|
font-family: 'Roboto Mono', monospace;
|
|
word-break: break-word;
|
|
}
|
|
|
|
|
|
|
|
.category-header {
|
|
font-size: 0.9rem;
|
|
color: #ff9900;
|
|
font-weight: 600;
|
|
margin-bottom: 0.75rem;
|
|
padding-bottom: 0.25rem;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
|
|
|
|
.attr-key {
|
|
font-size: 0.8rem;
|
|
color: #999;
|
|
margin-bottom: 0.25rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.attr-value {
|
|
color: #e0e0e0;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.9rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.array-value {
|
|
border: 1px solid #333;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.array-summary {
|
|
background: #333;
|
|
padding: 0.5rem;
|
|
font-size: 0.8rem;
|
|
color: #999;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.array-summary:hover {
|
|
background: #3a3a3a;
|
|
}
|
|
|
|
.array-items {
|
|
padding: 0.5rem;
|
|
max-height: 120px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.array-value.expanded .array-items {
|
|
max-height: none;
|
|
}
|
|
|
|
.array-item {
|
|
padding: 0.25rem 0;
|
|
border-bottom: 1px solid #333;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.array-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.array-more {
|
|
padding: 0.25rem 0;
|
|
font-style: italic;
|
|
color: #666;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.array-display {
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.array-display-item {
|
|
padding: 0.25rem 0;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
.array-display-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.object-value .compact-object {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.object-display {
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.8rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
border: 1px solid #333;
|
|
}
|
|
|
|
.compact-pair {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.compact-key {
|
|
color: #999;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.compact-value {
|
|
color: #e0e0e0;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.compact-more {
|
|
font-style: italic;
|
|
color: #666;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.certificate-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
max-height: 250px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.certificate-item {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid #333;
|
|
border-radius: 4px;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.certificate-summary {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.certificate-issuer {
|
|
color: #00ff41;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.certificate-status {
|
|
font-size: 0.7rem;
|
|
padding: 0.1rem 0.3rem;
|
|
border-radius: 2px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.certificate-status.valid { background: #00ff41; color: #000; }
|
|
.certificate-status.invalid { background: #ff6b6b; color: #fff; }
|
|
.certificate-status.expired { background: #ff9900; color: #000; }
|
|
|
|
.cert-summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cert-stat-item {
|
|
text-align: center;
|
|
padding: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid #333;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.cert-stat-value {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
color: #00ff41;
|
|
font-family: 'Roboto Mono', monospace;
|
|
}
|
|
|
|
.cert-stat-label {
|
|
font-size: 0.8rem;
|
|
color: #999;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Status badges - extends existing badge system */
|
|
.cert-status.valid { background: #00ff41; color: #000; }
|
|
.cert-status.invalid { background: #ff6b6b; color: #fff; }
|
|
.cert-status.warning { background: #ff9900; color: #000; }
|
|
|
|
/* Certificate links */
|
|
.cert-link {
|
|
color: #00aaff;
|
|
text-decoration: none;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.cert-link:hover {
|
|
color: #00ff41;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* === CORRELATION OBJECT LAYOUT === */
|
|
.correlation-grid {
|
|
padding: 1rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.correlation-item {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid #333;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.correlation-item.expanded {
|
|
border-color: #00ff41;
|
|
}
|
|
|
|
.correlation-preview {
|
|
padding: 0.75rem;
|
|
font-family: 'Roboto Mono', monospace;
|
|
color: #e0e0e0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.expand-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #999;
|
|
cursor: pointer;
|
|
padding: 0.5rem;
|
|
transition: color 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.expand-btn:hover {
|
|
color: #00ff41;
|
|
}
|
|
|
|
.expand-btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
background: rgba(0, 255, 65, 0.1);
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: width 0.6s, height 0.6s;
|
|
}
|
|
|
|
.expand-btn:hover::before {
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
|
|
.expand-icon {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.correlation-item.expanded .expand-icon {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.correlation-full {
|
|
padding: 0.75rem;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-top: 1px solid #333;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.8rem;
|
|
color: #ccc;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.correlation-full.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.correlation-item.expanded .correlation-full.hidden {
|
|
display: block;
|
|
}
|
|
|
|
.correlation-attr-name {
|
|
color: #00ff41;
|
|
font-weight: 600;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.correlation-hint {
|
|
color: #999;
|
|
cursor: help;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.correlation-hint:hover {
|
|
opacity: 1;
|
|
color: #00ff41;
|
|
}
|
|
|
|
.node-list {
|
|
padding: 1rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.node-link-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border-radius: 4px;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
animation: fadeIn 0.3s ease-out;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.node-link-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-left: 3px solid #00ff41;
|
|
}
|
|
|
|
.node-link-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
background: rgba(0, 255, 65, 0.1);
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: width 0.6s, height 0.6s;
|
|
}
|
|
|
|
.node-link-item:hover::before {
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
|
|
.node-icon {
|
|
color: #00ff41;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.node-name {
|
|
flex: 1;
|
|
font-family: 'Roboto Mono', monospace;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.navigate-btn {
|
|
background: none;
|
|
border: 1px solid #444;
|
|
color: #999;
|
|
border-radius: 3px;
|
|
padding: 0.25rem 0.5rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.navigate-btn:hover {
|
|
border-color: #00ff41;
|
|
color: #00ff41;
|
|
}
|
|
|
|
/* === LARGE ENTITY LAYOUT === */
|
|
.entity-stats {
|
|
padding: 1rem 1.5rem;
|
|
}
|
|
|
|
.stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
.stat-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.entity-node-grid {
|
|
padding: 1rem 1.5rem;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.entity-node-card {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid #333;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.entity-node-card.expanded {
|
|
border-color: #00ff41;
|
|
}
|
|
|
|
.entity-node-header {
|
|
padding: 0.75rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.entity-node-header:hover {
|
|
background: rgba(0, 255, 65, 0.1);
|
|
}
|
|
|
|
.entity-node-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
background: rgba(0, 255, 65, 0.1);
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: width 0.6s, height 0.6s;
|
|
}
|
|
|
|
.entity-node-header:hover::before {
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
|
|
.expand-indicator {
|
|
margin-left: auto;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.entity-node-card.expanded .expand-indicator {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.entity-node-details {
|
|
display: none;
|
|
padding: 1rem;
|
|
border-top: 1px solid #333;
|
|
}
|
|
|
|
.entity-node-card.expanded .entity-node-details {
|
|
display: block;
|
|
}
|
|
|
|
/* === DESCRIPTION SECTION === */
|
|
.description-content {
|
|
padding: 1rem 1.5rem;
|
|
color: #ccc;
|
|
line-height: 1.6;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
|
|
border-top: 2px solid #333;
|
|
padding: 1.25rem 2rem;
|
|
text-align: center;
|
|
font-size: 0.85rem;
|
|
color: #999;
|
|
}
|
|
|
|
.footer-content {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer-separator {
|
|
margin: 0 1rem;
|
|
color: #555;
|
|
}
|
|
|
|
/* API Key Modal Styles */
|
|
.apikey-section {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.apikey-section label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: #c7c7c7;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.apikey-section input[type="password"] {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
background-color: #1a1a1a;
|
|
border: 1px solid #555;
|
|
color: #c7c7c7;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.9rem;
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.apikey-section input[type="password"]:focus {
|
|
outline: none;
|
|
border-color: #00ff41;
|
|
box-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
|
|
}
|
|
|
|
.apikey-help {
|
|
font-size: 0.8rem;
|
|
color: #666;
|
|
margin-top: 0.25rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.api-key-set-message {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem;
|
|
background: #2c5c34;
|
|
border: 1px solid #3a7a48;
|
|
border-radius: 4px;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.api-key-set-text {
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.clear-api-key-btn {
|
|
background: none;
|
|
border: 1px solid #555;
|
|
color: #c7c7c7;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
font-size: 0.8rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.clear-api-key-btn:hover {
|
|
border-color: #ff6b6b;
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
/* Message Toasts */
|
|
.message-container {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
z-index: 1002;
|
|
max-width: 400px;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.message-toast {
|
|
margin-bottom: 10px;
|
|
border-radius: 4px;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 0.9rem;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
|
|
animation: slideInRight 0.3s ease-out;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.message-toast.success {
|
|
background: #2c5c34;
|
|
border-left: 4px solid #00ff41;
|
|
}
|
|
|
|
.message-toast.error {
|
|
background: #5c2c2c;
|
|
border-left: 4px solid #ff6b6b;
|
|
}
|
|
|
|
.message-toast.warning {
|
|
background: #5c4c2c;
|
|
border-left: 4px solid #ff9900;
|
|
}
|
|
|
|
.message-toast.info {
|
|
background: #2c3e5c;
|
|
border-left: 4px solid #00aaff;
|
|
}
|
|
|
|
@keyframes slideInRight {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideOutRight {
|
|
from {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/* Large Entity Node Details */
|
|
.large-entity-nodes-list {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.large-entity-node-details {
|
|
margin-bottom: 0.5rem;
|
|
border: 1px solid #333;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.large-entity-node-details summary {
|
|
padding: 0.5rem;
|
|
background-color: #3a3a3a;
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
.large-entity-node-details summary:hover {
|
|
background-color: #4a4a4a;
|
|
}
|
|
|
|
.large-entity-node-details .detail-row {
|
|
margin-left: 1rem;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.large-entity-node-details .detail-section-header {
|
|
margin-left: 1rem;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
/* Legacy Detail Styles for Compatibility */
|
|
.detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.75rem;
|
|
padding-bottom: 0.25rem;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
.detail-label {
|
|
color: #999;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.detail-value {
|
|
color: #c7c7c7;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.detail-section-header {
|
|
font-size: 1rem;
|
|
color: #00ff41;
|
|
font-weight: 500;
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.75rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid #444;
|
|
}
|
|
|
|
.detail-section-header:first-of-type {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.copy-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #666;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
margin-left: 10px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.copy-btn:hover {
|
|
color: #00ff41;
|
|
}
|
|
|
|
.status-icon {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.error {
|
|
color: #ff6b6b !important;
|
|
border-color: #ff6b6b !important;
|
|
}
|
|
|
|
.success {
|
|
color: #00ff41 !important;
|
|
}
|
|
|
|
.fade-in {
|
|
animation: enhancedFadeIn 0.5s ease-out;
|
|
}
|
|
|
|
@keyframes enhancedFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Utility Classes */
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Graph specific styles */
|
|
.vis-network {
|
|
background-color: #1a1a1a !important;
|
|
}
|
|
|
|
.vis-tooltip {
|
|
background-color: #2a2a2a !important;
|
|
border: 1px solid #444 !important;
|
|
color: #c7c7c7 !important;
|
|
font-family: 'Roboto Mono', monospace !important;
|
|
font-size: 0.8rem !important;
|
|
}
|
|
|
|
/* === RESPONSIVE DESIGN === */
|
|
@media (max-width: 768px) {
|
|
.main-content {
|
|
padding: 0.75rem;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.header {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.header-content {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.button-group {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.legend {
|
|
padding: 0.5rem 0.75rem;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.provider-list {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.modal-content {
|
|
width: 95%;
|
|
margin: 5% auto;
|
|
max-height: 90vh;
|
|
}
|
|
|
|
.modal-details {
|
|
padding: 0.75rem;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.entity-node-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.quick-stats {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.relationship-item {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.status-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.footer-content {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
} |