Implemented features: - High-performance Rust extension with Redis persistence - Actor/player management with loadout, position, and state tracking - Banking system with deposit, withdraw, and transfer operations - Physical and virtual garage/locker systems for vehicle and equipment storage - Organization management with member tracking and permissions - Client-side UI with React-like state management - Server-side event-driven architecture with CBA Events - Security: Self-transfer prevention at multiple layers - Logging system with per-module log files - ICOM module for inter-server communication Co-Authored-By: Warp <agent@warp.dev>
606 lines
12 KiB
CSS
606 lines
12 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
font-family: Arial, sans-serif;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.garage-container {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
/* Header Section */
|
|
.garage-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
padding: 1.25rem 1.5rem;
|
|
background: rgba(15, 20, 30, 0.9);
|
|
border: 1px solid rgba(100, 150, 200, 0.4);
|
|
border-radius: 4px;
|
|
box-shadow:
|
|
0 0 20px rgba(100, 150, 200, 0.15),
|
|
0 4px 16px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.garage-logo {
|
|
width: 60px;
|
|
height: 60px;
|
|
background: rgba(20, 30, 45, 0.8);
|
|
border: 2px solid rgba(100, 150, 200, 0.5);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.garage-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.garage-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
color: rgba(200, 220, 255, 1);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.garage-subtitle {
|
|
font-size: 0.875rem;
|
|
color: rgba(140, 160, 180, 0.8);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.garage-stats {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
padding: 0.75rem 1.25rem;
|
|
background: rgba(20, 30, 45, 0.7);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: rgba(140, 160, 180, 0.8);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: rgba(100, 200, 150, 1);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.action-btn {
|
|
padding: 0.625rem 1.25rem;
|
|
background: rgba(20, 30, 45, 0.7);
|
|
border: 1px solid rgba(100, 150, 200, 0.4);
|
|
border-radius: 4px;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
font-size: 0.875rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.action-btn:hover {
|
|
background: rgba(30, 45, 70, 0.9);
|
|
border-color: rgba(150, 200, 255, 0.7);
|
|
box-shadow:
|
|
0 0 15px rgba(100, 150, 200, 0.2),
|
|
inset 0 0 20px rgba(100, 150, 200, 0.05);
|
|
}
|
|
|
|
.close-btn {
|
|
border-color: rgba(200, 100, 100, 0.4);
|
|
}
|
|
|
|
.close-btn:hover {
|
|
border-color: rgba(255, 100, 100, 0.7);
|
|
box-shadow:
|
|
0 0 15px rgba(200, 100, 100, 0.2),
|
|
inset 0 0 20px rgba(200, 100, 100, 0.05);
|
|
}
|
|
|
|
/* Main Content */
|
|
.garage-content {
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: 250px 1fr 350px;
|
|
gap: 1.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Panels */
|
|
.garage-panel {
|
|
background: rgba(15, 20, 30, 0.9);
|
|
border: 1px solid rgba(100, 150, 200, 0.4);
|
|
border-left: 3px solid rgba(100, 150, 200, 0.5);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow:
|
|
0 0 20px rgba(100, 150, 200, 0.1),
|
|
0 4px 16px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.panel-header {
|
|
padding: 1.25rem 1.5rem;
|
|
border-bottom: 1px solid rgba(100, 150, 200, 0.2);
|
|
}
|
|
|
|
.panel-title {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: rgba(200, 220, 255, 1);
|
|
}
|
|
|
|
.panel-content {
|
|
flex: 1;
|
|
padding: 1.5rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Custom Scrollbar */
|
|
.panel-content::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.panel-content::-webkit-scrollbar-track {
|
|
background: rgba(15, 20, 30, 0.5);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.panel-content::-webkit-scrollbar-thumb {
|
|
background: rgba(100, 150, 200, 0.3);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.panel-content::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(100, 150, 200, 0.5);
|
|
}
|
|
|
|
/* Filters */
|
|
.filter-section {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.filter-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.filter-title {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: rgba(160, 180, 200, 0.85);
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.filter-buttons {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.filter-btn {
|
|
flex: 1;
|
|
padding: 0.625rem;
|
|
background: rgba(20, 30, 45, 0.7);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-radius: 4px;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
background: rgba(30, 45, 70, 0.8);
|
|
border-color: rgba(150, 200, 255, 0.5);
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background: rgba(100, 150, 200, 0.2);
|
|
border-color: rgba(100, 150, 200, 0.6);
|
|
box-shadow:
|
|
0 0 10px rgba(100, 150, 200, 0.15),
|
|
inset 0 0 15px rgba(100, 150, 200, 0.05);
|
|
}
|
|
|
|
.type-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.type-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.875rem;
|
|
background: rgba(20, 30, 45, 0.7);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-left: 3px solid rgba(100, 150, 200, 0.4);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
text-align: left;
|
|
}
|
|
|
|
.type-item:hover {
|
|
background: rgba(30, 45, 70, 0.8);
|
|
border-left-color: rgba(150, 200, 255, 0.7);
|
|
}
|
|
|
|
.type-item.active {
|
|
background: rgba(30, 45, 70, 0.9);
|
|
border-left-color: rgba(100, 200, 150, 0.8);
|
|
box-shadow:
|
|
0 0 15px rgba(100, 200, 150, 0.15),
|
|
inset 0 0 20px rgba(100, 200, 150, 0.05);
|
|
}
|
|
|
|
.type-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.type-name {
|
|
font-size: 0.875rem;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
background: rgba(20, 30, 45, 0.7);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-radius: 4px;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
font-size: 0.875rem;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.search-input:focus {
|
|
outline: none;
|
|
border-color: rgba(150, 200, 255, 0.6);
|
|
box-shadow:
|
|
0 0 15px rgba(100, 150, 200, 0.15),
|
|
inset 0 0 20px rgba(100, 150, 200, 0.05);
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: rgba(100, 120, 140, 0.6);
|
|
}
|
|
|
|
/* Vehicles Grid */
|
|
.vehicles-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.vehicle-card {
|
|
background: rgba(20, 30, 45, 0.6);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-left: 3px solid rgba(100, 150, 200, 0.4);
|
|
border-radius: 4px;
|
|
padding: 1.25rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.vehicle-card:hover {
|
|
background: rgba(30, 45, 70, 0.7);
|
|
border-left-color: rgba(150, 200, 255, 0.7);
|
|
box-shadow:
|
|
0 0 15px rgba(100, 150, 200, 0.15),
|
|
inset 0 0 20px rgba(100, 150, 200, 0.05);
|
|
}
|
|
|
|
.vehicle-card.selected {
|
|
background: rgba(30, 45, 70, 0.8);
|
|
border-left-color: rgba(100, 200, 150, 0.8);
|
|
box-shadow:
|
|
0 0 20px rgba(100, 200, 150, 0.2),
|
|
inset 0 0 25px rgba(100, 200, 150, 0.05);
|
|
}
|
|
|
|
.vehicle-icon {
|
|
font-size: 3rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.vehicle-name {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: rgba(200, 220, 255, 1);
|
|
text-align: center;
|
|
}
|
|
|
|
.vehicle-type {
|
|
font-size: 0.75rem;
|
|
color: rgba(140, 160, 180, 0.85);
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.vehicle-status {
|
|
padding: 0.375rem;
|
|
background: rgba(100, 150, 200, 0.2);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-radius: 3px;
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.vehicle-status.stored {
|
|
background: rgba(100, 150, 200, 0.2);
|
|
border-color: rgba(100, 150, 200, 0.4);
|
|
color: rgba(150, 200, 255, 0.9);
|
|
}
|
|
|
|
.vehicle-status.active {
|
|
background: rgba(100, 200, 150, 0.2);
|
|
border-color: rgba(100, 200, 150, 0.4);
|
|
color: rgba(150, 255, 200, 0.9);
|
|
}
|
|
|
|
/* Vehicle Details */
|
|
.no-selection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 3rem 1rem;
|
|
}
|
|
|
|
.no-selection-icon {
|
|
font-size: 4rem;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.no-selection p {
|
|
font-size: 0.875rem;
|
|
color: rgba(140, 160, 180, 0.7);
|
|
}
|
|
|
|
.vehicle-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.detail-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1.25rem;
|
|
background: rgba(20, 30, 45, 0.6);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-left: 3px solid rgba(100, 150, 200, 0.5);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.detail-icon {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.detail-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.detail-name {
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
color: rgba(200, 220, 255, 1);
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.detail-type {
|
|
font-size: 0.75rem;
|
|
color: rgba(140, 160, 180, 0.85);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.detail-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.detail-stat {
|
|
padding: 0.875rem;
|
|
background: rgba(20, 30, 45, 0.6);
|
|
border: 1px solid rgba(100, 150, 200, 0.3);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
}
|
|
|
|
.detail-label {
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: rgba(140, 160, 180, 0.85);
|
|
}
|
|
|
|
.detail-value {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
}
|
|
|
|
.detail-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.detail-btn {
|
|
padding: 1rem;
|
|
background: rgba(20, 30, 45, 0.7);
|
|
border: 1px solid rgba(100, 150, 200, 0.4);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.detail-btn:hover {
|
|
background: rgba(30, 45, 70, 0.9);
|
|
border-color: rgba(150, 200, 255, 0.7);
|
|
box-shadow:
|
|
0 0 15px rgba(100, 150, 200, 0.2),
|
|
inset 0 0 20px rgba(100, 150, 200, 0.05);
|
|
}
|
|
|
|
.spawn-btn {
|
|
background: rgba(100, 150, 200, 0.2);
|
|
border-color: rgba(100, 150, 200, 0.5);
|
|
}
|
|
|
|
.spawn-btn:hover {
|
|
background: rgba(100, 150, 200, 0.3);
|
|
border-color: rgba(150, 200, 255, 0.7);
|
|
}
|
|
|
|
.store-btn {
|
|
background: rgba(200, 150, 100, 0.2);
|
|
border-color: rgba(200, 150, 100, 0.4);
|
|
}
|
|
|
|
.store-btn:hover {
|
|
background: rgba(200, 150, 100, 0.3);
|
|
border-color: rgba(255, 200, 150, 0.6);
|
|
}
|
|
|
|
.btn-icon {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.btn-text {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
}
|
|
|
|
.detail-specs {
|
|
padding: 1.25rem;
|
|
background: rgba(20, 30, 45, 0.5);
|
|
border: 1px solid rgba(100, 150, 200, 0.2);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.specs-title {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: rgba(180, 200, 220, 0.9);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.specs-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.spec-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 1px solid rgba(100, 150, 200, 0.15);
|
|
}
|
|
|
|
.spec-item:last-child {
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.spec-label {
|
|
font-size: 0.8rem;
|
|
color: rgba(140, 160, 180, 0.85);
|
|
}
|
|
|
|
.spec-value {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: rgba(200, 220, 240, 0.95);
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 1400px) {
|
|
.garage-content {
|
|
grid-template-columns: 220px 1fr 320px;
|
|
}
|
|
|
|
.vehicles-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.garage-content {
|
|
grid-template-columns: 1fr 350px;
|
|
}
|
|
|
|
.filters-panel {
|
|
display: none;
|
|
}
|
|
}
|