feat: make Web UI mood dropdowns Evil Mode-aware
- Disable per-server mood controls when Evil Miku is active - Show explanatory notice for disabled server mood dropdowns - Populate global mood dropdown with evil moods when Evil Mode is on - Fix initialization race condition by awaiting evil mode status first - Add CSS styles for disabled mood controls
This commit is contained in:
@@ -915,3 +915,20 @@ body.evil-mode [style*="color: rgb(0, 123, 255)"] {
|
||||
color: #888;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* Disabled mood controls (Evil Miku per-server mood lockout) */
|
||||
.server-mood-controls select:disabled,
|
||||
.server-mood-controls button:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
background: #2a2a2a;
|
||||
border-color: #444;
|
||||
}
|
||||
.evil-mode-exempt-notice {
|
||||
color: #888;
|
||||
font-size: 0.85rem;
|
||||
font-style: italic;
|
||||
margin-top: 0.5rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user