style: Revamp GroupsPanel.css for enhanced Minecraft theme consistency and improved aesthetics

This commit is contained in:
MayaTheShy
2026-02-20 02:53:24 -05:00
parent 60ef3b81f7
commit 481be70940

View File

@@ -1,9 +1,13 @@
/* ============================================
Minecraft-Themed Groups Panel
============================================ */
.groups-panel { .groups-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;
} }
.groups-header { .groups-header {
@@ -16,19 +20,20 @@
.groups-header h2 { .groups-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;
} }
.group-count { .group-count {
font-size: 0.875rem; font-size: 0.875rem;
color: #94a3b8; color: #a0a0a0;
font-weight: 600; font-weight: 600;
} }
.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;
@@ -36,15 +41,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 {
@@ -60,17 +65,19 @@
/* Create Group Section */ /* Create Group Section */
.create-group-section { .create-group-section {
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;
box-shadow: inset 0 -2px 0 #2a2a2a, inset 0 2px 0 #555;
} }
.create-group-section h3 { .create-group-section 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-group-form { .create-group-form {
@@ -81,16 +88,16 @@
.create-group-form input { .create-group-form input {
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-group-form input:focus { .create-group-form input:focus {
outline: none; outline: none;
border-color: #3b82f6; border-color: #55ffff;
} }
.create-group-form input:disabled { .create-group-form input:disabled {
@@ -107,11 +114,11 @@
.color-option { .color-option {
width: 2.5rem; width: 2.5rem;
height: 2.5rem; height: 2.5rem;
border-radius: 0.375rem; border: 3px solid #1a1a1a;
border: 2px solid transparent;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.1s;
position: relative; position: relative;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.3), inset 0 2px 0 rgba(255,255,255,0.2);
} }
.color-option:hover { .color-option:hover {
@@ -119,25 +126,26 @@
} }
.color-option.active { .color-option.active {
border-color: #e5e7eb; border-color: #ffff55;
box-shadow: 0 0 0 2px #0f172a, 0 0 0 4px currentColor; box-shadow: 0 0 0 2px #1a1a1a, 0 0 0 4px #ffff55;
} }
.create-group-form button[type="submit"] { .create-group-form button[type="submit"] {
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;
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-group-form button[type="submit"]:hover:not(:disabled) { .create-group-form button[type="submit"]:hover:not(:disabled) {
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);
} }
.create-group-form button[type="submit"]:disabled { .create-group-form button[type="submit"]:disabled {
@@ -153,15 +161,15 @@
} }
.group-card { .group-card {
background: #1e293b; background: #3b3b3b;
border-radius: 0.5rem; border: 2px solid #1a1a1a;
overflow: hidden; overflow: hidden;
transition: all 0.2s; transition: all 0.1s;
box-shadow: inset 0 -2px 0 #2a2a2a, inset 0 2px 0 #555;
} }
.group-card:hover { .group-card:hover {
background: #334155; background: #4b4b4b;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
} }
.group-header { .group-header {
@@ -182,24 +190,23 @@
.group-color-indicator { .group-color-indicator {
width: 1rem; width: 1rem;
height: 1rem; height: 1rem;
border-radius: 50%; border: 2px solid #1a1a1a;
border: 2px solid #0f172a;
} }
.group-title h3 { .group-title h3 {
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
color: #f9fafb; color: #e0e0e0;
margin: 0; margin: 0;
} }
.member-count { .member-count {
font-size: 0.75rem; font-size: 0.75rem;
color: #94a3b8; color: #a0a0a0;
font-weight: 600; font-weight: 600;
padding: 0.25rem 0.5rem; padding: 0.25rem 0.5rem;
background: #0f172a; background: #1a1a1a;
border-radius: 0.25rem; border: 2px solid #4b4b4b;
} }
.delete-group-btn { .delete-group-btn {
@@ -209,7 +216,7 @@
font-size: 1.25rem; font-size: 1.25rem;
cursor: pointer; cursor: pointer;
opacity: 0.6; opacity: 0.6;
transition: all 0.2s; transition: all 0.1s;
} }
.delete-group-btn:hover { .delete-group-btn:hover {
@@ -225,7 +232,7 @@
.group-members h4 { .group-members 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;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
@@ -243,13 +250,14 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 0.75rem; padding: 0.75rem;
background: #0f172a; background: #2c2c2c;
border-radius: 0.375rem; border: 2px solid #1a1a1a;
transition: all 0.2s; transition: all 0.1s;
box-shadow: inset 0 -1px 0 #222, inset 0 1px 0 #444;
} }
.member-item:hover { .member-item:hover {
background: #1e293b; background: #4b4b4b;
} }
.member-info { .member-info {
@@ -266,7 +274,7 @@
.member-name { .member-name {
font-size: 0.875rem; font-size: 0.875rem;
font-weight: 600; font-weight: 600;
color: #e5e7eb; color: #e0e0e0;
} }
.member-status { .member-status {
@@ -278,11 +286,11 @@
padding: 0.25rem 0.5rem; padding: 0.25rem 0.5rem;
background: transparent; background: transparent;
border: none; border: none;
color: #ef4444; color: #ff5555;
font-size: 1rem; font-size: 1rem;
cursor: pointer; cursor: pointer;
opacity: 0.6; opacity: 0.6;
transition: all 0.2s; transition: all 0.1s;
} }
.remove-member-btn:hover { .remove-member-btn:hover {
@@ -293,7 +301,7 @@
.no-members { .no-members {
text-align: center; text-align: center;
padding: 2rem 1rem; padding: 2rem 1rem;
color: #94a3b8; color: #a0a0a0;
font-size: 0.875rem; font-size: 0.875rem;
font-style: italic; font-style: italic;
} }
@@ -305,34 +313,34 @@
.add-member-section select { .add-member-section select {
width: 100%; width: 100%;
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;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.1s;
font-family: 'Silkscreen', 'Courier New', monospace;
} }
.add-member-section select:hover { .add-member-section select:hover {
border-color: #3b82f6; border-color: #55ffff;
} }
.add-member-section select:focus { .add-member-section select:focus {
outline: none; outline: none;
border-color: #3b82f6; border-color: #55ffff;
} }
/* Group Commands */ /* Group Commands */
.group-commands { .group-commands {
padding: 1rem 1.5rem 1.5rem 1.5rem; padding: 1rem 1.5rem 1.5rem 1.5rem;
border-top: 1px solid #334155; border-top: 2px solid #4b4b4b;
} }
.group-commands h4 { .group-commands 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;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
@@ -346,21 +354,21 @@
.command-buttons button { .command-buttons button {
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
background: #0f172a; background: #6b6b6b;
border: 1px solid #334155; border: 2px solid #1a1a1a;
border-radius: 0.375rem; color: #e0e0e0;
color: #e5e7eb;
font-size: 0.875rem; font-size: 0.875rem;
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;
} }
.command-buttons button:hover { .command-buttons button:hover {
background: #1e293b; background: #7b7b7b;
border-color: #3b82f6; box-shadow: inset 0 -2px 0 #555, inset 0 2px 0 #999;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
} }
/* Empty State */ /* Empty State */
@@ -378,13 +386,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 */