@appscode/design-system 1.0.43-alpha.13 → 1.0.43-alpha.130

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 (102) hide show
  1. package/base/utilities/_default.scss +283 -21
  2. package/base/utilities/_derived-variables.scss +0 -13
  3. package/base/utilities/_initial-variables.scss +78 -56
  4. package/base/utilities/_mixin.scss +10 -17
  5. package/base/utilities/_typography.scss +23 -7
  6. package/base/utilities/dark-theme.scss +25 -0
  7. package/components/_ac-accordion.scss +1 -0
  8. package/components/_ac-alert-box.scss +18 -10
  9. package/components/_ac-card.scss +55 -20
  10. package/components/_ac-code-highlight.scss +7 -1
  11. package/components/_ac-content-layout.scss +4 -4
  12. package/components/_ac-drag.scss +6 -6
  13. package/components/_ac-input.scss +74 -40
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +195 -13
  16. package/components/_ac-options.scss +31 -16
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +42 -36
  19. package/components/_ac-tabs.scss +72 -23
  20. package/components/_ac-tags.scss +2 -2
  21. package/components/_ac-terminal.scss +272 -0
  22. package/components/_app-drawer.scss +6 -6
  23. package/components/_breadcumb.scss +7 -2
  24. package/components/_buttons.scss +60 -27
  25. package/components/_card-body-wrapper.scss +3 -3
  26. package/components/_dashboard-header.scss +33 -1
  27. package/components/_direct-deploy.scss +69 -0
  28. package/components/_go-to-top.scss +1 -1
  29. package/components/_graph.scss +45 -0
  30. package/components/_image-upload.scss +6 -4
  31. package/components/_left-sidebar-menu.scss +200 -46
  32. package/components/_monaco-editor.scss +1 -1
  33. package/components/_navbar.scss +103 -26
  34. package/components/_overview-info.scss +4 -4
  35. package/components/_overview-page.scss +1 -2
  36. package/components/_pagination.scss +10 -2
  37. package/components/_payment-card.scss +28 -12
  38. package/components/_preview-modal.scss +19 -8
  39. package/components/_pricing-table.scss +1 -1
  40. package/components/_progress-bar.scss +5 -5
  41. package/components/_subscription-card.scss +15 -8
  42. package/components/_table-of-content.scss +1 -1
  43. package/components/_tfa.scss +69 -0
  44. package/components/_widget-menu.scss +9 -9
  45. package/components/_wizard.scss +31 -19
  46. package/components/ac-toaster/_ac-toasted.scss +5 -5
  47. package/components/bbum/_card-team.scss +18 -10
  48. package/components/bbum/_information-center.scss +17 -3
  49. package/components/bbum/_mobile-desktop.scss +6 -6
  50. package/components/bbum/_post.scss +5 -4
  51. package/components/bbum/_sign-up-notification.scss +6 -6
  52. package/components/bbum/_single-post-preview.scss +9 -9
  53. package/components/bbum/_user-profile.scss +97 -90
  54. package/components/ui-builder/_ui-builder.scss +29 -10
  55. package/components/ui-builder/_vue-open-api.scss +98 -0
  56. package/layouts/_404.scss +2 -1
  57. package/layouts/_code-preview.scss +14 -7
  58. package/main.scss +4 -0
  59. package/package.json +2 -7
  60. package/plugins/theme.js +130 -128
  61. package/vue-components/v2/banner/Banner.vue +2 -2
  62. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  63. package/vue-components/v2/button/Button.vue +5 -0
  64. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  65. package/vue-components/v2/card/PaymentCards.vue +11 -2
  66. package/vue-components/v2/content/ContentTable.vue +12 -7
  67. package/vue-components/v2/editor/Editor.vue +29 -1
  68. package/vue-components/v2/editor/FilteredFileEditor.vue +153 -0
  69. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +196 -0
  70. package/vue-components/v2/loaders/ResourceLoader.vue +90 -0
  71. package/vue-components/v2/loaders/SidebarLoader.vue +32 -0
  72. package/vue-components/v2/modal/Modal.vue +33 -12
  73. package/vue-components/v2/modals/DeleteConfirmationModal.vue +77 -0
  74. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  75. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  76. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  77. package/vue-components/v2/navbar/User.vue +3 -0
  78. package/vue-components/v2/preloader/Preloader.vue +5 -5
  79. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  80. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  81. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  82. package/vue-components/v2/table/Table.vue +33 -8
  83. package/vue-components/v2/table/TableRow.vue +17 -8
  84. package/vue-components/v2/table/table-cell/CellValue.vue +31 -4
  85. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  86. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  87. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  88. package/vue-components/v3/button/Button.vue +5 -0
  89. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  90. package/vue-components/v3/editor/Editor.vue +32 -11
  91. package/vue-components/v3/modal/Modal.vue +10 -1
  92. package/vue-components/v3/modals/JsonShowModal.vue +13 -4
  93. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  94. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  95. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  96. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  97. package/vue-components/v3/table/Table.vue +17 -5
  98. package/vue-components/v3/table/TableRow.vue +1 -1
  99. package/vue-components/v3/table/table-cell/CellValue.vue +26 -3
  100. package/vue-components/v3/table/table-cell/GenericCell.vue +62 -0
  101. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -1
  102. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -1,15 +1,15 @@
1
1
  .button {
2
- transition: $ac-speed ease-in-out;
2
+ transition: 86ms ease-in-out;
3
3
 
4
4
  // ac-button
5
5
  &.ac-button {
6
6
  border-color: $ac-primary;
7
- border-radius: $ac-radius;
7
+ border-radius: 4px;
8
8
  font-size: 14px;
9
9
  font-family: $ac-family-paragraph;
10
10
  letter-spacing: 0.2px;
11
11
  color: $ac-primary;
12
- font-weight: $ac-weight-medium;
12
+ font-weight: 500;
13
13
  height: 36px;
14
14
  padding-left: 25px;
15
15
  padding-right: 25px;
@@ -42,7 +42,7 @@
42
42
 
43
43
  &.is-primary {
44
44
  color: $ac-primary;
45
- background: transparent;
45
+ background-color: transparent;
46
46
 
47
47
  &:hover {
48
48
  background-color: unset;
@@ -56,7 +56,7 @@
56
56
 
57
57
  .ac-icon {
58
58
  margin-left: 25px;
59
- background: $ac-white;
59
+ background-color: $ac-white;
60
60
  color: $ac-primary;
61
61
  padding: 2px 6px;
62
62
  border-radius: 4px;
@@ -127,10 +127,14 @@
127
127
  width: 52px;
128
128
  height: 52px;
129
129
  padding: 0;
130
-
130
+ &:hover{
131
+ svg{
132
+ color: $ac-white;
133
+ }
134
+ }
131
135
  &.is-gray {
132
136
  background-color: $ac-white-light;
133
- color: #54657e;
137
+ color: $ac-gray-lightest;
134
138
  border-color: transparent;
135
139
 
136
140
  img {
@@ -139,7 +143,7 @@
139
143
 
140
144
  i.fa {
141
145
  font-size: 18px;
142
- color: #54657e;
146
+ color: $ac-gray-lightest;
143
147
  }
144
148
 
145
149
  &:hover {
@@ -148,28 +152,28 @@
148
152
  }
149
153
 
150
154
  &.is-outlined-gray {
151
- border: 1px solid #cbe3f8;
155
+ border: 1px solid $ac-white-light;
152
156
  font-size: 15px;
153
157
  }
154
158
 
155
159
  &.is-transparent {
156
160
  background-color: transparent;
157
- color: #666;
161
+ color: $ac-gray-darker;
158
162
 
159
163
  &:hover {
160
- background-color: #f1f1f1;
161
- color: #000;
164
+ background-color: $ac-white-lighter;
165
+ color: $ac-black;
162
166
  }
163
167
 
164
168
  &:focus {
165
- background-color: #f1f1f1;
166
- color: #000;
169
+ background-color: $ac-white-lighter;
170
+ color: $ac-black;
167
171
  }
168
172
  }
169
173
 
170
174
  &.transparent-bg {
171
175
  background-color: transparent;
172
- border: 1px solid $ac-border;
176
+ border: 1px solid $ac-label-text;
173
177
 
174
178
  img {
175
179
  &:hover {
@@ -210,7 +214,8 @@
210
214
  border: none;
211
215
  font-size: 14px;
212
216
  font-weight: 500;
213
- color: $ac-border-hover;
217
+ background-color: transparent;
218
+ color: $ac-gray-lightest;
214
219
 
215
220
  &.is-primary {
216
221
  background-color: transparent;
@@ -253,7 +258,7 @@
253
258
  border: none;
254
259
 
255
260
  &:hover {
256
- background-color: darken($ac-white-light, 9);
261
+ background-color: darken(#e7e7e7, 9);
257
262
  }
258
263
  }
259
264
 
@@ -263,7 +268,7 @@
263
268
  color: $ac-white;
264
269
 
265
270
  &:hover {
266
- background-color: darken($ac-gray-dark, 9);
271
+ background-color: $ac-color-value;
267
272
  }
268
273
  }
269
274
 
@@ -470,8 +475,8 @@
470
475
 
471
476
  // counter button start
472
477
  .ac-counter-button {
473
- background: $ac-input-bg-color;
474
- border: 1px solid $ac-border;
478
+ background-color: transparent;
479
+ border: 1px solid $ac-label-text;
475
480
  border-radius: 4px;
476
481
  height: 46px;
477
482
  overflow: hidden;
@@ -491,7 +496,8 @@
491
496
  padding: 10px;
492
497
  font-size: 15px;
493
498
  font-weight: 500;
494
- background-color: $ac-input-bg-color;
499
+ color: $ac-color-value;
500
+ background-color: transparent;
495
501
  width: 100%;
496
502
  -moz-appearance: textfield;
497
503
 
@@ -517,13 +523,13 @@
517
523
  .ac-counter-arrow-wrapper {
518
524
  height: 100%;
519
525
  color: $ac-color-text;
520
- border-left: 1px solid $ac-border;
526
+ border-left: 1px solid $ac-label-text;
521
527
 
522
528
  .ac-counter-arrow {
523
- background: transparent;
529
+ background-color: transparent;
524
530
  border: none;
525
531
  cursor: pointer;
526
- color: $ac-border;
532
+ color: $ac-label-text;
527
533
  height: 23px;
528
534
 
529
535
  &:hover {
@@ -531,7 +537,7 @@
531
537
  }
532
538
 
533
539
  &:first-child {
534
- border-bottom: 1px solid $ac-border;
540
+ border-bottom: 1px solid $ac-label-text;
535
541
  }
536
542
  }
537
543
  }
@@ -558,7 +564,7 @@
558
564
  }
559
565
 
560
566
  .up-down-button {
561
- background: $ac-white-light;
567
+ background-color: $ac-white-light;
562
568
  border: none;
563
569
  display: block;
564
570
  cursor: pointer;
@@ -590,7 +596,7 @@
590
596
  width: 5px;
591
597
  height: 5px;
592
598
  border-radius: 50%;
593
- background: #333;
599
+ background-color: $ac-color-value;
594
600
  margin-bottom: 3px;
595
601
 
596
602
  &:last-child {
@@ -600,6 +606,33 @@
600
606
  }
601
607
  }
602
608
 
609
+ // dark theme start
610
+ .is-dark-theme {
611
+ .button.ac-button.is-primary.is-light {
612
+ background-color: $ac-primary;
613
+ color: $ac-white;
614
+ &:hover {
615
+ opacity: 0.8;
616
+ }
617
+ }
618
+ .button.ac-button.is-danger.is-light {
619
+ background-color: $ac-danger;
620
+ color: $ac-white;
621
+ &:hover {
622
+ opacity: 0.8;
623
+ }
624
+ }
625
+ .button.ac-button {
626
+ --ac-white: #ffffff;
627
+ &.is-white {
628
+ --ac-white: #2e323c;
629
+ }
630
+ }
631
+ .button.ac-button.is-text{
632
+ background-color: transparent;
633
+ }
634
+ }
635
+ // dark theme end
603
636
  /****************************************
604
637
  Responsive Classes
605
638
  *****************************************/
@@ -1,10 +1,10 @@
1
1
  .card-body-wrapper {
2
- background: $ac-white;
2
+ background-color: $ac-white;
3
3
  border-radius: 4px;
4
4
  box-shadow: none;
5
5
 
6
6
  .card-header {
7
- background: $table-header;
7
+ background-color: $ac-blue-light;
8
8
  border-radius: 4px 4px 0px 0px;
9
9
  padding: 10px 20px;
10
10
  box-shadow: none;
@@ -24,7 +24,7 @@
24
24
  font-weight: normal;
25
25
  font-size: 14px;
26
26
  line-height: 16px;
27
- color: #6f6f8d;
27
+ color: $ac-color-value;
28
28
  margin-top: 10px;
29
29
  }
30
30
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  .inner-header {
4
4
  padding: 6px 20px;
5
- border-bottom: 1px solid #e7e7e7;
5
+ border-bottom: 1px solid $ac-white-light;
6
6
  // display: flex;
7
7
  // align-items: center;
8
8
  }
@@ -81,3 +81,35 @@
81
81
  }
82
82
  }
83
83
  }
84
+
85
+ .resource {
86
+ display: flex;
87
+ align-items: center;
88
+ border-left: 1px solid $ac-white-light;
89
+ padding: 0 1.5rem;
90
+ margin-top: -10px;
91
+ margin-bottom: -10px;
92
+ .r-icon {
93
+ display: flex;
94
+ align-items: center;
95
+ max-width: 40px;
96
+ }
97
+
98
+ .r-data {
99
+ margin-left: 0.8rem;
100
+ .request,
101
+ .limit {
102
+ font-weight: 500;
103
+ min-width: 50px;
104
+ text-align: center;
105
+ }
106
+ .request {
107
+ font-weight: 300;
108
+ }
109
+ hr {
110
+ margin: 0;
111
+ padding: 0;
112
+ background-color: $ac-white-light;
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,69 @@
1
+ .direct-deploy {
2
+ h5 {
3
+ font-weight: 500;
4
+ font-size: 18px;
5
+ line-height: 21px;
6
+ color: $ac-color-heading;
7
+ margin-bottom: 10px;
8
+ .fa {
9
+ color: $ac-primary;
10
+ }
11
+ }
12
+
13
+ p {
14
+ font-size: 14px;
15
+ line-height: 160%;
16
+ color: $ac-color-heading;
17
+ margin-bottom: 20px;
18
+ }
19
+
20
+ .check-permission {
21
+ font-weight: normal;
22
+ font-size: 14px;
23
+ line-height: 16px;
24
+ color: $ac-color-heading;
25
+ }
26
+
27
+ .button {
28
+ margin: 10px 0;
29
+ }
30
+
31
+ .msg {
32
+ font-size: 12px;
33
+ line-height: 14px;
34
+ color: $ac-color-value;
35
+ }
36
+ .buttons {
37
+ &.is-gray {
38
+ .button {
39
+ &.ac-primary {
40
+ background-color: $ac-blue-light;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ h5 {
48
+ &.toc-title {
49
+ font-style: normal;
50
+ font-weight: 500;
51
+ font-size: 16px;
52
+ line-height: 19px;
53
+ color: $ac-color-value;
54
+ }
55
+ }
56
+ .is-gray {
57
+ .button {
58
+ border: none;
59
+ background-color: $ac-blue-light;
60
+ }
61
+ }
62
+
63
+ .card-content {
64
+ &.is-table-of-content {
65
+ display: grid;
66
+ grid-template-columns: 65% 35%;
67
+ grid-gap: 15px;
68
+ }
69
+ }
@@ -11,7 +11,7 @@
11
11
  line-height: 40px;
12
12
  border-radius: 50%;
13
13
  color: $ac-white;
14
- background: rgba($ac-primary, 0.5);
14
+ background-color: rgba(25, 113, 189, 0.5);
15
15
  border: none;
16
16
  opacity: 0;
17
17
  cursor: pointer;
@@ -0,0 +1,45 @@
1
+ .graph-tooltip-wrapper {
2
+ background-color: var(--ac-white);
3
+ border: 1px solid var(--ac-white-light);
4
+
5
+ box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
6
+ border-radius: 4px;
7
+ overflow: hidden;
8
+ h6 {
9
+ padding: 10px 20px;
10
+ border-bottom: 1px solid var(--ac-white-light);
11
+ }
12
+ .table-wrapper {
13
+ padding: 10px 20px;
14
+ tr {
15
+ td {
16
+ &:first-child {
17
+ font-weight: 450;
18
+ padding-right: 10px;
19
+ color: var(--ac-text-heading);
20
+ }
21
+ padding: 4px 0;
22
+ font-size: 13px;
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ .is-hovering .label text tspan {
29
+ stroke: var(--ac-white);
30
+ fill: var(--ac-white);
31
+ stroke-width: 0.3px;
32
+ }
33
+ .is-selected .label text tspan {
34
+ stroke: var(--ac-white);
35
+ fill: var(--ac-white);
36
+ stroke-width: 0.3px;
37
+ }
38
+ .label text tspan {
39
+ stroke: var(--ac-black);
40
+ fill: var(--ac-black);
41
+ stroke-width: 0.3px;
42
+ }
43
+ .edgeLabel .label text tspan {
44
+ stroke-width: 0px;
45
+ }
@@ -1,6 +1,6 @@
1
1
  .ac-upload-image {
2
- background: $ac-input-bg-color;
3
- border: 1px dashed $ac-border;
2
+ background-color: $ac-bg;
3
+ border: 1px dashed $ac-label-text;
4
4
  border-radius: 4px;
5
5
  overflow: hidden;
6
6
 
@@ -22,21 +22,23 @@
22
22
  border-radius: 50%;
23
23
  overflow: hidden;
24
24
  margin: 0 auto 30px;
25
+ border: 1px solid $ac-white-light;
25
26
  }
26
27
 
27
28
  .drag-and-drop-msg {
28
29
  font-size: 13px;
30
+ color: $ac-color-value;
29
31
  font-weight: 400;
30
32
  margin-bottom: 10px;
31
33
 
32
34
  span {
33
- color: $ac-border;
35
+ color: $ac-label-text;
34
36
  }
35
37
  }
36
38
 
37
39
  .img-size-msg {
38
40
  font-size: 12px;
39
- color: $ac-border;
41
+ color: $ac-label-text;
40
42
  }
41
43
  }
42
44