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.
@@ -1,319 +1,322 @@
1
- @import url('../mixin/mixin.less');
2
- @import url('../color/color.less');
1
+ @import url("../mixin/mixin.less");
2
+ @import url("../color/color.less");
3
3
 
4
4
  .vx-avatar {
5
- border : 2px solid @gray-20;
6
- border-radius: 50%;
7
- display : flex;
5
+ border: 2px solid @gray-20;
6
+ border-radius: 50%;
7
+ display: flex;
8
8
 
9
- &.sm {
10
- height: 1.5rem;
11
- width: 1.5rem;
9
+ &.sm {
10
+ height: 1.5rem;
11
+ width: 1.5rem;
12
12
 
13
- span {
14
- font-size: 9px;
15
- }
13
+ span {
14
+ font-size: 9px;
16
15
  }
16
+ }
17
17
 
18
- &.md {
19
- height: 1.75rem;
20
- width: 1.75rem;
21
- }
18
+ &.md {
19
+ height: 1.75rem;
20
+ width: 1.75rem;
21
+ }
22
22
 
23
- &.lg {
24
- height: 2rem;
25
- width: 2rem;
26
- }
23
+ &.lg {
24
+ height: 2rem;
25
+ width: 2rem;
26
+ }
27
27
 
28
- &.xl {
29
- height: 2.5rem;
30
- width: 2.5rem;
28
+ &.xl {
29
+ height: 2.5rem;
30
+ width: 2.5rem;
31
31
 
32
- span {
33
- font-size: 16px;
34
- }
32
+ span {
33
+ font-size: 16px;
35
34
  }
35
+ }
36
36
 
37
- &.large {
38
- height: 3.75rem;
39
- width: 3.75rem;
37
+ &.large {
38
+ height: 3.75rem;
39
+ width: 3.75rem;
40
40
 
41
- span {
42
- font-size: 19px;
43
- }
41
+ span {
42
+ font-size: 19px;
44
43
  }
44
+ }
45
45
 
46
- &.xxl {
47
- height: 5rem;
48
- width: 5rem;
46
+ &.xxl {
47
+ height: 5rem;
48
+ width: 5rem;
49
49
 
50
- span {
51
- font-size: 23px;
52
- }
50
+ span {
51
+ font-size: 23px;
53
52
  }
53
+ }
54
54
 
55
- &.huge {
56
- border: none;
57
- height: 6.25rem;
58
- width: 6.25rem;
55
+ &.huge {
56
+ border: none;
57
+ height: 6.25rem;
58
+ width: 6.25rem;
59
59
 
60
- span {
61
- font-size: 28px;
62
- }
60
+ span {
61
+ font-size: 28px;
63
62
  }
63
+ }
64
64
 
65
- &.icon-avatars {
66
- background: @gray-10;
67
- display: flex;
68
- align-items : center;
69
- justify-content: center;
65
+ &.icon-avatars {
66
+ background: @gray-10;
67
+ display: flex;
68
+ align-items: center;
69
+ justify-content: center;
70
70
 
71
- i {
72
- font-size: 12px;
73
- color: @gray-70;
74
- }
71
+ i {
72
+ font-size: 12px;
73
+ color: @gray-70;
75
74
  }
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: -.125rem;
86
- right: -.125rem;
87
- width: .5rem;
88
- height: .5rem;
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
- &.pill-avatars {
105
- cursor: pointer;
106
- position: relative;
91
+ &.green {
92
+ &::before {
93
+ background: @green-60;
94
+ }
95
+ }
107
96
 
108
- .count-pill {
109
- background: @blue-60;
110
- border-radius: 1.25rem;
111
- border: .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 .25rem;
119
- position: absolute;
120
- bottom: -.125rem;
121
- left: 1rem;
122
- min-width: 1.125rem;
123
- height: 1rem;
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
- .edit-pill {
127
- background: @blue-60;
128
- border-radius: 50%;
129
- border: .125rem solid @neutral-0;
130
- color: @neutral-0;
131
- display: flex;
132
- align-items: center;
133
- justify-content: center;
134
- position: absolute;
135
- bottom: -.125rem;
136
- left: 1rem;
137
- width: 1rem;
138
- height: 1rem;
139
-
140
- i {
141
- font-size: 6px;
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
- &.square-avatars {
147
- border-radius: .25rem;
150
+ &.square-avatars {
151
+ border-radius: 0.25rem;
148
152
 
149
- span,
150
- img {
151
- border-radius: .125rem;
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
- // Old css
157
- &.x-lg {
158
- height: 80px;
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
- // Old css
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
- span {
177
- background: transparent;
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
- display : flex;
183
- justify-content: center;
184
- align-items : center;
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
- &.blue {
200
- background: @blue-60;
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
- &.grey {
204
- color : @gray-60 !important;
205
- font-size: 14px !important;
206
- }
198
+ &.green {
199
+ background: @green-60;
207
200
  }
208
201
 
209
- img {
210
- width : 100%;
211
- height : 100%;
212
- border-radius: 50%;
202
+ &.blue {
203
+ background: @blue-60;
213
204
  }
214
205
 
215
- &-container {
216
- padding-bottom: 20px;
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
- &-group {
224
- display: flex;
218
+ &-container {
219
+ padding-bottom: 20px;
225
220
 
226
- .vx-avatar+.vx-avatar {
227
- margin-left: -8px;
228
- }
221
+ .vx-avatar + .vx-avatar {
222
+ margin-left: 20px;
229
223
  }
230
- }
224
+ }
231
225
 
232
- .avatar-name {
226
+ &-group {
233
227
  display: flex;
234
- align-items: center;
235
- width: 100%;
236
228
 
237
- .vx-avatar {
238
- margin-right: .5rem;
229
+ .vx-avatar + .vx-avatar {
230
+ margin-left: -8px;
239
231
  }
232
+ }
233
+ }
240
234
 
241
- .userName {
242
- color: @gray-60;
243
- font-size: 11px;
244
- line-height: 1rem;
245
- text-overflow: ellipsis;
246
- white-space: nowrap;
247
- overflow: hidden;
248
- width: calc(100% - 2.5rem);
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
- display: flex;
254
- align-items: center;
255
- width: 100%;
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
- .vx-avatar {
258
- margin-right: .5rem;
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
- &-right {
262
- width: calc(100% - 2.5rem);
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
- .userName {
265
- color: @gray-60;
266
- font-size: 11px;
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
- .performanceControls {
274
- font-size: 9px;
275
- font-weight: 500;
276
- line-height: .75rem;
277
- display: flex;
278
- align-items: center;
279
-
280
- span {
281
- &:first-of-type {
282
- color: @green-60;
283
- }
284
-
285
- &:nth-of-type(2) {
286
- color: @yellow-60;
287
- position: relative;
288
- padding: 0 1.125rem;
289
-
290
- &::before {
291
- background: @gray-40;
292
- border-radius: 1.25rem;
293
- content: '';
294
- position: absolute;
295
- top: 5px;
296
- left: .5rem;
297
- width: .125rem;
298
- height: .125rem;
299
- }
300
-
301
- &::after {
302
- background: @gray-40;
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
+ }