vcomply-design-system 1.1.9 → 1.2.1

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,828 +1,833 @@
1
- @import url('../mixin/mixin.less');
2
- @import url('../padding/padding-top.less');
3
- @import url('../padding/padding-right.less');
4
- @import url('../padding/padding-bottom.less');
5
- @import url('../padding/padding-left.less');
6
- @import url('../../less/color/color.less');
1
+ @import url("../mixin/mixin.less");
2
+ @import url("../padding/padding-top.less");
3
+ @import url("../padding/padding-right.less");
4
+ @import url("../padding/padding-bottom.less");
5
+ @import url("../padding/padding-left.less");
6
+ @import url("../../less/color/color.less");
7
7
 
8
8
  .vx-btn {
9
- border : 1px solid @greyMain;
10
- color : @primaryBlue;
11
- cursor : pointer;
12
- overflow : hidden;
13
- outline : none;
14
- border-radius : 2px;
15
- // line-height : 24px;
16
- display : inline-flex;
17
- font-size :12px;
18
- text-transform : uppercase;
19
- font-weight : 500;
20
- transition : all 0.2s ease-in-out;
21
- position : relative;
22
- margin : 0;
23
- text-decoration : none;
24
- padding-right :12px;
25
- padding-left :12px;
26
- justify-content : center;
27
-
9
+ border: 1px solid @greyMain;
10
+ color: @primaryBlue;
11
+ cursor: pointer;
12
+ overflow: hidden;
13
+ outline: none;
14
+ border-radius: 2px;
15
+ // line-height : 24px;
16
+ display: inline-flex;
17
+ font-size: 12px;
18
+ text-transform: uppercase;
19
+ font-weight: 500;
20
+ transition: all 0.2s ease-in-out;
21
+ position: relative;
22
+ margin: 0;
23
+ text-decoration: none;
24
+ padding-right: 12px;
25
+ padding-left: 12px;
26
+ justify-content: center;
27
+
28
+ i {
29
+ margin-right: 8px;
30
+ transform: scale(1.2);
31
+ }
32
+
33
+ &.after {
28
34
  i {
29
- margin-right: 8px;
30
- transform : scale(1.2);
35
+ margin-left: 8px;
36
+ margin-right: 0;
31
37
  }
38
+ }
32
39
 
33
- &.after {
34
- i {
35
- margin-left : 8px;
36
- margin-right: 0;
37
- }
38
- }
40
+ &.outline {
41
+ background: transparent;
42
+ }
39
43
 
40
- &.outline {
41
- background: transparent;
44
+ & + .vx-btn {
45
+ margin-left: 8px;
46
+ }
47
+
48
+ &.transparent {
49
+ background: transparent !important;
50
+ border: none;
51
+
52
+ &.primary {
53
+ color: @primaryBlue;
42
54
  }
43
55
 
44
- &+.vx-btn {
45
- margin-left: 8px;
56
+ &.red {
57
+ color: @error;
46
58
  }
47
59
 
48
- &.transparent {
49
- background: transparent !important;
50
- border : none;
60
+ &.grey {
61
+ color: @darkText;
62
+ }
63
+ }
51
64
 
52
- &.primary {
53
- color: @primaryBlue;
54
- }
65
+ &:disabled {
66
+ filter: grayscale(1);
67
+ cursor: not-allowed;
55
68
 
56
- &.red {
57
- color: @error;
58
- }
69
+ &:hover {
70
+ filter: grayscale(1);
59
71
 
60
- &.grey {
61
- color: @darkText;
62
- }
72
+ &:before {
73
+ display: none;
74
+ }
63
75
  }
76
+ }
64
77
 
65
- &:disabled {
66
- filter: grayscale(1);
67
- cursor: not-allowed;
78
+ &.primary {
79
+ color: @white;
80
+ background: @primaryBlue;
81
+ border-color: @primaryBlue;
68
82
 
69
- &:hover {
70
- filter: grayscale(1);
83
+ &.outline {
84
+ color: @primaryBlue;
85
+ background: transparent;
86
+ border-color: @primaryBlue;
71
87
 
72
- &:before {
73
- display: none;
74
- }
75
- }
88
+ &.light {
89
+ border-color: #f1f1f1;
90
+ }
76
91
  }
92
+ }
77
93
 
78
- &.primary {
79
- color : @white;
80
- background : @primaryBlue;
81
- border-color: @primaryBlue;
82
-
83
- &.outline {
84
- color : @primaryBlue;
85
- background : transparent;
86
- border-color: @primaryBlue;
87
-
88
- &.light {
89
- border-color: #f1f1f1;
90
- }
91
- }
92
- }
94
+ &.red {
95
+ color: @white;
96
+ background: @error;
97
+ border-color: @error;
93
98
 
94
- &.red {
95
- color : @white;
96
- background : @error;
97
- border-color: @error;
98
-
99
- &.outline {
100
- color : @error;
101
- background : transparent;
102
- border-color: @error;
103
- }
99
+ &.outline {
100
+ color: @error;
101
+ background: transparent;
102
+ border-color: @error;
104
103
  }
104
+ }
105
105
 
106
- &.grey {
107
- color : @darkText;
108
- background : @darkGrey;
109
- border-color: @darkGrey;
110
-
111
- &.outline {
112
- color : @darkText;
113
- background : transparent;
114
- border-color: @greyMain;
115
- }
116
- }
106
+ &.grey {
107
+ color: @darkText;
108
+ background: @darkGrey;
109
+ border-color: @darkGrey;
117
110
 
118
- &.white {
119
- background : @white;
120
- color : @lightText;
121
- border-color: @white;
122
- }
111
+ &.outline {
112
+ color: @darkText;
113
+ background: transparent;
114
+ border-color: @greyMain;
115
+ }
116
+ }
117
+
118
+ &.white {
119
+ background: @white;
120
+ color: @lightText;
121
+ border-color: @white;
122
+ }
123
+
124
+ &.lg {
125
+ line-height: 48px;
126
+ .vx-pr-5();
127
+ .vx-pl-5();
128
+ border-radius: 4px;
129
+ font-size: 16px;
130
+ font-weight: 600;
131
+ border-width: 2px;
132
+ }
133
+
134
+ &.md {
135
+ line-height: 26px;
136
+ min-width: 80px;
137
+ }
138
+
139
+ &.sm {
140
+ line-height: 20px;
141
+ font-size: 9px;
142
+ margin-bottom: 0;
143
+ }
144
+
145
+ &.block {
146
+ display: flex;
147
+ width: 100%;
148
+ line-height: 38px;
149
+ .vx-pr-5();
150
+ .vx-pl-5();
151
+ border-radius: 0px;
152
+ justify-content: center;
153
+ font-size: 11px;
154
+ letter-spacing: 3.08px;
123
155
 
124
- &.lg {
125
- line-height: 48px;
126
- .vx-pr-5();
127
- .vx-pl-5();
128
- border-radius: 4px;
129
- font-size : 16px;
130
- font-weight : 600;
131
- border-width : 2px;
156
+ &.rounded {
157
+ border-radius: 4px;
132
158
  }
159
+ }
133
160
 
134
- &.md {
135
- line-height: 26px;
136
- min-width : 80px;
137
- }
161
+ &.icon {
162
+ height: 36px;
163
+ width: 36px;
164
+ border-radius: 50%;
165
+ display: inline-flex;
166
+ justify-content: center;
167
+ align-items: center;
168
+ margin-bottom: 0;
138
169
 
139
170
  &.sm {
140
- line-height : 20px;
141
- font-size : 9px;
142
- margin-bottom: 0;
143
- }
144
-
145
- &.block {
146
- display : flex;
147
- width : 100%;
148
- line-height: 38px;
149
- .vx-pr-5();
150
- .vx-pl-5();
151
- border-radius : 0px;
152
- justify-content: center;
153
- font-size : 11px;
154
- letter-spacing : 3.08px;
155
-
156
- &.rounded {
157
- border-radius: 4px;
158
- }
171
+ height: 28px;
172
+ width: 28px;
173
+ line-height: 26px;
159
174
  }
160
175
 
161
- &.icon {
162
- height : 36px;
163
- width : 36px;
164
- border-radius : 50%;
165
- display : inline-flex;
166
- justify-content: center;
167
- align-items : center;
168
- margin-bottom : 0;
176
+ i {
177
+ margin: 0;
178
+ }
179
+ }
180
+
181
+ &:before {
182
+ content: "";
183
+ position: absolute;
184
+ top: 0;
185
+ right: 0;
186
+ bottom: 0;
187
+ left: 0;
188
+ background: #000000;
189
+ opacity: 0;
190
+ transition: all 0.2s ease-in-out;
191
+ }
192
+
193
+ &:hover {
194
+ position: relative;
195
+ // filter : brightness(85%);
196
+ // &:before {
197
+ // opacity: .1;
198
+ // }
199
+ }
200
+ }
169
201
 
170
- &.sm {
171
- height : 28px;
172
- width : 28px;
173
- line-height: 26px;
174
- }
202
+ // New CSS
203
+ .button-box {
204
+ border: 1px solid @greyMain;
205
+ border-radius: 4px;
175
206
 
176
- i {
177
- margin: 0;
178
- }
179
- }
207
+ &-heading {
208
+ border-bottom: 1px solid @greyMain;
209
+ }
210
+ }
180
211
 
181
- &:before {
182
- content : "";
183
- position : absolute;
184
- top : 0;
185
- right : 0;
186
- bottom : 0;
187
- left : 0;
188
- background: #000000;
189
- opacity : 0;
190
- transition: all 0.2s ease-in-out;
191
- }
212
+ .vx-button {
213
+ background: @neutral-0;
214
+ border: 1px solid @gray-40;
215
+ border-radius: 0.25rem;
216
+ display: flex;
217
+ align-items: center;
218
+ justify-content: center;
219
+ text-transform: uppercase;
220
+ transition: all 0.3s ease-out;
221
+ margin: 0;
222
+
223
+ &.huge {
224
+ font-size: 13px;
225
+ font-weight: 500;
226
+ padding: 0 2rem;
227
+ height: 3.125rem;
192
228
 
193
- &:hover {
194
- position : relative;
195
- // filter : brightness(85%);
196
- // &:before {
197
- // opacity: .1;
198
- // }
229
+ i {
230
+ font-size: 12px;
231
+ margin-right: 6px;
199
232
  }
233
+ }
200
234
 
235
+ &.xxl {
236
+ font-size: 11px;
237
+ font-weight: 500;
238
+ padding: 0 1.5rem;
239
+ height: 2.5rem;
201
240
 
202
- }
241
+ i {
242
+ font-size: 12px;
243
+ margin-right: 10px;
244
+ }
245
+ }
203
246
 
204
- // New CSS
205
- .button-box {
206
- border: 1px solid @greyMain;
207
- border-radius: 4px;
247
+ &.xl {
248
+ font-size: 11px;
249
+ font-weight: 500;
250
+ padding: 0 1.25rem;
251
+ height: 2.25rem;
208
252
 
209
- &-heading {
210
- border-bottom: 1px solid @greyMain;
253
+ i {
254
+ font-size: 12px;
255
+ margin-right: 6px;
211
256
  }
212
- }
257
+ }
213
258
 
214
- .vx-button {
215
- background: @neutral-0;
216
- border: 1px solid @gray-40;
217
- border-radius: .25rem;
218
- display: flex;
219
- align-items: center;
220
- justify-content: center;
221
- text-transform: uppercase;
222
- transition: all .3s ease-out;
223
- margin: 0;
224
-
225
- &.huge {
226
- font-size: 13px;
227
- font-weight: 500;
228
- padding: 0 2rem;
229
- height: 3.125rem;
230
-
231
- i {
232
- font-size: 12px;
233
- margin-right: 6px;
234
- }
259
+ &.large {
260
+ font-size: 11px;
261
+ font-weight: 500;
262
+ padding: 0 1rem;
263
+ height: 2rem;
264
+
265
+ i {
266
+ font-size: 12px;
267
+ margin-right: 6px;
235
268
  }
269
+ }
236
270
 
237
- &.xxl {
238
- font-size: 11px;
239
- font-weight: 500;
240
- padding: 0 1.5rem;
241
- height: 2.5rem;
271
+ &.medium {
272
+ font-size: 11px;
273
+ font-weight: 500;
274
+ padding: 0 0.75rem;
275
+ height: 1.75rem;
242
276
 
243
- i {
244
- font-size: 12px;
245
- margin-right: 10px;
246
- }
277
+ i {
278
+ font-size: 12px;
279
+ margin-right: 6px;
247
280
  }
281
+ }
248
282
 
249
- &.xl {
250
- font-size: 11px;
251
- font-weight: 500;
252
- padding: 0 1.25rem;
253
- height: 2.25rem;
283
+ &.small {
284
+ font-size: 11px;
285
+ font-weight: 500;
286
+ padding: 0 0.5rem;
287
+ height: 1.5rem;
254
288
 
255
- i {
256
- font-size: 12px;
257
- margin-right: 6px;
258
- }
289
+ i {
290
+ font-size: 12px;
291
+ margin-right: 6px;
259
292
  }
293
+ }
260
294
 
261
- &.large {
262
- font-size: 11px;
263
- font-weight: 500;
264
- padding: 0 1rem;
265
- height: 2rem;
295
+ &.xs {
296
+ font-size: 9px;
297
+ font-weight: 500;
298
+ padding: 0 0.5rem;
299
+ height: 1.25rem;
266
300
 
267
- i {
268
- font-size: 12px;
269
- margin-right: 6px;
270
- }
301
+ i {
302
+ font-size: 8px;
303
+ margin-right: 6px;
271
304
  }
305
+ }
272
306
 
273
- &.medium {
274
- font-size: 11px;
275
- font-weight: 500;
276
- padding: 0 0.75rem;
277
- height: 1.75rem;
278
-
279
- i {
280
- font-size: 12px;
281
- margin-right: 6px;
282
- }
307
+ &.bold {
308
+ &.primary {
309
+ background: @blue-60;
310
+ border-color: @blue-60;
311
+ color: @neutral-0;
312
+
313
+ &:hover {
314
+ background: @blue-70;
315
+ border-color: @blue-70;
316
+ }
317
+
318
+ &:focus {
319
+ background: @blue-50;
320
+ border: 1px solid transparent;
321
+ box-shadow: 0 0 0 2px @blue-30;
322
+ }
283
323
  }
284
324
 
285
- &.small {
286
- font-size: 11px;
287
- font-weight: 500;
288
- padding: 0 0.5rem;
289
- height: 1.5rem;
325
+ &.info {
326
+ background: @gray-80;
327
+ border-color: @gray-80;
328
+ color: @neutral-0;
290
329
 
291
- i {
292
- font-size: 12px;
293
- margin-right: 6px;
294
- }
330
+ &:hover {
331
+ background: @gray-70;
332
+ border-color: @gray-70;
333
+ }
334
+
335
+ &:focus {
336
+ background: @gray-60;
337
+ border: 1px solid transparent;
338
+ box-shadow: 0 0 0 2px @gray-30;
339
+ }
295
340
  }
296
341
 
297
- &.xs {
298
- font-size: 9px;
299
- font-weight: 500;
300
- padding: 0 0.5rem;
301
- height: 1.25rem;
342
+ &.error {
343
+ background: @red-60;
344
+ border-color: @red-60;
345
+ color: @neutral-0;
302
346
 
303
- i {
304
- font-size: 8px;
305
- margin-right: 6px;
306
- }
347
+ &:hover {
348
+ background: @red-70;
349
+ border-color: @red-70;
350
+ }
351
+
352
+ &:focus {
353
+ background: @red-50;
354
+ border: 1px solid transparent;
355
+ box-shadow: 0 0 0 2px @red-30;
356
+ }
307
357
  }
308
358
 
309
- &.bold {
310
- &.primary {
311
- background: @blue-60;
312
- border-color: @blue-60;
313
- color: @neutral-0;
314
-
315
- &:hover {
316
- background: @blue-70;
317
- border-color: @blue-70;
318
- }
319
-
320
- &:focus {
321
- background: @blue-50;
322
- border: 1px solid transparent;
323
- box-shadow: 0 0 0 2px @blue-30;
324
- }
325
- }
359
+ &.warning {
360
+ background: @yellow-60;
361
+ border-color: @yellow-60;
362
+ color: @neutral-0;
326
363
 
327
- &.info {
328
- background: @gray-80;
329
- border-color: @gray-80;
330
- color: @neutral-0;
331
-
332
- &:hover {
333
- background: @gray-70;
334
- border-color: @gray-70;
335
- }
336
-
337
- &:focus {
338
- background: @gray-60;
339
- border: 1px solid transparent;
340
- box-shadow: 0 0 0 2px @gray-30;
341
- }
342
- }
364
+ &:hover {
365
+ background: @yellow-70;
366
+ border-color: @yellow-70;
367
+ }
343
368
 
344
- &.error {
345
- background: @red-60;
346
- border-color: @red-60;
347
- color: @neutral-0;
348
-
349
- &:hover {
350
- background: @red-70;
351
- border-color: @red-70;
352
- }
353
-
354
- &:focus {
355
- background: @red-50;
356
- border: 1px solid transparent;
357
- box-shadow: 0 0 0 2px @red-30;
358
- }
359
- }
369
+ &:focus {
370
+ background: @yellow-50;
371
+ border: 1px solid transparent;
372
+ box-shadow: 0 0 0 2px @yellow-30;
373
+ }
374
+ }
360
375
 
361
- &.warning {
362
- background: @yellow-60;
363
- border-color: @yellow-60;
364
- color: @neutral-0;
365
-
366
- &:hover {
367
- background: @yellow-70;
368
- border-color: @yellow-70;
369
- }
370
-
371
- &:focus {
372
- background: @yellow-50;
373
- border: 1px solid transparent;
374
- box-shadow: 0 0 0 2px @yellow-30;
375
- }
376
- }
376
+ &.success {
377
+ background: @green-60;
378
+ border-color: @green-60;
379
+ color: @neutral-0;
377
380
 
378
- &.success {
379
- background: @green-60;
380
- border-color: @green-60;
381
- color: @neutral-0;
382
-
383
- &:hover {
384
- background: @green-70;
385
- border-color: @green-70;
386
- }
387
-
388
- &:focus {
389
- background: @green-50;
390
- border: 1px solid transparent;
391
- box-shadow: 0 0 0 2px @green-30;
392
- }
393
- }
381
+ &:hover {
382
+ background: @green-70;
383
+ border-color: @green-70;
384
+ }
394
385
 
395
- &.disabled-btn {
396
- background: @gray-30;
397
- border-color: @gray-30;
398
- color: @gray-50;
399
- pointer-events: none;
400
- }
386
+ &:focus {
387
+ background: @green-50;
388
+ border: 1px solid transparent;
389
+ box-shadow: 0 0 0 2px @green-30;
390
+ }
401
391
  }
402
392
 
403
- &.subtle {
404
- background: @neutral-0;
405
- border-color: @gray-40;
393
+ &.disabled-btn {
394
+ background: @gray-30;
395
+ border-color: @gray-30;
396
+ color: @gray-50;
397
+ pointer-events: none;
398
+ }
399
+ }
406
400
 
407
- i {
408
- color: @gray-70;
409
- }
401
+ &.subtle {
402
+ background: @neutral-0;
403
+ border-color: @gray-40;
410
404
 
411
- &:hover {
412
- background: @gray-10;
413
- }
414
-
415
- &:focus {
416
- background: @gray-10;
417
- border: 1px solid transparent;
418
- box-shadow: 0 0 0 2px @blue-30;
419
- }
405
+ i {
406
+ color: @gray-70;
407
+ }
420
408
 
421
- &.primary {
422
- color: @blue-60;
423
- }
409
+ &:hover {
410
+ background: @gray-10;
411
+ }
424
412
 
425
- &.info {
426
- color: @gray-80;
427
- }
413
+ &:focus {
414
+ background: @gray-10;
415
+ border: 1px solid transparent;
416
+ box-shadow: 0 0 0 2px @blue-30;
417
+ }
428
418
 
429
- &.error {
430
- color: @red-60;
431
- }
419
+ &.primary {
420
+ color: @blue-60;
421
+ }
432
422
 
433
- &.warning {
434
- color: @yellow-60;
435
- }
423
+ &.info {
424
+ color: @gray-80;
425
+ }
436
426
 
437
- &.success {
438
- color: @green-60;
439
- }
427
+ &.error {
428
+ color: @red-60;
429
+ }
440
430
 
441
- &.disabled-btn {
442
- background: @gray-30;
443
- border-color: @gray-40;
444
- color: @gray-50;
445
- pointer-events: none;
431
+ &.warning {
432
+ color: @yellow-60;
433
+ }
446
434
 
447
- i {
448
- color: @gray-50;
449
- }
450
- }
435
+ &.success {
436
+ color: @green-60;
451
437
  }
452
438
 
453
- &.minimal {
454
- background: @neutral-0;
455
- border: none;
439
+ &.disabled-btn {
440
+ background: @gray-30;
441
+ border-color: @gray-40;
442
+ color: @gray-50;
443
+ pointer-events: none;
456
444
 
457
- i {
458
- color: @gray-70;
459
- }
445
+ i {
446
+ color: @gray-50;
447
+ }
448
+ }
449
+ }
460
450
 
461
- &:hover {
462
- background: @gray-20;
463
- }
451
+ &.minimal {
452
+ background: @neutral-0;
453
+ border: none;
464
454
 
465
- &:focus {
466
- background: @neutral-0;
467
- box-shadow: 0 0 0 2px @blue-30;
468
- }
455
+ i {
456
+ color: @gray-70;
457
+ }
469
458
 
470
- &.primary {
471
- color: @blue-60;
472
- }
459
+ &:hover {
460
+ background: @gray-20;
461
+ }
473
462
 
474
- &.info {
475
- color: @gray-80;
476
- }
463
+ &:focus {
464
+ background: @neutral-0;
465
+ box-shadow: 0 0 0 2px @blue-30;
466
+ }
477
467
 
478
- &.error {
479
- color: @red-60;
480
- }
468
+ &.primary {
469
+ color: @blue-60;
470
+ }
481
471
 
482
- &.warning {
483
- color: @yellow-60;
484
- }
472
+ &.info {
473
+ color: @gray-80;
474
+ }
485
475
 
486
- &.success {
487
- color: @green-60;
488
- }
476
+ &.error {
477
+ color: @red-60;
478
+ }
479
+
480
+ &.warning {
481
+ color: @yellow-60;
482
+ }
489
483
 
490
- &.disabled-btn {
491
- background: @neutral-0;
492
- color: @gray-50;
493
- pointer-events: none;
484
+ &.success {
485
+ color: @green-60;
486
+ }
494
487
 
495
- i {
496
- color: @gray-50;
497
- }
498
- }
488
+ &.disabled-btn {
489
+ background: @neutral-0;
490
+ color: @gray-50;
491
+ pointer-events: none;
492
+
493
+ i {
494
+ color: @gray-50;
495
+ }
499
496
  }
497
+ }
500
498
 
501
- &.leadingBtn {
502
- i {
503
- font-size: 12px;
504
- margin-right: 6px;
505
- }
499
+ &.leadingBtn {
500
+ i {
501
+ font-size: 12px;
502
+ margin-right: 6px;
506
503
  }
504
+ }
507
505
 
508
- &.trailingBtn {
509
- i {
510
- font-size: 12px;
511
- margin: 0 0 0 6px;
512
- }
506
+ &.trailingBtn {
507
+ i {
508
+ font-size: 12px;
509
+ margin: 0 0 0 6px;
513
510
  }
511
+ }
514
512
  }
515
513
 
516
514
  .splitBtn {
517
- position: relative;
515
+ position: relative;
518
516
 
519
- .vx-button {
520
- &.medium {
521
- padding: 0 2.5rem 0 0.75rem;
522
- }
517
+ .vx-button {
518
+ &.medium {
519
+ padding: 0 2.5rem 0 0.75rem;
520
+ }
523
521
 
524
- i {
525
- font-size: 12px;
526
- margin-right: 6px;
527
- }
522
+ i {
523
+ font-size: 12px;
524
+ margin-right: 6px;
525
+ }
526
+
527
+ & ~ .arrow-btn {
528
+ border-radius: 0 0.25rem 0.25rem 0;
529
+ border: none;
530
+ font-size: 12px;
531
+ display: flex;
532
+ align-items: center;
533
+ justify-content: center;
534
+ height: 1.75rem;
535
+ width: 1.75rem;
536
+ margin: 0;
537
+ padding: 0;
538
+ position: absolute;
539
+ top: 0;
540
+ right: 0;
541
+ }
528
542
 
543
+ &.bold {
544
+ &.primary {
529
545
  & ~ .arrow-btn {
530
- border-radius: 0 .25rem .25rem 0;
531
- border: none;
532
- font-size: 12px;
533
- display: flex;
534
- align-items: center;
535
- justify-content: center;
536
- height: 1.75rem;
537
- width: 1.75rem;
538
- margin: 0;
539
- padding: 0;
540
- position: absolute;
541
- top: 0;
542
- right: 0;
546
+ background: @blue-60;
547
+ border-left: 1px solid @blue-40;
548
+ color: @neutral-0;
549
+
550
+ &:hover,
551
+ &:focus {
552
+ background: @blue-70;
553
+ border-left: 1px solid @blue-40;
554
+ }
543
555
  }
556
+ }
557
+ }
544
558
 
545
- &.bold {
546
- &.primary {
547
- & ~ .arrow-btn {
548
- background: @blue-60;
549
- border-left: 1px solid @blue-40;
550
- color: @neutral-0;
551
-
552
- &:hover,
553
- &:focus {
554
- background: @blue-70;
555
- border-left: 1px solid @blue-40;
556
- }
557
- }
558
- }
559
+ &.subtle {
560
+ &.primary {
561
+ &:hover,
562
+ &:focus {
563
+ background: @gray-10;
564
+ border: 1px solid @gray-40;
559
565
  }
560
566
 
561
- &.subtle {
562
- &.primary {
563
- &:hover,
564
- &:focus {
565
- background: @gray-10;
566
- border: 1px solid @gray-40;
567
- }
568
-
569
- & ~ .arrow-btn {
570
- background: @neutral-0;
571
- border: 1px solid @gray-40;
572
- color: @blue-60;
573
-
574
- &:hover,
575
- &:focus {
576
- background: @gray-10;
577
- border: 1px solid @gray-40;
578
- }
579
- }
580
- }
567
+ & ~ .arrow-btn {
568
+ background: @neutral-0;
569
+ border: 1px solid @gray-40;
570
+ color: @blue-60;
571
+
572
+ &:hover,
573
+ &:focus {
574
+ background: @gray-10;
575
+ border: 1px solid @gray-40;
576
+ }
581
577
  }
578
+ }
579
+ }
582
580
 
583
- &.minimal {
584
- &.primary {
585
- & ~ .arrow-btn {
586
- background: @neutral-0;
587
- border-left: 1px solid @gray-40;
588
- color: @blue-60;
589
-
590
- &:hover,
591
- &:focus {
592
- background: @gray-20;
593
- border-left: 1px solid @gray-40;
594
- }
595
- }
596
- }
581
+ &.minimal {
582
+ &.primary {
583
+ & ~ .arrow-btn {
584
+ background: @neutral-0;
585
+ border-left: 1px solid @gray-40;
586
+ color: @blue-60;
587
+
588
+ &:hover,
589
+ &:focus {
590
+ background: @gray-20;
591
+ border-left: 1px solid @gray-40;
592
+ }
597
593
  }
594
+ }
598
595
  }
596
+ }
599
597
  }
600
598
 
601
599
  .vx-stetched-button {
602
- border-radius: 0;
603
- border: none;
604
- font-size: 13px;
605
- font-weight: 500;
606
- height: 3.125rem;
607
- display: flex;
608
- align-items: center;
609
- justify-content: center;
610
- text-transform: uppercase;
611
- transition: all .3s ease-out;
612
- position: relative;
613
- width: 100%;
600
+ border-radius: 0;
601
+ border: none;
602
+ font-size: 13px;
603
+ font-weight: 500;
604
+ height: 3.125rem;
605
+ display: flex;
606
+ align-items: center;
607
+ justify-content: center;
608
+ text-transform: uppercase;
609
+ transition: all 0.3s ease-out;
610
+ position: relative;
611
+ width: 100%;
612
+
613
+ i {
614
+ font-size: 16px;
615
+ position: absolute;
616
+ top: 1rem;
617
+ }
618
+
619
+ &.bold {
620
+ &.primary {
621
+ background: @blue-60;
622
+ border-color: @blue-60;
623
+ color: @neutral-0;
614
624
 
615
- i {
616
- font-size: 16px;
617
- position: absolute;
618
- top: 1rem;
619
- }
625
+ i {
626
+ right: 1.5rem;
627
+ }
620
628
 
621
- &.bold {
622
- &.primary {
623
- background: @blue-60;
624
- border-color: @blue-60;
625
- color: @neutral-0;
626
-
627
- i {
628
- right: 1.5rem;
629
- }
630
-
631
- &:hover,
632
- &:focus {
633
- background: @blue-70;
634
- border-color: @blue-70;
635
- }
636
- }
629
+ &:hover,
630
+ &:focus {
631
+ background: @blue-70;
632
+ border-color: @blue-70;
633
+ }
637
634
  }
635
+ }
638
636
 
639
- &.minimal {
640
- &.primary {
641
- background: @neutral-0;
642
- border-color: @neutral-0;
643
- color: @blue-60;
644
-
645
- i {
646
- left: 1.5rem;
647
- }
648
-
649
- &:hover,
650
- &:focus {
651
- background: @gray-20;
652
- border-color: @gray-20;
653
- }
654
- }
655
- }
637
+ &.minimal {
638
+ &.primary {
639
+ background: @neutral-0;
640
+ border-color: @neutral-0;
641
+ color: @blue-60;
642
+
643
+ i {
644
+ left: 1.5rem;
645
+ }
646
+
647
+ &:hover,
648
+ &:focus {
649
+ background: @gray-20;
650
+ border-color: @gray-20;
651
+ }
652
+ }
653
+ }
654
+
655
+ &.disabled-btn {
656
+ background: @gray-30 !important;
657
+ border-color: @gray-30 !important;
658
+ color: @gray-50 !important;
659
+ pointer-events: none;
660
+ }
656
661
  }
657
662
 
658
663
  .vx-icon-button {
659
- background: transparent;
660
- border-radius: .25rem;
661
- border: none;
662
- padding: 0;
663
- height: 1.5rem;
664
- width: 1.5rem;
665
- display: flex;
666
- align-items: center;
667
- justify-content: center;
668
- transition: all .3s ease-out;
664
+ background: transparent;
665
+ border-radius: 0.25rem;
666
+ border: none;
667
+ padding: 0;
668
+ height: 1.5rem;
669
+ width: 1.5rem;
670
+ display: flex;
671
+ align-items: center;
672
+ justify-content: center;
673
+ transition: all 0.3s ease-out;
669
674
 
670
- &.primary {
671
- background: @blue-60;
672
- color: @neutral-0;
675
+ &.primary {
676
+ background: @blue-60;
677
+ color: @neutral-0;
673
678
 
674
- &:hover,
675
- &:focus {
676
- background: @blue-70;
677
- }
679
+ &:hover,
680
+ &:focus {
681
+ background: @blue-70;
682
+ }
678
683
 
679
- &.disabled-btn {
680
- background: @gray-30;
681
- color: @gray-50;
682
- pointer-events: none;
683
- }
684
+ &.disabled-btn {
685
+ background: @gray-30;
686
+ color: @gray-50;
687
+ pointer-events: none;
684
688
  }
689
+ }
685
690
 
686
- &.info {
687
- background: @gray-80;
688
- color: @neutral-0;
691
+ &.info {
692
+ background: @gray-80;
693
+ color: @neutral-0;
689
694
 
690
- &:hover,
691
- &:focus {
692
- background: @gray-70;
693
- }
695
+ &:hover,
696
+ &:focus {
697
+ background: @gray-70;
698
+ }
694
699
 
695
- &.disabled-btn {
696
- background: @gray-30;
697
- color: @gray-50;
698
- pointer-events: none;
699
- }
700
+ &.disabled-btn {
701
+ background: @gray-30;
702
+ color: @gray-50;
703
+ pointer-events: none;
700
704
  }
705
+ }
701
706
 
702
- &.error {
703
- background: @red-60;
704
- color: @neutral-0;
707
+ &.error {
708
+ background: @red-60;
709
+ color: @neutral-0;
705
710
 
706
- &:hover,
707
- &:focus {
708
- background: @red-70;
709
- }
711
+ &:hover,
712
+ &:focus {
713
+ background: @red-70;
714
+ }
710
715
 
711
- &.disabled-btn {
712
- background: @gray-30;
713
- color: @gray-50;
714
- pointer-events: none;
715
- }
716
+ &.disabled-btn {
717
+ background: @gray-30;
718
+ color: @gray-50;
719
+ pointer-events: none;
716
720
  }
721
+ }
717
722
 
718
- &.warning {
719
- background: @yellow-60;
720
- color: @neutral-0;
723
+ &.warning {
724
+ background: @yellow-60;
725
+ color: @neutral-0;
721
726
 
722
- &:hover,
723
- &:focus {
724
- background: @yellow-70;
725
- }
727
+ &:hover,
728
+ &:focus {
729
+ background: @yellow-70;
730
+ }
726
731
 
727
- &.disabled-btn {
728
- background: @gray-30;
729
- color: @gray-50;
730
- pointer-events: none;
731
- }
732
+ &.disabled-btn {
733
+ background: @gray-30;
734
+ color: @gray-50;
735
+ pointer-events: none;
732
736
  }
737
+ }
733
738
 
734
- &.success {
735
- background: @green-60;
736
- color: @neutral-0;
739
+ &.success {
740
+ background: @green-60;
741
+ color: @neutral-0;
737
742
 
738
- &:hover,
739
- &:focus {
740
- background: @green-70;
741
- }
743
+ &:hover,
744
+ &:focus {
745
+ background: @green-70;
746
+ }
742
747
 
743
- &.disabled-btn {
744
- background: @gray-30;
745
- color: @gray-50;
746
- pointer-events: none;
747
- }
748
+ &.disabled-btn {
749
+ background: @gray-30;
750
+ color: @gray-50;
751
+ pointer-events: none;
748
752
  }
753
+ }
749
754
 
750
- &.xl {
751
- width: 2.25rem;
752
- height: 2.25rem;
755
+ &.xl {
756
+ width: 2.25rem;
757
+ height: 2.25rem;
753
758
 
754
- i {
755
- font-size: 16px;
756
- }
759
+ i {
760
+ font-size: 16px;
757
761
  }
762
+ }
758
763
 
759
- &.large {
760
- width: 2rem;
761
- height: 2rem;
762
-
763
- i {
764
- font-size: 16px;
765
- }
764
+ &.large {
765
+ width: 2rem;
766
+ height: 2rem;
767
+
768
+ i {
769
+ font-size: 16px;
766
770
  }
771
+ }
767
772
 
768
- &.medium {
769
- width: 1.75rem;
770
- height: 1.75rem;
771
-
772
- i {
773
- font-size: 12px;
774
- }
773
+ &.medium {
774
+ width: 1.75rem;
775
+ height: 1.75rem;
776
+
777
+ i {
778
+ font-size: 12px;
775
779
  }
780
+ }
776
781
 
777
- &.small {
778
- width: 1.5rem;
779
- height: 1.5rem;
780
-
781
- i {
782
- font-size: 12px;
783
- }
782
+ &.small {
783
+ width: 1.5rem;
784
+ height: 1.5rem;
785
+
786
+ i {
787
+ font-size: 12px;
784
788
  }
789
+ }
785
790
 
786
- &.xs {
787
- width: 1.25rem;
788
- height: 1.25rem;
789
-
790
- i {
791
- font-size: 8px;
792
- }
791
+ &.xs {
792
+ width: 1.25rem;
793
+ height: 1.25rem;
794
+
795
+ i {
796
+ font-size: 8px;
793
797
  }
798
+ }
794
799
 
795
- &.subtle {
796
- background: @neutral-0;
797
- border: 1px solid @gray-40;
798
- color: @gray-70;
800
+ &.subtle {
801
+ background: @neutral-0;
802
+ border: 1px solid @gray-40;
803
+ color: @gray-70;
799
804
 
800
- &:hover,
801
- &:focus {
802
- background: @gray-10;
803
- }
805
+ &:hover,
806
+ &:focus {
807
+ background: @gray-10;
808
+ }
804
809
 
805
- &.disabled-btn {
806
- background: @gray-30;
807
- color: @gray-50;
808
- pointer-events: none;
809
- }
810
+ &.disabled-btn {
811
+ background: @gray-30;
812
+ color: @gray-50;
813
+ pointer-events: none;
810
814
  }
815
+ }
811
816
 
812
- &.minimal {
813
- background: transparent;
814
- border-color: transparent;
815
- color: @gray-70;
817
+ &.minimal {
818
+ background: transparent;
819
+ border-color: transparent;
820
+ color: @gray-70;
816
821
 
817
- &:hover,
818
- &:focus {
819
- background: @gray-20;
820
- }
822
+ &:hover,
823
+ &:focus {
824
+ background: @gray-20;
825
+ }
821
826
 
822
- &.disabled-btn {
823
- background: @neutral-0;
824
- color: @gray-50;
825
- pointer-events: none;
826
- }
827
+ &.disabled-btn {
828
+ background: @neutral-0;
829
+ color: @gray-50;
830
+ pointer-events: none;
827
831
  }
828
- }
832
+ }
833
+ }