@appscode/design-system 0.0.21-alpha.2 → 0.4.27

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 (165) hide show
  1. package/base/utilities/_all.scss +7 -0
  2. package/base/utilities/_customize-bulma.scss +191 -0
  3. package/base/utilities/_default.scss +319 -110
  4. package/base/utilities/_derived-variables.scss +8 -15
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +111 -72
  7. package/base/utilities/_mixin.scss +90 -10
  8. package/base/utilities/_typography.scss +29 -19
  9. package/base/utilities/dark-theme.scss +26 -0
  10. package/components/_ac-accordion.scss +15 -5
  11. package/components/_ac-alert-box.scss +109 -26
  12. package/components/_ac-card.scss +71 -24
  13. package/components/_ac-code-highlight.scss +7 -1
  14. package/components/_ac-content-layout.scss +5 -5
  15. package/components/_ac-drag.scss +8 -6
  16. package/components/_ac-input.scss +196 -38
  17. package/components/_ac-modal.scss +6 -5
  18. package/components/_ac-multi-select.scss +281 -23
  19. package/components/_ac-options.scss +31 -16
  20. package/components/_ac-report.scss +53 -0
  21. package/components/_ac-select-box.scss +15 -5
  22. package/components/_ac-table.scss +160 -39
  23. package/components/_ac-tabs.scss +86 -23
  24. package/components/_ac-tags.scss +87 -2
  25. package/components/_ac-terminal.scss +270 -0
  26. package/components/_all.scss +28 -0
  27. package/components/_app-drawer.scss +134 -0
  28. package/components/_breadcumb.scss +8 -3
  29. package/components/_buttons.scss +96 -62
  30. package/components/_card-body-wrapper.scss +3 -3
  31. package/components/_dashboard-header.scss +33 -1
  32. package/components/_direct-deploy.scss +69 -0
  33. package/components/_go-to-top.scss +1 -1
  34. package/components/_graph.scss +45 -0
  35. package/components/_image-upload.scss +6 -4
  36. package/components/_left-sidebar-menu.scss +212 -52
  37. package/components/_monaco-editor.scss +1 -1
  38. package/components/_navbar.scss +193 -31
  39. package/components/_overview-info.scss +4 -4
  40. package/components/_overview-page.scss +1 -2
  41. package/components/_pagination.scss +45 -7
  42. package/components/_payment-card.scss +28 -12
  43. package/components/_preloader.scss +1 -1
  44. package/components/_preview-modal.scss +22 -9
  45. package/components/_pricing-table.scss +1 -1
  46. package/components/_progress-bar.scss +5 -5
  47. package/components/_subscription-card.scss +15 -8
  48. package/components/_table-of-content.scss +1 -1
  49. package/components/_tfa.scss +69 -0
  50. package/components/_transitions.scss +261 -0
  51. package/components/_widget-menu.scss +9 -9
  52. package/components/_wizard.scss +33 -20
  53. package/components/ac-toaster/_ac-toasted.scss +40 -8
  54. package/components/bbum/_all.scss +9 -0
  55. package/components/bbum/_card-team.scss +18 -10
  56. package/components/bbum/_information-center.scss +19 -5
  57. package/components/bbum/_mobile-desktop.scss +6 -6
  58. package/components/bbum/_post.scss +5 -4
  59. package/components/bbum/_sign-up-notification.scss +6 -6
  60. package/components/bbum/_single-post-preview.scss +10 -10
  61. package/components/bbum/_user-profile.scss +97 -90
  62. package/components/ui-builder/_ui-builder.scss +98 -21
  63. package/components/ui-builder/_vue-open-api.scss +104 -0
  64. package/layouts/_404.scss +159 -0
  65. package/layouts/_all.scss +2 -0
  66. package/layouts/_code-preview.scss +19 -8
  67. package/main.scss +6 -53
  68. package/package.json +4 -7
  69. package/plugins/caching.ts +243 -0
  70. package/plugins/theme.js +142 -0
  71. package/plugins/time-convert.js +49 -0
  72. package/plugins/vue-toaster.js +10 -6
  73. package/vue-components/v2/banner/Banner.vue +2 -2
  74. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  75. package/vue-components/v2/button/Button.vue +10 -1
  76. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  77. package/vue-components/v2/card/Card.vue +1 -0
  78. package/vue-components/v2/card/CardContent.vue +5 -0
  79. package/vue-components/v2/card/CardHeader.vue +12 -0
  80. package/vue-components/v2/card/OverviewCard.vue +10 -0
  81. package/vue-components/v2/card/OverviewCards.vue +5 -0
  82. package/vue-components/v2/card/PaymentCard.vue +69 -0
  83. package/vue-components/v2/card/PaymentCardOptionButtons.vue +35 -0
  84. package/vue-components/v2/card/PaymentCards.vue +44 -0
  85. package/vue-components/v2/content/ContentHeader.vue +9 -5
  86. package/vue-components/v2/content/ContentTable.vue +12 -7
  87. package/vue-components/v2/editor/Editor.vue +38 -5
  88. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  89. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  90. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  91. package/vue-components/v2/form/Form.vue +12 -7
  92. package/vue-components/v2/form-fields/Input.vue +1 -1
  93. package/vue-components/v2/header/Header.vue +0 -1
  94. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  95. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  96. package/vue-components/v2/modal/Modal.vue +40 -7
  97. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  98. package/vue-components/v2/modals/JsonShowModal.vue +12 -3
  99. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  100. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  101. package/vue-components/v2/navbar/User.vue +229 -17
  102. package/vue-components/v2/notification/Notification.vue +101 -0
  103. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  104. package/vue-components/v2/pagination/Pagination.vue +24 -4
  105. package/vue-components/v2/preloader/Preloader.vue +5 -5
  106. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  107. package/vue-components/v2/sidebar/SidebarItem.vue +24 -2
  108. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  109. package/vue-components/v2/tab/TabItem.vue +1 -1
  110. package/vue-components/v2/table/FakeTableCell.vue +36 -0
  111. package/vue-components/v2/table/InfoTable.vue +13 -3
  112. package/vue-components/v2/table/NarrowTable.vue +0 -2
  113. package/vue-components/v2/table/Table.vue +170 -10
  114. package/vue-components/v2/table/TableRow.vue +29 -2
  115. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  116. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  117. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  118. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  119. package/vue-components/v3/button/Button.vue +78 -0
  120. package/vue-components/v3/content/ContentHeader.vue +55 -0
  121. package/vue-components/v3/content/ContentTable.vue +83 -0
  122. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  123. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  124. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  125. package/vue-components/v3/editor/Editor.vue +160 -0
  126. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  127. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  128. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  129. package/vue-components/v3/form/Form.vue +63 -0
  130. package/vue-components/v3/form-fields/Input.vue +22 -0
  131. package/vue-components/v3/header/Header.vue +45 -0
  132. package/vue-components/v3/header/HeaderItem.vue +5 -0
  133. package/vue-components/v3/header/HeaderItems.vue +5 -0
  134. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  135. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  136. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  137. package/vue-components/v3/modal/Modal.vue +158 -0
  138. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  139. package/vue-components/v3/modals/JsonShowModal.vue +96 -0
  140. package/vue-components/v3/modals/LongRunningTasksModal.vue +373 -0
  141. package/vue-components/v3/navbar/Appdrawer.vue +63 -0
  142. package/vue-components/v3/navbar/ThemeMode.vue +120 -0
  143. package/vue-components/v3/navbar/User.vue +288 -0
  144. package/vue-components/v3/notification/Notification.vue +98 -0
  145. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  146. package/vue-components/v3/pagination/Pagination.vue +172 -0
  147. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  148. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  149. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  150. package/vue-components/v3/tab/TabItem.vue +17 -0
  151. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  152. package/vue-components/v3/table/InfoTable.vue +105 -0
  153. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  154. package/vue-components/v3/table/Table.vue +272 -0
  155. package/vue-components/v3/table/TableCell.vue +28 -0
  156. package/vue-components/v3/table/TableContainer.vue +34 -0
  157. package/vue-components/v3/table/TableRow.vue +147 -0
  158. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  159. package/vue-components/v3/table/table-cell/CellValue.vue +133 -0
  160. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  161. package/vue-components/v3/table/table-cell/ObjectCell.vue +110 -0
  162. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  163. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  164. package/vue-components/v3/tag/Tag.vue +17 -0
  165. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -2,7 +2,7 @@
2
2
  // margin-top: 3px;
3
3
  &.cluster-select {
4
4
  .multiselect__tags {
5
- border: 1px solid $ac-grey-lightest;
5
+ border: 1px solid $ac-gray-lightest;
6
6
  background-color: $table-header;
7
7
 
8
8
  .multiselect__input {
@@ -17,7 +17,7 @@
17
17
  font-weight: 500;
18
18
  width: 100%;
19
19
  border-radius: 4px;
20
- border: 1px solid $ac-border;
20
+ border: 1px solid $ac-label-text;
21
21
  padding: 6px 30px 8px 20px;
22
22
  font-size: $font-size-small;
23
23
 
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .multiselect__tag {
38
- background-color: $ac-border-hover;
38
+ background-color: $dark-bg-light;
39
39
  margin-top: 4px;
40
40
  margin-bottom: 0;
41
41
 
@@ -47,7 +47,12 @@
47
47
  }
48
48
 
49
49
  &:hover {
50
- background-color: darken($color: $ac-primary, $amount: 9);
50
+ background-color: hsla(
51
+ var(--hsl-hue),
52
+ var(--hsl-saturation),
53
+ calc(var(--hsl-lightness) - 9%),
54
+ 1
55
+ );
51
56
  }
52
57
  }
53
58
  }
@@ -76,10 +81,11 @@
76
81
  .multiselect__element {
77
82
  .multiselect__option {
78
83
  padding: 10px 15px;
79
- min-height: 40px;
84
+ min-height: 32px;
80
85
  font-size: $font-size-small;
81
86
  p {
82
87
  font-size: 13px;
88
+ color: $ac-color-text;
83
89
  }
84
90
  a {
85
91
  display: block;
@@ -91,16 +97,31 @@
91
97
  }
92
98
 
93
99
  &:hover {
94
- background-color: scale-color($color: $ac-primary, $lightness: 80%);
100
+ background-color: hsla(
101
+ var(--hsl-hue),
102
+ var(--hsl-saturation),
103
+ var(--hsl-lightness),
104
+ 0.2
105
+ );
95
106
  color: $ac-primary;
96
107
  }
97
108
 
98
109
  &.multiselect__option--highlight {
99
- background-color: scale-color($color: $ac-primary, $lightness: 80%);
110
+ background-color: hsla(
111
+ var(--hsl-hue),
112
+ var(--hsl-saturation),
113
+ var(--hsl-lightness),
114
+ 0.2
115
+ );
100
116
  color: $ac-primary;
101
117
 
102
118
  &:after {
103
- background-color: scale-color($color: $ac-primary, $lightness: 80%);
119
+ background-color: hsla(
120
+ var(--hsl-hue),
121
+ var(--hsl-saturation),
122
+ var(--hsl-lightness),
123
+ 0.2
124
+ );
104
125
  color: $ac-primary;
105
126
  }
106
127
  }
@@ -130,12 +151,12 @@
130
151
  label {
131
152
  padding-left: 15px !important;
132
153
  font-size: $font-size-small !important;
133
- color: #323232 !important;
154
+ color: $ac-color-text !important;
134
155
 
135
156
  &:after {
136
157
  position: inherit !important;
137
158
  content: "" !important;
138
- background: transparent;
159
+ background-color: transparent;
139
160
  }
140
161
  }
141
162
  }
@@ -143,7 +164,7 @@
143
164
 
144
165
  .multiselect__input {
145
166
  &::placeholder {
146
- color: #9b7575;
167
+ color: $ac-color-value;
147
168
  font-weight: 400;
148
169
  line-height: 1.6;
149
170
  font-size: $font-size-small;
@@ -196,7 +217,7 @@
196
217
  font-size: $font-size-extra-small;
197
218
  top: -9px;
198
219
  font-weight: 500;
199
- color: #000;
220
+ color: $ac-black;
200
221
  }
201
222
  }
202
223
 
@@ -364,7 +385,7 @@
364
385
  .multiselect__select {
365
386
  height: calc(100% - 2px);
366
387
  border-radius: 0 4px 4px 0;
367
- background: transparent !important;
388
+ background-color: transparent !important;
368
389
  }
369
390
 
370
391
  label {
@@ -372,7 +393,7 @@
372
393
  left: 20px;
373
394
  top: 11px;
374
395
  cursor: text;
375
- color: $ac-border;
396
+ color: $ac-label-text;
376
397
  position: absolute;
377
398
  z-index: 99;
378
399
  transition: 0.3s ease-in-out;
@@ -390,10 +411,10 @@
390
411
  left: 15px;
391
412
  padding: 0 5px;
392
413
  font-size: $font-size-small;
393
- color: #000;
414
+ color: $ac-black;
394
415
 
395
416
  &::after {
396
- background: $ac-white;
417
+ background-color: $ac-white;
397
418
  }
398
419
  }
399
420
 
@@ -402,7 +423,7 @@
402
423
  content: "";
403
424
  left: 0;
404
425
  top: 50%;
405
- background: $ac-white;
426
+ background-color: $ac-white;
406
427
  width: 100%;
407
428
  height: 2px;
408
429
  margin-top: -1px;
@@ -419,6 +440,7 @@
419
440
  li {
420
441
  .multiselect__option {
421
442
  font-size: 13px;
443
+ color: $ac-color-text;
422
444
  }
423
445
  }
424
446
  .multiselect__option--selected {
@@ -444,31 +466,267 @@ li {
444
466
  z-index: 99;
445
467
  right: 30px;
446
468
  }
469
+ &.has-refresh-button {
470
+ .multiselect__select {
471
+ z-index: 99;
472
+ right: 60px;
473
+ }
474
+ .button {
475
+ &.is-refresh {
476
+ right: 30px;
477
+ }
478
+ }
479
+ }
480
+ .button {
481
+ &.is-information {
482
+ right: 0;
483
+ }
484
+ }
485
+ }
486
+ &.has-refresh-button {
487
+ .multiselect__select {
488
+ z-index: 99;
489
+ right: 30px;
490
+ }
491
+ .button {
492
+ &.is-refresh {
493
+ right: 0;
494
+ }
495
+ }
447
496
  }
448
497
 
449
498
  .button {
450
- &.is-information {
451
- background: transparent;
499
+ &.is-information,
500
+ &.is-refresh {
501
+ background-color: transparent;
452
502
  border: none;
453
503
  position: absolute;
454
- right: 0;
455
- height: 45px;
456
- width: 45px;
504
+ height: 36px;
505
+ width: 36px;
457
506
  z-index: 90;
458
507
  margin-top: 0;
459
508
 
460
509
  &:focus {
461
510
  outline: none;
462
511
  box-shadow: none;
463
- background: #e4e8ef;
512
+ background-color: #e4e8ef;
464
513
  transform: scale(0.8);
465
514
  }
466
515
  }
516
+ &.is-refresh.spin {
517
+ i {
518
+ animation: spin 1s linear infinite;
519
+ }
520
+ }
467
521
  }
468
522
  }
469
523
 
524
+ @-moz-keyframes spin {
525
+ from {
526
+ -moz-transform: rotate(0deg);
527
+ }
528
+ to {
529
+ -moz-transform: rotate(360deg);
530
+ }
531
+ }
532
+ @-webkit-keyframes spin {
533
+ from {
534
+ -webkit-transform: rotate(0deg);
535
+ }
536
+ to {
537
+ -webkit-transform: rotate(360deg);
538
+ }
539
+ }
540
+ @keyframes spin {
541
+ from {
542
+ transform: rotate(0deg);
543
+ }
544
+ to {
545
+ transform: rotate(360deg);
546
+ }
547
+ }
470
548
  // has info button end
471
549
 
550
+ // dark theme start
551
+ .is-dark-theme {
552
+ .multiselect__content-wrapper {
553
+ background: var(--dark-bg-light);
554
+ border: 1px solid $ac-white-light;
555
+
556
+ // scroll
557
+ &::-webkit-scrollbar {
558
+ border-radius: 50px;
559
+ width: 3px;
560
+ }
561
+
562
+ &::-moz-scrollbar {
563
+ border-radius: 50px;
564
+ width: 3px;
565
+ }
566
+
567
+ &::-ms-scrollbar {
568
+ border-radius: 50px;
569
+ width: 3px;
570
+ }
571
+
572
+ &::-webkit-scrollbar:hover {
573
+ width: 7px;
574
+ }
575
+
576
+ &::-moz-scrollbar:hover {
577
+ width: 7px;
578
+ }
579
+
580
+ &::-ms-scrollbar:hover {
581
+ width: 7px;
582
+ }
583
+
584
+ &::-webkit-scrollbar-thumb {
585
+ background-color: $dark-bg-light;
586
+ border-radius: 50px;
587
+ height: 2px !important;
588
+ }
589
+
590
+ &::-moz-scrollbar-thumb {
591
+ background-color: $dark-bg-light;
592
+ border-radius: 50px;
593
+ height: 2px !important;
594
+ }
595
+
596
+ &::-ms-scrollbar-thumb {
597
+ background-color: $dark-bg-light;
598
+ border-radius: 50px;
599
+ height: 2px !important;
600
+ }
601
+
602
+ &::-webkit-scrollbar-thumb:hover {
603
+ background-color: $dark-bg-light;
604
+ }
605
+
606
+ &::-moz-scrollbar-thumb:hover {
607
+ background-color: $dark-bg-light;
608
+ }
609
+
610
+ &::-ms-scrollbar-thumb:hover {
611
+ background-color: $dark-bg-light;
612
+ }
613
+
614
+ &:hover::-webkit-scrollbar-corner {
615
+ height: 40px;
616
+ }
617
+
618
+ &:hover::-moz-scrollbar-corner {
619
+ height: 40px;
620
+ }
621
+
622
+ &:hover::-ms-scrollbar-corner {
623
+ height: 40px;
624
+ }
625
+
626
+ // scroll
627
+
628
+ .multiselect__option--selected {
629
+ background: var(--dark-bg);
630
+ color: var(--ac-white-text);
631
+ }
632
+ }
633
+
634
+ .multi-select-wrapper {
635
+ background: var(--dark-bg-light);
636
+
637
+ .multiselect__content-wrapper {
638
+ background-color: var(--dark-bg-light);
639
+ background: var(--dark-bg-light);
640
+
641
+ // scroll
642
+ &::-webkit-scrollbar {
643
+ border-radius: 50px;
644
+ width: 3px;
645
+ }
646
+
647
+ &::-moz-scrollbar {
648
+ border-radius: 50px;
649
+ width: 3px;
650
+ }
651
+
652
+ &::-ms-scrollbar {
653
+ border-radius: 50px;
654
+ width: 3px;
655
+ }
656
+
657
+ &::-webkit-scrollbar:hover {
658
+ width: 7px;
659
+ }
660
+
661
+ &::-moz-scrollbar:hover {
662
+ width: 7px;
663
+ }
664
+
665
+ &::-ms-scrollbar:hover {
666
+ width: 7px;
667
+ }
668
+
669
+ &::-webkit-scrollbar-thumb {
670
+ background-color: $dark-bg-light;
671
+ border-radius: 50px;
672
+ height: 2px !important;
673
+ }
674
+
675
+ &::-moz-scrollbar-thumb {
676
+ background-color: $dark-bg-light;
677
+ border-radius: 50px;
678
+ height: 2px !important;
679
+ }
680
+
681
+ &::-ms-scrollbar-thumb {
682
+ background-color: $dark-bg-light;
683
+ border-radius: 50px;
684
+ height: 2px !important;
685
+ }
686
+
687
+ &::-webkit-scrollbar-thumb:hover {
688
+ background-color: $dark-bg-light;
689
+ }
690
+
691
+ &::-moz-scrollbar-thumb:hover {
692
+ background-color: $dark-bg-light;
693
+ }
694
+
695
+ &::-ms-scrollbar-thumb:hover {
696
+ background-color: $dark-bg-light;
697
+ }
698
+
699
+ &:hover::-webkit-scrollbar-corner {
700
+ height: 40px;
701
+ }
702
+
703
+ &:hover::-moz-scrollbar-corner {
704
+ height: 40px;
705
+ }
706
+
707
+ &:hover::-ms-scrollbar-corner {
708
+ height: 40px;
709
+ }
710
+
711
+ // scroll
712
+
713
+ .multiselect__content .multiselect__element .multiselect__option {
714
+ color: var(--ac-white-text);
715
+ }
716
+
717
+ .multiselect__option--group {
718
+ color: var(--ac-white-text);
719
+ background-color: var(--dark-bg-light);
720
+ }
721
+
722
+ .multiselect__option--selected {
723
+ color: var(--ac-white-text);
724
+ background-color: var(--dark-bg-light);
725
+ }
726
+ }
727
+ }
728
+ }
729
+ // dark theme end
472
730
  /****************************************
473
731
  Responsive Classes
474
732
  *****************************************/
@@ -26,6 +26,8 @@
26
26
  &.is-right {
27
27
  .option-dots {
28
28
  align-items: flex-end;
29
+ padding: 0 10px;
30
+ margin-right: -10px;
29
31
  }
30
32
 
31
33
  .options-items {
@@ -39,51 +41,53 @@
39
41
  cursor: pointer;
40
42
  align-items: flex-start;
41
43
  border: none;
42
- background: transparent;
44
+ background-color: transparent;
43
45
  transition: 0.3 ease-in-out;
46
+
44
47
 
45
48
  &:hover {
46
49
  color: $ac-primary;
47
50
  }
48
51
 
49
52
  span {
50
- width: 5px;
51
- height: 5px;
52
- background: #333;
53
+ width: 4px;
54
+ height: 4px;
55
+ background-color: $ac-color-value;
53
56
  border-radius: 50%;
54
- margin-bottom: 2px;
57
+ margin-bottom: 1px;
55
58
  }
56
59
  }
57
60
 
58
61
  .options-items {
59
- box-shadow: $ac-shadow-1;
60
62
  border-radius: 4px;
61
63
  position: absolute;
62
64
  z-index: 99;
63
- background: $ac-white;
65
+ background-color: $ac-white;
64
66
  min-width: 160px;
65
67
  top: 30px;
68
+ padding: 5px 0;
69
+ border: 1px solid $ac-white-light;
66
70
 
67
71
  li {
68
72
  .list-button {
69
73
  width: 100%;
70
- background: transparent;
74
+ background-color: transparent;
71
75
  border: none;
72
76
  cursor: pointer;
73
77
  font-weight: 400;
74
78
  text-align: left;
75
- color: #333;
79
+ color: $ac-color-value;
76
80
  font-size: $font-size-small;
77
81
  padding: 10px 30px;
78
82
  display: block;
79
83
 
80
84
  &:hover {
81
- background: $ac-primary;
82
- color: $ac-white;
85
+ background-color: $ac-bg-light-gray;
86
+ color: $ac-primary;
83
87
  }
84
88
 
85
89
  span {
86
- background: transparent;
90
+ background-color: transparent;
87
91
 
88
92
  &.icon {
89
93
  margin-right: 5px;
@@ -93,16 +97,27 @@
93
97
 
94
98
  a {
95
99
  font-size: $font-size-small;
96
- padding: 10px 30px;
100
+ padding: 7px 15px;
97
101
  display: block;
98
102
  text-decoration: none !important;
99
- color: #333 !important;
103
+ color: $ac-color-text !important;
104
+ border: none;
100
105
 
101
106
  &:hover {
102
- background-color: $ac-primary;
103
- color: $ac-white !important;
107
+ background-color: $ac-bg-light-gray;
108
+ color: $ac-primary !important;
104
109
  }
105
110
  }
106
111
  }
107
112
  }
108
113
  }
114
+
115
+ // dark theme start
116
+ .is-dark-theme {
117
+ .ac-options {
118
+ .options-items {
119
+ --ac-white: var(--dark-bg-light);
120
+ }
121
+ }
122
+ }
123
+ // dark theme end
@@ -0,0 +1,53 @@
1
+ .report-charts {
2
+ display: flex;
3
+ flex-direction: row;
4
+ justify-content: space-between;
5
+ padding-top: 20px;
6
+ gap: 20px;
7
+ align-items: center;
8
+ align-content: stretch;
9
+ }
10
+ .report-charts > * {
11
+ flex: 1;
12
+ }
13
+ .vulnerability-chart {
14
+ height: 250px;
15
+ width: 250px;
16
+ margin-right: 20px;
17
+ }
18
+
19
+ // tr {
20
+ // .vulnerability-chart {
21
+ // height: 200px;
22
+ // width: 200px;
23
+ // margin-right: 20px;
24
+ // }
25
+ // .vulnerability-table {
26
+ // height: 200px;
27
+ // }
28
+ // }
29
+ .vulnerability-table {
30
+ height: 250px;
31
+ thead {
32
+ tr {
33
+ th {
34
+ border: none;
35
+ padding: 4px 8px !important;
36
+ }
37
+ }
38
+ }
39
+ tbody {
40
+ tr {
41
+ td {
42
+ vertical-align: middle;
43
+ padding: 4px 8px;
44
+ }
45
+ }
46
+ }
47
+ }
48
+ .color-div {
49
+ height: 10px;
50
+ width: 10px;
51
+ display: inline-block;
52
+ margin-right: 5px;
53
+ }
@@ -1,7 +1,7 @@
1
1
  .ac-select-box {
2
2
  select {
3
- background: $ac-input-bg-color;
4
- border: 1px solid $ac-border;
3
+ background-color: $ac-blue-light;
4
+ border: 1px solid $ac-label-text;
5
5
  font-size: $font-size-small;
6
6
  height: 42px;
7
7
  padding-left: 20px;
@@ -11,7 +11,7 @@
11
11
  }
12
12
 
13
13
  &:hover {
14
- border: 1px solid $ac-border-hover;
14
+ border: 1px solid $ac-gray-lightest;
15
15
  }
16
16
 
17
17
  &:focus {
@@ -29,11 +29,21 @@
29
29
 
30
30
  &.select:not(.is-multiple):not(.is-loading)::after {
31
31
  top: 50%;
32
- margin-top: -2px;
32
+ margin-top: 0px;
33
33
  }
34
34
  }
35
35
 
36
36
  &.select:not(.is-multiple):not(.is-loading)::after {
37
- border-color: $ac-border;
37
+ border-color: $ac-label-text;
38
+ }
39
+ }
40
+
41
+ .is-dark-theme {
42
+ .select {
43
+ select {
44
+ background-color: $dark-bg-light;
45
+ color: $ac-full-white;
46
+ border: 1px solid $ac-white-light;
47
+ }
38
48
  }
39
49
  }