style: Revamp MiningAreasPanel.css for improved aesthetics and consistency with Minecraft theme
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
/* ============================================
|
||||
Minecraft-Themed Mining Areas Panel
|
||||
============================================ */
|
||||
|
||||
.mining-areas-panel {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #0f172a;
|
||||
color: #e2e8f0;
|
||||
background: #2c2c2c;
|
||||
color: #e0e0e0;
|
||||
overflow: hidden;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.panel-header {
|
||||
@@ -12,79 +17,86 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1rem 1.5rem;
|
||||
background: #1e293b;
|
||||
border-bottom: 2px solid #334155;
|
||||
background: #6b4e28;
|
||||
border-bottom: 3px solid #1a1a1a;
|
||||
box-shadow: inset 0 2px 0 #8b6d3c, inset 0 -2px 0 #4a3520;
|
||||
}
|
||||
|
||||
.panel-header h2 {
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
color: #f8fafc;
|
||||
color: #ffff55;
|
||||
text-shadow: 2px 2px 0 #1a1a1a;
|
||||
}
|
||||
|
||||
.btn-create {
|
||||
padding: 0.5rem 1rem;
|
||||
background: #3b82f6;
|
||||
background: #4a8c2a;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
text-shadow: 1px 1px 0 #1a1a1a;
|
||||
box-shadow: inset 0 2px 0 #6ab04c, inset 0 -2px 0 #2d6b1a;
|
||||
}
|
||||
|
||||
.btn-create:hover {
|
||||
background: #2563eb;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
|
||||
background: #5a9c3a;
|
||||
box-shadow: inset 0 2px 0 #7bc05c, inset 0 -2px 0 #3d7b2a;
|
||||
}
|
||||
|
||||
/* Filter buttons */
|
||||
.filter-buttons {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.25rem;
|
||||
padding: 1rem 1.5rem;
|
||||
background: #1e293b;
|
||||
border-bottom: 1px solid #334155;
|
||||
background: #3b3b3b;
|
||||
border-bottom: 2px solid #1a1a1a;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.filter-btn {
|
||||
padding: 0.5rem 1rem;
|
||||
background: #334155;
|
||||
color: #94a3b8;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: #6b6b6b;
|
||||
color: #e0e0e0;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
white-space: nowrap;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
text-shadow: 1px 1px 0 #1a1a1a;
|
||||
box-shadow: inset 0 -2px 0 #444, inset 0 2px 0 #888;
|
||||
}
|
||||
|
||||
.filter-btn:hover {
|
||||
background: #475569;
|
||||
color: #e2e8f0;
|
||||
background: #7b7b7b;
|
||||
box-shadow: inset 0 -2px 0 #555, inset 0 2px 0 #999;
|
||||
}
|
||||
|
||||
.filter-btn.active {
|
||||
background: #3b82f6;
|
||||
background: #4a8c2a;
|
||||
color: white;
|
||||
box-shadow: inset 0 2px 0 #6ab04c, inset 0 -2px 0 #2d6b1a;
|
||||
}
|
||||
|
||||
/* Create form */
|
||||
.create-form {
|
||||
padding: 1.5rem;
|
||||
background: #1e293b;
|
||||
border-bottom: 1px solid #334155;
|
||||
background: #3b3b3b;
|
||||
border-bottom: 2px solid #1a1a1a;
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.create-form h3 {
|
||||
margin: 0 0 1rem 0;
|
||||
color: #f8fafc;
|
||||
color: #ffaa00;
|
||||
text-shadow: 1px 1px 0 #1a1a1a;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
@@ -94,28 +106,27 @@
|
||||
.form-group label {
|
||||
display: block;
|
||||
margin-bottom: 0.5rem;
|
||||
color: #cbd5e1;
|
||||
color: #e0e0e0;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.form-group input,
|
||||
.form-group select {
|
||||
width: 100%;
|
||||
padding: 0.625rem;
|
||||
background: #0f172a;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 6px;
|
||||
color: #e2e8f0;
|
||||
background: #1a1a1a;
|
||||
border: 2px solid #4b4b4b;
|
||||
color: #e0e0e0;
|
||||
font-size: 0.875rem;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.form-group input:focus,
|
||||
.form-group select:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
||||
border-color: #55ffff;
|
||||
}
|
||||
|
||||
.coordinates-section {
|
||||
@@ -130,31 +141,34 @@
|
||||
}
|
||||
|
||||
.coordinates-header label {
|
||||
color: #cbd5e1;
|
||||
color: #e0e0e0;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-use-position {
|
||||
padding: 0.375rem 0.75rem;
|
||||
background: #10b981;
|
||||
background: #4a8c2a;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
text-shadow: 1px 1px 0 #1a1a1a;
|
||||
box-shadow: inset 0 2px 0 #6ab04c, inset 0 -2px 0 #2d6b1a;
|
||||
}
|
||||
|
||||
.btn-use-position:hover:not(:disabled) {
|
||||
background: #059669;
|
||||
background: #5a9c3a;
|
||||
}
|
||||
|
||||
.btn-use-position:disabled {
|
||||
background: #334155;
|
||||
color: #64748b;
|
||||
background: #4b4b4b;
|
||||
color: #7b7b7b;
|
||||
cursor: not-allowed;
|
||||
box-shadow: inset 0 -2px 0 #333, inset 0 2px 0 #666;
|
||||
}
|
||||
|
||||
.coordinate-inputs {
|
||||
@@ -170,21 +184,22 @@
|
||||
.btn-submit {
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
background: #3b82f6;
|
||||
background: #4a8c2a;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
margin-top: 1rem;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
text-shadow: 1px 1px 0 #1a1a1a;
|
||||
box-shadow: inset 0 2px 0 #6ab04c, inset 0 -2px 0 #2d6b1a;
|
||||
}
|
||||
|
||||
.btn-submit:hover {
|
||||
background: #2563eb;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
|
||||
background: #5a9c3a;
|
||||
box-shadow: inset 0 2px 0 #7bc05c, inset 0 -2px 0 #3d7b2a;
|
||||
}
|
||||
|
||||
/* Areas list */
|
||||
@@ -197,7 +212,7 @@
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
padding: 3rem 1rem;
|
||||
color: #64748b;
|
||||
color: #7b7b7b;
|
||||
}
|
||||
|
||||
.empty-state p {
|
||||
@@ -206,22 +221,21 @@
|
||||
|
||||
/* Area card */
|
||||
.area-card {
|
||||
background: #1e293b;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 8px;
|
||||
background: #3b3b3b;
|
||||
border: 2px solid #1a1a1a;
|
||||
padding: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
box-shadow: inset 0 -2px 0 #2a2a2a, inset 0 2px 0 #555;
|
||||
}
|
||||
|
||||
.area-card:hover {
|
||||
border-color: #475569;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
background: #4b4b4b;
|
||||
}
|
||||
|
||||
.area-card.has-conflict {
|
||||
border-color: #ef4444;
|
||||
background: linear-gradient(135deg, #1e293b 0%, #2d1818 100%);
|
||||
border-color: #ff5555;
|
||||
background: linear-gradient(135deg, #3b3b3b 0%, #4a2020 100%);
|
||||
}
|
||||
|
||||
.area-header {
|
||||
@@ -230,23 +244,24 @@
|
||||
align-items: center;
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: 0.75rem;
|
||||
border-bottom: 1px solid #334155;
|
||||
border-bottom: 2px solid #4b4b4b;
|
||||
}
|
||||
|
||||
.area-header h3 {
|
||||
margin: 0;
|
||||
color: #f8fafc;
|
||||
color: #e0e0e0;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.status-badge {
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 12px;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
color: white;
|
||||
text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Area info */
|
||||
@@ -259,7 +274,7 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem 0;
|
||||
border-bottom: 1px solid #334155;
|
||||
border-bottom: 2px solid #4b4b4b;
|
||||
}
|
||||
|
||||
.info-row:last-child {
|
||||
@@ -267,32 +282,32 @@
|
||||
}
|
||||
|
||||
.info-label {
|
||||
color: #94a3b8;
|
||||
color: #a0a0a0;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
color: #e2e8f0;
|
||||
color: #e0e0e0;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.coordinate-value {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
font-size: 0.75rem;
|
||||
word-break: break-all;
|
||||
color: #55ffff;
|
||||
}
|
||||
|
||||
/* Conflict warning */
|
||||
.conflict-warning {
|
||||
background: #7f1d1d;
|
||||
border: 1px solid #ef4444;
|
||||
border-radius: 6px;
|
||||
background: #6b1a1a44;
|
||||
border: 2px solid #ff5555;
|
||||
padding: 0.75rem;
|
||||
margin-bottom: 1rem;
|
||||
color: #fca5a5;
|
||||
color: #ff5555;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
@@ -316,46 +331,45 @@
|
||||
flex: 1;
|
||||
min-width: 120px;
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
white-space: nowrap;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
text-shadow: 1px 1px 0 #1a1a1a;
|
||||
}
|
||||
|
||||
.btn-start {
|
||||
background: #10b981;
|
||||
background: #4a8c2a;
|
||||
color: white;
|
||||
box-shadow: inset 0 2px 0 #6ab04c, inset 0 -2px 0 #2d6b1a;
|
||||
}
|
||||
|
||||
.btn-start:hover {
|
||||
background: #059669;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
|
||||
background: #5a9c3a;
|
||||
box-shadow: inset 0 2px 0 #7bc05c, inset 0 -2px 0 #3d7b2a;
|
||||
}
|
||||
|
||||
.btn-complete {
|
||||
background: #3b82f6;
|
||||
background: #345ec3;
|
||||
color: white;
|
||||
box-shadow: inset 0 2px 0 #5577dd, inset 0 -2px 0 #223399;
|
||||
}
|
||||
|
||||
.btn-complete:hover {
|
||||
background: #2563eb;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
|
||||
background: #4a6ed3;
|
||||
}
|
||||
|
||||
.btn-delete {
|
||||
background: #ef4444;
|
||||
background: #aa0000;
|
||||
color: white;
|
||||
box-shadow: inset 0 2px 0 #dd3333, inset 0 -2px 0 #770000;
|
||||
}
|
||||
|
||||
.btn-delete:hover {
|
||||
background: #dc2626;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
|
||||
background: #cc0000;
|
||||
}
|
||||
|
||||
/* Scrollbar styling */
|
||||
@@ -366,18 +380,18 @@
|
||||
|
||||
.areas-list::-webkit-scrollbar-track,
|
||||
.create-form::-webkit-scrollbar-track {
|
||||
background: #0f172a;
|
||||
background: #2c2c2c;
|
||||
}
|
||||
|
||||
.areas-list::-webkit-scrollbar-thumb,
|
||||
.create-form::-webkit-scrollbar-thumb {
|
||||
background: #334155;
|
||||
border-radius: 4px;
|
||||
background: #5a5a5a;
|
||||
border: 1px solid #1a1a1a;
|
||||
}
|
||||
|
||||
.areas-list::-webkit-scrollbar-thumb:hover,
|
||||
.create-form::-webkit-scrollbar-thumb:hover {
|
||||
background: #475569;
|
||||
background: #6b6b6b;
|
||||
}
|
||||
|
||||
/* Responsive design */
|
||||
|
||||
Reference in New Issue
Block a user