Files
hypermind/public/style.css
T
2026-01-06 19:19:04 -05:00

261 lines
5.2 KiB
CSS

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #111;
color: #eee;
margin: 0;
transition: padding-bottom 0.3s ease;
}
body.chat-active {
padding-bottom: 250px;
}
body.chat-collapsed {
padding-bottom: 40px;
}
.container { text-align: center; position: relative; z-index: 10; }
#network { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.count { font-size: 8rem; font-weight: bold; color: #4ade80; transition: color 0.2s; visibility: hidden; }
.count.loaded { visibility: visible; }
.label { font-size: 1.5rem; color: #9ca3af; margin-top: 1rem; }
.footer {
margin: 2rem auto 0;
font-size: 0.9rem;
color: #9ca3af;
}
.debug {
font-size: 0.8rem;
color: #9ca3af;
margin: 1rem auto 0;
}
.debug-link { color: #9ca3af; border-bottom: 1px dotted #9ca3af; cursor: pointer; }
.debug-link:hover { color: #e5e7eb; }
a { color: #9ca3af; text-decoration: none; border-bottom: 1px dotted #9ca3af; }
.pulse { animation: pulse 0.5s ease-in-out; }
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); color: #fff; }
100% { transform: scale(1); }
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
}
.modal.active { display: flex; align-items: center; justify-content: center; }
.modal-content {
background: #111;
border: 1px solid #222;
padding: 2rem;
max-width: 500px;
width: 90%;
position: relative;
}
.modal-content.map-content {
max-width: 1000px;
width: 100%;
height: 500px;
max-height: 80vh;
padding: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
#map {
width: 100%;
height: 100%;
background: #222;
}
.modal-title {
font-size: 0.9rem;
color: #666;
margin-bottom: 1.5rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.close-btn {
position: absolute;
top: 1.5rem;
right: 1.5rem;
background: none;
border: none;
color: #9ca3af;
font-size: 1.2rem;
cursor: pointer;
z-index: 1001;
}
.close-btn:hover { color: #fff; }
.stat-row {
display: flex;
justify-content: space-between;
padding: 0.5rem 0;
border-bottom: 1px solid #1a1a1a;
font-size: 0.85rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: #4b5563; }
.stat-value {
color: #9ca3af;
font-variant-numeric: tabular-nums;
}
.update-time {
text-align: center;
font-size: 0.7rem;
color: #333;
margin-top: 1rem;
}
.terminal {
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 800px;
max-width: 100%;
height: 250px;
background: rgba(0, 0, 0, 0.9);
border: 1px solid #333;
border-bottom: none;
border-radius: 8px 8px 0 0;
z-index: 100;
font-family: "Courier New", Courier, monospace;
display: flex;
flex-direction: column;
padding: 12px;
color: #4ade80;
font-size: 12px;
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
}
.hidden {
display: none !important;
}
.terminal.hidden {
display: none;
}
.terminal.collapsed {
transform: translateX(-50%) translateY(100%);
}
.terminal-toggle {
position: absolute;
top: -24px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.9);
border: 1px solid #333;
border-bottom: none;
border-radius: 8px 8px 0 0;
color: #4ade80;
cursor: pointer;
font-family: monospace;
font-weight: bold;
font-size: 14px;
z-index: 101;
padding: 2px 15px;
height: 24px;
line-height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.terminal-toggle:hover {
color: #fff;
background: #222;
}
.system-status-bar {
height: 20px;
margin-bottom: 5px;
color: #666;
font-style: italic;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex-shrink: 0;
}
.terminal-output {
flex: 1;
overflow-y: auto;
margin-bottom: 5px;
display: flex;
flex-direction: column;
gap: 2px;
scrollbar-width: thin;
scrollbar-color: #333 transparent;
}
.terminal-output::-webkit-scrollbar {
width: 6px;
}
.terminal-output::-webkit-scrollbar-track {
background: transparent;
}
.terminal-output::-webkit-scrollbar-thumb {
background-color: #333;
border-radius: 3px;
}
.terminal-output::-webkit-scrollbar-thumb:hover {
background-color: #444;
}
.terminal-input-line {
display: flex;
align-items: center;
border-top: 1px solid #333;
padding-top: 10px;
}
.prompt {
margin-right: 10px;
color: #4ade80;
}
#terminal-input {
flex: 1;
background: transparent;
border: none;
color: #fff;
font-family: inherit;
font-size: inherit;
outline: none;
}
.msg-system {
color: #666;
font-style: italic;
}
.msg-sender {
font-weight: bold;
}
.msg-content {
color: #ddd;
}