convert:
adjust page and image background
upload:
fix response after success upload
noscript artwork id page:
adjust info bar margin to padding
noscript artwork and file page:
fix dark mode image mask
94 lines
1.4 KiB
CSS
94 lines
1.4 KiB
CSS
body {
|
|
background: #000;
|
|
color: #fff;
|
|
}
|
|
|
|
html,
|
|
#preview {
|
|
scrollbar-width: none;
|
|
scrollbar-color: grey #282828;
|
|
}
|
|
|
|
#preview {
|
|
position: fixed;
|
|
display: none;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
justify-content: left;
|
|
align-items: start;
|
|
overflow: hidden;
|
|
scrollbar-width: none;
|
|
z-index: 5;
|
|
}
|
|
|
|
#preview-view {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100vh;
|
|
cursor: grab;
|
|
}
|
|
|
|
#preview-header {
|
|
position: absolute;
|
|
z-index: 10;
|
|
top: 0;
|
|
gap: 2em;
|
|
height: 3em;
|
|
width: 100%;
|
|
color: white;
|
|
fill: white;
|
|
box-sizing: border-box;
|
|
padding: .7em;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
background-color: #333;
|
|
align-items: center;
|
|
}
|
|
|
|
#convert-action select,
|
|
#convert-action button {
|
|
color: white;
|
|
background-color: #444;
|
|
border-radius: .2em;
|
|
border: none;
|
|
padding: .2em .5em;
|
|
height: 100%;
|
|
}
|
|
|
|
#convert-action button:hover {
|
|
background-color: rgb(40, 40, 40);
|
|
}
|
|
|
|
#convert-action button:active {
|
|
background-color: rgb(50, 50, 50);
|
|
}
|
|
|
|
#preview-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1em;
|
|
}
|
|
|
|
#image-wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
transform-origin: center center;
|
|
}
|
|
|
|
#image-wrapper > * {
|
|
position: absolute;
|
|
max-width: min(90%, 90svw);
|
|
max-height: min(90%, 90svh);
|
|
object-fit: contain;
|
|
background: #000;
|
|
|
|
pointer-events: none;
|
|
}
|