Mercurial Hosting > linkmystyle
diff src/uploadcare/uploadcare.css @ 0:8f4df159f06b
start public repo
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 11 Jul 2025 20:57:49 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/uploadcare/uploadcare.css Fri Jul 11 20:57:49 2025 -0600 @@ -0,0 +1,41 @@ +input[uploadcare][type="file"] { + display: none; +} + +img[uploadcare] { + display: none; + z-index: 200; + box-sizing: border-box; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + background-color: white; + width: 100px; + height: auto; + box-shadow: 2px 2px 10px 1px #8C8C8C; +} + +dialog[croppr]::backdrop { + background-color: rgba(0,0,0,0.8); +} +dialog[croppr] img { + height: 400px; + max-height: calc(87vh - 80px); + xdisplay: block; +} +dialog[croppr] div[buttons] { + display: flex; + gap: 12px; + margin-top: 14px; +} +dialog[croppr] button { + padding: 5px 20px; + background-color: white; + border: 1px solid #4E4293; + color: #4E4293; +} +dialog[croppr] button:hover { + color: #9181EE; + border-color: #9181EE; +}