.outer-frame {
max-width: 1000px;
}
.url-debug {
color: black;
font-size: 12px;
font-family: monospace;
}
.center-progress {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
}
.center-progress .percentage-display {
position: absolute;
text-align: center;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
font-size: 11px;
color: #d00000;
}
.center-progress.topleft {
margin: 10px 0 0 10px;
}
.center-progress.topleft .percentage-display {
color: white;
}
.detail-profile-badge {
background-color: #d00000;
width: 100%;
display: flex;
flex-direction: column;
padding: 0;
margin: 0;
position: relative;
}
.detail-profile-badge .hidden {
display: none;
}
.detail-profile-badge .mask-container {
position: absolute;
top: 0;
left: 0;
pointer-events: none;
width: 100%;
height: 100%;
opacity: 0.5;
border: solid 2px white;
box-sizing: border-box;
border-radius: 2000px;
}
.detail-profile-badge .overlay-spacing {
padding: 0;
}
.detail-profile-badge .overlay-container {
position: relative;
top: 0;
left: 0;
width: 100%;
padding-top: 100%;
overflow: hidden;
background-color: #D00000;
}
.detail-profile-badge .overlay-container .reference {
visibility: hidden;
position: fixed;
}
.detail-profile-badge .overlay-container .overlay-parent {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: translate(0, 0);
cursor: grab;
}
.detail-profile-badge .overlay-container .overlay-parent.moving {
cursor: grabbing;
}
.detail-profile-badge .overlay-container .badge-container {
position: absolute;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
top: 0;
left: 0;
pointer-events: none;
user-select: none;
transition: opacity 0.3s;
}
.detail-profile-badge .overlay-container .badge-container.dragging {
opacity: 0.4;
}
.detail-profile-badge .overlay-container .overlay-anchor, .detail-profile-badge .overlay-container .overlay-background {
position: absolute;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
user-select: none;
top: 0;
left: 0;
}
.detail-profile-badge .overlay-container .overlay-anchor img, .detail-profile-badge .overlay-container .overlay-background img {
position: absolute;
top: 0;
pointer-events: none;
user-select: none;
left: 0;
display: block;
max-width: inherit;
max-height: inherit;
transform-origin: top left;
}
.detail-profile-badge .overlay-container .overlay-anchor img.square, .detail-profile-badge .overlay-container .overlay-background img.square {
width: 100%;
height: 100%;
}
.detail-profile-badge .overlay-container .overlay-anchor img.portrait, .detail-profile-badge .overlay-container .overlay-background img.portrait {
width: 100%;
}
.detail-profile-badge .overlay-container .overlay-anchor img.landscape, .detail-profile-badge .overlay-container .overlay-background img.landscape {
height: 100%;
}
.detail-profile-badge .overlay-container .overlay-background {
filter: blur(2px);
opacity: 1;
}
.detail-profile-badge .overlay-container .overlay-background .overlay-parent {
backdrop-filter: blur(100px);
}
.detail-profile-badge .overlay-container .overlay-anchor {
border-radius: 1000px;
}
.detail-profile-badge .uploader {
position: absolute;
top: 0;
left: 0;
width: 80%;
height: 80%;
display: flex;
flex-direction: column;
color: #D00000;
font-size: 18px;
gap: 10px;
font-weight: bold;
justify-content: center;
align-items: center;
border-radius: 2000px;
background-color: white;
cursor: pointer;
margin: 10%;
box-sizing: border-box;
transition: transform 0.3s ease-in-out;
user-select: none;
outline: dashed 5px transparent;
}
.detail-profile-badge .uploader .icon-upload {
width: 50%;
max-width: 60px;
transition: transform 0.3s ease-in-out;
margin-bottom: 10%;
}
.detail-profile-badge .uploader:hover {
transform: scale(1.02);
}
.detail-profile-badge .uploader:hover .icon-upload {
transform: scale(1.2);
}
.detail-profile-badge .uploader.dropping {
outline: dashed 5px white;
transform: scale(1.02);
}
.detail-profile-badge .uploader.dropping .icon-upload {
transform: scale(1.2);
}
.detail-profile-badge .controls-container {
pointer-events: none;
user-select: none;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
display: flex;
justify-content: space-between;
align-items: stretch;
flex-direction: column;
opacity: 0;
transition: opacity 0.2s;
}
.detail-profile-badge .controls-container.active {
opacity: 1;
}
.detail-profile-badge .controls-container .upload-controls {
display: flex;
}
.detail-profile-badge .controls-container .upload-controls .icon-upload {
width: 65px;
padding: 10px;
pointer-events: none;
transform: scale(1);
transition: transform 0.3s;
}
.detail-profile-badge .controls-container .upload-controls .icon-upload:hover {
transform: scale(1.2);
}
.detail-profile-badge .controls-container .upload-controls .icon-upload.dropping {
transform: scale(1.2);
}
.detail-profile-badge .controls-container.active .upload-controls .icon-upload {
pointer-events: all;
cursor: pointer;
}
.detail-profile-badge .footer-controls {
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 8px;
}
.detail-profile-badge .footer-controls .inline-footer-controls {
display: flex;
align-items: flex-end;
gap: 20px;
}
.detail-profile-badge .footer-controls .download-control {
background-color: white;
padding: 8px;
border-radius: 5px;
cursor: pointer;
pointer-events: none;
text-decoration: none;
font-weight: bold;
color: #D00000;
opacity: 0;
transition: opacity 0.3s;
}
.detail-profile-badge .footer-controls .download-control.active {
pointer-events: all;
opacity: 1;
}
.detail-profile-badge .footer-controls .download-control:hover {
background-color: #eee;
}
.detail-profile-badge .footer-controls .language-controls {
display: flex;
}
.detail-profile-badge .footer-controls .language-controls .language-control {
cursor: pointer;
user-select: none;
padding: 8px;
background-color: white;
margin-left: 1px;
width: 40px;
color: #D00000;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
box-sizing: border-box;
}
.detail-profile-badge .footer-controls .language-controls .language-control:hover {
background-color: #eee;
}
.detail-profile-badge .footer-controls .language-controls .language-control.active {
background-color: #eee;
color: black;
}
.detail-profile-badge .footer-controls .language-controls .language-control:first-child {
border-radius: 5px 0 0 5px;
}
.detail-profile-badge .footer-controls .language-controls .language-control:last-child {
border-radius: 0 5px 5px 0;
}
.detail-profile-badge .footer-controls .zoom-controls {
justify-content: center;
align-items: center;
flex-direction: column;
opacity: 0;
display: flex;
width: 0;
transition: height 0.3s;
height: 40px;
overflow: hidden;
}
.detail-profile-badge .footer-controls .zoom-controls.active {
width: 40px;
opacity: 1;
height: 80px;
}
.detail-profile-badge .footer-controls .zoom-controls .zoom-control {
pointer-events: all;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
padding: 0;
width: 40px;
height: 40px;
background-color: white;
margin-bottom: 1px;
font-size: 24px;
user-select: none;
}
.detail-profile-badge .footer-controls .zoom-controls .zoom-control:hover {
background-color: #eee;
}
.detail-profile-badge .footer-controls .zoom-controls .zoom-control:first-child {
border-radius: 5px 5px 0 0;
}
.detail-profile-badge .footer-controls .zoom-controls .zoom-control:last-child {
border-radius: 0 0 5px 5px;
}
.detail-profile-badge.active {
opacity: 1;
}
.detail-profile-badge.active .footer-controls .zoom-controls .zoom-control {
pointer-events: all;
}
.detail-profile-badge .tooltip-container {
background-color: rgba(0, 0, 0, 0);
transition: background-color 1s;
position: absolute;
pointer-events: none;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 70%;
box-sizing: border-box;
}
.detail-profile-badge .tooltip-container.active {
background-color: rgba(255, 255, 255, 0.6);
pointer-events: all;
backdrop-filter: blur(2px);
}
.detail-profile-badge .tooltip-container .tooltip-message {
cursor: pointer;
pointer-events: all;
display: flex;
flex-direction: column;
width: 80%;
max-width: 400px;
background-color: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px);
color: black;
padding: 20px;
box-sizing: border-box;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.detail-profile-badge .tooltip-container .tooltip-message .learn-message {
font-size: 22px;
padding: 10px 0 20px 0;
text-align: center;
}
.detail-profile-badge .tooltip-container .tooltip-message .learn-confirm-button {
background-color: rgba(208, 0, 0, 0.7);
transition: background-color 0.25s;
padding: 15px 8px;
max-width: 100px;
width: 100%;
box-sizing: border-box;
flex: 1 1 auto;
font-weight: bold;
margin: 0 auto;
color: white;
border-radius: 8px;
text-align: center;
}
.detail-profile-badge .tooltip-container .tooltip-message:hover .learn-confirm-button {
background-color: #d00000;
}