add signalr support

This commit is contained in:
2023-01-25 08:48:50 -05:00
parent 1ee15a8ed3
commit 5a015b379b
9 changed files with 89 additions and 61 deletions

View File

@ -28,7 +28,7 @@ textarea {
resize: none;
color: #444;
font-size: 12px;
font-family: Consolas;
font-family: Consolas, 'Courier New';
outline: none;
position: absolute;
box-sizing: border-box;
@ -40,18 +40,25 @@ textarea {
color: #ddd;
}
#saved-indicator {
.toast {
position: fixed;
bottom: -40px;
right: 20px;
font-size: 12px;
background-color: green;
padding: 10px;
border-radius: 10px 10px 0 0;
color: #fff;
transition: bottom 0.2s;
}
#saved-indicator.show {
.toast.show {
bottom: 0;
}
#saved-indicator {
background-color: green;
}
#update-indicator {
background-color: orangered;
}