blob: a164ca764f3f3fe089ca602d0b3db654129e7fb3 (
plain)
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
// 覆盖层与面板都挂在连接表格容器内(absolute 定位),
// 模糊只作用于表格区域,不影响页面其它部分
.overlay {
position: absolute;
inset: 0;
z-index: 20;
background: rgba(15, 23, 42, 0.32);
backdrop-filter: blur(3px) saturate(0.9);
animation: overlayFade 0.18s ease;
}
.panel {
position: absolute;
top: 50%;
left: 50%;
translate: -50% -50%;
z-index: 21;
display: flex;
flex-direction: column;
width: min(560px, calc(100% - 32px));
max-height: calc(100% - 32px);
border-radius: 18px;
background: var(--bg-modal);
border: 1px solid var(--color-card-border);
box-shadow: var(--shadow-popover);
overflow: hidden;
animation: panelIn 0.18s ease;
}
@keyframes overlayFade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes panelIn {
from {
opacity: 0;
scale: 0.96;
}
to {
opacity: 1;
scale: 1;
}
}
.header {
display: flex;
align-items: center;
flex-shrink: 0;
gap: 12px;
padding: 16px 22px;
border-bottom: 1px solid var(--color-separator);
}
.headerTitle {
min-width: 0;
font-size: 1rem;
font-weight: 600;
color: var(--color-text-highlight);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.headerClose {
display: flex;
align-items: center;
justify-content: center;
margin-left: auto;
flex-shrink: 0;
width: 26px;
height: 26px;
border: none;
border-radius: 50%;
background: var(--color-badge-bg);
color: var(--color-text-secondary);
cursor: pointer;
&:hover {
background: var(--color-hover-soft);
color: var(--color-text-highlight);
}
}
.body {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 18px 22px 22px;
}
.grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
gap: 0;
border-radius: 12px;
border: 1px solid var(--color-card-border);
overflow: hidden;
}
.item {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
padding: 10px 14px;
background: var(--color-card);
&:nth-child(4n + 1),
&:nth-child(4n + 2) {
background: var(--color-track);
}
&:nth-child(odd) {
border-right: 1px solid var(--color-card-border);
}
&:nth-last-child(-n + 2) {
border-bottom: none;
}
}
.label {
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--color-text-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.value {
font-size: 0.82rem;
color: var(--color-text);
overflow-wrap: anywhere;
font-variant-numeric: tabular-nums;
}
|