mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-30 19:49:14 -04:00
add functionality to drop files to the background to select recipient
This commit is contained in:
parent
035bbb169c
commit
87aa958c60
2 changed files with 48 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue