customerGroup.css
1.85 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
.uj-combo-search {
display: flex;
gap: 12px;
margin-bottom: 16px;
}
.uj-combo-search .ant-input-affix-wrapper,
.uj-combo-search .ant-input {
max-width: 360px;
}
/* 群活码编辑页:表单限宽避免输入框拉通整屏,群池用带序号的徽章网格表达分配顺序。 */
.uc-group-form {
max-width: 960px;
}
.uc-group-tip {
margin: 0 0 12px;
color: var(--uj-text-3);
font-size: var(--uj-font-xs);
}
.uc-group-pool {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 8px;
}
.uc-group-chip {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
padding: 6px 10px;
border-radius: var(--uj-radius-md);
background: var(--uj-surface-2);
transition: background 0.15s var(--uj-ease-out);
}
.uc-group-chip:hover {
background: var(--uj-surface-3);
}
.uc-group-chip__index {
flex: none;
display: inline-grid;
place-items: center;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--uj-surface);
color: var(--uj-text-3);
font-size: var(--uj-font-xs);
font-variant-numeric: var(--uj-num);
}
.uc-group-chip__name {
flex: 1;
min-width: 0;
overflow: hidden;
color: var(--uj-text-1);
font-size: var(--uj-font-sm);
white-space: nowrap;
text-overflow: ellipsis;
}
.uc-group-chip__remove {
flex: none;
width: 16px;
height: 16px;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--uj-text-4);
cursor: pointer;
font-size: 14px;
line-height: 1;
transition:
color 0.15s var(--uj-ease-out),
background 0.15s var(--uj-ease-out);
}
.uc-group-chip__remove:hover {
color: var(--uj-error);
background: var(--uj-surface);
}
.uc-group-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 12px 0;
}
@media (max-width: 700px) {
.uc-group-pool {
grid-template-columns: 1fr;
}
}