mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 09:44:25 +01:00
7270b5fe0c
* sqlalchemy * sqlalchemy * sqlalchemy bucket v1 * Bucket API * Move easydb files to its own folders * show images * add croppr * croppr ui * profile, thumbnail croppr size limit * fill list * add upload * Use modifiers card, resize thumbs * Remove debugging code * remove unused variable
58 lines
908 B
CSS
58 lines
908 B
CSS
.croppr-container * {
|
|
user-select: none;
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
}
|
|
|
|
.croppr-container img {
|
|
vertical-align: middle;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.croppr {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.croppr-overlay {
|
|
background: rgba(0,0,0,0.5);
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.croppr-region {
|
|
border: 1px dashed rgba(0, 0, 0, 0.5);
|
|
position: absolute;
|
|
z-index: 3;
|
|
cursor: move;
|
|
top: 0;
|
|
}
|
|
|
|
.croppr-imageClipped {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.croppr-handle {
|
|
border: 1px solid black;
|
|
background-color: white;
|
|
width: 10px;
|
|
height: 10px;
|
|
position: absolute;
|
|
z-index: 4;
|
|
top: 0;
|
|
} |