lumina/ui/views/graph/three-galaxy.scss
2025-11-29 23:13:05 +03:00

321 lines
5.5 KiB
SCSS

.three-galaxy-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: #000;
overflow: hidden;
z-index: 1;
}
.three-galaxy-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
font-family: 'Courier New', monospace;
color: #fff;
* {
pointer-events: auto;
}
}
.overlay-header {
position: absolute;
top: 20px;
left: 20px;
display: flex;
align-items: center;
gap: 20px;
.back-button {
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(107, 70, 193, 0.3);
color: #fff;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s;
backdrop-filter: blur(10px);
&:hover {
background: rgba(107, 70, 193, 0.2);
border-color: #6B46C1;
}
}
h1 {
font-size: 32px;
font-weight: 700;
margin: 0;
text-shadow: 0 0 10px rgba(107, 70, 193, 0.8);
}
.status {
font-size: 14px;
opacity: 0.8;
&.connected {
color: #00ff00;
}
&.connecting {
color: #ffaa00;
}
}
}
.stats-panel {
position: absolute;
top: 20px;
right: 20px;
display: flex;
gap: 15px;
flex-wrap: wrap;
max-width: 600px;
}
.stat-box {
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(107, 70, 193, 0.3);
border-radius: 8px;
padding: 12px 20px;
min-width: 100px;
text-align: center;
backdrop-filter: blur(10px);
.stat-label {
font-size: 11px;
opacity: 0.6;
margin-bottom: 5px;
letter-spacing: 1px;
}
.stat-value {
font-size: 24px;
font-weight: 700;
color: #6B46C1;
text-shadow: 0 0 10px rgba(107, 70, 193, 0.5);
}
}
.color-legend {
position: absolute;
top: 120px;
left: 20px;
background: rgba(0, 0, 0, 0.8);
border: 1px solid rgba(107, 70, 193, 0.3);
border-radius: 8px;
padding: 15px;
min-width: 250px;
backdrop-filter: blur(10px);
.legend-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
h3 {
margin: 0;
font-size: 14px;
letter-spacing: 1px;
}
button {
background: none;
border: none;
color: #fff;
font-size: 20px;
cursor: pointer;
opacity: 0.6;
&:hover { opacity: 1; }
}
}
.legend-items {
display: flex;
flex-direction: column;
gap: 8px;
}
.legend-item {
display: flex;
align-items: center;
gap: 10px;
font-size: 12px;
.legend-color {
width: 20px;
height: 20px;
border-radius: 4px;
box-shadow: 0 0 10px currentColor;
}
}
}
.show-legend-btn {
position: absolute;
top: 120px;
left: 20px;
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(107, 70, 193, 0.3);
color: #fff;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 12px;
backdrop-filter: blur(10px);
&:hover {
background: rgba(107, 70, 193, 0.2);
}
}
.transaction-details {
position: absolute;
top: 120px;
right: 20px;
background: rgba(0, 0, 0, 0.8);
border: 1px solid rgba(107, 70, 193, 0.5);
border-radius: 8px;
padding: 15px;
min-width: 300px;
backdrop-filter: blur(10px);
.details-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(107, 70, 193, 0.3);
h3 {
margin: 0;
font-size: 14px;
letter-spacing: 1px;
}
button {
background: none;
border: none;
color: #fff;
font-size: 20px;
cursor: pointer;
opacity: 0.6;
&:hover { opacity: 1; }
}
}
.details-content {
display: flex;
flex-direction: column;
gap: 10px;
}
.detail-row {
display: flex;
justify-content: space-between;
font-size: 12px;
.detail-label {
opacity: 0.6;
}
.detail-value {
color: #6B46C1;
font-weight: 600;
}
}
}
.view-controls {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
button {
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(107, 70, 193, 0.3);
color: #fff;
padding: 12px 30px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
letter-spacing: 1px;
transition: all 0.3s;
backdrop-filter: blur(10px);
&:hover {
background: rgba(107, 70, 193, 0.2);
border-color: rgba(107, 70, 193, 0.6);
}
&.active {
background: rgba(107, 70, 193, 0.3);
border-color: #6B46C1;
box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
}
}
}
.whales-panel {
position: absolute;
bottom: 30px;
right: 30px;
background: rgba(0, 0, 0, 0.8);
border: 1px solid rgba(255, 107, 0, 0.3);
border-radius: 8px;
padding: 15px;
min-width: 250px;
max-width: 300px;
backdrop-filter: blur(10px);
h3 {
margin: 0 0 10px 0;
font-size: 14px;
opacity: 0.8;
letter-spacing: 1px;
}
.whale-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.whale-item {
padding: 8px 10px;
background: rgba(255, 107, 0, 0.1);
border-radius: 4px;
cursor: pointer;
transition: all 0.3s;
&:hover {
background: rgba(255, 107, 0, 0.2);
}
.whale-amount {
font-size: 16px;
font-weight: 700;
color: #ff6b00;
}
.whale-type {
font-size: 11px;
opacity: 0.6;
margin-top: 2px;
}
}
}