ommit
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
This commit is contained in:
1 parent
cbb750a413
commit
497b9a2fc5
42 files changed
+945
-354
No files matched your search
@@ -0,0 +1,117 @@
|
||||
/* Titlebar status: a tiny spinner that resolves into check / warning. */
|
||||
.app-status {
|
||||
--status-accent: rgb(255 255 255 / 0.8);
|
||||
|
||||
position: relative;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 2.35rem;
|
||||
height: 2.35rem;
|
||||
flex: 0 0 auto;
|
||||
border-radius: 50%;
|
||||
color: var(--status-accent);
|
||||
opacity: 0;
|
||||
transform: scale(0.92);
|
||||
pointer-events: none;
|
||||
transition:
|
||||
opacity 0.18s ease,
|
||||
transform 0.18s ease,
|
||||
background-color 0.15s ease,
|
||||
color 0.18s ease;
|
||||
}
|
||||
|
||||
.app-status--loading,
|
||||
.app-status--success,
|
||||
.app-status--warning,
|
||||
.app-status--error,
|
||||
.app-status--info {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* Same hover language as the other titlebar icon buttons. */
|
||||
.app-status--loading:hover,
|
||||
.app-status--success:hover,
|
||||
.app-status--warning:hover,
|
||||
.app-status--error:hover,
|
||||
.app-status--info:hover {
|
||||
background: rgb(255 255 255 / 0.1);
|
||||
}
|
||||
|
||||
.app-status--loading {
|
||||
--status-accent: rgb(255 255 255 / 0.8);
|
||||
}
|
||||
|
||||
.app-status--success {
|
||||
--status-accent: #65e6a3;
|
||||
}
|
||||
|
||||
.app-status--warning {
|
||||
--status-accent: #ffc46b;
|
||||
}
|
||||
|
||||
.app-status--error {
|
||||
--status-accent: #ff8a7a;
|
||||
}
|
||||
|
||||
.app-status--info {
|
||||
--status-accent: #8fd0ff;
|
||||
}
|
||||
|
||||
.app-status__icon {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
.material-symbols-rounded {
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
}
|
||||
|
||||
.app-status__spinner {
|
||||
width: 1.05rem;
|
||||
height: 1.05rem;
|
||||
border: 2px solid currentColor;
|
||||
border-right-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: app-status-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes app-status-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* On auth screens the titlebar is hidden; keep the same feedback as a plain
|
||||
icon next to the window controls, without a separate badge around it. */
|
||||
.app-status--floating {
|
||||
position: fixed;
|
||||
top: calc(10px + var(--safe-top));
|
||||
right: calc(150px + var(--safe-right, 0px));
|
||||
z-index: 1002;
|
||||
filter: drop-shadow(0 2px 6px rgb(0 0 0 / 0.5));
|
||||
}
|
||||
|
||||
html.is-android .app-status--floating {
|
||||
right: 12px;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.app-status {
|
||||
width: 2.15rem;
|
||||
height: 2.15rem;
|
||||
}
|
||||
|
||||
.app-status--floating {
|
||||
top: calc(8px + var(--safe-top));
|
||||
right: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Notifications are rendered as the titlebar status instead of toasts. */
|
||||
.notistack-SnackbarContainer {
|
||||
display: none !important;
|
||||
}
|
||||
Reference in new issue
Block a user