Files
sendou.ink/app/features/global-status/components/GlobalStatusIndicator.module.css
Kalle 5157272b5e
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Header polish
2026-09-27 13:58:28 +03:00

79 lines
1.4 KiB
CSS

.status {
display: flex;
align-items: center;
min-width: 0;
gap: var(--s-1-5);
height: var(--field-size-sm);
padding: 0 var(--s-3);
border-radius: var(--radius-field);
background-color: var(--color-bg-accent);
color: var(--color-fg-accent);
font-size: var(--font-xs);
font-weight: var(--weight-semi);
white-space: nowrap;
&:hover {
background-color: color-mix(
in oklch,
var(--color-bg-accent),
var(--color-fg-accent) 10%
);
}
}
.iconContainer {
display: flex;
flex-shrink: 0;
}
.text {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
@media screen and (max-width: 599px) {
@container (width < 250px) {
display: none;
}
}
@media screen and (min-width: 600px) {
@container (width < 350px) {
display: none;
}
}
}
.logo {
width: 20px;
height: 20px;
border-radius: var(--radius-avatar);
object-fit: cover;
flex-shrink: 0;
}
.countBadge {
display: grid;
place-items: center;
flex-shrink: 0;
min-width: 18px;
height: 18px;
padding: 0 var(--s-1);
border-radius: var(--radius-full);
background-color: var(--color-bg);
color: var(--color-text-high);
font-size: var(--font-2xs);
font-weight: var(--weight-bold);
}
.countBadgeAction {
background-color: var(--color-fill-accent);
color: var(--color-fg-on-accent);
}
.alertBadge {
background-color: var(--color-warning-low);
border: 1.5px solid var(--color-warning);
color: var(--color-warning-high);
}