add functionality to drop files to the background to select recipient

This commit is contained in:
schlagmichdoch 2023-01-22 16:14:27 +01:00
parent 035bbb169c
commit 87aa958c60
2 changed files with 48 additions and 20 deletions

View file

@ -818,10 +818,18 @@ x-instructions {
width: 80%;
}
x-instructions:before {
x-instructions:not([drop-peer]):not([drop-bg]):before {
content: attr(mobile);
}
x-instructions[drop-peer]:before {
content: "Release to send to peer";
}
x-instructions[drop-bg]:not([drop-peer]):before {
content: "Release to select recepient";
}
x-instructions p {
display: none;
margin: 0 auto auto;
@ -843,7 +851,7 @@ x-peers:empty~x-instructions {
@media screen and (min-height: 800px),
screen and (min-width: 1100px) {
x-instructions:before {
x-instructions:not([drop-peer]):not([drop-bg]):before {
content: attr(desktop);
}
}