1460 lines
26 KiB
CSS
1460 lines
26 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
|
|
|
|
/* Theme tokens and document defaults */
|
|
:root {
|
|
font-family: 'DM Sans', sans-serif;
|
|
color: var(--ink);
|
|
background: var(--base);
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
color-scheme: dark;
|
|
--ion-color-primary: #edebff;
|
|
--ion-color-primary-rgb: 237, 235, 255;
|
|
--ion-color-primary-contrast: #111116;
|
|
--ion-color-primary-contrast-rgb: 17, 17, 22;
|
|
--ion-color-primary-shade: #d1cfe0;
|
|
--ion-color-primary-tint: #efedff;
|
|
--ion-color-secondary: #ff8a3d;
|
|
--ion-color-secondary-rgb: 255, 138, 61;
|
|
--ion-color-secondary-contrast: #111116;
|
|
--ion-color-secondary-contrast-rgb: 17, 17, 22;
|
|
--ion-color-secondary-shade: #e07936;
|
|
--ion-color-secondary-tint: #ff9650;
|
|
--ion-color-medium: #b8b4e0;
|
|
--ion-color-medium-rgb: 184, 180, 224;
|
|
--ion-color-medium-contrast: #111116;
|
|
--ion-color-medium-contrast-rgb: 17, 17, 22;
|
|
--ion-color-medium-shade: #a29ec5;
|
|
--ion-color-medium-tint: #c2bfe4;
|
|
--ion-background-color: #111116;
|
|
--ion-background-color-rgb: 17, 17, 22;
|
|
--ion-text-color: #edebff;
|
|
--ion-text-color-rgb: 237, 235, 255;
|
|
--base: #111116;
|
|
--surface: #1a1a21;
|
|
--surface-raised: #23232b;
|
|
--border: #302f38;
|
|
--ink: #f4f1ed;
|
|
--muted: #b8b4e0;
|
|
--soft: #9e9acb;
|
|
--accent: #ff8a3d;
|
|
--accent-hover: #ff9b5c;
|
|
--accent-pressed: #e07936;
|
|
--tempo-control-width: 94px;
|
|
--primary-rgb: 244, 241, 237;
|
|
--accent-rgb: 255, 138, 61;
|
|
--mono: 'DM Mono', monospace;
|
|
--display: 'Space Grotesk', sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
ion-app,
|
|
ion-page {
|
|
min-width: 320px;
|
|
min-height: 100%;
|
|
margin: 0;
|
|
background: var(--base);
|
|
}
|
|
|
|
body {
|
|
font-family: 'DM Sans', sans-serif;
|
|
}
|
|
|
|
ion-content.app-content {
|
|
--background: var(--base);
|
|
color: var(--ink);
|
|
}
|
|
|
|
ion-content.app-content-studio {
|
|
--overflow: hidden;
|
|
}
|
|
|
|
/* Application shell and studio heading */
|
|
.app-shell {
|
|
min-height: 100%;
|
|
padding: 0 24px 32px;
|
|
background: var(--base);
|
|
}
|
|
|
|
.app-header {
|
|
display: flex;
|
|
width: min(100%, 900px);
|
|
height: 76px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin: 0 auto;
|
|
border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-logo {
|
|
display: block;
|
|
width: 156px;
|
|
max-height: 42px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.orbit-card-heading {
|
|
font-family: var(--mono);
|
|
font-size: 9px;
|
|
font-weight: 500;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.app-header-actions {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.app-menu-trigger {
|
|
width: 40px;
|
|
height: 40px;
|
|
flex: 0 0 40px;
|
|
margin: 0;
|
|
--color: var(--muted);
|
|
--padding-start: 0;
|
|
--padding-end: 0;
|
|
}
|
|
|
|
.app-menu-trigger::part(native) {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.app-menu-trigger ion-icon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.app-menu-popover {
|
|
--width: 190px;
|
|
--background: var(--surface);
|
|
--backdrop-opacity: 0;
|
|
--box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.app-menu-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.app-menu-option {
|
|
width: 100%;
|
|
height: 40px;
|
|
margin: 0;
|
|
--color: var(--ink);
|
|
--background: var(--surface-raised);
|
|
--background-hover: #33323b;
|
|
--background-activated: #3b3944;
|
|
--border-radius: 8px;
|
|
font-size: 12px;
|
|
text-transform: none;
|
|
}
|
|
|
|
.app-menu-option::part(native) {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.studio {
|
|
width: min(100%, 660px);
|
|
margin: 0 auto;
|
|
padding-bottom: 24px;
|
|
}
|
|
|
|
.about-view {
|
|
width: min(100%, 660px);
|
|
margin: 0 auto;
|
|
padding: 44px 0 32px;
|
|
}
|
|
|
|
.about-heading {
|
|
padding: 0 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.about-eyebrow {
|
|
margin: 0 0 12px;
|
|
color: var(--accent);
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
letter-spacing: 1.2px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.about-heading h1 {
|
|
margin: 0;
|
|
color: var(--ink);
|
|
font: 500 clamp(34px, 7vw, 44px)/1.1 var(--display);
|
|
letter-spacing: -1.8px;
|
|
}
|
|
|
|
.about-intro {
|
|
max-width: 520px;
|
|
margin: 17px auto 0;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.about-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 13px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.about-card {
|
|
padding: 20px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.about-card-wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.about-card h2 {
|
|
margin: 0;
|
|
color: var(--ink);
|
|
font: 500 17px/1.3 var(--display);
|
|
}
|
|
|
|
.about-card p {
|
|
margin: 10px 0 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.project-metadata {
|
|
display: grid;
|
|
gap: 11px;
|
|
margin: 15px 0 0;
|
|
}
|
|
|
|
.project-metadata > div {
|
|
display: grid;
|
|
grid-template-columns: minmax(72px, 0.7fr) minmax(0, 1.3fr);
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.project-metadata dt {
|
|
color: var(--soft);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.project-metadata dd {
|
|
margin: 0;
|
|
color: var(--ink);
|
|
font-size: 11px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.about-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.about-link-button {
|
|
min-height: 36px;
|
|
margin: 0;
|
|
--background: var(--accent);
|
|
--background-hover: var(--accent-hover);
|
|
--background-activated: var(--accent-pressed);
|
|
--color: #111116;
|
|
--border-radius: 8px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
|
|
.about-link-button-secondary {
|
|
--background: transparent;
|
|
--color: var(--ink);
|
|
--border-color: var(--border);
|
|
--border-width: 1px;
|
|
}
|
|
|
|
.about-return-row {
|
|
margin: 0 12px 24px;
|
|
text-align: left;
|
|
}
|
|
|
|
.about-return-button {
|
|
--background: transparent;
|
|
--background-hover: rgba(var(--primary-rgb), 0.08);
|
|
--background-activated: rgba(var(--primary-rgb), 0.12);
|
|
--border-radius: 8px;
|
|
--color: var(--muted);
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
|
|
.about-return-button ion-icon {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.studio-heading {
|
|
padding: 37px 0 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.studio-heading h1 {
|
|
margin: 0;
|
|
color: var(--ink);
|
|
font: 500 clamp(22px, 5vw, 34px)/1.1 var(--display);
|
|
letter-spacing: -0.9px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-prompt {
|
|
margin: 18px 0 0;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.beat-template-selector {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.beat-template-trigger {
|
|
--color: var(--ink);
|
|
--background: var(--surface-raised);
|
|
--background-hover: #33323b;
|
|
--background-activated: #3b3944;
|
|
--border-radius: 9px;
|
|
--border-width: 0;
|
|
height: 40px;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
|
|
.beat-template-trigger::part(native) {
|
|
padding-inline: 14px;
|
|
}
|
|
|
|
.beat-template-trigger-content {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.beat-template-trigger ion-icon {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.beat-template-popover {
|
|
--width: 230px;
|
|
--background: var(--surface);
|
|
--backdrop-opacity: 0;
|
|
--box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.beat-template-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
padding: 7px;
|
|
}
|
|
|
|
.beat-template-option {
|
|
--color: var(--ink);
|
|
--background: var(--surface-raised);
|
|
--background-hover: #33323b;
|
|
--background-activated: #3b3944;
|
|
--border-radius: 8px;
|
|
width: 100%;
|
|
height: 56px;
|
|
flex: 0 0 56px;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
text-transform: none;
|
|
}
|
|
|
|
.beat-template-option::part(native) {
|
|
padding-inline: 11px;
|
|
}
|
|
|
|
.beat-template-option-content {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.beat-template-option-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.beat-template-option-label {
|
|
color: var(--ink);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.beat-template-option-description {
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.beat-template-option-meta {
|
|
color: var(--soft);
|
|
font-size: 9px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.intro-copy {
|
|
margin: 7px 0 0;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.intro-copy.is-hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/* Preset and instrument selectors */
|
|
.orbit-card {
|
|
overflow: hidden;
|
|
padding: 21px 27px 17px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 18px;
|
|
background: var(--base);
|
|
}
|
|
|
|
.orbit-card-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.sound-ring-selector-trigger {
|
|
--color: var(--muted);
|
|
--border-radius: 7px;
|
|
height: 30px;
|
|
margin: 0;
|
|
font-family: var(--mono);
|
|
font-size: 8px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.65px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.sound-ring-selector-trigger::part(native) {
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.sound-ring-trigger-content {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sound-ring-selector-trigger ion-icon {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ring-selector-swatch {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
flex: 0 0 auto;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.sound-ring-popover {
|
|
--width: 160px;
|
|
--background: var(--surface);
|
|
--backdrop-opacity: 0;
|
|
--box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.sound-ring-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
padding: 7px;
|
|
}
|
|
|
|
.sound-ring-option {
|
|
--color: var(--ink);
|
|
--background: var(--surface-raised);
|
|
--background-hover: #33323b;
|
|
--background-activated: #3b3944;
|
|
--border-radius: 7px;
|
|
width: 100%;
|
|
height: 36px;
|
|
flex: 0 0 36px;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
text-align: left;
|
|
text-transform: none;
|
|
}
|
|
|
|
.sound-ring-option::part(native) {
|
|
padding-inline: 10px;
|
|
}
|
|
|
|
.sound-ring-option-content {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.timeline-wrap {
|
|
width: min(100%, 570px);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Circular timeline, markers, and playback cursor */
|
|
.circular-timeline {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: visible;
|
|
touch-action: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.timeline-orbit {
|
|
fill: none;
|
|
stroke: rgba(var(--primary-rgb), 0.22);
|
|
stroke-width: 1.5;
|
|
transform-box: fill-box;
|
|
transform-origin: center;
|
|
transition: r 720ms cubic-bezier(0.22, 1.15, 0.36, 1), opacity 360ms ease, stroke-width 360ms ease;
|
|
}
|
|
|
|
.timeline-orbit.is-focused {
|
|
animation: orbit-focus-wave 900ms ease-out both;
|
|
}
|
|
|
|
@keyframes orbit-focus-wave {
|
|
0% { transform: scale(1); }
|
|
24% { transform: scale(1.045); }
|
|
46% { transform: scale(0.985); }
|
|
68% { transform: scale(1.022); }
|
|
86% { transform: scale(0.995); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
.timeline-orbit-hit-area {
|
|
cursor: pointer;
|
|
transition: r 720ms cubic-bezier(0.22, 1.15, 0.36, 1);
|
|
}
|
|
|
|
.timeline-tick line {
|
|
stroke: rgba(var(--primary-rgb), 0.34);
|
|
stroke-width: 1;
|
|
}
|
|
|
|
.timeline-tick.is-substep line {
|
|
stroke: rgba(var(--primary-rgb), 0.18);
|
|
stroke-width: 0.75;
|
|
}
|
|
|
|
.timeline-tick.is-major line {
|
|
stroke: #b8b4e0;
|
|
stroke-width: 1.5;
|
|
}
|
|
|
|
.timeline-tick text {
|
|
fill: var(--muted);
|
|
font: 9px var(--mono);
|
|
}
|
|
|
|
.timeline-playhead line {
|
|
stroke: #fff;
|
|
stroke-width: 1;
|
|
}
|
|
|
|
.timeline-playhead circle {
|
|
fill: #fff;
|
|
filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.75));
|
|
}
|
|
|
|
.sound-point {
|
|
cursor: grab;
|
|
outline: none;
|
|
}
|
|
|
|
.sound-point:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.sound-point-hit-area {
|
|
fill: transparent;
|
|
pointer-events: all;
|
|
transition: cx 720ms cubic-bezier(0.22, 1.15, 0.36, 1), cy 720ms cubic-bezier(0.22, 1.15, 0.36, 1);
|
|
}
|
|
|
|
.sound-point-face {
|
|
fill: currentColor;
|
|
stroke: var(--base);
|
|
stroke-width: 3;
|
|
transition:
|
|
cx 720ms cubic-bezier(0.22, 1.15, 0.36, 1),
|
|
cy 720ms cubic-bezier(0.22, 1.15, 0.36, 1),
|
|
stroke-width 120ms ease,
|
|
filter 120ms ease;
|
|
}
|
|
|
|
.sound-point-letter {
|
|
fill: var(--base);
|
|
font: 700 9px var(--mono);
|
|
pointer-events: none;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.sound-point:hover .sound-point-face,
|
|
.sound-point.is-selected .sound-point-face,
|
|
.sound-point:focus-visible .sound-point-face {
|
|
stroke: #fff;
|
|
stroke-width: 2.5;
|
|
filter: drop-shadow(0 0 5px currentColor);
|
|
}
|
|
|
|
.timeline-hint-row {
|
|
display: grid;
|
|
height: 44px;
|
|
min-height: 44px;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Beat selection status and actions */
|
|
.timeline-hint-tempo {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.timeline-hint {
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 20px;
|
|
min-height: 20px;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.timeline-hint-tempo .tempo-trigger::part(native) {
|
|
padding-inline: 8px;
|
|
}
|
|
|
|
.timeline-hint-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 4px;
|
|
}
|
|
|
|
.timeline-delete-button {
|
|
width: 44px;
|
|
height: 44px;
|
|
margin: 0;
|
|
--color: #ff5964;
|
|
--color-activated: #ff303f;
|
|
--background-hover: rgba(255, 89, 100, 0.12);
|
|
--border-radius: 9px;
|
|
}
|
|
|
|
.timeline-delete-placeholder {
|
|
display: block;
|
|
width: 44px;
|
|
height: 44px;
|
|
flex: 0 0 44px;
|
|
}
|
|
|
|
.timeline-delete-button ion-icon {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.hint-swatch,
|
|
.legend-swatch {
|
|
flex: 0 0 auto;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.hint-swatch {
|
|
width: 8px;
|
|
height: 8px;
|
|
display: inline-block;
|
|
margin-right: 7px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.hint-separator {
|
|
display: inline-block;
|
|
margin: 0 7px;
|
|
color: #7671a7;
|
|
}
|
|
|
|
.sound-legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px 14px;
|
|
padding-top: 17px;
|
|
}
|
|
|
|
.legend-sample {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--soft);
|
|
font-size: 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.category-letter-badge {
|
|
display: inline-flex;
|
|
width: 17px;
|
|
height: 17px;
|
|
flex: 0 0 17px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid currentColor;
|
|
border-radius: 50%;
|
|
color: var(--ink);
|
|
font: 600 9px var(--mono);
|
|
}
|
|
|
|
.legend-swatch {
|
|
width: 7px;
|
|
height: 7px;
|
|
}
|
|
|
|
.legend-empty {
|
|
color: var(--soft);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.audio-error {
|
|
margin: 13px auto 0;
|
|
color: #ffad8b;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Transport and sound-add controls */
|
|
.transport-footer {
|
|
--background: rgba(17, 17, 22, 0.97);
|
|
position: relative;
|
|
overflow: visible;
|
|
border-top: 1px solid rgba(var(--primary-rgb), 0.12);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.transport-toolbar {
|
|
--background: transparent;
|
|
--border-color: transparent;
|
|
--min-height: 84px;
|
|
}
|
|
|
|
.transport-inner {
|
|
display: flex;
|
|
width: min(100%, 660px);
|
|
min-height: 84px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin: 0 auto;
|
|
padding: 12px 20px max(12px, env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.transport-play-button {
|
|
--background: var(--accent);
|
|
--background-hover: var(--accent-hover);
|
|
--background-activated: var(--accent-pressed);
|
|
--color: var(--ion-color-secondary-contrast);
|
|
--border-radius: 11px;
|
|
--box-shadow: none;
|
|
min-width: 112px;
|
|
height: 49px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-transform: none;
|
|
}
|
|
|
|
.transport-play-button ion-icon {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.instrument-selector-group {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.instrument-add-button {
|
|
min-width: 104px;
|
|
height: 44px;
|
|
flex: 0 0 auto;
|
|
margin: 0;
|
|
--background: var(--surface-raised);
|
|
--background-hover: #33323b;
|
|
--background-activated: #3b3944;
|
|
--border-radius: 9px;
|
|
--color: var(--ink);
|
|
--padding-start: 12px;
|
|
--padding-end: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
|
|
.instrument-add-button::part(native) {
|
|
width: 100%;
|
|
height: 44px;
|
|
gap: 6px;
|
|
padding-inline: 12px;
|
|
}
|
|
|
|
.instrument-add-button ion-icon {
|
|
font-size: 19px;
|
|
}
|
|
|
|
ion-modal.instrument-picker-modal {
|
|
--width: min(420px, calc(100vw - 24px));
|
|
--height: min(620px, calc(100% - (var(--ion-modal-offset-top, 0px) + 10px)));
|
|
--max-height: calc(100% - (var(--ion-modal-offset-top, 0px) + 10px));
|
|
--background: var(--surface);
|
|
--border-radius: 18px 18px 0 0;
|
|
--box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
ion-content.instrument-picker-content {
|
|
--background: var(--surface);
|
|
--overflow: hidden;
|
|
}
|
|
|
|
.instrument-picker-menu {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
max-height: 100%;
|
|
min-height: 0;
|
|
box-sizing: border-box;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
overflow: hidden;
|
|
overscroll-behavior: contain;
|
|
padding: 8px;
|
|
}
|
|
|
|
.instrument-picker-search {
|
|
width: 100%;
|
|
flex: 0 0 auto;
|
|
min-height: 40px;
|
|
padding: 0;
|
|
--background: var(--surface-raised);
|
|
--border-radius: 8px;
|
|
--box-shadow: none;
|
|
--color: var(--ink);
|
|
--icon-color: var(--muted);
|
|
--placeholder-color: var(--soft);
|
|
}
|
|
|
|
.instrument-picker-accordion-group {
|
|
width: 100%;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
.instrument-picker-category {
|
|
display: block;
|
|
width: 100%;
|
|
margin-bottom: 4px;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
background: var(--surface-raised);
|
|
}
|
|
|
|
.instrument-category-header {
|
|
--background: var(--surface-raised);
|
|
--color: var(--ink);
|
|
--min-height: 40px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.instrument-category-header::part(native) {
|
|
min-height: 40px;
|
|
padding-inline: 10px;
|
|
}
|
|
|
|
.instrument-category-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 6px 8px 10px;
|
|
}
|
|
|
|
.instrument-picker-empty {
|
|
margin: 0;
|
|
padding: 12px 6px;
|
|
color: var(--soft);
|
|
font-size: 11px;
|
|
text-align: center;
|
|
}
|
|
|
|
.instrument-picker-option {
|
|
width: 100%;
|
|
height: 52px;
|
|
flex: 0 0 52px;
|
|
margin: 0;
|
|
--background: var(--surface);
|
|
--background-hover: var(--surface-raised);
|
|
--background-activated: #3b3944;
|
|
--border-color: rgba(var(--primary-rgb), 0.12);
|
|
--border-style: solid;
|
|
--border-width: 1px;
|
|
--border-radius: 10px;
|
|
--color: var(--ink);
|
|
font-size: 11px;
|
|
text-transform: none;
|
|
}
|
|
|
|
.instrument-picker-option::part(native) {
|
|
justify-content: flex-start;
|
|
text-align: left;
|
|
}
|
|
|
|
.instrument-picker-option-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 2px;
|
|
}
|
|
|
|
.instrument-picker-option-copy > span:first-child {
|
|
color: var(--ink);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.instrument-picker-option-copy > span:last-child {
|
|
color: var(--soft);
|
|
font-size: 9px;
|
|
}
|
|
|
|
.pitch-control {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: none;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
margin: 8px 0 0;
|
|
}
|
|
|
|
.pitch-control-heading {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
color: var(--muted);
|
|
font-family: var(--mono);
|
|
font-size: 9px;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pitch-control-heading output {
|
|
color: var(--ink);
|
|
font-size: 11px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pitch-range {
|
|
height: 28px;
|
|
margin: 0;
|
|
--bar-background: #58537d;
|
|
--bar-background-active: var(--accent);
|
|
--bar-height: 3px;
|
|
--height: 28px;
|
|
--knob-background: var(--accent);
|
|
--knob-size: 12px;
|
|
--padding-top: 2px;
|
|
--padding-bottom: 2px;
|
|
--padding-start: 2px;
|
|
--padding-end: 2px;
|
|
}
|
|
|
|
.tempo-trigger {
|
|
width: var(--tempo-control-width);
|
|
flex: 0 0 var(--tempo-control-width);
|
|
--color: var(--ink);
|
|
--background: var(--surface-raised);
|
|
--background-hover: #33323b;
|
|
--background-activated: #3b3944;
|
|
--border-radius: 8px;
|
|
--border-width: 0;
|
|
--padding-top: 8px;
|
|
--padding-bottom: 8px;
|
|
height: 42px;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
|
|
.meter-trigger {
|
|
--color: var(--ink);
|
|
--background: var(--surface-raised);
|
|
--background-hover: #33323b;
|
|
--background-activated: #3b3944;
|
|
--border-radius: 8px;
|
|
--border-width: 0;
|
|
--padding-top: 8px;
|
|
--padding-bottom: 8px;
|
|
height: 42px;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
|
|
.tempo-trigger ion-icon,
|
|
.meter-trigger ion-icon {
|
|
margin-left: 4px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.tempo-trigger::part(native),
|
|
.meter-trigger::part(native) {
|
|
padding-inline: 14px;
|
|
}
|
|
|
|
.tempo-trigger-content,
|
|
.meter-trigger-content {
|
|
display: flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tempo-value {
|
|
align-self: center;
|
|
color: var(--ink);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Popover contents */
|
|
.tempo-popover {
|
|
--width: var(--tempo-control-width);
|
|
--height: 226px;
|
|
--background: var(--surface);
|
|
--backdrop-opacity: 0;
|
|
--box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.2);
|
|
}
|
|
|
|
.tempo-popover-content {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
padding: 10px;
|
|
}
|
|
|
|
.tempo-range-track {
|
|
position: relative;
|
|
display: flex;
|
|
width: 44px;
|
|
height: 164px;
|
|
flex: 0 0 164px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.tempo-range-track::before {
|
|
position: absolute;
|
|
top: 9px;
|
|
bottom: 9px;
|
|
left: 50%;
|
|
width: 3px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(
|
|
to top,
|
|
var(--accent) 0%,
|
|
var(--accent) var(--tempo-progress),
|
|
#58537d var(--tempo-progress),
|
|
#58537d 100%
|
|
);
|
|
content: '';
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.tempo-range {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 164px;
|
|
height: 44px;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
z-index: 1;
|
|
transform: translate(-50%, -50%) rotate(-90deg);
|
|
background: transparent;
|
|
cursor: ns-resize;
|
|
opacity: 0;
|
|
touch-action: none;
|
|
}
|
|
|
|
.tempo-range-thumb {
|
|
position: absolute;
|
|
top: var(--tempo-thumb-center);
|
|
left: 50%;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.18);
|
|
pointer-events: none;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.tempo-range-track:focus-within .tempo-range-thumb {
|
|
box-shadow: 0 0 0 2px var(--base), 0 0 0 4px var(--accent);
|
|
}
|
|
|
|
.tempo-range-track:focus-within {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
.meter-popover {
|
|
--width: 96px;
|
|
--height: 224px;
|
|
--background: var(--surface);
|
|
--backdrop-opacity: 0;
|
|
--box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.2);
|
|
}
|
|
|
|
.meter-popover-content {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.meter-option {
|
|
--color: var(--ink);
|
|
--background: var(--surface-raised);
|
|
--background-activated: #3b3944;
|
|
--background-hover: #33323b;
|
|
--border-radius: 7px;
|
|
width: 100%;
|
|
height: 31px;
|
|
flex: 0 0 31px;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
}
|
|
|
|
.meter-option-content {
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.meter-option::part(native) {
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
/* Compact layout */
|
|
.app-shell {
|
|
padding: 0 14px 26px;
|
|
}
|
|
|
|
.app-header {
|
|
height: 65px;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: min(132px, 38vw);
|
|
max-height: 38px;
|
|
}
|
|
|
|
.app-header-actions {
|
|
gap: 4px;
|
|
}
|
|
|
|
.app-menu-trigger,
|
|
.app-menu-trigger::part(native) {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
.app-menu-trigger {
|
|
flex-basis: 36px;
|
|
}
|
|
|
|
.about-view {
|
|
padding: 31px 0 24px;
|
|
}
|
|
|
|
.about-return-row {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.about-heading h1 {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.about-intro {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.about-grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 10px;
|
|
margin-top: 23px;
|
|
}
|
|
|
|
.about-card-wide {
|
|
grid-column: auto;
|
|
}
|
|
|
|
.about-card {
|
|
padding: 17px;
|
|
}
|
|
|
|
.about-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.about-link-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.studio-heading {
|
|
padding: 28px 0 8px;
|
|
}
|
|
|
|
.studio-heading h1 {
|
|
font-size: clamp(18px, 4.5vw, 26px);
|
|
letter-spacing: -0.6px;
|
|
}
|
|
|
|
.template-prompt {
|
|
margin-top: 13px;
|
|
}
|
|
|
|
.intro-copy {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.orbit-card {
|
|
padding: 17px 11px 14px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.timeline-wrap {
|
|
width: min(100%, 490px);
|
|
}
|
|
|
|
.timeline-hint {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.timeline-hint-tempo .tempo-trigger::part(native) {
|
|
padding-inline: 6px;
|
|
}
|
|
|
|
.transport-inner {
|
|
gap: 7px;
|
|
padding-right: 14px;
|
|
padding-left: 14px;
|
|
}
|
|
|
|
.transport-play-button {
|
|
min-width: 98px;
|
|
}
|
|
|
|
.instrument-selector-group {
|
|
min-width: 0;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.pitch-control {
|
|
max-width: none;
|
|
}
|
|
|
|
.tempo-trigger,
|
|
.meter-trigger {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.tempo-trigger::part(native),
|
|
.meter-trigger::part(native) {
|
|
padding-inline: 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 1100px) {
|
|
.app-shell {
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.studio {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.studio-heading {
|
|
padding: 14px 0 4px;
|
|
}
|
|
|
|
.studio-heading h1 {
|
|
font-size: clamp(17px, 4.2vw, 25px);
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.template-prompt {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.intro-copy {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.orbit-card {
|
|
padding: 12px 10px 9px;
|
|
}
|
|
|
|
.timeline-wrap {
|
|
width: min(100%, max(180px, calc(100dvh - 390px)));
|
|
}
|
|
|
|
.sound-legend {
|
|
gap: 6px 10px;
|
|
padding-top: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.transport-inner {
|
|
gap: 5px;
|
|
padding-right: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.transport-play-button {
|
|
min-width: 82px;
|
|
--padding-start: 10px;
|
|
--padding-end: 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.tempo-trigger,
|
|
.meter-trigger {
|
|
font-size: 9px;
|
|
}
|
|
|
|
.tempo-trigger::part(native),
|
|
.meter-trigger::part(native) {
|
|
padding-inline: 8px;
|
|
}
|
|
|
|
.timeline-hint-tempo .tempo-trigger::part(native) {
|
|
padding-inline: 4px;
|
|
}
|
|
|
|
.tempo-trigger ion-icon,
|
|
.meter-trigger ion-icon {
|
|
margin-left: 1px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|