You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
1.4 KiB

2 years ago
html, body {
margin: 0;
padding: 0;
2 years ago
overflow: hidden;
2 years ago
}
.dhide {
display: none !important;
}
.canvas {
position: absolute;
top: 0;
left: 0;
opacity: 1;
transition: opacity .2s;
2 years ago
transform-origin: top left;
pointer-events: none;
}
.canvas.white {
opacity: 0;
2 years ago
}
#canvas-images {
2 years ago
z-index: 0;
}
#canvas0 {
z-index: 1;
2 years ago
box-sizing: border-box;
border: 1px solid black;
2 years ago
}
#canvas1 {
z-index: 2;
2 years ago
opacity: 0.3;
}
.toolbar {
position: fixed;
left: 20px;
top: 20px;
background: #eee;
border: 1px solid #ddd;
padding: 10px;
border-radius: 5px;
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
display: flex;
gap: 10px;
z-index: 10;
align-items: center;
}
.toolbar #brush-width {
width: 7ch;
height: 30px;
padding: 5px;
box-sizing: border-box;
border: none;
cursor: crosshair;
}
.toolbar #brush-color {
padding: 0;
height: 30px;
width: 30px;
border: none;
cursor: pointer;
}
#brush-preview {
border-radius: 50%;
width: 5px;
height: 5px;
background: black;
position: absolute;
pointer-events: none;
z-index: 11;
}
.toolbar #brush-color::-moz-color-swatch {
border: none;
}
.floating-image {
position: absolute;
user-drag: none;
user-select: none;
}
.floating-image.activated {
outline: 5px solid #5286ff;
z-index: 999999 !important;
cursor: grab;
2 years ago
}