mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-27 02:06:16 -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);
|
||||
|
|
|
@ -921,6 +921,7 @@ x-peers:empty~x-instructions {
|
|||
body {
|
||||
/* Constant colors */
|
||||
--primary-color: #4285f4;
|
||||
--error-color: #ff6b6b;
|
||||
--paired-device-color: #00a69c;
|
||||
--public-room-color: #ed9d01;
|
||||
--accent-color: var(--primary-color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue