style: Revamp TaskPanel.css for improved aesthetics and consistency with Minecraft theme
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
/* ============================================
|
||||
Minecraft-Themed Task Panel
|
||||
============================================ */
|
||||
|
||||
.task-panel {
|
||||
padding: 1.5rem;
|
||||
background: #0f172a;
|
||||
border-radius: 0.5rem;
|
||||
background: #2c2c2c;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.task-header {
|
||||
@@ -16,31 +20,33 @@
|
||||
.task-header h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #f9fafb;
|
||||
color: #ffff55;
|
||||
margin: 0;
|
||||
text-shadow: 2px 2px 0 #1a1a1a;
|
||||
}
|
||||
|
||||
.create-task-btn {
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: #3b82f6;
|
||||
border: none;
|
||||
border-radius: 0.375rem;
|
||||
background: #4a8c2a;
|
||||
border: 2px solid #1a1a1a;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
font-size: 0.875rem;
|
||||
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;
|
||||
}
|
||||
|
||||
.create-task-btn:hover {
|
||||
background: #2563eb;
|
||||
transform: translateY(-2px);
|
||||
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;
|
||||
}
|
||||
|
||||
.message {
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: 0.5rem;
|
||||
border: 2px solid;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
@@ -48,15 +54,15 @@
|
||||
}
|
||||
|
||||
.message.success {
|
||||
background: #10b98133;
|
||||
color: #10b981;
|
||||
border: 1px solid #10b981;
|
||||
background: #2d6b1a33;
|
||||
color: #55ff55;
|
||||
border-color: #55ff55;
|
||||
}
|
||||
|
||||
.message.error {
|
||||
background: #ef444433;
|
||||
color: #ef4444;
|
||||
border: 1px solid #ef4444;
|
||||
background: #6b1a1a33;
|
||||
color: #ff5555;
|
||||
border-color: #ff5555;
|
||||
}
|
||||
|
||||
@keyframes slideIn {
|
||||
@@ -72,18 +78,20 @@
|
||||
|
||||
/* Create Task Form */
|
||||
.create-task-form {
|
||||
background: #1e293b;
|
||||
border-radius: 0.5rem;
|
||||
background: #3b3b3b;
|
||||
border: 2px solid #1a1a1a;
|
||||
padding: 1.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
animation: slideIn 0.3s;
|
||||
box-shadow: inset 0 -2px 0 #2a2a2a, inset 0 2px 0 #555;
|
||||
}
|
||||
|
||||
.create-task-form h3 {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: #f9fafb;
|
||||
color: #ffaa00;
|
||||
margin: 0 0 1rem 0;
|
||||
text-shadow: 1px 1px 0 #1a1a1a;
|
||||
}
|
||||
|
||||
.create-task-form form {
|
||||
@@ -104,28 +112,29 @@
|
||||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
color: #e5e7eb;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.create-task-form select,
|
||||
.create-task-form input[type="text"],
|
||||
.create-task-form input[type="number"] {
|
||||
padding: 0.75rem;
|
||||
background: #0f172a;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 0.375rem;
|
||||
color: #e5e7eb;
|
||||
background: #1a1a1a;
|
||||
border: 2px solid #4b4b4b;
|
||||
color: #e0e0e0;
|
||||
font-size: 0.875rem;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.create-task-form select:focus,
|
||||
.create-task-form input:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
border-color: #55ffff;
|
||||
}
|
||||
|
||||
.create-task-form input[type="range"] {
|
||||
width: 100%;
|
||||
accent-color: #4a8c2a;
|
||||
}
|
||||
|
||||
.priority-value {
|
||||
@@ -137,7 +146,7 @@
|
||||
.coordinates-section h4 {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
color: #94a3b8;
|
||||
color: #a0a0a0;
|
||||
margin: 0 0 0.75rem 0;
|
||||
}
|
||||
|
||||
@@ -156,64 +165,68 @@
|
||||
.coord-group span {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: #94a3b8;
|
||||
color: #a0a0a0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.coord-group input {
|
||||
padding: 0.5rem;
|
||||
background: #0f172a;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 0.25rem;
|
||||
color: #e5e7eb;
|
||||
background: #1a1a1a;
|
||||
border: 2px solid #4b4b4b;
|
||||
color: #e0e0e0;
|
||||
font-size: 0.75rem;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: #10b981;
|
||||
border: none;
|
||||
border-radius: 0.375rem;
|
||||
background: #4a8c2a;
|
||||
border: 2px solid #1a1a1a;
|
||||
color: white;
|
||||
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;
|
||||
}
|
||||
|
||||
.submit-btn:hover {
|
||||
background: #059669;
|
||||
transform: translateY(-2px);
|
||||
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;
|
||||
}
|
||||
|
||||
/* Task Filters */
|
||||
.task-filters {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
gap: 0.25rem;
|
||||
margin-bottom: 1.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.task-filters button {
|
||||
padding: 0.5rem 1rem;
|
||||
background: #1e293b;
|
||||
border: none;
|
||||
border-radius: 0.375rem;
|
||||
color: #94a3b8;
|
||||
font-weight: 600;
|
||||
background: #6b6b6b;
|
||||
border: 2px solid #1a1a1a;
|
||||
color: #e0e0e0;
|
||||
font-weight: 700;
|
||||
font-size: 0.875rem;
|
||||
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 #444, inset 0 2px 0 #888;
|
||||
}
|
||||
|
||||
.task-filters button:hover {
|
||||
color: #e5e7eb;
|
||||
background: #334155;
|
||||
background: #7b7b7b;
|
||||
box-shadow: inset 0 -2px 0 #555, inset 0 2px 0 #999;
|
||||
}
|
||||
|
||||
.task-filters button.active {
|
||||
background: #3b82f6;
|
||||
background: #4a8c2a;
|
||||
color: white;
|
||||
box-shadow: inset 0 2px 0 #6ab04c, inset 0 -2px 0 #2d6b1a;
|
||||
}
|
||||
|
||||
/* Tasks List */
|
||||
@@ -226,20 +239,20 @@
|
||||
.loading {
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
color: #94a3b8;
|
||||
color: #a0a0a0;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.task-card {
|
||||
background: #1e293b;
|
||||
border-radius: 0.5rem;
|
||||
background: #3b3b3b;
|
||||
border: 2px solid #1a1a1a;
|
||||
padding: 1.5rem;
|
||||
transition: all 0.2s;
|
||||
transition: all 0.1s;
|
||||
box-shadow: inset 0 -2px 0 #2a2a2a, inset 0 2px 0 #555;
|
||||
}
|
||||
|
||||
.task-card:hover {
|
||||
background: #334155;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
background: #4b4b4b;
|
||||
}
|
||||
|
||||
.task-card-header {
|
||||
@@ -264,7 +277,7 @@
|
||||
.task-type {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: #e5e7eb;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.task-badges {
|
||||
@@ -275,41 +288,42 @@
|
||||
.priority-badge,
|
||||
.status-badge {
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 0.25rem;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.task-assignment {
|
||||
font-size: 0.875rem;
|
||||
color: #94a3b8;
|
||||
color: #a0a0a0;
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.5rem;
|
||||
background: #0f172a;
|
||||
border-radius: 0.25rem;
|
||||
background: #2c2c2c;
|
||||
border: 2px solid #1a1a1a;
|
||||
}
|
||||
|
||||
.task-parameters {
|
||||
font-size: 0.75rem;
|
||||
color: #94a3b8;
|
||||
color: #a0a0a0;
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.5rem;
|
||||
background: #0f172a;
|
||||
border-radius: 0.25rem;
|
||||
font-family: 'Courier New', monospace;
|
||||
background: #2c2c2c;
|
||||
border: 2px solid #1a1a1a;
|
||||
font-family: 'Silkscreen', 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.task-result {
|
||||
font-size: 0.875rem;
|
||||
color: #10b981;
|
||||
color: #55ff55;
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.75rem;
|
||||
background: #10b98120;
|
||||
border-radius: 0.25rem;
|
||||
border-left: 3px solid #10b981;
|
||||
background: #2d6b1a20;
|
||||
border: 2px solid #55ff55;
|
||||
border-left: 4px solid #55ff55;
|
||||
}
|
||||
|
||||
.task-actions {
|
||||
@@ -320,25 +334,26 @@
|
||||
|
||||
.task-actions button {
|
||||
padding: 0.5rem 1rem;
|
||||
background: #0f172a;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 0.25rem;
|
||||
color: #e5e7eb;
|
||||
background: #6b6b6b;
|
||||
border: 2px solid #1a1a1a;
|
||||
color: #e0e0e0;
|
||||
font-size: 0.75rem;
|
||||
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 #444, inset 0 2px 0 #888;
|
||||
}
|
||||
|
||||
.task-actions button:hover {
|
||||
background: #1e293b;
|
||||
border-color: #3b82f6;
|
||||
transform: translateY(-2px);
|
||||
background: #7b7b7b;
|
||||
box-shadow: inset 0 -2px 0 #555, inset 0 2px 0 #999;
|
||||
}
|
||||
|
||||
.task-timestamp {
|
||||
font-size: 0.75rem;
|
||||
color: #64748b;
|
||||
color: #7b7b7b;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@@ -357,13 +372,13 @@
|
||||
.empty-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: #e5e7eb;
|
||||
color: #e0e0e0;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.empty-text {
|
||||
font-size: 0.875rem;
|
||||
color: #94a3b8;
|
||||
color: #a0a0a0;
|
||||
}
|
||||
|
||||
/* Mobile Responsive */
|
||||
|
||||
Reference in New Issue
Block a user