Update SCSS

This commit is contained in:
Andras Schmelczer 2026-05-10 15:16:19 +01:00
parent 4e92913925
commit cb1df6f29e
9 changed files with 1136 additions and 274 deletions

70
src/style/_app-shell.scss Normal file
View file

@ -0,0 +1,70 @@
html > body {
width: 100%;
min-height: 100vh;
min-height: 100dvh;
height: 100vh;
height: 100dvh;
overflow: hidden;
display: flex;
position: relative;
background: var(--garden-background, #10151f);
> .canvas-container {
min-height: 100vh;
min-height: 100dvh;
height: 100%;
width: 100%;
display: flex;
position: relative;
overflow: hidden;
> canvas {
height: 100%;
width: 100%;
touch-action: none;
cursor:
url('../../assets/icons/brush.svg') 0 24,
auto;
}
> .eraser-preview {
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: var(--eraser-preview-size, 96px);
height: var(--eraser-preview-size, 96px);
border: 2px solid rgb(255 234 228 / 88%);
border-radius: 50%;
background: rgb(255 140 117 / 13%);
box-shadow:
0 0 0 1px rgb(255 88 70 / 34%),
0 0 26px rgb(255 118 92 / 24%);
opacity: 0;
pointer-events: none;
transform: translate(-50%, -50%);
transition:
opacity var(--transition-time),
width var(--transition-time),
height var(--transition-time);
mix-blend-mode: screen;
&.visible {
opacity: 1;
}
}
> .errors-container {
position: absolute;
top: 0;
left: 0;
margin: var(--normal-margin);
z-index: 5;
pre {
font-size: 20px;
color: red;
}
}
}
}