mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-30 11:39:14 -04:00
Add error status and check if too many bytes are received
This commit is contained in:
parent
a98499ea5a
commit
42bd71a3dc
5 changed files with 37 additions and 21 deletions
|
@ -188,8 +188,8 @@ x-peer:not(.type-public-id) .highlight-room-public-id {
|
|||
display: none;
|
||||
}
|
||||
|
||||
x-peer:is(:not([status]), [status$=-complete]):hover,
|
||||
x-peer:is(:not([status]), [status$=-complete]):focus {
|
||||
x-peer:is(:not([status]), [status$=-complete], [status=error]):hover,
|
||||
x-peer:is(:not([status]), [status$=-complete], [status=error]):focus {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
|
@ -249,7 +249,7 @@ x-peer[status] .device-name {
|
|||
display: none;
|
||||
}
|
||||
|
||||
x-peer[status]:not([status$=-complete]) {
|
||||
x-peer[status]:not([status$=-complete]):not([status=error]) {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
@ -261,6 +261,10 @@ x-peer[status$=-complete] .status {
|
|||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
x-peer[status=error] .status {
|
||||
color: var(--error-color);
|
||||
}
|
||||
|
||||
@keyframes pop {
|
||||
0% {
|
||||
transform: scale(0.7);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue