mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-23 00:06:08 +01:00
b470cdf60c
To clean up the multi tool page and make the pdf adapters more re-usable the style for them was moved to separate pages that are inserted into head when the adapter is created.
40 lines
823 B
CSS
40 lines
823 B
CSS
|
|
#image-highlighter {
|
|
position: fixed;
|
|
display:flex;
|
|
inset: 0;
|
|
z-index: 10000;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
visibility: hidden;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: visbility 0.1s linear, background-color 0.1s linear;
|
|
}
|
|
|
|
#image-highlighter > * {
|
|
max-width: 80vw;
|
|
max-height: 80vh;
|
|
animation: image-highlight .1s linear;
|
|
transition: transform .1s linear, opacity .1s linear;
|
|
}
|
|
|
|
#image-highlighter > *.remove {
|
|
transform: scale(0.8) !important;
|
|
opacity: 0 !important;
|
|
}
|
|
|
|
#image-highlighter:not(:empty) {
|
|
background-color: rgba(0, 0, 0, 0.37);
|
|
visibility: visible;
|
|
}
|
|
|
|
@keyframes image-highlight {
|
|
from {
|
|
transform: scale(0.8);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
} |