forked from Creditra/Creditra-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDrawWizardMicroProgress.css
More file actions
58 lines (50 loc) · 1.38 KB
/
Copy pathDrawWizardMicroProgress.css
File metadata and controls
58 lines (50 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
* draw-wizard-micro-progress.css — per-step validity chips in the draw header.
*
* Tones map to existing semantic tokens:
* --muted → not yet satisfied
* --warning → needs attention
* --success → requirement met
*
* Compact density: single-line chips with a 0.625rem icon dot so all four
* fit beneath step labels on narrow viewports.
*/
.draw-wizard-micro-indicator {
display: flex;
align-items: center;
gap: 0.375rem;
margin: 0.375rem 0 0;
padding: 0;
font-size: 0.6875rem;
font-weight: 600;
line-height: 1.25;
letter-spacing: 0.01em;
}
.draw-wizard-micro-indicator__icon {
flex-shrink: 0;
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background: var(--muted);
}
.draw-wizard-micro-indicator__text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--muted);
}
.draw-wizard-micro-indicator[data-tone="warning"] .draw-wizard-micro-indicator__icon {
background: var(--warning);
}
.draw-wizard-micro-indicator[data-tone="warning"] .draw-wizard-micro-indicator__text {
color: var(--warning);
}
.draw-wizard-micro-indicator[data-tone="success"] .draw-wizard-micro-indicator__icon {
background: var(--success);
}
.draw-wizard-micro-indicator[data-tone="success"] .draw-wizard-micro-indicator__text {
color: var(--success);
}
[data-contrast="high"] .draw-wizard-micro-indicator__text {
font-weight: 700;
}