Fixed RPG

This commit is contained in:
2026-06-01 07:44:38 +03:00
parent 600ad78f05
commit d4cd8f02f4
30 changed files with 1516 additions and 816 deletions
+34 -1
View File
@@ -136,11 +136,13 @@ header h1 { font-size: 1.1rem; color: #e94560; }
.system-blob-header {
display: flex;
align-items: center;
gap: 6px;
justify-content: space-between;
color: #888;
font-size: 0.8rem;
margin-bottom: 6px;
}
.system-blob-header span { flex: 1; }
.system-blob-header button {
background: transparent;
border: 1px solid #0f3460;
@@ -150,6 +152,10 @@ header h1 { font-size: 1.1rem; color: #e94560; }
cursor: pointer;
}
.system-blob-header button:hover { border-color: #e94560; color: #e94560; }
#systemBlobRefresh { font-size: 1rem; padding: 2px 8px; }
#systemBlobRefresh.spinning { animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.blob-changed { background: rgba(255, 200, 50, 0.15); border-radius: 3px; transition: background 2s ease; }
.system-blob-content {
white-space: pre-wrap;
word-break: break-word;
@@ -278,6 +284,31 @@ header h1 { font-size: 1.1rem; color: #e94560; }
.translate-btn:disabled { opacity: 0.5; cursor: default; }
.chat-image { margin-top: 8px; max-width: 100%; border-radius: 8px; border: 1px solid #0f3460; }
.image-generating {
display: flex;
align-items: center;
gap: 10px;
margin-top: 8px;
padding: 12px 14px;
border-radius: 8px;
border: 1px dashed #533483;
background: rgba(15, 52, 96, 0.45);
color: #bbb;
font-size: 0.9em;
}
.image-generating-spinner {
width: 18px;
height: 18px;
border: 2px solid #0f3460;
border-top-color: #e94560;
border-radius: 50%;
animation: image-spin 0.75s linear infinite;
flex-shrink: 0;
}
@keyframes image-spin { to { transform: rotate(360deg); } }
.gen-image-btn:disabled { opacity: 0.6; cursor: wait; }
.image-error { margin-top: 6px; font-size: 0.75rem; color: #888; }
.choice-row {
@@ -407,11 +438,13 @@ textarea:focus { border-color: #e94560; }
.wizard-nav-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.modal h2 { font-size: 1.1rem; color: #e94560; }
.modal label { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: #888; }
.modal input, .modal textarea {
.modal input, .modal textarea, .modal select {
background: #1a1a2e; border: 1px solid #0f3460;
border-radius: 8px; color: #e0e0e0;
padding: 8px 10px; outline: none; font-family: inherit;
}
.modal select { cursor: pointer; }
.modal select[size] { min-height: 80px; }
.modal-buttons { display: flex; gap: 8px; justify-content: flex-end; }
.modal-wizard-footer { justify-content: space-between; align-items: center; }
.modal-buttons button { padding: 8px 18px; border-radius: 8px; border: none; cursor: pointer; }