style.css•9.09 kB
/* Research Discovery Engine - Smooth Aesthetic Black & White Design */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-primary: #000000;
--bg-secondary: #0a0a0a;
--bg-tertiary: #111111;
--text-primary: #ffffff;
--text-secondary: #cccccc;
--text-muted: #888888;
--border: #333333;
--border-light: #444444;
--accent: #ffffff;
--success: #4ade80;
--warning: #fbbf24;
--error: #ef4444;
--info: #60a5fa;
}
body {
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
font-size: 14px;
overflow-x: hidden;
}
.container {
max-width: 1600px;
margin: 0 auto;
padding: 0 30px;
}
/* Header */
.header {
text-align: center;
padding: 20px 0 15px 0;
border-bottom: 1px solid var(--border);
margin-bottom: 20px;
}
.header h1 {
font-size: 28px;
font-weight: 300;
letter-spacing: -0.5px;
margin-bottom: 8px;
color: var(--text-primary);
}
.header p {
color: var(--text-muted);
font-size: 14px;
font-weight: 400;
}
/* Input Section */
.input-section {
margin-bottom: 20px;
}
.input-group {
display: flex;
gap: 12px;
max-width: 900px;
margin: 0 auto;
}
.url-input {
flex: 1;
padding: 12px 16px;
background: var(--bg-secondary);
border: 1px solid var(--border);
color: var(--text-primary);
font-size: 14px;
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
border-radius: 6px;
transition: all 0.2s ease;
outline: none;
}
.url-input:focus {
border-color: var(--border-light);
background: var(--bg-tertiary);
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.url-input::placeholder {
color: var(--text-muted);
}
.discover-btn {
padding: 12px 24px;
background: var(--accent);
color: var(--bg-primary);
border: none;
font-size: 14px;
font-weight: 500;
font-family: inherit;
cursor: pointer;
border-radius: 6px;
transition: all 0.2s ease;
outline: none;
}
.discover-btn:hover:not(:disabled) {
background: var(--text-secondary);
transform: translateY(-1px);
}
.discover-btn:active {
transform: translateY(0);
}
.discover-btn:disabled {
background: var(--bg-tertiary);
color: var(--text-muted);
cursor: not-allowed;
transform: none;
}
/* Status Indicator */
.status-indicator {
margin-bottom: 20px;
text-align: center;
}
#statusText {
display: block;
margin-bottom: 12px;
font-size: 14px;
color: var(--text-secondary);
font-weight: 400;
}
.progress-bar {
width: 100%;
max-width: 500px;
height: 2px;
background: var(--bg-tertiary);
margin: 0 auto;
border-radius: 1px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: var(--accent);
width: 0%;
transition: width 0.3s ease;
border-radius: 1px;
}
/* Main Content */
.main-content {
display: grid;
grid-template-columns: 1fr 450px;
gap: 40px;
margin-bottom: 30px;
align-items: start;
height: calc(100vh - 400px);
}
@media (max-width: 1200px) {
.main-content {
grid-template-columns: 1fr;
gap: 20px;
height: auto;
}
}
/* Discovery Section */
.discovery-section {
height: 100%;
display: flex;
flex-direction: column;
}
.discovery-section h2 {
font-size: 18px;
font-weight: 500;
margin-bottom: 12px;
color: var(--text-primary);
letter-spacing: -0.2px;
}
.discovery-log {
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: 8px;
flex: 1;
overflow-y: auto;
padding: 0;
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
font-size: 12px;
line-height: 1.4;
scroll-behavior: smooth;
min-height: 400px;
max-height: calc(100vh - 250px);
}
.log-entry {
padding: 8px 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
opacity: 0;
animation: logFadeIn 0.3s ease forwards;
word-wrap: break-word;
white-space: pre-wrap;
}
.log-entry:last-child {
border-bottom: none;
}
.log-entry.welcome {
opacity: 1;
color: var(--text-muted);
font-family: inherit;
padding: 20px 16px;
text-align: center;
border-bottom: none;
}
/* Log Entry Types - All Plain White */
.log-entry.start,
.log-entry.analysis,
.log-entry.discovery,
.log-entry.processing,
.log-entry.result,
.log-entry.summary,
.log-entry.complete,
.log-entry.error,
.log-entry.log {
color: var(--text-secondary);
font-weight: 400;
}
.log-entry.log {
background: rgba(255, 255, 255, 0.02);
font-size: 11px;
padding: 6px 16px;
border-left: 1px solid var(--border);
margin: 1px 0;
}
@keyframes logFadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Results Section */
.results-section {
position: sticky;
top: 20px;
background: rgba(34, 197, 94, 0.08);
border: 1px solid rgba(34, 197, 94, 0.2);
border-radius: 12px;
padding: 20px;
max-height: calc(100vh - 200px);
overflow-y: auto;
}
.results-section h2 {
font-size: 18px;
font-weight: 500;
margin-bottom: 16px;
color: var(--text-primary);
letter-spacing: -0.2px;
}
.results-grid {
display: flex;
flex-direction: column;
gap: 12px;
}
.result-item {
background: rgba(34, 197, 94, 0.05);
border: 1px solid rgba(34, 197, 94, 0.15);
border-radius: 8px;
padding: 16px;
transition: all 0.3s ease;
}
.result-item.found {
background: rgba(34, 197, 94, 0.1);
border-color: rgba(34, 197, 94, 0.25);
transform: translateY(-1px);
}
.result-label {
font-size: 12px;
color: var(--text-muted);
margin-bottom: 8px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.result-content {
color: var(--text-primary);
word-break: break-word;
font-size: 13px;
line-height: 1.4;
}
.result-content a {
color: var(--info);
text-decoration: none;
transition: color 0.2s ease;
}
.result-content a:hover {
color: var(--accent);
text-decoration: underline;
}
/* Examples Section */
.examples-section {
margin-bottom: 25px;
text-align: center;
}
.examples-section h3 {
margin-bottom: 10px;
color: var(--text-muted);
font-weight: 400;
font-size: 13px;
}
.examples-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 10px;
max-width: 1000px;
margin: 0 auto;
}
.example-btn {
padding: 10px 14px;
background: var(--bg-secondary);
border: 1px solid var(--border);
color: var(--text-primary);
font-family: inherit;
cursor: pointer;
border-radius: 6px;
transition: all 0.2s ease;
font-size: 12px;
font-weight: 400;
}
.example-btn:hover {
background: var(--bg-tertiary);
border-color: var(--border-light);
transform: translateY(-1px);
}
.example-btn:active {
transform: translateY(0);
}
/* Footer */
.footer {
text-align: center;
padding: 20px 0;
border-top: 1px solid var(--border);
color: var(--text-muted);
font-size: 11px;
}
/* Scrollbar Styling */
.discovery-log::-webkit-scrollbar {
width: 6px;
}
.discovery-log::-webkit-scrollbar-track {
background: var(--bg-tertiary);
}
.discovery-log::-webkit-scrollbar-thumb {
background: var(--border-light);
border-radius: 3px;
}
.discovery-log::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* Results Section Scrollbar Styling */
.results-section::-webkit-scrollbar {
width: 8px;
}
.results-section::-webkit-scrollbar-track {
background: rgba(34, 197, 94, 0.1);
border-radius: 4px;
}
.results-section::-webkit-scrollbar-thumb {
background: rgba(34, 197, 94, 0.3);
border-radius: 4px;
}
.results-section::-webkit-scrollbar-thumb:hover {
background: rgba(34, 197, 94, 0.5);
}
/* Loading Animation */
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.loading {
animation: pulse 1.5s infinite;
}
/* Smooth Transitions */
* {
transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
padding: 0 16px;
}
.header h1 {
font-size: 24px;
}
.input-group {
flex-direction: column;
gap: 12px;
}
.examples-grid {
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.main-content {
gap: 16px;
height: auto;
}
.discovery-log {
min-height: 300px;
}
}
@media (max-width: 480px) {
.examples-grid {
grid-template-columns: 1fr;
}
}