Give status indicators distinct icon badges
This commit is contained in:
1 parent
99156ed011
commit
b835e2e7ba
10 files changed
+43
-1
No files matched your search
@@ -444,6 +444,39 @@ small {
|
||||
.status.warn {
|
||||
color: var(--color-danger);
|
||||
}
|
||||
.status-badge {
|
||||
--badge-tone: var(--color-muted);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 28px;
|
||||
padding: 4px 10px;
|
||||
border: 1px solid
|
||||
color-mix(in srgb, var(--badge-tone) 32%, var(--color-surface));
|
||||
border-radius: 999px;
|
||||
background: color-mix(in srgb, var(--badge-tone) 10%, var(--color-surface));
|
||||
color: var(--badge-tone);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 18px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.status-badge--success {
|
||||
--badge-tone: var(--color-success);
|
||||
}
|
||||
.status-badge--danger {
|
||||
--badge-tone: var(--color-danger);
|
||||
}
|
||||
.status-badge > svg {
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.status-examples {
|
||||
gap: 8px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.activity {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user