2026-03-11 21:38:15 +01:00
|
|
|
@layer components {
|
2026-03-13 22:21:37 +01:00
|
|
|
/* Empty state placeholders — dashed border cards with icon, message, and optional action. */
|
2026-03-11 21:38:15 +01:00
|
|
|
.app-empty-state {
|
|
|
|
|
border: 1px dashed var(--app-empty-border-color);
|
|
|
|
|
border-radius: var(--app-border-radius);
|
|
|
|
|
background: var(--app-empty-bg);
|
|
|
|
|
color: var(--app-empty-text);
|
2026-03-12 16:47:53 +01:00
|
|
|
padding: calc(var(--app-spacing) * 1.5) var(--app-spacing);
|
2026-03-11 21:38:15 +01:00
|
|
|
display: grid;
|
|
|
|
|
gap: calc(var(--app-spacing) * 0.35);
|
|
|
|
|
text-align: center;
|
2026-03-12 16:47:53 +01:00
|
|
|
justify-items: center;
|
2026-03-11 21:38:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-empty-state[data-size="compact"] {
|
2026-03-12 16:47:53 +01:00
|
|
|
padding: calc(var(--app-spacing) * 0.75) calc(var(--app-spacing) * 0.75);
|
2026-03-11 21:38:15 +01:00
|
|
|
gap: calc(var(--app-spacing) * 0.25);
|
|
|
|
|
}
|
2026-03-12 16:47:53 +01:00
|
|
|
.app-empty-state[data-size="small"] {
|
|
|
|
|
padding: calc(var(--app-spacing) * 0.5) calc(var(--app-spacing) * 0.5);
|
|
|
|
|
gap: calc(var(--app-spacing) * 0.15);
|
|
|
|
|
}
|
2026-03-11 21:38:15 +01:00
|
|
|
|
|
|
|
|
.app-empty-state[data-align="left"] {
|
|
|
|
|
text-align: left;
|
2026-03-12 16:47:53 +01:00
|
|
|
justify-items: start;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-empty-state-icon {
|
|
|
|
|
color: var(--app-empty-hint);
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
margin-bottom: calc(var(--app-spacing) * 0.15);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-empty-state[data-size="compact"] .app-empty-state-icon {
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
margin-bottom: 0;
|
2026-03-11 21:38:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-empty-state-message {
|
|
|
|
|
margin: 0;
|
2026-03-12 16:47:53 +01:00
|
|
|
color: var(--app-empty-hint);
|
2026-03-22 15:47:55 +01:00
|
|
|
font-size: var(--text-xs);
|
|
|
|
|
line-height: var(--leading-snug);
|
2026-03-11 21:38:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-empty-state-hint {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: var(--app-empty-hint);
|
2026-03-22 15:47:55 +01:00
|
|
|
font-size: var(--text-sm);
|
|
|
|
|
line-height: var(--leading-snug);
|
2026-03-12 16:47:53 +01:00
|
|
|
opacity: 0.75;
|
2026-03-11 21:38:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-empty-state-action {
|
|
|
|
|
justify-self: center;
|
2026-03-12 16:47:53 +01:00
|
|
|
margin-top: calc(var(--app-spacing) * 0.25);
|
2026-03-11 21:38:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-empty-state[data-align="left"] .app-empty-state-action {
|
|
|
|
|
justify-self: start;
|
|
|
|
|
}
|
|
|
|
|
}
|