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