P1a: material import, sixteen faces, sample engine and quarry
This commit is contained in:
+546
@@ -1039,6 +1039,507 @@ a:focus-visible,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* — quarry — */
|
||||
|
||||
button.room {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.quarry {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
padding: 22px calc(var(--panel-r) + 20px) 26px calc(var(--panel-l) + 22px);
|
||||
overflow-y: auto;
|
||||
background:
|
||||
radial-gradient(ellipse at 50% 4%, rgba(232, 64, 42, 0.06), transparent 55%),
|
||||
var(--resin);
|
||||
animation: fade 0.7s 0.05s ease both;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: rgba(155, 133, 121, 0.3) transparent;
|
||||
}
|
||||
|
||||
.quarry-head {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 1px solid rgba(155, 133, 121, 0.12);
|
||||
}
|
||||
|
||||
.quarry-head h1 {
|
||||
margin: 0;
|
||||
font-family: var(--font-display);
|
||||
font-size: 30px;
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
line-height: 1;
|
||||
color: var(--bone);
|
||||
}
|
||||
|
||||
.quarry-head p {
|
||||
margin: 5px 0 0;
|
||||
font-size: 8.5px;
|
||||
letter-spacing: 0.14em;
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.quarry-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.import-state {
|
||||
font-size: 8.5px;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--ash-2);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.import,
|
||||
.empty-action {
|
||||
padding: 7px 11px;
|
||||
border: 1px solid rgba(232, 64, 42, 0.35);
|
||||
background: rgba(232, 64, 42, 0.04);
|
||||
color: var(--bone);
|
||||
font-size: 9.5px;
|
||||
letter-spacing: 0.04em;
|
||||
transition: border-color 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.import:hover,
|
||||
.empty-action:hover {
|
||||
border-color: var(--ember);
|
||||
background: rgba(232, 64, 42, 0.1);
|
||||
}
|
||||
|
||||
.import:disabled,
|
||||
.empty-action:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: wait;
|
||||
}
|
||||
|
||||
.file {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.quarry-empty {
|
||||
max-width: 460px;
|
||||
margin: 13vh auto 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.empty-title {
|
||||
margin: 0;
|
||||
font-family: var(--font-display);
|
||||
font-size: 30px;
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
line-height: 1;
|
||||
color: var(--bone);
|
||||
}
|
||||
|
||||
.empty-copy {
|
||||
margin: 14px 0 18px;
|
||||
font-size: 10px;
|
||||
line-height: 1.8;
|
||||
color: var(--ash);
|
||||
}
|
||||
|
||||
.empty-formats {
|
||||
margin-top: 14px;
|
||||
font-size: 8px;
|
||||
letter-spacing: 0.14em;
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.core-strip {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
margin-top: 10px;
|
||||
overflow-x: auto;
|
||||
border-bottom: 1px solid rgba(155, 133, 121, 0.1);
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.core-strip::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.core-tab {
|
||||
flex: 0 0 auto;
|
||||
padding: 7px 10px 6px;
|
||||
border-top: 1px solid rgba(155, 133, 121, 0.16);
|
||||
text-align: left;
|
||||
color: var(--ash);
|
||||
transition: color 0.2s ease, border-color 0.2s ease;
|
||||
}
|
||||
|
||||
.core-tab:hover,
|
||||
.core-tab.is-on {
|
||||
color: var(--bone);
|
||||
}
|
||||
|
||||
.core-tab.is-on {
|
||||
border-top-color: var(--ember);
|
||||
}
|
||||
|
||||
.core-name {
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.02em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.core-meta {
|
||||
display: block;
|
||||
font-size: 8px;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--ash-2);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.quarry-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 196px;
|
||||
gap: 18px;
|
||||
align-items: start;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.quarry-left {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.material-head {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.material-head h2 {
|
||||
margin: 0;
|
||||
font-family: var(--font-display);
|
||||
font-size: 25px;
|
||||
font-weight: 300;
|
||||
line-height: 1.1;
|
||||
color: var(--bone);
|
||||
}
|
||||
|
||||
.material-head p {
|
||||
margin: 4px 0 0;
|
||||
font-size: 8.5px;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--ash-2);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.material-rank {
|
||||
font-size: 8.5px;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--ash);
|
||||
white-space: nowrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.wave {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 154px;
|
||||
margin-top: 7px;
|
||||
border-top: 1px solid rgba(155, 133, 121, 0.12);
|
||||
border-bottom: 1px solid rgba(155, 133, 121, 0.12);
|
||||
}
|
||||
|
||||
.wave-axis {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 4px 0 9px;
|
||||
font-size: 8px;
|
||||
color: var(--ash-2);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.face-wall {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(8, minmax(0, 1fr));
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.face {
|
||||
position: relative;
|
||||
height: 34px;
|
||||
overflow: hidden;
|
||||
padding: 4px 5px;
|
||||
border: 1px solid rgba(155, 133, 121, 0.14);
|
||||
background: rgba(12, 9, 8, 0.62);
|
||||
text-align: left;
|
||||
color: var(--ash);
|
||||
transition: border-color 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
.face:hover {
|
||||
border-color: rgba(232, 64, 42, 0.5);
|
||||
color: var(--bone);
|
||||
}
|
||||
|
||||
.face.is-on {
|
||||
border-color: var(--ember);
|
||||
color: var(--bone);
|
||||
box-shadow: inset 0 0 0 1px rgba(232, 64, 42, 0.35);
|
||||
}
|
||||
|
||||
.face-index {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: block;
|
||||
font-size: 8.5px;
|
||||
line-height: 1.3;
|
||||
color: var(--bone);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.face-rank {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: block;
|
||||
font-size: 7.5px;
|
||||
line-height: 1.3;
|
||||
color: var(--ash-2);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.face-energy {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: calc(var(--energy) * 100%);
|
||||
background: linear-gradient(to top, rgba(232, 64, 42, 0.28), rgba(232, 64, 42, 0.02));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.material-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.face-strike,
|
||||
.assign {
|
||||
padding: 7px 10px;
|
||||
border: 1px solid rgba(155, 133, 121, 0.25);
|
||||
color: var(--bone);
|
||||
font-size: 9.5px;
|
||||
letter-spacing: 0.03em;
|
||||
transition: border-color 0.2s ease, background 0.2s ease;
|
||||
}
|
||||
|
||||
.face-strike:hover,
|
||||
.assign:hover {
|
||||
border-color: var(--ember);
|
||||
background: rgba(232, 64, 42, 0.08);
|
||||
}
|
||||
|
||||
.assign {
|
||||
border-color: rgba(232, 64, 42, 0.42);
|
||||
color: var(--ember);
|
||||
}
|
||||
|
||||
.face-strike:disabled,
|
||||
.assign:disabled {
|
||||
opacity: 0.35;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.assign-note {
|
||||
font-size: 8px;
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.pattern-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 14px 0 7px;
|
||||
margin-top: 9px;
|
||||
border-top: 1px solid rgba(155, 133, 121, 0.12);
|
||||
font-size: 8px;
|
||||
letter-spacing: 0.12em;
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.pattern {
|
||||
display: grid;
|
||||
grid-template-columns: 94px minmax(0, 1fr);
|
||||
gap: 1px 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pattern-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
padding: 4px 0;
|
||||
border-top: 1px solid transparent;
|
||||
text-align: left;
|
||||
color: var(--ash);
|
||||
transition: color 0.2s ease, border-color 0.2s ease;
|
||||
}
|
||||
|
||||
.pattern-row:hover,
|
||||
.pattern-row.is-on {
|
||||
color: var(--bone);
|
||||
}
|
||||
|
||||
.pattern-row.is-on {
|
||||
border-top-color: var(--ember);
|
||||
}
|
||||
|
||||
.pattern-name {
|
||||
font-size: 9.5px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.pattern-face {
|
||||
overflow: hidden;
|
||||
font-size: 7.5px;
|
||||
line-height: 1.4;
|
||||
color: var(--ash-2);
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.pattern-cells {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(16, minmax(0, 1fr));
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.step {
|
||||
position: relative;
|
||||
height: 22px;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid rgba(155, 133, 121, 0.14);
|
||||
background: rgba(155, 133, 121, 0.03);
|
||||
}
|
||||
|
||||
.step.is-downbeat {
|
||||
border-top-color: rgba(155, 133, 121, 0.34);
|
||||
}
|
||||
|
||||
.step.is-on {
|
||||
background: rgba(232, 64, 42, 0.07);
|
||||
}
|
||||
|
||||
.step:hover {
|
||||
background: rgba(232, 64, 42, 0.16);
|
||||
}
|
||||
|
||||
.step-fill {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: calc(var(--velocity) * 100%);
|
||||
background: linear-gradient(to top, rgba(232, 64, 42, 0.55), rgba(232, 64, 42, 0.14));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.quarry-side {
|
||||
min-width: 0;
|
||||
padding-left: 16px;
|
||||
border-left: 1px solid rgba(155, 133, 121, 0.12);
|
||||
}
|
||||
|
||||
.side-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 8px;
|
||||
letter-spacing: 0.12em;
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.side-note {
|
||||
margin: 7px 0 11px;
|
||||
font-size: 9px;
|
||||
line-height: 1.75;
|
||||
color: var(--ash);
|
||||
}
|
||||
|
||||
.face-stats {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.face-stats div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 4px 0;
|
||||
border-bottom: 1px solid rgba(155, 133, 121, 0.07);
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.face-stats span {
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.face-stats b {
|
||||
overflow: hidden;
|
||||
color: var(--bone);
|
||||
font-weight: 400;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.side-rule {
|
||||
height: 1px;
|
||||
margin: 14px 0;
|
||||
background: rgba(155, 133, 121, 0.1);
|
||||
}
|
||||
|
||||
.side-legend {
|
||||
display: flex;
|
||||
gap: 7px;
|
||||
padding: 3px 0;
|
||||
font-size: 8px;
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.legend-key {
|
||||
min-width: 64px;
|
||||
color: var(--ash);
|
||||
}
|
||||
|
||||
.side-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
margin-top: 20px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid rgba(155, 133, 121, 0.1);
|
||||
font-size: 8px;
|
||||
color: var(--ash-2);
|
||||
}
|
||||
|
||||
.side-footer b {
|
||||
color: var(--bone);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* — responsive — */
|
||||
|
||||
@media (max-width: 1240px) {
|
||||
@@ -1082,6 +1583,24 @@ a:focus-visible,
|
||||
min-height: 420px;
|
||||
width: 100%;
|
||||
}
|
||||
.quarry {
|
||||
position: relative;
|
||||
inset: auto;
|
||||
width: 100%;
|
||||
padding: 20px 18px 24px;
|
||||
}
|
||||
.quarry-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.quarry-side {
|
||||
padding-top: 14px;
|
||||
padding-left: 0;
|
||||
border-top: 1px solid rgba(155, 133, 121, 0.12);
|
||||
border-left: 0;
|
||||
}
|
||||
.wave {
|
||||
height: 130px;
|
||||
}
|
||||
.scene {
|
||||
top: 27%;
|
||||
width: 86%;
|
||||
@@ -1215,6 +1734,33 @@ a:focus-visible,
|
||||
margin-left: 0;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.quarry {
|
||||
padding: 18px 14px 22px;
|
||||
}
|
||||
.quarry-head h1 {
|
||||
font-size: 26px;
|
||||
}
|
||||
.quarry-actions {
|
||||
gap: 6px;
|
||||
}
|
||||
.import-state {
|
||||
display: none;
|
||||
}
|
||||
.face-wall {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
.pattern {
|
||||
grid-template-columns: 66px minmax(0, 1fr);
|
||||
}
|
||||
.pattern-cells {
|
||||
gap: 1px;
|
||||
}
|
||||
.step {
|
||||
height: 19px;
|
||||
}
|
||||
.pattern-face {
|
||||
display: none;
|
||||
}
|
||||
.pool {
|
||||
padding: 18px 16px 14px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user