Spaces:
Configuration error
Configuration error
File size: 2,209 Bytes
74aacd5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
@use '../../styles/Mixins' as *;
.editor-container {
display: flex;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
}
.react-transform-wrapper {
display: grid !important;
width: 100% !important;
height: 100% !important;
}
.editor-canvas-container {
display: grid;
grid-template-areas: 'editor-content';
row-gap: 1rem;
}
.editor-canvas {
grid-area: editor-content;
z-index: 2;
}
.original-image-container {
grid-area: editor-content;
pointer-events: none;
display: grid;
grid-template-areas: 'original-image-content';
img {
grid-area: original-image-content;
}
.editor-slider {
grid-area: original-image-content;
height: 100%;
width: 6px;
justify-self: end;
background-color: var(--yellow-accent);
transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
z-index: 2;
}
}
.editor-canvas-loading {
pointer-events: none;
animation: pulsing 750ms infinite;
}
.editor-toolkit-panel {
position: fixed;
bottom: 0.5rem;
border-radius: 3rem;
padding: 0.4rem 24px;
display: flex;
gap: 16px;
align-items: center;
justify-content: center;
backdrop-filter: blur(12px);
background-color: var(--page-bg-light);
animation: slideUp 0.2s ease-out;
border: var(--editor-toolkit-panel-border);
box-shadow: 0 0 0 1px #0000001a, 0 3px 16px #00000014, 0 2px 6px 1px #00000017;
@include mobile {
padding: 1rem 2rem;
grid-template-areas:
'toolkit-size-selector toolkit-size-selector'
'toolkit-brush-slider toolkit-brush-slider'
'toolkit-btns toolkit-btns';
row-gap: 2rem;
justify-items: center;
}
.eyeicon-active {
background-color: var(--yellow-accent);
color: var(--btn-text-hover-color);
}
}
.editor-brush-slider {
grid-area: toolkit-brush-slider;
user-select: none;
display: grid;
grid-template-columns: repeat(2, max-content);
height: max-content;
column-gap: 1rem;
align-items: center;
@include slider-bar;
}
.editor-toolkit-btns {
display: flex;
gap: 12px;
}
.brush-shape {
position: absolute;
border-radius: 50%;
background-color: #ffcc00bb;
border: 1px solid var(--yellow-accent);
pointer-events: none;
}
|