Completed options menu and got kokoro to load.

This commit is contained in:
2025-04-05 09:24:24 +00:00
parent c27ba8be6b
commit b50f60e195
13 changed files with 2170 additions and 1889 deletions
+120 -20
View File
@@ -722,34 +722,134 @@ ol.choice {
margin: 0 5px;
}
/* UI Effects */
.effects-overlay {
/* Options Modal Styling */
.options-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none; /* Allow clicks to pass through */
z-index: 998; /* Below lighting but above other elements */
display: none;
justify-content: center;
align-items: center;
z-index: 1000;
background-color: rgba(0, 0, 0, 0.5);
}
.candle-effect {
position: absolute;
top: 0;
left: 0;
.options-content {
background-color: rgba(255, 255, 255, 0.95);
border-radius: 5px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
width: 80%;
max-width: 500px;
max-height: 90vh;
overflow-y: auto;
padding: 20px;
font-family: var(--book-font);
color: #333;
position: relative;
}
.options-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
border-bottom: 1px solid #ccc;
padding-bottom: 10px;
}
.options-header h2 {
margin: 0;
font-family: var(--book-font);
font-weight: normal;
font-size: 1.5rem;
}
.options-close {
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #666;
}
.options-close:hover {
color: #000;
}
.options-section {
margin-bottom: 20px;
}
.options-section h3 {
font-family: var(--book-font);
font-weight: normal;
font-size: 1.2rem;
margin-top: 0;
margin-bottom: 10px;
border-bottom: 1px solid #eee;
padding-bottom: 5px;
}
.options-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
padding: 5px 0;
}
.options-row label {
flex: 1;
}
.options-row select,
.options-row input[type="range"] {
flex: 1;
}
/* Style range inputs to match the top-left menu */
.options-row input[type="range"] {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 100%;
opacity: 0.3;
pointer-events: none;
mix-blend-mode: screen;
background: radial-gradient(circle at center, rgba(255,230,150,0.2) 0%, rgba(0,0,0,0) 70%);
animation: candle-flicker 4s infinite alternate;
height: 0.5rem;
background-color: transparent;
box-sizing: border-box;
border: 1px solid black;
border-radius: 0.25rem;
overflow: hidden;
}
@keyframes candle-flicker {
0% { opacity: 0.2; transform: scale(1.02); }
25% { opacity: 0.3; }
50% { opacity: 0.25; transform: scale(0.98); }
75% { opacity: 0.3; }
100% { opacity: 0.35; transform: scale(1); }
.options-row input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
height: 0.5rem;
width: 0.5rem;
border-radius: 0.25rem;
background-color: rgba(0,0,0,0.9);
border: none;
box-shadow: -407px 0 0 400px rgba(0,0,0,0.3);
}
.options-row input[type="range"]::-webkit-slider-runnable-track {
-webkit-appearance: none;
appearance: none;
height: 0.5rem;
border-radius: 0.25rem;
}
/* Reload notice styled like the book theme */
.reload-notice {
margin-top: 20px;
padding: 10px;
font-style: italic;
color: #666;
text-align: center;
}
.reload-notice span {
font-family: var(--book-font);
font-size: 0.9rem;
}