make loading/reconnection less intrusive

This commit is contained in:
2023-01-22 23:39:34 -05:00
parent 5f214ab7f9
commit 0a56b32b17
9 changed files with 16 additions and 57 deletions

View File

@ -25,12 +25,12 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts";
100% { scale: 1.0; opacity: 1; }
}
.phx-connected > #disconnect, #loading {
.phx-connected > #disconnect {
opacity: 0 !important;
pointer-events: none;
}
.phx-loading:not(.phx-error) > #loading, .phx-error > #disconnect {
.phx-error > #disconnect {
opacity: 0.95 !important;
}