BusinessForm.module.css
2.12 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.root {
display: flex;
flex-direction: column;
}
.field {
min-width: 0;
}
.formItem {
margin-bottom: 0;
}
.label {
display: inline-flex;
align-items: center;
gap: 4px;
min-height: 32px;
font-size: 14px;
color: #1f1f1f;
}
.required {
color: #d94841;
}
.controlWrap {
min-width: 0;
}
.controlHolder {
width: 100%;
min-width: 0;
}
.controlHolder :global(.t-input),
.controlHolder :global(.t-input-number),
.controlHolder :global(.t-select),
.controlHolder :global(.t-textarea),
.controlHolder :global(.t-input__wrap),
.controlHolder :global(.t-select__wrap),
.controlHolder :global(.t-textarea__wrap) {
width: 100%;
}
.helpText {
margin-top: 6px;
color: #a6a6a6;
font-size: 12px;
line-height: 1.5;
}
.error {
margin-top: 6px;
color: #d94841;
font-size: 12px;
line-height: 1.5;
}
.readonlyValue {
display: inline-flex;
min-height: 32px;
align-items: center;
gap: 12px;
color: #1f1f1f;
}
.switch {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 0 12px;
border: 1px solid #d9d9d9;
border-radius: 6px;
background: #fff;
}
.uploadWrap {
min-width: 0;
}
.uploadWrap :global(.t-upload__card) {
gap: 12px;
}
.uploadWrap :global(.t-upload__card-item) {
width: 110px;
}
.uploadWrap :global(.t-upload__card-content),
.uploadWrap :global(.t-upload__card-container) {
width: 110px;
height: 110px;
}
.uploadWrap :global(.t-upload__card-mask) {
background-color: rgba(0, 0, 0, 0.34);
}
.uploadWrap :global(.t-upload__card-name) {
display: block;
width: 110px;
min-width: 0;
white-space: nowrap;
word-break: normal;
overflow: hidden;
text-overflow: ellipsis;
}
.uploadVideoCard {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
background: #4b5563;
}
.uploadPreview {
display: inline-flex;
flex-direction: column;
gap: 8px;
width: 160px;
max-width: 100%;
}
.uploadPreviewName {
max-width: 100%;
}
.uploadImage,
.uploadVideo {
display: block;
width: 160px;
max-width: 100%;
border-radius: 8px;
background: #f3f4f6;
object-fit: cover;
}
.uploadVideo {
background: #111827;
}