Jagd auf WS Abbrüche
This commit is contained in:
1 parent
a95204b8d6
commit
1e2a58e563
9 files changed
+462
-51
No files matched your search
@@ -80,6 +80,75 @@ body.mobile-page main.container {
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
padding: 0.4rem 0.2rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mobile-ws-status {
|
||||
flex: 0 0 auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
padding: 0.2rem 0.45rem;
|
||||
border: 1px solid var(--mobile-border);
|
||||
border-radius: 999px;
|
||||
background: var(--mobile-bg);
|
||||
color: var(--mobile-subtext);
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mobile-ws-status::before {
|
||||
content: '';
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.mobile-ws-status.is-connected {
|
||||
color: #15803d;
|
||||
border-color: #86efac;
|
||||
}
|
||||
|
||||
.mobile-ws-status.is-connecting {
|
||||
color: #b45309;
|
||||
border-color: #fcd34d;
|
||||
}
|
||||
|
||||
.mobile-ws-status.is-disconnected {
|
||||
color: var(--mobile-subtext);
|
||||
}
|
||||
|
||||
.mobile-ws-status.is-error {
|
||||
color: #dc2626;
|
||||
border-color: #fca5a5;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .mobile-ws-status.is-connected {
|
||||
color: #4ade80;
|
||||
border-color: #166534;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .mobile-ws-status.is-connecting {
|
||||
color: #fbbf24;
|
||||
border-color: #92400e;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .mobile-ws-status.is-error {
|
||||
color: #f87171;
|
||||
border-color: #991b1b;
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.mobile-ws-status {
|
||||
font-size: 0.62rem;
|
||||
padding: 0.15rem 0.3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-icon-btn {
|
||||
|
||||
Reference in new issue
Block a user