@import "../client/views/globalCssVariables.scss"; .imgupload_cont { display: flex; justify-content: center; flex-direction: column; align-items: center; max-width: 400px; min-width: 400px; .upload_label { font-size: 3em; font-weight: 700; color: white; background-color: black; display: inline-block; margin: 10; width: 100%; border-radius: 10px; } .file { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; } .upload_label:hover { background-color: darkred; } .button_file { text-align: center; height: 50%; width: 50%; background-color: paleturquoise; color: grey; font-size: 3em; } .inputfile { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; } .inputfile+label { font-size: 3em; font-weight: 700; color: white; background-color: black; display: inline-block; margin: 10px; margin-top: 30px; width: 100%; border-radius: 10px; } .inputfile:focus+label, .inputfile+label:hover { background-color: darkred; } .status { font-size: 2em; } } .backgroundUpload { height: 100vh; top: 0; z-index: 999; width: 100vw; position: absolute; background-color: lightgrey; opacity: 0.4; } .image-upload { top: 100%; opacity: 0; } .image-upload.active { top: 0; position: absolute; z-index: 999; height: 100vh; width: 100vw; opacity: 1; } .uploadContainer { top: 40; position: absolute; z-index: 1000; height: 20vh; width: 80vw; opacity: 1; } .closeUpload { position: absolute; border-radius: 10px; top: 3; color: black; font-size: 30; right: 3; z-index: 1002; padding: 0px 3px; background: rgba(0, 0, 0, 0); transition: 0.5s ease all; border: 0px solid; } .loadingImage { display: inline-flex; width: max-content; } .loadingSlab { position: relative; width: 30px; height: 30px; margin: 10; border-radius: 20px; opacity: 0.3; background-color: black; transition: all 2s, opacity 1.5s; }