@dmsej108/design-system 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Badge/Badge.d.ts +13 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -0
- package/dist/components/Badge/index.d.ts +3 -0
- package/dist/components/Badge/index.d.ts.map +1 -0
- package/dist/components/BaseButton/BaseButton.d.ts +14 -0
- package/dist/components/BaseButton/BaseButton.d.ts.map +1 -0
- package/dist/components/BaseButton/index.d.ts +3 -0
- package/dist/components/BaseButton/index.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +14 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Card/Card.d.ts +13 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/index.d.ts +3 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +30 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Chip/Chip.d.ts +17 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -0
- package/dist/components/Chip/index.d.ts +3 -0
- package/dist/components/Chip/index.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +18 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +3 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/FileInput/FileInput.d.ts +19 -0
- package/dist/components/FileInput/FileInput.d.ts.map +1 -0
- package/dist/components/FileInput/index.d.ts +3 -0
- package/dist/components/FileInput/index.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +17 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/index.d.ts +3 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +14 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/index.d.ts +3 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +18 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +3 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.d.ts +11 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/index.d.ts +3 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +25 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/index.d.ts +3 -0
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +19 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Tab/Tab.d.ts +18 -0
- package/dist/components/Tab/Tab.d.ts.map +1 -0
- package/dist/components/Tab/index.d.ts +3 -0
- package/dist/components/Tab/index.d.ts.map +1 -0
- package/dist/components/Table/Table.d.ts +23 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/index.d.ts +3 -0
- package/dist/components/Table/index.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +15 -0
- package/dist/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/Textarea/index.d.ts +3 -0
- package/dist/components/Textarea/index.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts +32 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -0
- package/dist/components/Toast/index.d.ts +3 -0
- package/dist/components/Toast/index.d.ts.map +1 -0
- package/dist/components/Typography/Typography.d.ts +10 -0
- package/dist/components/Typography/Typography.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +3 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +39 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1407 -0
- package/dist/index.js.map +1 -0
- package/package.json +76 -0
- package/src/styles/base/common.css +2060 -0
- package/src/styles/base/ellipsis.xml +1 -0
- package/src/styles/base/fonts.css +39 -0
- package/src/styles/base/layout.css +864 -0
- package/src/styles/base/reset.css +241 -0
- package/src/styles/components/breadcrumb.css +39 -0
- package/src/styles/components/button.css +423 -0
- package/src/styles/components/dashboard.css +970 -0
- package/src/styles/components/ellipsis.xml +1 -0
- package/src/styles/components/form.css +744 -0
- package/src/styles/components/loading.css +93 -0
- package/src/styles/components/login.css +405 -0
- package/src/styles/components/modal.css +218 -0
- package/src/styles/components/operate.css +85 -0
- package/src/styles/components/tab.css +80 -0
- package/src/styles/components/table.css +1024 -0
- package/src/styles/components/tree.css +284 -0
- package/src/styles/img/kb_logo.png +0 -0
- package/src/styles/index.css +18 -0
- package/src/styles/swiper.min.css +658 -0
- package/src/tokens/Tokens.stories.tsx +185 -0
- package/src/tokens/index.css +295 -0
|
@@ -0,0 +1,744 @@
|
|
|
1
|
+
/*****************************************************************
|
|
2
|
+
input text
|
|
3
|
+
*****************************************************************/
|
|
4
|
+
.form-control {
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 32px;
|
|
7
|
+
padding: 10px;
|
|
8
|
+
border: 1px solid var(--base-bd-color);
|
|
9
|
+
border-radius: 3px;
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
font-size: 12px;
|
|
12
|
+
color: #222;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.form-control.slm {
|
|
16
|
+
height: 30px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.form-control.sm {
|
|
20
|
+
height: 28px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.form-control:disabled,
|
|
24
|
+
.form-control[readonly] {
|
|
25
|
+
background-color: #f2f2f2;
|
|
26
|
+
color: #999;
|
|
27
|
+
opacity: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.form-control:focus,
|
|
31
|
+
.form-control.active {
|
|
32
|
+
border-color: #999;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.form-control.error {
|
|
36
|
+
border-color: #ff3232;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
input[type='password'].form-control {
|
|
40
|
+
font-size: 20px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.input-guide {
|
|
44
|
+
display: block;
|
|
45
|
+
position: relative;
|
|
46
|
+
margin-top: 6px;
|
|
47
|
+
padding-left: 18px;
|
|
48
|
+
font-size: 11px;
|
|
49
|
+
color: #767676;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.input-guide::before {
|
|
53
|
+
content: '';
|
|
54
|
+
position: absolute;
|
|
55
|
+
top: 0;
|
|
56
|
+
left: 0;
|
|
57
|
+
width: 14px;
|
|
58
|
+
height: 14px;
|
|
59
|
+
background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' fill='none'/%3E%3Crect x='1' y='1' width='30' height='30' rx='15' fill='%23CCCCCC'/%3E%3Crect x='14.4004' y='13.6001' width='3.2' height='9.6' rx='1.6' fill='white'/%3E%3Crect x='14.4004' y='8.80002' width='3.2' height='3.2' rx='1.6' fill='white'/%3E%3C/svg%3E");
|
|
60
|
+
background-size: 14px 14px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.input-guide.error {
|
|
64
|
+
color: #ff3232;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.input-guide.error::before {
|
|
68
|
+
background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' fill='none'/%3E%3Crect x='1' y='1' width='30' height='30' rx='15' fill='%23ff3232'/%3E%3Crect x='14.4004' y='13.6001' width='3.2' height='9.6' rx='1.6' fill='white'/%3E%3Crect x='14.4004' y='8.80002' width='3.2' height='3.2' rx='1.6' fill='white'/%3E%3C/svg%3E");
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.input-guide .input-guide-sub {
|
|
72
|
+
display: block;
|
|
73
|
+
margin-top: 6px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.input-timer {
|
|
77
|
+
display: block;
|
|
78
|
+
margin-top: 6px;
|
|
79
|
+
font-size: 11px;
|
|
80
|
+
color: #767676;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.input-timer strong {
|
|
84
|
+
color: #444;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/*****************************************************************
|
|
88
|
+
textarea
|
|
89
|
+
*****************************************************************/
|
|
90
|
+
.textarea {
|
|
91
|
+
position: relative;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.textarea .txt-counter {
|
|
96
|
+
position: absolute;
|
|
97
|
+
right: 10px;
|
|
98
|
+
bottom: 10px;
|
|
99
|
+
font-size: 12px;
|
|
100
|
+
color: #999;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.textarea .txt-counter.error {
|
|
104
|
+
color: #ff3232;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.auto-height {
|
|
108
|
+
display: inline-grid !important;
|
|
109
|
+
align-items: initial !important;
|
|
110
|
+
position: relative;
|
|
111
|
+
width: 100%;
|
|
112
|
+
padding: 0;
|
|
113
|
+
border: none;
|
|
114
|
+
vertical-align: top;
|
|
115
|
+
align-items: stretch
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.auto-height textarea {
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.auto-height textarea,
|
|
123
|
+
.auto-height::after {
|
|
124
|
+
display: block;
|
|
125
|
+
height: auto;
|
|
126
|
+
line-height: 1.4;
|
|
127
|
+
padding: 8px 10px 7px;
|
|
128
|
+
font-size: 12px;
|
|
129
|
+
color: #222;
|
|
130
|
+
grid-area: 2/1;
|
|
131
|
+
resize: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.auto-height::after {
|
|
135
|
+
content: attr(data-value) " ";
|
|
136
|
+
visibility: hidden;
|
|
137
|
+
white-space: pre-wrap;
|
|
138
|
+
appearance: none;
|
|
139
|
+
-webkit-appearance: none;
|
|
140
|
+
-moz-appearance: none
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/*****************************************************************
|
|
144
|
+
select
|
|
145
|
+
*****************************************************************/
|
|
146
|
+
.flex>.custom-select {
|
|
147
|
+
width: 100%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.custom-select {
|
|
151
|
+
width: auto;
|
|
152
|
+
min-width: 120px;
|
|
153
|
+
height: 32px;
|
|
154
|
+
padding: 0 23px 0 8px;
|
|
155
|
+
border-color: var(--base-bd-color);
|
|
156
|
+
border-radius: 3px;
|
|
157
|
+
font-size: 12px;
|
|
158
|
+
color: #222;
|
|
159
|
+
background: #fff url("data:image/svg+xml,%3Csvg width='13' height='12' viewBox='0 0 13 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.95099 4.20001L6.95099 7.20001L3.95099 4.20001' stroke='%23767676'/%3E%3C/svg%3E") right 9px center no-repeat;
|
|
160
|
+
-webkit-appearance: none;
|
|
161
|
+
-moz-appearance: none;
|
|
162
|
+
appearance: none;
|
|
163
|
+
}
|
|
164
|
+
.custom-select + .react-datepicker-wrapper {
|
|
165
|
+
margin-left: 10px;
|
|
166
|
+
}
|
|
167
|
+
.react-datepicker-wrapper {
|
|
168
|
+
border: 0;
|
|
169
|
+
margin-right: 10px;
|
|
170
|
+
padding: 0;
|
|
171
|
+
display: inline-block;
|
|
172
|
+
}
|
|
173
|
+
.react-datepicker__input-container {
|
|
174
|
+
width: 100%;
|
|
175
|
+
display: inline-block;
|
|
176
|
+
position: relative;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.react-datepicker__input-container > input {
|
|
180
|
+
border: 1px solid var(--base-bd-color);
|
|
181
|
+
color: #222;
|
|
182
|
+
border-radius: 3px;
|
|
183
|
+
width: 100%;
|
|
184
|
+
max-width: 110px;
|
|
185
|
+
height: 32px;
|
|
186
|
+
padding: 10px;
|
|
187
|
+
font-size: 12px;
|
|
188
|
+
font-weight: 400;
|
|
189
|
+
}
|
|
190
|
+
.custom-select + .custom-select, .form-control + .custom-select, .custom-select + .form-control {
|
|
191
|
+
margin-left: 8px !important;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.custom-select.inline {
|
|
195
|
+
min-width: auto;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.custom-select.sm {
|
|
199
|
+
height: 28px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.custom-select.time {
|
|
203
|
+
min-width: 60px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.custom-select:hover:not(:disabled) {
|
|
207
|
+
background-color: #f2f2f2;
|
|
208
|
+
color: #444;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.custom-select:disabled {
|
|
212
|
+
border-color: #ebebeb;
|
|
213
|
+
color: #ababab;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/*****************************************************************
|
|
217
|
+
checkbox, radio
|
|
218
|
+
*****************************************************************/
|
|
219
|
+
span.radio input[type="radio"],
|
|
220
|
+
span.checkbox input[type="checkbox"] {
|
|
221
|
+
position: absolute;
|
|
222
|
+
width: 1px;
|
|
223
|
+
height: 1px;
|
|
224
|
+
margin: -1px;
|
|
225
|
+
border: 0;
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
padding: 0;
|
|
228
|
+
clip: rect(0, 0, 0, 0);
|
|
229
|
+
-webkit-appearance: none;
|
|
230
|
+
opacity: 0
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
input[type="radio"]+label,
|
|
234
|
+
input[type="checkbox"]+label {
|
|
235
|
+
display: inline-block;
|
|
236
|
+
position: relative;
|
|
237
|
+
min-height: 16px;
|
|
238
|
+
line-height: 1.4;
|
|
239
|
+
padding-left: 22px;
|
|
240
|
+
cursor: pointer;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
input[type="radio"]+label.sg,
|
|
244
|
+
input[type="checkbox"]+label.sg {
|
|
245
|
+
padding-left: 16px;
|
|
246
|
+
vertical-align: middle
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
input[type="radio"]+label::before,
|
|
250
|
+
input[type="checkbox"]+label::before {
|
|
251
|
+
content: '';
|
|
252
|
+
position: absolute;
|
|
253
|
+
top: 0;
|
|
254
|
+
left: 0;
|
|
255
|
+
width: 16px;
|
|
256
|
+
height: 16px;
|
|
257
|
+
background-color: #fff;
|
|
258
|
+
border: 1px solid #999;
|
|
259
|
+
box-sizing: border-box;
|
|
260
|
+
background-position: 50% 50%;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
input[type="radio"]:disabled+label::before,
|
|
264
|
+
input[type="checkbox"]:disabled+label::before {
|
|
265
|
+
border-color: #d2d2d2;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
input[type="radio"]+label::before {
|
|
269
|
+
border-radius: 100%;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
input[type="radio"]:checked+label::before {
|
|
273
|
+
border-width: 4px;
|
|
274
|
+
border-color: #fed700;
|
|
275
|
+
background-color: #222;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
input[type="radio"].readonly:checked+label::before {
|
|
279
|
+
border-width: 1px;
|
|
280
|
+
border-color: #d2d2d2;
|
|
281
|
+
background-color: #fff;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
input[type="radio"].readonly:disabled+label::after {
|
|
285
|
+
content: '';
|
|
286
|
+
position: absolute;
|
|
287
|
+
top: 4px;
|
|
288
|
+
left: 4px;
|
|
289
|
+
width: 8px;
|
|
290
|
+
height: 8px;
|
|
291
|
+
background-color: #d2d2d2;
|
|
292
|
+
border-radius: 100%;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.radio-group.btn-group {
|
|
296
|
+
display: flex;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.radio-group.btn-group .radio {
|
|
300
|
+
display: block;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.radio-group.btn-group .radio+.radio {
|
|
304
|
+
margin-left: 6px;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.radio-group.btn-group .radio input[type="radio"]+label {
|
|
308
|
+
display: block;
|
|
309
|
+
height: 28px;
|
|
310
|
+
line-height: 28px;
|
|
311
|
+
padding: 0 8px;
|
|
312
|
+
border: 1px solid #d2d2d2;
|
|
313
|
+
background-color: #fff;
|
|
314
|
+
font-size: 12px;
|
|
315
|
+
font-weight: 400;
|
|
316
|
+
color: #767676;
|
|
317
|
+
border-radius: 3px;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.radio-group.btn-group .radio input[type="radio"]:checked+label {
|
|
321
|
+
border-color: #fed700;
|
|
322
|
+
background-color: #fed700;
|
|
323
|
+
font-weight: bold;
|
|
324
|
+
color: #222;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.radio-group.btn-group .radio input[type="radio"]:hover+label {
|
|
328
|
+
background-color: #f2f2f2;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.radio-group.btn-group .radio input[type="radio"]:checked:hover+label {
|
|
332
|
+
background-color: #ffed90;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.radio-group.btn-group .radio input[type="radio"]:checked+label {
|
|
336
|
+
border-color: #fed700;
|
|
337
|
+
background-color: #fed700;
|
|
338
|
+
font-weight: bold;
|
|
339
|
+
color: #222;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.radio-group.btn-group .radio input[type="radio"]:disabled+label {
|
|
343
|
+
border-color: #ebebeb;
|
|
344
|
+
color: #a8a8a8;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.radio-group.btn-group .radio input[type="radio"]+label::before,
|
|
348
|
+
.radio-group.btn-group .radio input[type="radio"]+label::after {
|
|
349
|
+
display: none;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.ui-radio-switch {
|
|
353
|
+
display: inline-block;
|
|
354
|
+
padding: 6px;
|
|
355
|
+
background-color: #f7f7f7;
|
|
356
|
+
border: 1px solid var(--base-bd2-color);
|
|
357
|
+
border-radius: 6px;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.ui-radio-switch .radio {
|
|
361
|
+
display: inline-block;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.ui-radio-switch .radio + .radio {
|
|
365
|
+
margin-left: -4px;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.ui-radio-switch .radio input[type="radio"]+label {
|
|
369
|
+
display: block;
|
|
370
|
+
height: 32px;
|
|
371
|
+
line-height: 32px;
|
|
372
|
+
padding: 0 15px;
|
|
373
|
+
font-size: 13px;
|
|
374
|
+
font-weight: bold;
|
|
375
|
+
color: #666;
|
|
376
|
+
border-radius: 4px;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.ui-radio-switch .radio input[type="radio"]:checked+label {
|
|
380
|
+
background-color: #ffcc00;
|
|
381
|
+
color: #222;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.ui-radio-switch .radio input[type="radio"]+label::before,
|
|
385
|
+
.ui-radio-switch .radio input[type="radio"]+label::after {
|
|
386
|
+
display: none;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
input[type="checkbox"]+label::before {
|
|
390
|
+
border-radius: 3px;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
input[type="checkbox"]:checked+label::before {
|
|
394
|
+
border-color: #ffdd2d;
|
|
395
|
+
background-color: #ffdd2d;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
input[type="checkbox"]:checked+label::before {
|
|
399
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7.85453L6.85714 10.4L12 4.79999' stroke='%23222222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
input[type="checkbox"].readonly:disabled+label::before {
|
|
403
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7.85453L6.85714 10.4L12 4.79999' stroke='%23d2d2d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.checkbox,
|
|
407
|
+
.radio {
|
|
408
|
+
position: relative;
|
|
409
|
+
display: inline-block;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.radio+.radio,
|
|
413
|
+
.checkbox+.checkbox {
|
|
414
|
+
margin-left: 20px;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.checkbox.sg, .radio.sg {
|
|
418
|
+
display: inline-block;
|
|
419
|
+
position: relative;
|
|
420
|
+
width: 16px;
|
|
421
|
+
height: 16px;
|
|
422
|
+
margin: 0;
|
|
423
|
+
vertical-align: middle
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.checkbox.sg input[type="radio"]+label,
|
|
427
|
+
.radio.sg input[type="checkbox"]+label {
|
|
428
|
+
width: 16px;
|
|
429
|
+
height: 16px;
|
|
430
|
+
margin: 0;
|
|
431
|
+
padding: 0
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/*****************************************************************
|
|
435
|
+
input file
|
|
436
|
+
*****************************************************************/
|
|
437
|
+
.btn-file {
|
|
438
|
+
display: inline-block;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.btn-file label {
|
|
442
|
+
display: block;
|
|
443
|
+
height: 28px;
|
|
444
|
+
line-height: 28px;
|
|
445
|
+
padding: 0 8px;
|
|
446
|
+
border: 1px solid var(--base-bd-color);
|
|
447
|
+
background-color: #fff;
|
|
448
|
+
font-size: 12px;
|
|
449
|
+
color: #464646;
|
|
450
|
+
border-radius: 3px;
|
|
451
|
+
cursor: pointer;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.btn-file label:hover,
|
|
455
|
+
.btn-file label:focus {
|
|
456
|
+
background-color: #f2f2f2;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.upload-file-box {
|
|
460
|
+
width: 578px;
|
|
461
|
+
margin-top: 10px;
|
|
462
|
+
border: 1px solid var(--base-bd-color);
|
|
463
|
+
border-radius: 3px;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.upload-file-box .upload-file-head {
|
|
467
|
+
position: relative;
|
|
468
|
+
padding: 6px 10px 6px 32px;
|
|
469
|
+
border-bottom: 1px solid var(--base-bd-color);
|
|
470
|
+
font-size: 12px;
|
|
471
|
+
color: #767676;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.upload-file-box .upload-file-head .del-all {
|
|
475
|
+
position: absolute;
|
|
476
|
+
top: 7px;
|
|
477
|
+
left: 10px;
|
|
478
|
+
width: 12px;
|
|
479
|
+
height: 12px;
|
|
480
|
+
padding: 0;
|
|
481
|
+
border: none;
|
|
482
|
+
background-color: transparent;
|
|
483
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.15035 2.85486C8.95535 2.65986 8.64035 2.65986 8.44535 2.85486L6.00035 5.29486L3.55535 2.84986C3.36035 2.65486 3.04535 2.65486 2.85035 2.84986C2.65535 3.04486 2.65535 3.35986 2.85035 3.55486L5.29535 5.99986L2.85035 8.44486C2.65535 8.63986 2.65535 8.95486 2.85035 9.14986C3.04535 9.34486 3.36035 9.34486 3.55535 9.14986L6.00035 6.70486L8.44535 9.14986C8.64035 9.34486 8.95535 9.34486 9.15035 9.14986C9.34535 8.95486 9.34535 8.63986 9.15035 8.44486L6.70535 5.99986L9.15035 3.55486C9.34035 3.36486 9.34035 3.04486 9.15035 2.85486Z' fill='%23767676'/%3E%3C/svg%3E");
|
|
484
|
+
background-repeat: no-repeat;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.upload-file-box .upload-file-list .upload-file-list-item {
|
|
488
|
+
position: relative;
|
|
489
|
+
padding: 8px 10px 8px 32px;
|
|
490
|
+
border: none;
|
|
491
|
+
font-size: 12px;
|
|
492
|
+
color: #444;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.upload-file-box .upload-file-list .upload-file-list-item .del {
|
|
496
|
+
position: absolute;
|
|
497
|
+
top: 10px;
|
|
498
|
+
left: 10px;
|
|
499
|
+
width: 12px;
|
|
500
|
+
height: 12px;
|
|
501
|
+
padding: 0;
|
|
502
|
+
border: none;
|
|
503
|
+
background-color: transparent;
|
|
504
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.15035 2.85486C8.95535 2.65986 8.64035 2.65986 8.44535 2.85486L6.00035 5.29486L3.55535 2.84986C3.36035 2.65486 3.04535 2.65486 2.85035 2.84986C2.65535 3.04486 2.65535 3.35986 2.85035 3.55486L5.29535 5.99986L2.85035 8.44486C2.65535 8.63986 2.65535 8.95486 2.85035 9.14986C3.04535 9.34486 3.36035 9.34486 3.55535 9.14986L6.00035 6.70486L8.44535 9.14986C8.64035 9.34486 8.95535 9.34486 9.15035 9.14986C9.34535 8.95486 9.34535 8.63986 9.15035 8.44486L6.70535 5.99986L9.15035 3.55486C9.34035 3.36486 9.34035 3.04486 9.15035 2.85486Z' fill='%23767676'/%3E%3C/svg%3E");
|
|
505
|
+
background-repeat: no-repeat;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.upload-file-box .upload-file-list .upload-file-list-item .name {
|
|
509
|
+
display: inline-block;
|
|
510
|
+
position: relative;
|
|
511
|
+
padding-left: 20px;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.upload-file-box .upload-file-list .upload-file-list-item .name::before {
|
|
515
|
+
content: '';
|
|
516
|
+
position: absolute;
|
|
517
|
+
top: 0;
|
|
518
|
+
left: 0;
|
|
519
|
+
width: 16px;
|
|
520
|
+
height: 16px;
|
|
521
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 13.5H4C3.72386 13.5 3.5 13.2761 3.5 13V3C3.5 2.72386 3.72386 2.5 4 2.5H8.58579C8.71839 2.5 8.84557 2.55268 8.93934 2.64645L12.3536 6.06066C12.4473 6.15443 12.5 6.2816 12.5 6.41421V13C12.5 13.2761 12.2761 13.5 12 13.5Z' stroke='%23444444'/%3E%3Cpath d='M8 2V6C8 6.55228 8.44772 7 9 7H13' stroke='%23444444'/%3E%3C/svg%3E");
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.upload-file-box .upload-file-list .upload-file-list-item .img {
|
|
525
|
+
display: inline-block;
|
|
526
|
+
position: relative;
|
|
527
|
+
width: 100px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.upload-file-box .upload-file-list .upload-file-list-item .img img {
|
|
531
|
+
width: 100%;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.num-counter {
|
|
535
|
+
display: flex;
|
|
536
|
+
align-items: center;
|
|
537
|
+
position: relative;
|
|
538
|
+
width: 150px;
|
|
539
|
+
border: 1px solid #d2d2d2;
|
|
540
|
+
border-radius: 3px;
|
|
541
|
+
overflow: hidden;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.num-counter-plus,
|
|
545
|
+
.num-counter-minus {
|
|
546
|
+
position: relative;
|
|
547
|
+
width: 32px;
|
|
548
|
+
height: 32px;
|
|
549
|
+
background-position: 50% 50%;
|
|
550
|
+
background-repeat: no-repeat;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.num-counter-plus:hover,
|
|
554
|
+
.num-counter-plus:focus,
|
|
555
|
+
.num-counter-minus:hover,
|
|
556
|
+
.num-counter-minus:focus {
|
|
557
|
+
background-color: #f2f2f2;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.num-counter-plus {
|
|
561
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='5' width='12' height='1.5' rx='0.75' fill='%23464646'/%3E%3Crect x='5' y='12' width='12' height='1.5' rx='0.75' transform='rotate(-90 5 12)' fill='%23464646'/%3E%3C/svg%3E");
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.num-counter-minus {
|
|
565
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='2' viewBox='0 0 12 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='12' height='1.5' rx='0.75' fill='%23464646'/%3E%3C/svg%3E");
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.num-counter-input {
|
|
569
|
+
width: 86px;
|
|
570
|
+
height: 32px;
|
|
571
|
+
line-height: 32px;
|
|
572
|
+
padding: 0;
|
|
573
|
+
border-width: 0 1px;
|
|
574
|
+
border-style: solid;
|
|
575
|
+
border-color: #d2d2d2;
|
|
576
|
+
text-align: center;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/*****************************************************************
|
|
580
|
+
Vue Datepicker
|
|
581
|
+
*****************************************************************/
|
|
582
|
+
.dp__input_wrap::before {
|
|
583
|
+
content: '';
|
|
584
|
+
position: absolute;
|
|
585
|
+
top: 8px;
|
|
586
|
+
left: 8px;
|
|
587
|
+
width: 16px;
|
|
588
|
+
height: 16px;
|
|
589
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.5 3C5.22386 3 5 3.22386 5 3.5V4H4C3.44772 4 3 4.44772 3 5V6V7V12C3 12.5523 3.44772 13 4 13H12C12.5523 13 13 12.5523 13 12V7V6V5C13 4.44772 12.5523 4 12 4H11V3.5C11 3.22386 10.7761 3 10.5 3C10.2239 3 10 3.22386 10 3.5V4H6V3.5C6 3.22386 5.77614 3 5.5 3ZM12 6V5H4V6H12ZM4 7V12H12V7H4Z' fill='%23222222'/%3E%3C/svg%3E");
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.dp__input_wrap svg {
|
|
593
|
+
display: none;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.dp__input {
|
|
597
|
+
height: 32px;
|
|
598
|
+
padding: 0 0 0 28px;
|
|
599
|
+
border-color: #d2d2d2;
|
|
600
|
+
font-size: 12px;
|
|
601
|
+
color: #444;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.ui-datepicker {
|
|
605
|
+
width: 100px;
|
|
606
|
+
}
|
|
607
|
+
.ui-datepicker.relative .dp--menu-wrapper {
|
|
608
|
+
position: initial;
|
|
609
|
+
margin-top: 10px;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.ui-datepicker .dp__arrow_top {
|
|
613
|
+
display: none;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.ui-datepicker.ss .dp__input {
|
|
617
|
+
height: 28px;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.ui-datepicker.ss .dp__input_wrap::before {
|
|
621
|
+
top: 6px;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.ui-datepicker-range {
|
|
625
|
+
display: flex;
|
|
626
|
+
align-items: center;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.ui-datepicker-range .custom-select {
|
|
630
|
+
margin-left: 8px;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/*****************************************************************
|
|
634
|
+
etc
|
|
635
|
+
*****************************************************************/
|
|
636
|
+
.ui-div-form {
|
|
637
|
+
display: inline-block;
|
|
638
|
+
padding: 0 20px;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.ui-coupler {
|
|
642
|
+
display: inline-block;
|
|
643
|
+
padding: 0 6px;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.ui-unit {
|
|
647
|
+
display: inline-block;
|
|
648
|
+
margin-left: 5px;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/*****************************************************************
|
|
652
|
+
form layout
|
|
653
|
+
*****************************************************************/
|
|
654
|
+
.reg-group {
|
|
655
|
+
display: flex;
|
|
656
|
+
align-items: center;
|
|
657
|
+
position: relative;
|
|
658
|
+
width: 578px;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.reg-group.flex-column {
|
|
662
|
+
align-items: baseline;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.reg-group.top {
|
|
666
|
+
align-items: normal
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.reg-group+.reg-group {
|
|
670
|
+
margin-top: 16px;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.reg-group .reg-item {
|
|
674
|
+
flex: 1;
|
|
675
|
+
margin-top: 0;
|
|
676
|
+
margin-bottom: 0;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.reg-group.inline {
|
|
680
|
+
width: auto;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.reg-group.inline .reg-item {
|
|
684
|
+
flex: none;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.reg-item+.reg-item {
|
|
688
|
+
margin-left: 10px;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.flex-column > .reg-item+.reg-item {
|
|
692
|
+
margin: 5px 0 0;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.reg-item .custom-select,
|
|
696
|
+
.reg-item .form-control {
|
|
697
|
+
flex: 1;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.reg-item.sg .custom-select,
|
|
701
|
+
.reg-item.sg .form-control {
|
|
702
|
+
flex: none;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
[class*='abs-item-'] {
|
|
706
|
+
position: absolute;
|
|
707
|
+
top: 0;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.abs-item-r {
|
|
711
|
+
right: 0;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.ui-chips {
|
|
715
|
+
position: relative;
|
|
716
|
+
width: 100%;
|
|
717
|
+
padding: 0 0 5px 5px;
|
|
718
|
+
border: 1px solid #d2d2d2;
|
|
719
|
+
border-radius: 5px;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
.ui-chips-item {
|
|
723
|
+
display: inline-block;
|
|
724
|
+
position: relative;
|
|
725
|
+
height: 20px;
|
|
726
|
+
line-height: 22px;
|
|
727
|
+
margin: 5px 5px 0 0;
|
|
728
|
+
padding: 0 5px 0 10px;
|
|
729
|
+
background-color: #ebebeb;
|
|
730
|
+
border-radius: 3px;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.ui-chips-del {
|
|
734
|
+
display: inline-block;
|
|
735
|
+
width: 20px;
|
|
736
|
+
height: 20px;
|
|
737
|
+
padding: 0;
|
|
738
|
+
border: none;
|
|
739
|
+
background-color: transparent;
|
|
740
|
+
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.15035 2.85486C8.95535 2.65986 8.64035 2.65986 8.44535 2.85486L6.00035 5.29486L3.55535 2.84986C3.36035 2.65486 3.04535 2.65486 2.85035 2.84986C2.65535 3.04486 2.65535 3.35986 2.85035 3.55486L5.29535 5.99986L2.85035 8.44486C2.65535 8.63986 2.65535 8.95486 2.85035 9.14986C3.04535 9.34486 3.36035 9.34486 3.55535 9.14986L6.00035 6.70486L8.44535 9.14986C8.64035 9.34486 8.95535 9.34486 9.15035 9.14986C9.34535 8.95486 9.34535 8.63986 9.15035 8.44486L6.70535 5.99986L9.15035 3.55486C9.34035 3.36486 9.34035 3.04486 9.15035 2.85486Z' fill='%23767676'/%3E%3C/svg%3E");
|
|
741
|
+
background-repeat: no-repeat;
|
|
742
|
+
background-position: 50% 50%;
|
|
743
|
+
vertical-align: top;
|
|
744
|
+
}
|