Add error status and check if too many bytes are received

This commit is contained in:
schlagmichdoch 2024-02-15 01:33:06 +01:00
parent a98499ea5a
commit 42bd71a3dc
5 changed files with 37 additions and 21 deletions

View file

@ -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);

View file

@ -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);