vcomply-design-system 1.1.5 → 1.1.7
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/css-build/less/avatars/avatars.less +260 -257
- package/css-build/less/card/card.less +139 -130
- package/css-build/pages/avatars.html +1279 -981
- package/css-build/pages/card.html +585 -369
- package/package.json +1 -1
|
@@ -1,319 +1,322 @@
|
|
|
1
|
-
@import url(
|
|
2
|
-
@import url(
|
|
1
|
+
@import url("../mixin/mixin.less");
|
|
2
|
+
@import url("../color/color.less");
|
|
3
3
|
|
|
4
4
|
.vx-avatar {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
border: 2px solid @gray-20;
|
|
6
|
+
border-radius: 50%;
|
|
7
|
+
display: flex;
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
&.sm {
|
|
10
|
+
height: 1.5rem;
|
|
11
|
+
width: 1.5rem;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
13
|
+
span {
|
|
14
|
+
font-size: 9px;
|
|
16
15
|
}
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
&.md {
|
|
19
|
+
height: 1.75rem;
|
|
20
|
+
width: 1.75rem;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
&.lg {
|
|
24
|
+
height: 2rem;
|
|
25
|
+
width: 2rem;
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
&.xl {
|
|
29
|
+
height: 2.5rem;
|
|
30
|
+
width: 2.5rem;
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
32
|
+
span {
|
|
33
|
+
font-size: 16px;
|
|
35
34
|
}
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
&.large {
|
|
38
|
+
height: 3.75rem;
|
|
39
|
+
width: 3.75rem;
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
41
|
+
span {
|
|
42
|
+
font-size: 19px;
|
|
44
43
|
}
|
|
44
|
+
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
&.xxl {
|
|
47
|
+
height: 5rem;
|
|
48
|
+
width: 5rem;
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
50
|
+
span {
|
|
51
|
+
font-size: 23px;
|
|
53
52
|
}
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
&.huge {
|
|
56
|
+
border: none;
|
|
57
|
+
height: 6.25rem;
|
|
58
|
+
width: 6.25rem;
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
60
|
+
span {
|
|
61
|
+
font-size: 28px;
|
|
63
62
|
}
|
|
63
|
+
}
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
&.icon-avatars {
|
|
66
|
+
background: @gray-10;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
71
|
+
i {
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
color: @gray-70;
|
|
75
74
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
&.green {
|
|
92
|
-
&::before {
|
|
93
|
-
background: @green-60;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&.red {
|
|
98
|
-
&::before {
|
|
99
|
-
background: @red-60;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.badge-avatars {
|
|
78
|
+
position: relative;
|
|
79
|
+
|
|
80
|
+
&::before {
|
|
81
|
+
content: "";
|
|
82
|
+
border: 1px solid @neutral-0;
|
|
83
|
+
border-radius: 50px;
|
|
84
|
+
position: absolute;
|
|
85
|
+
bottom: -0.125rem;
|
|
86
|
+
right: -0.125rem;
|
|
87
|
+
width: 0.5rem;
|
|
88
|
+
height: 0.5rem;
|
|
102
89
|
}
|
|
103
90
|
|
|
104
|
-
&.
|
|
105
|
-
|
|
106
|
-
|
|
91
|
+
&.green {
|
|
92
|
+
&::before {
|
|
93
|
+
background: @green-60;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
107
96
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
97
|
+
&.red {
|
|
98
|
+
&::before {
|
|
99
|
+
background: @red-60;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.pill-avatars {
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
position: relative;
|
|
107
|
+
|
|
108
|
+
.count-pill {
|
|
109
|
+
background: @blue-60;
|
|
110
|
+
border-radius: 1.25rem;
|
|
111
|
+
border: 0.125rem solid @neutral-0;
|
|
112
|
+
color: @neutral-0;
|
|
113
|
+
font-size: 9px;
|
|
114
|
+
font-weight: 500;
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
padding: 0 0.25rem;
|
|
119
|
+
position: absolute;
|
|
120
|
+
bottom: -0.125rem;
|
|
121
|
+
left: 1rem;
|
|
122
|
+
min-width: 1.125rem;
|
|
123
|
+
height: 1rem;
|
|
124
|
+
|
|
125
|
+
&.green {
|
|
126
|
+
background: @green-60;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
125
129
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
130
|
+
.edit-pill {
|
|
131
|
+
background: @blue-60;
|
|
132
|
+
border-radius: 50%;
|
|
133
|
+
border: 0.125rem solid @neutral-0;
|
|
134
|
+
color: @neutral-0;
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: center;
|
|
138
|
+
position: absolute;
|
|
139
|
+
bottom: -0.125rem;
|
|
140
|
+
left: 1rem;
|
|
141
|
+
width: 1rem;
|
|
142
|
+
height: 1rem;
|
|
143
|
+
|
|
144
|
+
i {
|
|
145
|
+
font-size: 6px;
|
|
146
|
+
}
|
|
144
147
|
}
|
|
148
|
+
}
|
|
145
149
|
|
|
146
|
-
|
|
147
|
-
|
|
150
|
+
&.square-avatars {
|
|
151
|
+
border-radius: 0.25rem;
|
|
148
152
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
+
span,
|
|
154
|
+
img {
|
|
155
|
+
border-radius: 0.125rem;
|
|
153
156
|
}
|
|
157
|
+
}
|
|
154
158
|
|
|
159
|
+
// Old css
|
|
160
|
+
&.x-lg {
|
|
161
|
+
height: 80px;
|
|
162
|
+
width: 80px;
|
|
155
163
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
width : 80px;
|
|
160
|
-
|
|
161
|
-
span {
|
|
162
|
-
font-size : 18px;
|
|
163
|
-
font-weight: 600;
|
|
164
|
-
}
|
|
164
|
+
span {
|
|
165
|
+
font-size: 18px;
|
|
166
|
+
font-weight: 600;
|
|
165
167
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
&.counter {
|
|
169
|
-
cursor: pointer;
|
|
170
|
-
min-width: 28px;
|
|
171
|
-
width: auto;
|
|
172
|
-
border-radius: 20px;
|
|
173
|
-
padding: 0 4px;
|
|
174
|
-
background: @green-60;
|
|
168
|
+
}
|
|
169
|
+
// Old css
|
|
175
170
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
171
|
+
&.counter {
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
min-width: 28px;
|
|
174
|
+
width: auto;
|
|
175
|
+
border-radius: 20px;
|
|
176
|
+
padding: 0 4px;
|
|
177
|
+
background: @green-60;
|
|
180
178
|
|
|
181
179
|
span {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
font-size : 11px;
|
|
186
|
-
font-weight : 500;
|
|
187
|
-
color : @neutral-0;
|
|
188
|
-
width : 100%;
|
|
189
|
-
height : 100%;
|
|
190
|
-
border-radius : 50%;
|
|
191
|
-
text-transform : uppercase;
|
|
192
|
-
margin : 0;
|
|
193
|
-
background: @gray-20;
|
|
194
|
-
|
|
195
|
-
&.green {
|
|
196
|
-
background: @green-60;
|
|
197
|
-
}
|
|
180
|
+
background: transparent;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
198
183
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
184
|
+
span {
|
|
185
|
+
display: flex;
|
|
186
|
+
justify-content: center;
|
|
187
|
+
align-items: center;
|
|
188
|
+
font-size: 11px;
|
|
189
|
+
font-weight: 500;
|
|
190
|
+
color: @neutral-0;
|
|
191
|
+
width: 100%;
|
|
192
|
+
height: 100%;
|
|
193
|
+
border-radius: 50%;
|
|
194
|
+
text-transform: uppercase;
|
|
195
|
+
margin: 0;
|
|
196
|
+
background: @gray-20;
|
|
202
197
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
font-size: 14px !important;
|
|
206
|
-
}
|
|
198
|
+
&.green {
|
|
199
|
+
background: @green-60;
|
|
207
200
|
}
|
|
208
201
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
height : 100%;
|
|
212
|
-
border-radius: 50%;
|
|
202
|
+
&.blue {
|
|
203
|
+
background: @blue-60;
|
|
213
204
|
}
|
|
214
205
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
.vx-avatar+.vx-avatar {
|
|
219
|
-
margin-left: 20px;
|
|
220
|
-
}
|
|
206
|
+
&.grey {
|
|
207
|
+
color: @gray-60 !important;
|
|
208
|
+
font-size: 14px !important;
|
|
221
209
|
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
img {
|
|
213
|
+
width: 100%;
|
|
214
|
+
height: 100%;
|
|
215
|
+
border-radius: 50%;
|
|
216
|
+
}
|
|
222
217
|
|
|
223
|
-
|
|
224
|
-
|
|
218
|
+
&-container {
|
|
219
|
+
padding-bottom: 20px;
|
|
225
220
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
221
|
+
.vx-avatar + .vx-avatar {
|
|
222
|
+
margin-left: 20px;
|
|
229
223
|
}
|
|
230
|
-
}
|
|
224
|
+
}
|
|
231
225
|
|
|
232
|
-
|
|
226
|
+
&-group {
|
|
233
227
|
display: flex;
|
|
234
|
-
align-items: center;
|
|
235
|
-
width: 100%;
|
|
236
228
|
|
|
237
|
-
.vx-avatar {
|
|
238
|
-
|
|
229
|
+
.vx-avatar + .vx-avatar {
|
|
230
|
+
margin-left: -8px;
|
|
239
231
|
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
240
234
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
235
|
+
.avatar-name {
|
|
236
|
+
display: flex;
|
|
237
|
+
align-items: center;
|
|
238
|
+
width: 100%;
|
|
239
|
+
|
|
240
|
+
.vx-avatar {
|
|
241
|
+
margin-right: 0.5rem;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.userName {
|
|
245
|
+
color: @gray-60;
|
|
246
|
+
font-size: 11px;
|
|
247
|
+
line-height: 1rem;
|
|
248
|
+
text-overflow: ellipsis;
|
|
249
|
+
white-space: nowrap;
|
|
250
|
+
overflow: hidden;
|
|
251
|
+
width: calc(100% - 2.5rem);
|
|
252
|
+
}
|
|
250
253
|
}
|
|
251
254
|
|
|
252
255
|
.avatar-performance {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
width: 100%;
|
|
259
|
+
|
|
260
|
+
.vx-avatar {
|
|
261
|
+
margin-right: 0.5rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&-right {
|
|
265
|
+
width: calc(100% - 2.5rem);
|
|
256
266
|
|
|
257
|
-
.
|
|
258
|
-
|
|
267
|
+
.userName {
|
|
268
|
+
color: @gray-60;
|
|
269
|
+
font-size: 11px;
|
|
270
|
+
line-height: 1rem;
|
|
271
|
+
text-overflow: ellipsis;
|
|
272
|
+
white-space: nowrap;
|
|
273
|
+
overflow: hidden;
|
|
259
274
|
}
|
|
260
275
|
|
|
261
|
-
|
|
262
|
-
|
|
276
|
+
.performanceControls {
|
|
277
|
+
font-size: 9px;
|
|
278
|
+
font-weight: 500;
|
|
279
|
+
line-height: 0.75rem;
|
|
280
|
+
display: flex;
|
|
281
|
+
align-items: center;
|
|
263
282
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
line-height: 1rem;
|
|
268
|
-
text-overflow: ellipsis;
|
|
269
|
-
white-space: nowrap;
|
|
270
|
-
overflow: hidden;
|
|
283
|
+
span {
|
|
284
|
+
&:first-of-type {
|
|
285
|
+
color: @green-60;
|
|
271
286
|
}
|
|
272
287
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
border-radius: 1.25rem;
|
|
304
|
-
content: '';
|
|
305
|
-
position: absolute;
|
|
306
|
-
top: 5px;
|
|
307
|
-
right: .5rem;
|
|
308
|
-
width: .125rem;
|
|
309
|
-
height: .125rem;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
&:last-of-type {
|
|
314
|
-
color: @red-60;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
288
|
+
&:nth-of-type(2) {
|
|
289
|
+
color: @yellow-60;
|
|
290
|
+
position: relative;
|
|
291
|
+
padding: 0 1.125rem;
|
|
292
|
+
|
|
293
|
+
&::before {
|
|
294
|
+
background: @gray-40;
|
|
295
|
+
border-radius: 1.25rem;
|
|
296
|
+
content: "";
|
|
297
|
+
position: absolute;
|
|
298
|
+
top: 5px;
|
|
299
|
+
left: 0.5rem;
|
|
300
|
+
width: 0.125rem;
|
|
301
|
+
height: 0.125rem;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
&::after {
|
|
305
|
+
background: @gray-40;
|
|
306
|
+
border-radius: 1.25rem;
|
|
307
|
+
content: "";
|
|
308
|
+
position: absolute;
|
|
309
|
+
top: 5px;
|
|
310
|
+
right: 0.5rem;
|
|
311
|
+
width: 0.125rem;
|
|
312
|
+
height: 0.125rem;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
&:last-of-type {
|
|
317
|
+
color: @red-60;
|
|
317
318
|
}
|
|
319
|
+
}
|
|
318
320
|
}
|
|
319
|
-
}
|
|
321
|
+
}
|
|
322
|
+
}
|