update ui and add new audio components
This commit is contained in:
542
app/styles.css
542
app/styles.css
@@ -137,6 +137,10 @@
|
||||
background: #3f3f46;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
body.topbar-menu-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
@@ -156,9 +160,34 @@
|
||||
min-height: 38px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.topbar.is-menu-open {
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-end;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
.topbar.is-menu-open .topbar-home-button {
|
||||
display: none;
|
||||
}
|
||||
.topbar-actions {
|
||||
max-height: calc(100svh - 88px);
|
||||
}
|
||||
.topbar.is-menu-open .topbar-actions {
|
||||
position: absolute;
|
||||
top: calc(100% - 1px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: auto;
|
||||
min-height: calc(100svh - 58px);
|
||||
max-height: calc(100svh - 58px);
|
||||
margin: 0;
|
||||
padding: 14px 12px calc(18px + env(safe-area-inset-bottom, 0px));
|
||||
border-radius: 0 0 18px 18px;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
box-shadow: 0 22px 44px rgba(0, 0, 0, 0.44);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.settings-trigger {
|
||||
padding: 10px 12px;
|
||||
}
|
||||
@@ -175,6 +204,12 @@
|
||||
border-radius: 14px;
|
||||
max-height: calc(100svh - 78px);
|
||||
}
|
||||
.topbar.is-menu-open .topbar-actions {
|
||||
min-height: calc(100svh - 52px);
|
||||
max-height: calc(100svh - 52px);
|
||||
padding: 12px 10px calc(18px + env(safe-area-inset-bottom, 0px));
|
||||
border-radius: 0;
|
||||
}
|
||||
.settings-trigger {
|
||||
font-size: 13px;
|
||||
}
|
||||
@@ -3338,7 +3373,7 @@
|
||||
}
|
||||
|
||||
.alpha-text-controls--heading {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
||||
padding: 14px;
|
||||
border: 1px solid #2f2f39;
|
||||
border-radius: 14px;
|
||||
@@ -3398,6 +3433,14 @@
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.alpha-text-control[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.alpha-text-control--toggle {
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.alpha-text-control > span {
|
||||
color: #a1a1aa;
|
||||
font-size: 11px;
|
||||
@@ -3416,6 +3459,11 @@
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.alpha-text-compare-toggle {
|
||||
min-height: 42px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.alpha-text-search-input {
|
||||
width: 100%;
|
||||
min-height: 42px;
|
||||
@@ -3482,6 +3530,10 @@
|
||||
.alpha-text-heading-tools {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.alpha-text-reader-compare {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@@ -3572,6 +3624,17 @@
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.alpha-text-reader-compare {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.alpha-text-reader-card--compare {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.alpha-text-reader-navigation {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
@@ -4210,6 +4273,409 @@
|
||||
}
|
||||
#elements-section[hidden] { display: none; }
|
||||
|
||||
/* ── Audio Notes section ─────────────────────────────────────────────── */
|
||||
#audio-notes-section {
|
||||
height: calc(100vh - 61px);
|
||||
background: #18181b;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
#audio-notes-section[hidden] { display: none; }
|
||||
|
||||
#audio-circle-section {
|
||||
height: calc(100vh - 61px);
|
||||
background: #18181b;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
#audio-circle-section[hidden] { display: none; }
|
||||
|
||||
.audio-circle-layout {
|
||||
height: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(340px, 1.1fr) minmax(320px, 0.9fr);
|
||||
min-height: 0;
|
||||
background: #18181b;
|
||||
}
|
||||
|
||||
.audio-circle-stage-panel {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
gap: 0;
|
||||
min-height: 0;
|
||||
border-right: 1px solid #27272a;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.audio-circle-intro {
|
||||
padding: 10px 12px 0;
|
||||
color: #a1a1aa;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.audio-circle-stage {
|
||||
position: relative;
|
||||
min-height: 620px;
|
||||
padding: 24px;
|
||||
box-sizing: border-box;
|
||||
background:
|
||||
radial-gradient(circle at center, rgba(99, 102, 241, 0.08), transparent 46%),
|
||||
linear-gradient(180deg, rgba(15, 15, 23, 0.98), rgba(10, 10, 16, 0.98));
|
||||
}
|
||||
|
||||
.audio-circle-shell {
|
||||
position: relative;
|
||||
width: min(78vw, 560px);
|
||||
height: min(78vw, 560px);
|
||||
min-width: 280px;
|
||||
min-height: 280px;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
margin: 0 auto;
|
||||
border-radius: 50%;
|
||||
border: 1px solid rgba(99, 102, 241, 0.3);
|
||||
background:
|
||||
radial-gradient(circle at center, rgba(12, 12, 18, 0.98) 0, rgba(12, 12, 18, 0.98) 24%, rgba(39, 39, 42, 0.24) 24.4%, rgba(39, 39, 42, 0.24) 54%, rgba(15, 15, 23, 0.98) 54.4%, rgba(15, 15, 23, 0.98) 100%);
|
||||
box-shadow: inset 0 0 0 1px rgba(165, 180, 252, 0.08), 0 24px 50px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.audio-circle-center {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 34%;
|
||||
height: 34%;
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: 50%;
|
||||
border: 1px solid rgba(99, 102, 241, 0.24);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
text-align: center;
|
||||
padding: 14px;
|
||||
box-sizing: border-box;
|
||||
background: linear-gradient(180deg, rgba(24, 24, 38, 0.98), rgba(10, 10, 16, 0.98));
|
||||
}
|
||||
|
||||
.audio-circle-center-label {
|
||||
color: #f4f4f5;
|
||||
font-size: clamp(24px, 4vw, 36px);
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.audio-circle-center-sub {
|
||||
color: #a1a1aa;
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.audio-circle-key {
|
||||
position: absolute;
|
||||
width: 88px;
|
||||
min-height: 64px;
|
||||
padding: 10px 8px;
|
||||
border-radius: 16px;
|
||||
border: 1px solid #3f3f46;
|
||||
background: linear-gradient(180deg, rgba(24, 24, 27, 0.98), rgba(12, 12, 18, 0.98));
|
||||
color: #f4f4f5;
|
||||
cursor: pointer;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
justify-items: center;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
|
||||
transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
|
||||
}
|
||||
|
||||
.audio-circle-key:hover {
|
||||
transform: translate(-50%, -50%) scale(1.03);
|
||||
border-color: #818cf8;
|
||||
background: linear-gradient(180deg, rgba(49, 46, 129, 0.26), rgba(12, 12, 18, 0.98));
|
||||
}
|
||||
|
||||
.audio-circle-key.is-selected,
|
||||
.audio-circle-key[aria-pressed="true"] {
|
||||
border-color: #a5b4fc;
|
||||
background: linear-gradient(180deg, rgba(67, 56, 202, 0.46), rgba(18, 18, 30, 0.98));
|
||||
box-shadow: 0 0 0 1px rgba(165, 180, 252, 0.22), 0 14px 24px rgba(0, 0, 0, 0.34);
|
||||
}
|
||||
|
||||
.audio-circle-key-major {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.audio-circle-key-minor {
|
||||
color: #c7d2fe;
|
||||
font-size: 11px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.audio-circle-key-meta {
|
||||
color: #71717a;
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.audio-circle-detail-panel {
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 0 14px 14px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.audio-circle-detail-stack {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.audio-circle-chip-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.audio-circle-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 4px 9px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid #3f3f46;
|
||||
background: #18181b;
|
||||
color: #d4d4d8;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.audio-circle-chip--active {
|
||||
border-color: #4338ca;
|
||||
background: rgba(67, 56, 202, 0.18);
|
||||
color: #c7d2fe;
|
||||
}
|
||||
|
||||
.audio-circle-copy {
|
||||
color: #d4d4d8;
|
||||
font-size: 13px;
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.audio-circle-nav-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.audio-circle-nav-card {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
padding: 10px;
|
||||
border: 1px solid #2f2f39;
|
||||
border-radius: 10px;
|
||||
background: #0c0c12;
|
||||
}
|
||||
|
||||
.audio-circle-nav-label {
|
||||
color: #a1a1aa;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.audio-circle-nav-value {
|
||||
color: #f4f4f5;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.audio-circle-nav-sub {
|
||||
color: #c7d2fe;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@media (max-width: 1040px) {
|
||||
.audio-circle-layout {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.audio-circle-stage-panel {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid #27272a;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.audio-circle-stage {
|
||||
min-height: 500px;
|
||||
padding: 18px 12px;
|
||||
}
|
||||
|
||||
.audio-circle-shell {
|
||||
width: min(92vw, 420px);
|
||||
height: min(92vw, 420px);
|
||||
}
|
||||
|
||||
.audio-circle-key {
|
||||
width: 68px;
|
||||
min-height: 52px;
|
||||
padding: 8px 6px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.audio-circle-key-major {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.audio-circle-key-minor,
|
||||
.audio-circle-key-meta {
|
||||
font-size: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
.audio-note-intro {
|
||||
padding: 10px 12px 0;
|
||||
color: #a1a1aa;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.audio-note-detail-stack {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.audio-note-chip-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.audio-note-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 4px 9px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid #3f3f46;
|
||||
background: #18181b;
|
||||
color: #d4d4d8;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.audio-note-chip--natural {
|
||||
border-color: #365314;
|
||||
background: rgba(22, 101, 52, 0.16);
|
||||
color: #bbf7d0;
|
||||
}
|
||||
|
||||
.audio-note-chip--accidental {
|
||||
border-color: #4338ca;
|
||||
background: rgba(67, 56, 202, 0.18);
|
||||
color: #c7d2fe;
|
||||
}
|
||||
|
||||
.audio-note-copy {
|
||||
color: #d4d4d8;
|
||||
font-size: 13px;
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.audio-note-formula {
|
||||
color: #d4d4d8;
|
||||
font-size: 13px;
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.audio-note-playback-copy {
|
||||
color: #d4d4d8;
|
||||
font-size: 13px;
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.audio-note-playback-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.audio-note-playback-btn {
|
||||
min-height: 38px;
|
||||
}
|
||||
|
||||
.audio-note-frequency-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.audio-note-frequency-cell {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding: 10px;
|
||||
border: 1px solid #2f2f39;
|
||||
border-radius: 10px;
|
||||
background: #0c0c12;
|
||||
}
|
||||
|
||||
.audio-note-frequency-cell--button {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
|
||||
}
|
||||
|
||||
.audio-note-frequency-cell--button:hover {
|
||||
border-color: #6366f1;
|
||||
background: #121224;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.audio-note-frequency-cell--button.is-playing,
|
||||
.audio-note-frequency-cell--button[aria-pressed="true"] {
|
||||
border-color: #a5b4fc;
|
||||
background: linear-gradient(180deg, rgba(49, 46, 129, 0.42), rgba(12, 12, 18, 0.98));
|
||||
box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.26);
|
||||
}
|
||||
|
||||
.audio-note-frequency-label {
|
||||
color: #a1a1aa;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.audio-note-frequency-value {
|
||||
color: #f4f4f5;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.audio-note-frequency-meta {
|
||||
color: #71717a;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.audio-note-frequency-status {
|
||||
color: #c7d2fe;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.audio-note-frequency-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.enoch-list-item {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
@@ -4683,6 +5149,10 @@
|
||||
}
|
||||
#now-panel {
|
||||
--now-square-size: min(85vmin, calc(100vw - 172px), calc(100svh - 92px));
|
||||
--now-sky-width: max(calc(var(--now-square-size) * 3.25), calc(100% + 420px));
|
||||
--now-sky-height: max(calc(var(--now-square-size) * 2.28), calc(100% + 250px));
|
||||
--now-sky-top: 50.5%;
|
||||
--now-sky-left: 44%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
height: calc(100svh - 88px);
|
||||
@@ -4701,10 +5171,10 @@
|
||||
|
||||
#now-sky-layer {
|
||||
position: absolute;
|
||||
width: max(calc(var(--now-square-size) * 3.25), calc(100% + 420px));
|
||||
height: max(calc(var(--now-square-size) * 2.28), calc(100% + 250px));
|
||||
top: 50.5%;
|
||||
left: 44%;
|
||||
width: var(--now-sky-width);
|
||||
height: var(--now-sky-height);
|
||||
top: var(--now-sky-top);
|
||||
left: var(--now-sky-left);
|
||||
transform: translate(-50%, -50%);
|
||||
transform-origin: center center;
|
||||
z-index: 0;
|
||||
@@ -4786,6 +5256,34 @@
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
#now-panel {
|
||||
--now-square-size: min(88vw, calc(100svh - 150px), 560px);
|
||||
--now-sky-width: max(198vw, calc(100% + 140px));
|
||||
--now-sky-height: max(126svh, calc(100% + 120px));
|
||||
--now-sky-top: 50.5%;
|
||||
--now-sky-left: 46%;
|
||||
padding: 12px clamp(12px, 4vw, 24px) 16px;
|
||||
}
|
||||
|
||||
#now-sky-layer {
|
||||
filter: saturate(1.02);
|
||||
}
|
||||
|
||||
.now-panel-controls {
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#now-panel {
|
||||
--now-square-size: min(90vw, calc(100svh - 158px), 480px);
|
||||
--now-sky-width: max(214vw, calc(100% + 96px));
|
||||
--now-sky-height: max(132svh, calc(100% + 96px));
|
||||
--now-sky-left: 45%;
|
||||
}
|
||||
}
|
||||
.now-section {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
@@ -4952,16 +5450,36 @@
|
||||
}
|
||||
.now-stats-planets {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 4px 12px;
|
||||
font-size: clamp(15px, 1.9vmin, 17px);
|
||||
line-height: 1.3;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 6px 14px;
|
||||
font-size: clamp(12px, 1.6vmin, 14px);
|
||||
line-height: 1.24;
|
||||
color: #e2e8f0;
|
||||
align-content: start;
|
||||
align-items: start;
|
||||
min-height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
.now-stats-planet {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
align-content: start;
|
||||
text-align: left;
|
||||
}
|
||||
.now-stats-planet-sign {
|
||||
font-size: 0.84em;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: inherit;
|
||||
}
|
||||
.now-stats-planet-list {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
.now-stats-planet-entry {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
@@ -5386,7 +5904,7 @@
|
||||
width: min(64%, 122px);
|
||||
}
|
||||
.now-stats-planets {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
.planet-layout,
|
||||
.tarot-layout {
|
||||
@@ -5507,6 +6025,7 @@
|
||||
}
|
||||
.now-stats-planets {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 5px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5532,7 +6051,8 @@
|
||||
font-size: 10px;
|
||||
}
|
||||
.now-stats-planets {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 4px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user