This commit is contained in:
parent
39b0160064
commit
2347ecd201
71 changed files with 3779 additions and 1586 deletions
|
|
@ -54,6 +54,27 @@ html > body {
|
|||
}
|
||||
}
|
||||
|
||||
> .dev-stats-overlay {
|
||||
position: absolute;
|
||||
top: max(10px, env(safe-area-inset-top, 0px));
|
||||
left: max(10px, env(safe-area-inset-left, 0px));
|
||||
z-index: 6;
|
||||
padding: 7px 9px;
|
||||
border: 1px solid rgb(255 255 255 / 18%);
|
||||
border-radius: 6px;
|
||||
background: rgb(9 12 18 / 72%);
|
||||
box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
|
||||
color: rgb(255 255 255 / 90%);
|
||||
font-family:
|
||||
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
|
||||
monospace;
|
||||
font-size: 11px;
|
||||
line-height: 1.45;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
> .errors-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
|
|||
69
src/style/_config-pane.scss
Normal file
69
src/style/_config-pane.scss
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
.config-pane {
|
||||
.color-reaction-folder > .tp-fldv_c {
|
||||
padding: 6px 8px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.color-reaction-matrix {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(42px, max-content) repeat(3, minmax(0, 1fr));
|
||||
gap: 4px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.color-reaction-matrix__corner,
|
||||
.color-reaction-matrix__header {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
min-height: 28px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
color: rgb(255 255 255 / 76%);
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.color-reaction-matrix__corner {
|
||||
justify-content: flex-start;
|
||||
padding-left: 2px;
|
||||
color: rgb(255 255 255 / 62%);
|
||||
}
|
||||
|
||||
.color-reaction-matrix__swatch {
|
||||
flex: 0 0 auto;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: 1px solid rgb(255 255 255 / 55%);
|
||||
border-radius: 999px;
|
||||
box-shadow: 0 0 0 1px rgb(0 0 0 / 18%);
|
||||
}
|
||||
|
||||
.color-reaction-matrix__cell {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.color-reaction-matrix__cell > select {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
height: 28px;
|
||||
border: 1px solid rgb(255 255 255 / 16%);
|
||||
border-radius: 4px;
|
||||
padding: 0 4px;
|
||||
appearance: auto;
|
||||
background: rgb(255 255 255 / 8%);
|
||||
color: white;
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.color-reaction-matrix__cell > select:focus-visible {
|
||||
outline: 2px solid rgb(255 255 255 / 72%);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.color-reaction-matrix__cell > select > option {
|
||||
background: rgb(28 31 38);
|
||||
color: white;
|
||||
}
|
||||
|
|
@ -4,12 +4,14 @@ html > body > aside.control-dock {
|
|||
bottom: env(safe-area-inset-bottom);
|
||||
z-index: 4;
|
||||
width: min(calc(100vw - 1rem), 980px);
|
||||
transform: translateX(-50%);
|
||||
transform: translate(-50%, 0);
|
||||
translate: 0 0;
|
||||
visibility: visible;
|
||||
pointer-events: none;
|
||||
transition:
|
||||
opacity var(--transition-time-long),
|
||||
transform var(--transition-time-long),
|
||||
translate var(--transition-time-long),
|
||||
visibility 0s;
|
||||
|
||||
> .toolbar-row,
|
||||
|
|
@ -32,4 +34,32 @@ html > body > aside.control-dock {
|
|||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.menu-hidden.has-persistent-settings {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translate(-50%, 0);
|
||||
|
||||
> .pages,
|
||||
> .toolbar-row > .vibe-button,
|
||||
> .toolbar-row > .toolbar-shell > .garden-controls,
|
||||
> .toolbar-row > .toolbar-shell > nav.buttons > button:not(.settings),
|
||||
> .toolbar-row > .toolbar-shell > nav.buttons > .export-status {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
> .toolbar-row,
|
||||
> .toolbar-row > .toolbar-shell,
|
||||
> .toolbar-row > .toolbar-shell > nav.buttons {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
> .toolbar-row > .toolbar-shell > nav.buttons > button.settings {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
120
src/style/_loading.scss
Normal file
120
src/style/_loading.scss
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
.loading-indicator {
|
||||
--loading-progress: 0%;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 3;
|
||||
width: min(78vw, 320px);
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity var(--transition-time-long);
|
||||
|
||||
> .loading-dots {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
> .loading-dot {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
background: rgb(255 255 255 / 92%);
|
||||
box-shadow:
|
||||
0 0 18px rgb(255 255 255 / 38%),
|
||||
0 0 4px rgb(255 255 255 / 60%);
|
||||
transform: scale(0.5);
|
||||
opacity: 0.4;
|
||||
animation: loading-bloom 1.4s ease-in-out infinite;
|
||||
|
||||
&:nth-child(2) {
|
||||
animation-delay: 0.18s;
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
animation-delay: 0.36s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .loading-status {
|
||||
color: rgb(255 255 255 / 88%);
|
||||
font:
|
||||
600 16px/1.25 'Open Sans',
|
||||
sans-serif;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 12px rgb(0 0 0 / 60%);
|
||||
letter-spacing: 0.01em;
|
||||
min-height: 1.25em;
|
||||
}
|
||||
|
||||
> .loading-progress {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: rgb(255 255 255 / 14%);
|
||||
box-shadow: 0 1px 6px rgb(0 0 0 / 28%);
|
||||
|
||||
> .loading-progress-fill {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: var(--loading-progress);
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgb(255 255 255 / 72%),
|
||||
rgb(255 255 255 / 96%)
|
||||
);
|
||||
box-shadow: 0 0 12px rgb(255 255 255 / 38%);
|
||||
transition: width var(--transition-time-long) ease-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
html > body.is-loading {
|
||||
.loading-indicator {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.eraser-preview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
aside.control-dock {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
translate: 0 36px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loading-bloom {
|
||||
0%,
|
||||
100% {
|
||||
transform: scale(0.5);
|
||||
opacity: 0.35;
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.loading-indicator > .loading-dots > .loading-dot {
|
||||
animation: none;
|
||||
transform: scale(0.85);
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
|
|
@ -38,6 +38,42 @@ html > body > aside.control-dock > .pages {
|
|||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
&.info-page {
|
||||
background:
|
||||
linear-gradient(180deg, rgb(255 255 255 / 97%), rgb(243 247 239 / 96%)),
|
||||
rgb(255 255 255);
|
||||
border-color: rgb(255 255 255 / 78%);
|
||||
color: rgb(24 30 27);
|
||||
box-shadow:
|
||||
0 20px 54px rgb(0 0 0 / 38%),
|
||||
0 2px 12px rgb(0 0 0 / 22%);
|
||||
|
||||
> section {
|
||||
gap: 0.85rem;
|
||||
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
color: rgb(16 24 20);
|
||||
}
|
||||
|
||||
p {
|
||||
max-width: 54ch;
|
||||
margin-bottom: 0;
|
||||
color: rgb(42 48 45);
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgb(0 84 120);
|
||||
font-weight: 700;
|
||||
|
||||
&:focus-visible {
|
||||
outline: 2px solid currentColor;
|
||||
outline-offset: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.hidden {
|
||||
max-height: 0;
|
||||
margin-bottom: 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue