-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.css
More file actions
125 lines (108 loc) · 2.75 KB
/
Copy pathapp.css
File metadata and controls
125 lines (108 loc) · 2.75 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* Needs-attention homepage section.
The host renders the section heading; this styles only the list. Colors
derive from the host theme's live CSS tokens (bg-card, text-muted-foreground,
…) so custom palettes work. The shape follows the app's native homepage
sections: a rounded-bordered card with hairline-separated rows and the
app's text-sm / text-xs density (px-4 py-2.5 rows). */
.attention-wrap {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.attention-list {
display: flex;
flex-direction: column;
overflow: hidden;
border: 1px solid var(--color-border, #334155);
border-radius: 0.5rem; /* rounded-lg, matching app cards */
background: var(--color-card, #0f172a);
}
.attention-row {
display: flex;
align-items: center;
gap: 0.75rem;
width: 100%;
padding: 0.625rem 1rem; /* py-2.5 px-4, matching native row density */
text-align: left;
border: 0;
border-top: 1px solid var(--color-border, #334155);
background: transparent;
color: var(--color-foreground, #e2e8f0);
cursor: pointer;
}
.attention-row:first-child {
border-top: 0;
}
.attention-row:hover {
background: var(--color-accent, rgba(148, 163, 184, 0.1));
}
.attention-badge {
flex-shrink: 0;
font-size: 0.625rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
}
.attention-badge-error {
background: var(--color-destructive, #f87171);
color: var(--color-destructive-foreground, #ffffff);
}
.attention-badge-interaction {
background: var(--color-amber-500, #f59e0b);
color: #1c1917;
}
.attention-badge-unread {
background: var(--color-muted, #334155);
color: var(--color-muted-foreground, #94a3b8);
}
.attention-row-body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 0.125rem;
}
.attention-row-title {
font-size: 0.875rem; /* text-sm — app's body/detail row size */
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.attention-row-detail {
font-size: 0.75rem; /* text-xs */
color: var(--color-muted-foreground, #94a3b8);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.attention-row-meta {
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 0.125rem;
}
.attention-row-label,
.attention-row-time {
font-size: 0.75rem; /* text-xs */
color: var(--color-muted-foreground, #94a3b8);
}
.attention-error {
margin: 0;
font-size: 0.875rem;
color: var(--color-destructive, #f87171);
}
.attention-empty {
margin: 0;
padding: 0.625rem 1rem;
font-size: 0.875rem;
color: var(--color-muted-foreground, #94a3b8);
}
.attention-footer {
margin: 0;
font-size: 0.75rem;
color: var(--color-muted-foreground, #94a3b8);
}