@appscode/design-system 1.1.0-beta.4 → 1.1.0-beta.41

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.
Files changed (80) hide show
  1. package/base/utilities/_colors.scss +45 -114
  2. package/base/utilities/_global.scss +18 -19
  3. package/base/utilities/_typography.scss +2 -2
  4. package/base/utilities/dark-theme.scss +2 -8
  5. package/components/_ac-alert-box.scss +2 -2
  6. package/components/_ac-code-highlight.scss +9 -12
  7. package/components/_ac-drag.scss +4 -4
  8. package/components/_ac-modal.scss +2 -2
  9. package/components/_ac-multi-select.scss +17 -17
  10. package/components/_ac-select-box.scss +5 -5
  11. package/components/_ac-table.scss +7 -7
  12. package/components/_ac-tabs.scss +29 -26
  13. package/components/_all.scss +6 -4
  14. package/components/_buttons.scss +10 -10
  15. package/components/_graph.scss +10 -10
  16. package/components/_image-upload.scss +4 -4
  17. package/components/_input-card.scss +232 -0
  18. package/components/_input.scss +947 -0
  19. package/components/_left-sidebar-menu.scss +9 -13
  20. package/components/_monaco-editor.scss +2 -2
  21. package/components/_navbar.scss +7 -7
  22. package/components/_nested-list.scss +2 -2
  23. package/components/_overview-info.scss +3 -3
  24. package/components/_pricing-table.scss +5 -5
  25. package/components/_progress-bar.scss +61 -74
  26. package/components/_subscription-card.scss +8 -10
  27. package/components/_table-of-content.scss +4 -4
  28. package/components/{_ac-terminal.scss → _terminal.scss} +59 -73
  29. package/components/_widget-menu.scss +7 -12
  30. package/components/_wizard.scss +518 -793
  31. package/components/bbum/_information-center.scss +8 -10
  32. package/components/bbum/_mobile-desktop.scss +9 -14
  33. package/components/bbum/_single-post-preview.scss +9 -9
  34. package/components/ui-builder/_ui-builder.scss +193 -11
  35. package/components/ui-builder/_vue-open-api.scss +59 -13
  36. package/layouts/_code-preview.scss +6 -7
  37. package/main.scss +3 -3
  38. package/package.json +1 -1
  39. package/vue-components/types/importFlow.ts +16 -0
  40. package/vue-components/v2/banner/Banner.vue +1 -1
  41. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  42. package/vue-components/v2/modal/Modal.vue +1 -1
  43. package/vue-components/v2/pagination/Pagination.vue +1 -0
  44. package/vue-components/v3/alert/Alert.vue +2 -2
  45. package/vue-components/v3/banner/Banner.vue +2 -2
  46. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
  47. package/vue-components/v3/button/Button.vue +33 -11
  48. package/vue-components/v3/cards/Cluster.vue +6 -2
  49. package/vue-components/v3/cards/Vendor.vue +1 -1
  50. package/vue-components/v3/content/ContentTable.vue +1 -1
  51. package/vue-components/v3/editor/FilteredFileEditor.vue +5 -1
  52. package/vue-components/v3/footer/Info.vue +10 -8
  53. package/vue-components/v3/footer/Status.vue +21 -23
  54. package/vue-components/v3/footer/Usage.vue +20 -30
  55. package/vue-components/v3/form/Form.vue +0 -3
  56. package/vue-components/v3/form-fields/AcSingleInput.vue +8 -0
  57. package/vue-components/v3/header/Header.vue +2 -2
  58. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +7 -7
  59. package/vue-components/v3/modal/Modal.vue +1 -1
  60. package/vue-components/v3/modals/LongRunningTasksModal.vue +5 -5
  61. package/vue-components/v3/navbar/Navbar.vue +3 -1
  62. package/vue-components/v3/navbar/NavbarItemContent.vue +1 -1
  63. package/vue-components/v3/navbar/User.vue +4 -4
  64. package/vue-components/v3/notification/AlertBox.vue +233 -3
  65. package/vue-components/v3/option-dots/Options.vue +3 -2
  66. package/vue-components/v3/pagination/Pagination.vue +2 -1
  67. package/vue-components/v3/preloader/Preloader.vue +1 -1
  68. package/vue-components/v3/sidebar/ClusterSwitcher.vue +31 -27
  69. package/vue-components/v3/sidebar/Sidebar.vue +3 -30
  70. package/vue-components/v3/sidebar/SidebarFooter.vue +5 -2
  71. package/vue-components/v3/sidebar/Steps.vue +55 -51
  72. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +78 -2
  73. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +12 -3
  74. package/vue-components/v3/table/InfoTable.vue +6 -4
  75. package/vue-components/v3/table/Table.vue +16 -16
  76. package/vue-components/v3/table/TableRow.vue +2 -2
  77. package/components/_ac-card.scss +0 -0
  78. package/components/_ac-input.scss +0 -394
  79. /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
  80. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -0,0 +1,947 @@
1
+ // Input fields
2
+
3
+ // .ac-file-upload {
4
+ // margin-bottom: 20px;
5
+
6
+ // &:last-child {
7
+ // margin-bottom: 0;
8
+ // }
9
+
10
+ // &.style-2 {
11
+ // label {
12
+ // &.file-label {
13
+ // position: relative;
14
+ // z-index: 1;
15
+
16
+ // span.ac-placeholder {
17
+ // position: absolute;
18
+ // left: 180px;
19
+ // top: 10px;
20
+ // z-index: 1;
21
+ // font-size: 13px;
22
+ // color: $primary-10;
23
+ // font-weight: 400;
24
+ // }
25
+ // }
26
+
27
+ // .file-cta {
28
+ // background-color: $primary;
29
+ // margin-top: 3.5px;
30
+ // margin-left: 3px;
31
+ // height: 26px;
32
+
33
+ // .file-label {
34
+ // color: $white-100;
35
+ // font-weight: 400;
36
+ // }
37
+ // }
38
+ // }
39
+ // }
40
+
41
+ // label {
42
+ // background-color: transparent;
43
+ // height: 36px;
44
+ // font-weight: 400;
45
+ // border-radius: 4px;
46
+ // border: 1px solid $primary-10;
47
+ // font-size: 13px;
48
+
49
+ // .file-cta {
50
+ // background-color: transparent;
51
+ // border: none;
52
+ // }
53
+
54
+ // &:hover {
55
+ // border-color: $black-80;
56
+ // }
57
+
58
+ // &.bg-white {
59
+ // background-color: $white-100;
60
+ // }
61
+
62
+ // &:focus {
63
+ // border: 1px solid $primary;
64
+ // outline: none;
65
+ // background-color: $white-100;
66
+ // }
67
+ // }
68
+ // }
69
+
70
+ // input#captcha {
71
+ // background-color: $white-100;
72
+ // height: 36px;
73
+ // font-weight: 400;
74
+ // width: 100%;
75
+ // border-radius: 4px;
76
+ // border: 1px solid $primary-90;
77
+ // padding: 8px 15px;
78
+ // font-size: 13px;
79
+ // transition: background-color 0.3s ease-in-out;
80
+
81
+ // &:focus {
82
+ // outline: none;
83
+ // border-bottom: 1px solid $primary-10;
84
+ // }
85
+ // }
86
+
87
+ // // AC-Checkbox
88
+ // .ac-single-checkbox {
89
+ // .is-checkradio {
90
+ // position: unset !important;
91
+ // }
92
+
93
+ // .is-checkradio[type="checkbox"].ac-checkbox + label::before {
94
+ // height: 16px;
95
+ // width: 16px;
96
+ // background-color: $primary-90;
97
+ // }
98
+
99
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
100
+ // background-color: $primary;
101
+ // border-color: $primary;
102
+ // }
103
+
104
+ // .is-checkradio[type="checkbox"].ac-checkbox + label::after {
105
+ // top: 6px;
106
+ // left: 6px;
107
+ // border-color: $black-80;
108
+ // width: 0.3rem;
109
+ // height: 0.5rem;
110
+ // }
111
+
112
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label::after {
113
+ // border-color: $white-100;
114
+ // }
115
+
116
+ // .is-checkradio[type="checkbox"].ac-checkbox + label {
117
+ // color: $primary-10;
118
+ // font-size: 13px !important;
119
+ // padding-left: 25px;
120
+ // user-select: none;
121
+ // }
122
+
123
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
124
+ // color: $primary !important;
125
+ // }
126
+
127
+ // .is-checkradio[type="checkbox"].ac-checkbox + label {
128
+ // color: $primary-10;
129
+ // font-size: 13px;
130
+ // padding-left: 25px;
131
+ // user-select: none;
132
+ // }
133
+
134
+ // .is-checkradio[type="checkbox"],
135
+ // .is-checkradio[type="radio"] {
136
+ // display: none;
137
+ // }
138
+ // }
139
+
140
+ // .ac-single-radio {
141
+ // &.is-selected {
142
+ // .is-checkradio[type="radio"].ac-radio + label {
143
+ // color: $primary;
144
+ // }
145
+ // }
146
+ // }
147
+
148
+ // .is-checkradio[type="checkbox"] + label::before,
149
+ // .is-checkradio[type="checkbox"] + label:before {
150
+ // top: 3px;
151
+ // }
152
+
153
+ // // AC-Switch
154
+ // .ac-single-switch {
155
+ // label {
156
+ // user-select: none;
157
+ // font-size: 13px;
158
+ // font-weight: 400;
159
+ // color: $primary-10;
160
+
161
+ // &::before {
162
+ // background-color: #cad3df;
163
+ // }
164
+ // }
165
+
166
+ // .button.is-information {
167
+ // margin-top: 6px;
168
+ // }
169
+
170
+ // &.is-small {
171
+ // label {
172
+ // font-size: 13px !important;
173
+ // }
174
+ // .switch[type="checkbox"] + label {
175
+ // font-size: 13px;
176
+ // padding-top: 0;
177
+ // padding-left: 40px;
178
+ // height: auto;
179
+
180
+ // &::before {
181
+ // width: 30px;
182
+ // height: 16.2px;
183
+ // }
184
+
185
+ // &::after {
186
+ // top: 2px;
187
+ // left: 2px;
188
+ // width: 12px;
189
+ // height: 12px;
190
+ // }
191
+ // }
192
+
193
+ // .switch[type="checkbox"]:checked + label {
194
+ // &::after {
195
+ // left: 15px;
196
+ // }
197
+ // }
198
+ // }
199
+
200
+ // .switch {
201
+ // &[type="checkbox"] + label {
202
+ // padding-top: 3px;
203
+ // &::before {
204
+ // background-color: $black-50;
205
+ // }
206
+ // }
207
+
208
+ // &.ac-switch {
209
+ // &.is-primary {
210
+ // @include ac-switch($primary);
211
+ // }
212
+
213
+ // &.is-link {
214
+ // @include ac-switch($info);
215
+ // }
216
+
217
+ // &.is-info {
218
+ // @include ac-switch($info);
219
+ // }
220
+
221
+ // &.is-success {
222
+ // @include ac-switch($success);
223
+ // }
224
+
225
+ // &.is-warning {
226
+ // @include ac-switch($warning);
227
+ // }
228
+
229
+ // &.is-danger {
230
+ // @include ac-switch($danger);
231
+ // }
232
+ // }
233
+ // }
234
+ // }
235
+
236
+ // .ac-single-switch.is-small .switch[type="checkbox"] + label,
237
+ // .buttons.are-small
238
+ // .ac-single-switch.button.ac-button
239
+ // .switch[type="checkbox"]
240
+ // + label {
241
+ // height: 19px;
242
+ // }
243
+
244
+ // // transparent input
245
+ // .transparent-input {
246
+ // display: flex;
247
+ // align-items: center;
248
+ // width: calc(100% - 100px);
249
+
250
+ // span {
251
+ // width: 100%;
252
+ // }
253
+
254
+ // input {
255
+ // border: none;
256
+ // background-color: transparent;
257
+ // font-size: 18px;
258
+ // font-weight: 400;
259
+ // font-family: $font-heading;
260
+ // color: $primary-20;
261
+ // width: 100%;
262
+ // padding: 5px 0;
263
+
264
+ // &:focus {
265
+ // outline: none;
266
+ // border-bottom: 1px solid $primary-10;
267
+ // }
268
+ // }
269
+ // }
270
+
271
+ // // AC-Radio
272
+ // .ac-single-radio {
273
+ // .is-checkradio[type="radio"] {
274
+ // & + label {
275
+ // padding-left: 25px;
276
+ // font-size: 13px;
277
+ // padding: 0.3rem 0.5rem 0.2rem 1.5rem;
278
+
279
+ // &::after {
280
+ // background-color: $primary;
281
+ // width: 16px;
282
+ // height: 16px;
283
+ // top: 5px;
284
+ // }
285
+
286
+ // &:after {
287
+ // background-color: $primary;
288
+ // }
289
+
290
+ // &:before {
291
+ // border-color: $primary;
292
+ // width: 16px;
293
+ // height: 16px;
294
+ // top: 5px;
295
+ // }
296
+ // }
297
+
298
+ // &:hover {
299
+ // &:not([disabled]) {
300
+ // & + label {
301
+ // &:before {
302
+ // border-color: $primary !important;
303
+ // }
304
+ // }
305
+ // }
306
+ // }
307
+ // }
308
+
309
+ // .is-checkradio[type="radio"]:checked {
310
+ // & + label {
311
+ // color: $primary;
312
+ // }
313
+ // }
314
+ // }
315
+ // // dark theme start
316
+ // .is-dark-theme {
317
+ // .ac-single-input {
318
+ // input,
319
+ // .file-input,
320
+ // .ac-dropdown-content {
321
+ // background-color: transparent;
322
+ // }
323
+
324
+ // label {
325
+ // color: $primary-10;
326
+ // }
327
+ // .button.is-information:focus {
328
+ // background-color: $black-80;
329
+ // }
330
+ // }
331
+ // }
332
+ // // dark theme end
333
+ // /****************************************
334
+ // Responsive Classes
335
+ // *****************************************/
336
+ // // Extra small devices (portrait phones, less than 576px)
337
+ // @media (max-width: 575.98px) {
338
+ // .ac-single-input {
339
+ // input {
340
+ // height: 36px;
341
+ // font-size: 13px;
342
+ // font-weight: 400;
343
+ // }
344
+
345
+ // label {
346
+ // top: 9px;
347
+ // font-size: 13px;
348
+
349
+ // &.show-label {
350
+ // top: -9px;
351
+ // font-size: 12px;
352
+ // }
353
+ // }
354
+
355
+ // textarea {
356
+ // font-size: 13px;
357
+ // }
358
+
359
+ // span {
360
+ // &.eye {
361
+ // i.fa {
362
+ // padding: 10px;
363
+ // }
364
+ // }
365
+ // }
366
+
367
+ // .ac-search-button {
368
+ // margin-top: -18px;
369
+ // }
370
+ // }
371
+
372
+ // .ac-file-upload {
373
+ // label {
374
+ // height: 36px;
375
+ // font-size: 13px;
376
+ // }
377
+ // }
378
+ // }
379
+
380
+ // // Small devices (landscape phones, 576px and up)
381
+ // @media (min-width: 576px) and (max-width: 767.98px) {
382
+ // }
383
+
384
+ // // Medium devices (tablets, 768px and up)
385
+ // @media (min-width: 768px) and (max-width: 991.98px) {
386
+ // }
387
+
388
+ // // Large devices (desktops, 992px and up)
389
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
390
+ // }
391
+
392
+ // // Extra large devices (large desktops, 1200px and up)
393
+ // @media (min-width: 1200px) {
394
+ // }
395
+ .ac-single-input {
396
+ position: relative;
397
+ z-index: 1;
398
+ margin-bottom: 15px;
399
+
400
+ &.is-disable {
401
+ opacity: 0.5;
402
+
403
+ input,
404
+ .button.is-information,
405
+ .eye i.fa {
406
+ cursor: not-allowed;
407
+ }
408
+ }
409
+
410
+ &.is-information {
411
+ input {
412
+ padding-right: 45px;
413
+
414
+ &[type="password"] {
415
+ padding-right: 80px;
416
+ }
417
+ }
418
+
419
+ span.eye i.fa {
420
+ right: 35px;
421
+ }
422
+ }
423
+
424
+ &.is-success {
425
+
426
+ input,
427
+ .ac-card,
428
+ textarea {
429
+ border: 1px solid $primary !important;
430
+ }
431
+
432
+ p {
433
+ color: $primary;
434
+ }
435
+ }
436
+
437
+ &.is-danger {
438
+
439
+ input,
440
+ .ac-card,
441
+ textarea {
442
+ border: 1px solid $danger;
443
+ }
444
+
445
+ p {
446
+ color: $danger;
447
+ }
448
+ }
449
+
450
+ &.is-loading {
451
+
452
+ input,
453
+ .ac-card,
454
+ textarea {
455
+ border: 1px solid $info;
456
+ opacity: 0.5;
457
+ }
458
+
459
+ p {
460
+ color: $info;
461
+ opacity: 0.5;
462
+ }
463
+ }
464
+
465
+ &.borderless-input {
466
+ input {
467
+ border: none;
468
+ font-size: 13px;
469
+ padding: 4px 7px;
470
+ height: 30px;
471
+ background-color: $white-100;
472
+ padding-right: 30px;
473
+
474
+ &[type="password"] {
475
+ padding-right: 30px;
476
+ }
477
+
478
+ &:focus {
479
+ outline: none;
480
+ border: none;
481
+ }
482
+ }
483
+
484
+ span.eye {
485
+ i.fa {
486
+ padding: 9px;
487
+ font-size: 12px;
488
+ }
489
+ }
490
+ }
491
+
492
+ &.is-normal {
493
+ input {
494
+ height: 45px;
495
+ font-size: 15px;
496
+ font-weight: 400;
497
+ }
498
+
499
+ .button {
500
+ &.is-information {
501
+ height: 45px;
502
+ width: 45px;
503
+ margin-top: 0;
504
+ }
505
+ }
506
+
507
+ span.eye i.fa {
508
+ padding: 14px 10px;
509
+ }
510
+
511
+ .ac-search-button {
512
+ margin-top: -22.5px;
513
+ }
514
+
515
+ label {
516
+ top: 13px;
517
+ font-size: 13px;
518
+
519
+ &.show-label {
520
+ font-size: 12px;
521
+ color: $black-40;
522
+ top: -9px;
523
+ font-weight: 500;
524
+ background-color: $white-100;
525
+ }
526
+ }
527
+
528
+ .control {
529
+ &.has-icons-right {
530
+ .icon {
531
+ height: 45px;
532
+ width: 30px;
533
+ font-size: 13px;
534
+ }
535
+ }
536
+ }
537
+ }
538
+
539
+ &.is-small {
540
+ input {
541
+ height: 36px;
542
+ font-size: 13px;
543
+ font-weight: 400;
544
+ }
545
+
546
+ .button {
547
+ &.is-information {
548
+ height: 36px;
549
+ width: 36px;
550
+ margin-top: 0;
551
+ padding: 10px;
552
+ }
553
+ }
554
+
555
+ span.eye i.fa {
556
+ padding: 10px;
557
+ }
558
+
559
+ .ac-search-button {
560
+ margin-top: -18px;
561
+ }
562
+
563
+ label {
564
+ top: 8px;
565
+ font-size: 13px;
566
+
567
+ &.switch-label {
568
+ top: 0;
569
+ }
570
+
571
+ &.show-label {
572
+ font-size: 12px;
573
+ top: -9px;
574
+ font-weight: 500;
575
+ color: $black-40;
576
+
577
+ &.is-required {
578
+ &:after {
579
+ width: calc(100% + 10px);
580
+ }
581
+ }
582
+ }
583
+ }
584
+
585
+ .control {
586
+ &.has-icons-right {
587
+ .icon {
588
+ height: 36px;
589
+ width: 25px;
590
+ font-size: 13px;
591
+ }
592
+ }
593
+ }
594
+ }
595
+
596
+ &.is-extra-small {
597
+ input {
598
+ height: 32px;
599
+ font-size: 13px;
600
+ font-weight: 400;
601
+ }
602
+
603
+ .button {
604
+ &.is-information {
605
+ height: 32px;
606
+ width: 32px;
607
+ margin-top: 0;
608
+ }
609
+ }
610
+
611
+ span.eye i.fa {
612
+ padding: 10px;
613
+ }
614
+
615
+ .ac-search-button {
616
+ margin-top: 0px;
617
+ top: 0;
618
+ display: flex;
619
+ align-items: center;
620
+ width: 40px;
621
+ justify-content: center;
622
+
623
+ svg {
624
+ width: 18px;
625
+ }
626
+ }
627
+
628
+ label {
629
+ top: 8px;
630
+ font-size: 13px;
631
+
632
+ &.switch-label {
633
+ top: 0;
634
+ }
635
+
636
+ &.show-label {
637
+ font-size: 12px;
638
+ top: -9px;
639
+ }
640
+ }
641
+
642
+ .control {
643
+ &.has-icons-right {
644
+ .icon {
645
+ height: 32px;
646
+ width: 25px;
647
+ font-size: 13px;
648
+ }
649
+ }
650
+ }
651
+ }
652
+
653
+ &:last-child {
654
+ margin-bottom: 0;
655
+ }
656
+
657
+ &.is-dark {
658
+ input {
659
+ background-color: $primary-10;
660
+ border-color: transparent;
661
+ color: $white-100;
662
+
663
+ &::placeholder {
664
+ color: $primary-10;
665
+ }
666
+
667
+ button {
668
+ i.fa {
669
+ color: $white-100;
670
+ }
671
+ }
672
+ }
673
+ }
674
+
675
+ label {
676
+ font-size: 13px;
677
+ left: 15px;
678
+ top: 11px;
679
+ cursor: text;
680
+ color: $primary-10;
681
+ position: absolute;
682
+ z-index: 2;
683
+ transition: 0.3s ease-in-out;
684
+
685
+ .is-required {
686
+ color: $danger;
687
+
688
+ img {
689
+ position: absolute;
690
+ top: 7px;
691
+ padding-left: 3px;
692
+ }
693
+ }
694
+
695
+ &.show-label {
696
+ top: -9px;
697
+ left: 10px;
698
+ padding: 0 5px;
699
+ font-size: 13px;
700
+ color: $black-40;
701
+
702
+ &:after {
703
+ position: absolute;
704
+ content: "";
705
+ left: 0;
706
+ top: 50%;
707
+ background-color: $white-100;
708
+ width: 100%;
709
+ height: 2px;
710
+ margin-top: -1px;
711
+ z-index: -1;
712
+ }
713
+
714
+ // &.is-required {
715
+ // &:after {
716
+ // width: calc(100% + 10px);
717
+ // }
718
+ // }
719
+ }
720
+ }
721
+
722
+ .button {
723
+ &.is-information {
724
+ background-color: transparent;
725
+ border: none;
726
+ position: absolute;
727
+ right: 0;
728
+ height: 32px;
729
+ width: 32px;
730
+ margin-top: 0;
731
+
732
+ &:focus {
733
+ outline: none;
734
+ box-shadow: none;
735
+ background-color: #e4e8ef;
736
+ transform: scale(0.8);
737
+ }
738
+ }
739
+ }
740
+
741
+ .ac-search-button {
742
+ background-color: transparent;
743
+ border: none;
744
+ position: absolute;
745
+ left: 0;
746
+ top: 50%;
747
+ width: 32px;
748
+ height: 100%;
749
+ margin-top: -15px;
750
+ color: $primary-20;
751
+ cursor: pointer;
752
+ }
753
+
754
+ .ac-dropdown-content {
755
+ position: absolute;
756
+ background-color: $primary-90;
757
+ width: 100%;
758
+ height: auto;
759
+ box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
760
+ border-radius: 4px;
761
+ overflow: hidden;
762
+
763
+ ul {
764
+ li {
765
+ a {
766
+ color: $primary-10;
767
+ display: block;
768
+ font-size: 13px;
769
+ padding: 8px 20px;
770
+ transition: 0.3s;
771
+
772
+ &:hover {
773
+ background-color: hsla(var(--hsl-hue),
774
+ var(--hsl-saturation),
775
+ var(--hsl-lightness),
776
+ 0.2);
777
+ color: $primary;
778
+ }
779
+ }
780
+ }
781
+ }
782
+ }
783
+
784
+ .ac-textarea {
785
+ .ac-label {
786
+ &.is-required {
787
+ &:after {
788
+ width: calc(100% + 10px);
789
+ }
790
+ }
791
+ }
792
+
793
+ textarea {
794
+ border: 1px solid $primary-80;
795
+ background-color: transparent;
796
+ padding: 10px 15px;
797
+ min-height: 50px;
798
+
799
+ &.bg-white {
800
+ background-color: transparent;
801
+ }
802
+
803
+ &:focus {
804
+ outline: none;
805
+ border: 1px solid $primary;
806
+ }
807
+ }
808
+ }
809
+
810
+ input,
811
+ .ac-card,
812
+ textarea {
813
+ background-color: $white-100;
814
+ color: $primary-10;
815
+ height: 45px;
816
+ font-weight: 400;
817
+ width: 100%;
818
+ border-radius: 4px;
819
+ border: 1px solid $primary-80;
820
+ padding: 8px 15px;
821
+ font-size: 13px;
822
+
823
+ &:hover {
824
+ border-color: $black-70;
825
+ }
826
+
827
+ &.bg-white {
828
+ background-color: $white-100;
829
+ }
830
+
831
+ &.StripeElement--focus {
832
+ border: 1px solid $primary;
833
+ }
834
+
835
+ &:focus {
836
+ border: 1px solid $primary;
837
+ outline: none;
838
+ background-color: $white-100;
839
+ }
840
+
841
+ &[type="password"] {
842
+ padding-right: 40px;
843
+ }
844
+
845
+ &[type="search"] {
846
+ padding-left: 30px;
847
+ }
848
+
849
+ transition: background-color 0.3s ease-in-out;
850
+ }
851
+
852
+ .ac-card {
853
+ height: 36px;
854
+ padding: 10px 20px;
855
+ }
856
+
857
+ textarea {
858
+ height: 55px;
859
+ }
860
+
861
+ b.isRequired {
862
+ color: $danger;
863
+ font-size: 13px;
864
+ position: absolute;
865
+ right: 5px;
866
+ z-index: 9;
867
+ }
868
+
869
+ span.eye {
870
+ i.fa {
871
+ color: $primary-80;
872
+ position: absolute;
873
+ cursor: pointer;
874
+ padding: 15px;
875
+ right: 0;
876
+ top: 0;
877
+ }
878
+ }
879
+
880
+ .is-danger {
881
+ font-size: 12px;
882
+ line-height: 22px;
883
+ color: $danger;
884
+ text-align: left;
885
+
886
+ i.fa {
887
+ padding-right: 10px;
888
+ }
889
+ }
890
+ }
891
+
892
+ .ac-input.ac-search {
893
+ width: 42px;
894
+ transition: 0.3s ease-in-out;
895
+ padding: 0;
896
+ }
897
+
898
+ .ac-search:focus {
899
+ width: 200px !important;
900
+ padding-right: 10px;
901
+ }
902
+
903
+ // check radio
904
+
905
+ .ac-single-radio {
906
+ .is-checkradio[type="radio"]+label {
907
+ padding-left: 25px;
908
+
909
+ &:before {
910
+ width: 16px;
911
+ height: 16px;
912
+ top: 4px;
913
+ background: transparent;
914
+ }
915
+
916
+ &:after {
917
+ width: 16px;
918
+ height: 16px;
919
+ top: 4px;
920
+ }
921
+ }
922
+ }
923
+
924
+ .is-checkradio[type="radio"]+label::after,
925
+ .is-checkradio[type="radio"]+label:after {
926
+ background: $primary;
927
+ }
928
+
929
+ .is-checkradio[type="checkbox"]:checked+label::before,
930
+ .is-checkradio[type="checkbox"]:checked+label:before,
931
+ .is-checkradio[type="radio"]:checked+label::before,
932
+ .is-checkradio[type="radio"]:checked+label:before {
933
+ border: 0.2rem solid $primary;
934
+ }
935
+
936
+ .is-checkradio[type="checkbox"]:hover:not([disabled])+label::before,
937
+ .is-checkradio[type="checkbox"]:hover:not([disabled])+label:before,
938
+ .is-checkradio[type="radio"]:hover:not([disabled])+label::before,
939
+ .is-checkradio[type="radio"]:hover:not([disabled])+label:before {
940
+ border-color: $primary-30 !important;
941
+ }
942
+
943
+ .is-checkradio[type="checkbox"]+label::after,
944
+ .is-checkradio[type="checkbox"]+label:after {
945
+ border-width: 0.2rem;
946
+ border-color: $primary;
947
+ }