updated settings to be more user-friendly and added a status message area to provide feedback on settings actions.

This commit is contained in:
2026-04-22 00:06:52 -07:00
parent be94dac6f4
commit 0e7ba18f35
5 changed files with 212 additions and 92 deletions
+109
View File
@@ -402,6 +402,16 @@
box-sizing: border-box;
overflow: auto;
}
#settings-section {
height: calc(100vh - 61px);
height: calc(100dvh - 61px);
background:
radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 30%),
radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 32%),
linear-gradient(180deg, #111318, #18181b 40%, #111318);
box-sizing: border-box;
overflow: auto;
}
#tarot-section[hidden] {
display: none;
}
@@ -429,6 +439,94 @@
#holiday-section[hidden] {
display: none;
}
#settings-section[hidden] {
display: none;
}
.settings-page-shell {
width: min(1120px, calc(100% - 24px));
margin: 0 auto;
padding: clamp(18px, 2.8vw, 32px);
box-sizing: border-box;
}
.settings-page-hero {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 20px;
}
.settings-page-eyebrow {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.16em;
color: #f59e0b;
margin-bottom: 8px;
}
.settings-page-title {
margin: 0;
font-size: clamp(28px, 4vw, 42px);
line-height: 1.05;
color: #fafafa;
}
.settings-page-copy {
margin: 10px 0 0;
max-width: 720px;
color: #cbd5e1;
line-height: 1.6;
}
.settings-page-back {
padding: 10px 14px;
border-radius: 999px;
border: 1px solid rgba(245, 158, 11, 0.35);
background: rgba(17, 24, 39, 0.78);
color: #f8fafc;
cursor: pointer;
white-space: nowrap;
}
.settings-page-back:hover {
background: rgba(31, 41, 55, 0.96);
}
.settings-page-layout {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.settings-panel {
padding: 18px;
border-radius: 20px;
border: 1px solid rgba(63, 63, 70, 0.92);
background: linear-gradient(180deg, rgba(24, 24, 27, 0.96), rgba(9, 9, 11, 0.96));
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}
.settings-panel-wide {
grid-column: 1 / -1;
}
.settings-panel-head {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 14px;
}
.settings-panel-head strong {
color: #fafafa;
font-size: 15px;
}
.settings-panel-head span {
color: #94a3b8;
font-size: 13px;
line-height: 1.5;
}
.settings-panel-actions {
margin-top: 14px;
display: flex;
justify-content: flex-start;
}
.settings-page-actions {
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid rgba(63, 63, 70, 0.7);
justify-content: flex-end;
}
.calendar-year-control {
display: flex;
justify-content: space-between;
@@ -7071,6 +7169,17 @@
.settings-popup-header button:hover {
background: #3f3f46;
}
@media (max-width: 800px) {
.settings-page-hero {
flex-direction: column;
}
.settings-page-layout {
grid-template-columns: minmax(0, 1fr);
}
.settings-panel-wide {
grid-column: auto;
}
}
@media (max-width: 640px) {
.connection-gate {
padding: 16px;