.imageBox { border-radius: inherit; width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; transform-origin: top left; .imageBox-annotationLayer { position: absolute; transform-origin: left top; top: 0px; width: 100%; pointer-events: none; mix-blend-mode: multiply; // bcz: makes text fuzzy! overflow: hidden; } .imageBox-fader { pointer-events: inherit; } } #upload-icon { position: absolute; bottom: 0px; right: 0px; width: 20px; height: 20px; } .imageBox-cont { padding: 0vw; position: absolute; text-align: center; width: 100%; height: 100%; max-width: 100%; max-height: 100%; pointer-events: inherit; background: transparent; z-index: 0; // z-index: -10000; // bcz: not sure why this was here. it broke dropping images on the image box alternate bullseye icon. img { height: auto; width: 100%; } } .imageBox-dot { position: absolute; bottom: 10px; left: 0px; border-radius: 10px; width: 20px; height: 20px; background: gray; } #google-photos { transition: all 0.5s ease 0s; width: 30px; height: 30px; position: absolute; top: 15px; right: 15px; border: 2px solid black; border-radius: 50%; padding: 3px; background: white; cursor: pointer; opacity: 0.15; } #google-photos:hover { opacity: 1; } #google-tags { transition: all 0.5s ease 0s; width: 30px; height: 30px; position: absolute; bottom: 15px; right: 15px; border: 2px solid black; border-radius: 50%; padding: 3px; background: white; } .imageBox-button { padding: 0vw; border: none; width: 100%; height: 100%; } .imageBox-fader { position: relative; width: 100%; margin: 0 auto; display: flex; height: 100%; img { object-fit: contain; height: 100%; } .imageBox-fadeBlocker, .imageBox-fadeBlocker-hover { width: 100%; height: 100%; position: absolute; display: flex; flex-direction: row; align-items: center; z-index: 1; .imageBox-fadeaway { object-fit: contain; width: 100%; height: 100%; } } } .imageBox-regenerateDropTarget, .imageBox-alternateDropTarget { position: absolute; color: white; background: black; right: 0px; bottom: 0px; z-index: 2; transform-origin: bottom right; cursor: default; > svg { width: 100%; height: 100%; } } .imageBox-regenerateDropTarget { right: 35px; transform-origin: 70px 35px; } .imageBox-fader img { position: absolute; left: 0px; } .imageBox-fadeBlocker-hover { opacity: 0; } .imageBox-aiView-history { display: flex; flex-direction: column; align-items: center; text-align: center; .imageBox-aiView-img { width: 100%; padding: 5px; &:hover { filter: brightness(0.8); } } .imageBox-aiView-caption { font-size: 7px; } } .imageBox-aiView { text-align: center; font-weight: bold; transform-origin: top left; width: 100%; .imageBox-aiView-subtitle { position: relative; align-content: center; max-width: 10%; overflow: hidden; text-overflow: ellipsis; } .imageBox-aiView-regenerate, .imageBox-aiView-options { display: flex; align-items: center; flex-direction: row; gap: 5px; width: 100%; padding: 0 10; .imageBox-aiView-regenerate-createBtn { max-width: 20%; .button-container { width: 100% !important; justify-content: left !important; } } } .imageBox-aiView-firefly { overflow: hidden; text-overflow: ellipsis; max-width: 15%; width: 100%; } .imageBox-aiView-regenerate-send { max-width: 10%; } .imageBox-aiView-strength { text-align: center; align-items: center; display: flex; max-width: 90%; width: 100%; .imageBox-aiView-similarity { max-width: 65px; overflow: hidden; text-overflow: ellipsis; width: 100%; } } .imageBox-aiView-slider { width: 90%; margin-left: 5px; } .imageBox-aiView-input { overflow: hidden; text-overflow: ellipsis; max-width: 80%; width: 100%; color: black; } } .imageBox-regenerate-dialog { position: absolute; background: white; padding: 10px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); z-index: 10000; h3 { margin-top: 0px; } input { width: 300px; padding: 8px; margin-bottom: 10px; } .buttons { display: flex; justify-content: flex-end; gap: 10px; .generate-btn { background: #0078d4; color: white; border: none; padding: 8px 16px; } } }