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