@appscode/design-system 1.0.43-alpha.9 → 1.0.43-alpha.93

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/_default.scss +281 -20
  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 +80 -39
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +196 -14
  16. package/components/_ac-options.scss +30 -16
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +42 -33
  19. package/components/_ac-tabs.scss +72 -23
  20. package/components/_ac-tags.scss +2 -2
  21. package/components/_ac-terminal.scss +248 -0
  22. package/components/_app-drawer.scss +6 -6
  23. package/components/_breadcumb.scss +7 -2
  24. package/components/_buttons.scss +56 -27
  25. package/components/_card-body-wrapper.scss +3 -3
  26. package/components/_dashboard-header.scss +1 -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 +8 -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 +32 -20
  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 +19 -5
  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 +142 -0
  61. package/vue-components/v2/card/PaymentCards.vue +11 -2
  62. package/vue-components/v2/editor/Editor.vue +37 -17
  63. package/vue-components/v2/modal/Modal.vue +10 -1
  64. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  65. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  66. package/vue-components/v2/preloader/Preloader.vue +5 -5
  67. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  68. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  69. package/vue-components/v2/table/TableRow.vue +1 -1
  70. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  71. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  72. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  73. package/vue-components/v3/editor/Editor.vue +39 -19
  74. package/vue-components/v3/modal/Modal.vue +10 -1
  75. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  76. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  77. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  78. package/vue-components/v3/table/TableRow.vue +1 -1
  79. package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
  80. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -46,7 +46,7 @@
46
46
  // width: 6px;
47
47
  // height: 6px;
48
48
  // border-radius: 50%;
49
- // background-color: #333;
49
+ // background-color: $ac-color-value;
50
50
  // }
51
51
 
52
52
  &::after {
@@ -57,7 +57,7 @@
57
57
  top: -7px;
58
58
  width: 1px;
59
59
  height: calc(100% - 4px);
60
- background-color: #333;
60
+ background-color: $ac-color-value;
61
61
  }
62
62
 
63
63
  li {
@@ -74,7 +74,7 @@
74
74
  width: 7px;
75
75
  height: 7px;
76
76
  border-radius: 50%;
77
- background-color: #333;
77
+ background-color: $ac-color-value;
78
78
  }
79
79
 
80
80
  &::after {
@@ -84,7 +84,7 @@
84
84
  top: 18.4px;
85
85
  width: 20px;
86
86
  height: 1px;
87
- background: #333;
87
+ background-color: $ac-color-value;
88
88
  z-index: 9;
89
89
  }
90
90
 
@@ -134,7 +134,7 @@
134
134
  width: 100%;
135
135
  justify-content: space-between;
136
136
  padding: 18px;
137
- background: $ac-white-light;
137
+ background-color: $ac-white-light;
138
138
 
139
139
  p {
140
140
  font-size: 13px;
@@ -199,7 +199,7 @@
199
199
  top: 0;
200
200
  width: 1px;
201
201
  height: calc(100% - 22px);
202
- background-color: #333;
202
+ background-color: $ac-color-value;
203
203
  }
204
204
 
205
205
  &::before {
@@ -211,7 +211,7 @@
211
211
  width: 6px;
212
212
  height: 6px;
213
213
  border-radius: 50%;
214
- background-color: #333;
214
+ background-color: $ac-color-value;
215
215
  }
216
216
 
217
217
  li {
@@ -226,7 +226,7 @@
226
226
  bottom: 22px;
227
227
  width: 20px;
228
228
  height: 1px;
229
- background: #333;
229
+ background-color: $ac-color-value;
230
230
  z-index: 9;
231
231
  }
232
232
 
@@ -239,7 +239,7 @@
239
239
  width: 6px;
240
240
  height: 6px;
241
241
  border-radius: 50%;
242
- background-color: #333;
242
+ background-color: $ac-color-value;
243
243
  }
244
244
  }
245
245
  }
@@ -1,6 +1,6 @@
1
1
  .single-wizard-section {
2
2
  padding: 20px;
3
- background: $ac-white;
3
+ background-color: $ac-white;
4
4
  border: 1px solid $ac-white-light;
5
5
  border-radius: 4px;
6
6
  }
@@ -114,7 +114,7 @@
114
114
  .card-select {
115
115
  height: 94px;
116
116
  padding: 10px;
117
- background: $ac-white;
117
+ background-color: $ac-white;
118
118
  border: 1px solid $ac-white-light;
119
119
  box-sizing: border-box;
120
120
  border-radius: 4px;
@@ -128,7 +128,7 @@
128
128
  position: absolute;
129
129
  width: 100%;
130
130
  height: 100%;
131
- background: #000;
131
+ background-color: $ac-black;
132
132
  top: 0;
133
133
  left: 0;
134
134
  z-index: 1;
@@ -150,7 +150,7 @@
150
150
  height: auto;
151
151
  padding: 0;
152
152
  border: none;
153
- background: transparent;
153
+ background-color: transparent;
154
154
  width: auto;
155
155
  margin-bottom: 0;
156
156
  label {
@@ -206,7 +206,7 @@
206
206
  }
207
207
 
208
208
  &.is-disabled {
209
- background: #f2f2f2;
209
+ background-color: $ac-white-lighter;
210
210
  cursor: not-allowed;
211
211
  opacity: 0.8;
212
212
 
@@ -235,7 +235,7 @@
235
235
  z-index: 1;
236
236
 
237
237
  .btn-more-option {
238
- background: #e4e4e4;
238
+ background-color: #e4e4e4;
239
239
  height: 16px;
240
240
  width: 30px;
241
241
  border: none;
@@ -253,7 +253,7 @@
253
253
  width: 4px;
254
254
  height: 4px;
255
255
  border-radius: 50%;
256
- background: #b1b1b1;
256
+ background-color: #b1b1b1;
257
257
  margin-right: 2px;
258
258
 
259
259
  &:last-child {
@@ -268,7 +268,7 @@
268
268
  z-index: 2;
269
269
  right: 10px;
270
270
  top: 10px;
271
- background: $ac-white;
271
+ background-color: $ac-white;
272
272
  box-shadow: $ac-shadow-2;
273
273
  display: inline-block;
274
274
  border-radius: 4px;
@@ -282,12 +282,12 @@
282
282
  position: absolute;
283
283
  right: -5px;
284
284
  top: -5px;
285
- border: 1px solid $ac-grey-lightest;
285
+ border: 1px solid $ac-gray-lightest;
286
286
  font-size: 10px;
287
287
  height: 25px;
288
288
  width: 25px;
289
289
  text-align: center;
290
- background: $ac-white;
290
+ background-color: $ac-white;
291
291
  border-radius: 50%;
292
292
  cursor: pointer;
293
293
  color: $ac-danger;
@@ -307,7 +307,7 @@
307
307
  a {
308
308
  display: block;
309
309
  padding: 5px 10px 5px 0;
310
- color: #333;
310
+ color: $ac-color-value;
311
311
  font-size: $font-size-tiny;
312
312
  text-decoration: underline;
313
313
  font-weight: 400;
@@ -512,7 +512,7 @@
512
512
  }
513
513
 
514
514
  &.t-title {
515
- background: $table-header;
515
+ background-color: $table-header;
516
516
  border-radius: 4px 4px 0px 0px;
517
517
  border-bottom: none;
518
518
 
@@ -564,7 +564,7 @@
564
564
  font-size: $font-size-small;
565
565
  line-height: 18px;
566
566
  display: block;
567
- color: $ac-border;
567
+ color: $ac-color-text;
568
568
  margin-bottom: 5px;
569
569
  }
570
570
  }
@@ -572,7 +572,7 @@
572
572
  .wizard-title,
573
573
  .wizard-title.has-line {
574
574
  span {
575
- background-color: $ac-bg-light-gray;
575
+ background-color: $ac-label-text;
576
576
  }
577
577
  }
578
578
 
@@ -651,7 +651,7 @@ label {
651
651
  margin-top: -0.5px;
652
652
  width: 100%;
653
653
  height: 1px;
654
- background-color: $ac-input-bg-color;
654
+ background-color: $ac-blue-light;
655
655
  z-index: -1;
656
656
  }
657
657
  }
@@ -690,7 +690,7 @@ label {
690
690
  &:focus {
691
691
  box-shadow: none;
692
692
  box-shadow: none;
693
- background: #cbe3f8;
693
+ background-color: #cbe3f8;
694
694
  border-radius: 50%;
695
695
  }
696
696
  }
@@ -709,7 +709,7 @@ button {
709
709
  &:focus {
710
710
  border: none;
711
711
  box-shadow: none;
712
- background: #cbe3f8;
712
+ background-color: #cbe3f8;
713
713
  border-radius: 50%;
714
714
  }
715
715
  }
@@ -731,7 +731,7 @@ h5 {
731
731
  .card-checkbox {
732
732
  width: 358px;
733
733
  height: 115px;
734
- border: 1px solid $ac-border;
734
+ border: 1px solid $ac-label-text;
735
735
  }
736
736
 
737
737
  // checkbox card end
@@ -753,7 +753,7 @@ h5 {
753
753
 
754
754
  // Wizard Notification Area Start
755
755
  .wizard-notification-area {
756
- background: #54657e;
756
+ background-color: $ac-gray-lightest;
757
757
  border-radius: 10px;
758
758
  padding: 10px;
759
759
  width: 100%;
@@ -816,13 +816,25 @@ h5 {
816
816
 
817
817
  &.is-selected {
818
818
  border: 1px solid $ac-primary;
819
- background: $ac-primary;
819
+ background-color: $ac-primary;
820
820
  color: $ac-white;
821
821
  }
822
822
  }
823
823
  }
824
824
 
825
825
  // inline input end
826
+
827
+ // dark theme start
828
+ .is-dark-theme {
829
+ h6.wizard-title.has-line:after {
830
+ --ac-blue-light: $ac-color-value;
831
+ }
832
+
833
+ .ac-certificate-info {
834
+ --ac-bg-light-gray: var(--dark-bg-light);
835
+ }
836
+ }
837
+ // dark theme end
826
838
  /****************************************
827
839
  Responsive Classes
828
840
  *****************************************/
@@ -10,7 +10,7 @@
10
10
  border-radius: 4px !important;
11
11
 
12
12
  * {
13
- color: #fff !important;
13
+ color: $ac-white !important;
14
14
  }
15
15
 
16
16
  p {
@@ -32,19 +32,19 @@
32
32
  }
33
33
 
34
34
  &.is-success {
35
- background: #27b064 !important;
35
+ background-color: #27b064 !important;
36
36
  }
37
37
 
38
38
  &.is-error {
39
- background: #ea3d2f !important;
39
+ background-color: #ea3d2f !important;
40
40
  }
41
41
 
42
42
  &.is-warning {
43
- background: #f7ad2a !important;
43
+ background-color: #f7ad2a !important;
44
44
  }
45
45
 
46
46
  &.is-info {
47
- background: #0aafff !important;
47
+ background-color: #0aafff !important;
48
48
  }
49
49
  }
50
50
 
@@ -1,20 +1,27 @@
1
1
  .single-team-card {
2
- background-color: $ac-white;
2
+ border: 1px solid $ac-white-light;
3
+ background-color: hsla(
4
+ var(--hsl-hue),
5
+ var(--hsl-saturation),
6
+ var(--hsl-lightness),
7
+ 0.03
8
+ );
3
9
  border-radius: 4px;
4
- overflow: hidden;
10
+ // overflow: hidden;
5
11
  transition: 0.3s ease-in-out;
6
12
 
7
13
  &:hover {
8
- box-shadow: $ac-shadow-1;
14
+ // box-shadow: $ac-shadow-1;
15
+ border: 1px solid $ac-primary;
16
+ background-color: $ac-white;
9
17
  }
10
18
 
11
19
  .card-header {
12
20
  display: flex;
13
21
  align-items: center;
14
22
  justify-content: space-between;
15
- background-color: #f9fafc;
16
23
  padding: 15px 20px;
17
- border-bottom: 1px solid #e5e9f2;
24
+ border-bottom: 1px solid $ac-white-light;
18
25
  box-shadow: none;
19
26
 
20
27
  strong {
@@ -72,7 +79,7 @@
72
79
 
73
80
  .meta {
74
81
  font-size: $font-size-small;
75
- color: #3c4858;
82
+ color: $ac-color-value;
76
83
  margin-bottom: 20px;
77
84
  }
78
85
 
@@ -81,11 +88,12 @@
81
88
  align-items: center;
82
89
  justify-content: space-around;
83
90
  list-style: none;
84
-
85
- li:not(:first-child) {
91
+ li {
92
+ &:not(:first-child) {
93
+ list-style: disc;
94
+ }
86
95
  font-size: $font-size-small;
87
- color: #3c4858;
88
- list-style: disc;
96
+ color: $ac-color-value;
89
97
  }
90
98
  }
91
99
  }
@@ -72,7 +72,7 @@
72
72
  height: 160px;
73
73
  background-size: cover;
74
74
  background-position: center;
75
- background-color: $ac-grey-lightest;
75
+ background-color: $ac-gray-lightest;
76
76
  position: relative;
77
77
  z-index: 1;
78
78
 
@@ -81,7 +81,7 @@
81
81
  content: "";
82
82
  width: 100%;
83
83
  height: 100%;
84
- background-color: #000;
84
+ background-color: $ac-black;
85
85
  z-index: -1;
86
86
  opacity: 0.2;
87
87
  }
@@ -111,7 +111,7 @@
111
111
  top: 0;
112
112
  width: 100%;
113
113
  height: 100%;
114
- background-color: #000;
114
+ background-color: $ac-black;
115
115
  opacity: 0.3;
116
116
  z-index: -1;
117
117
  }
@@ -126,14 +126,14 @@
126
126
  transition: 0.3s;
127
127
 
128
128
  &:hover {
129
- color: $ac-grey-lightest;
129
+ color: $ac-gray-lightest;
130
130
  }
131
131
  }
132
132
  }
133
133
  }
134
134
 
135
135
  .block-list {
136
- background-color: $ac-input-bg-color;
136
+ background-color: $ac-blue-light;
137
137
  padding: 7px;
138
138
  border-radius: 4px;
139
139
 
@@ -174,6 +174,20 @@
174
174
  top: 140px;
175
175
  }
176
176
  }
177
+
178
+ // dark theme start
179
+ .is-dark-theme {
180
+ .information-center {
181
+ .information-center-inner {
182
+ .info-body {
183
+ .block-list {
184
+ background-color: var(--dark-bg-light);
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ // dark theme end
177
191
  // Extra small devices (portrait phones, less than 576px)
178
192
  @media (max-width: 575.98px) {
179
193
  .information-center.width-300 {
@@ -17,7 +17,7 @@
17
17
  top: 12px;
18
18
  left: 50%;
19
19
  transform: translate(-50%, -50%);
20
- background: $ac-white;
20
+ background-color: $ac-white;
21
21
  border-radius: 0 0 50px 50px;
22
22
  }
23
23
 
@@ -30,21 +30,21 @@
30
30
  left: 50%;
31
31
  top: 7px;
32
32
  transform: translate(-50%, -50%);
33
- background: $ac-bg;
33
+ background-color: $ac-bg;
34
34
  border-radius: 10px;
35
35
  }
36
36
 
37
37
  .content {
38
38
  width: 360px;
39
39
  height: 640px;
40
- background: white;
40
+ background-color: white;
41
41
  }
42
42
 
43
43
  .circle-shape {
44
44
  width: 10px;
45
45
  height: 10px;
46
46
  border-radius: 50%;
47
- background: $ac-bg;
47
+ background-color: $ac-bg;
48
48
  display: block;
49
49
  position: absolute;
50
50
  top: 2px;
@@ -67,7 +67,7 @@
67
67
  position: absolute;
68
68
  width: calc(683px + 200px);
69
69
  height: 30px;
70
- background: $ac-white;
70
+ background-color: $ac-white;
71
71
  border-radius: 6px 6px 12px 12px;
72
72
  top: 390px;
73
73
  left: -100px;
@@ -111,7 +111,7 @@
111
111
  // preview laptop and mobile view
112
112
  .post-body-wrapper {
113
113
  display: grid;
114
- grid-template-columns: 35% 65%;
114
+ grid-template-columns: 50% 50%;
115
115
  grid-gap: 20px;
116
116
  background-color: $ac-white;
117
117
  padding: 20px;
@@ -5,8 +5,8 @@
5
5
  .textarea {
6
6
  height: 83px;
7
7
  width: 100%;
8
- background: $ac-white;
9
- border: 1px solid #e5e9f2;
8
+ background-color: $ac-white;
9
+ border: 1px solid $ac-white-light;
10
10
  border-radius: 4px;
11
11
  padding: 30px 170px 30px 30px;
12
12
  font-size: $font-size-normal;
@@ -41,12 +41,13 @@
41
41
 
42
42
  label {
43
43
  display: block;
44
- border-left: 1px solid #e5e9f2;
44
+ border-left: 1px solid $ac-white-light;
45
45
  padding: 30px;
46
46
  cursor: pointer;
47
47
 
48
48
  img {
49
- min-width: 24px;
49
+ width: auto;
50
+ height: 20px;
50
51
  }
51
52
  }
52
53
 
@@ -10,7 +10,7 @@
10
10
  content: "";
11
11
  width: 100%;
12
12
  height: 100%;
13
- left: 0;
13
+ left: 15px;
14
14
  bottom: 0;
15
15
  background-image: url("~@appscode/design-system-images/icons/bb-large-icon.svg");
16
16
  background-size: cover;
@@ -25,7 +25,7 @@
25
25
  content: "";
26
26
  width: 100%;
27
27
  height: 100%;
28
- right: 0;
28
+ right: 15px;
29
29
  top: 0;
30
30
  background-size: cover;
31
31
  background-position: center;
@@ -46,10 +46,10 @@
46
46
  background-color: lighten($color: $ac-danger, $amount: 40);
47
47
  font-size: $font-size-small;
48
48
  transition: 0.3s ease-in-out;
49
- &:hover{
49
+ &:hover {
50
50
  background-color: $ac-danger;
51
51
  color: $ac-white;
52
- img{
52
+ img {
53
53
  filter: brightness(100);
54
54
  }
55
55
  }
@@ -68,13 +68,13 @@
68
68
  margin-bottom: 10px;
69
69
 
70
70
  a {
71
- color: #003466;
71
+ color: $ac-color-heading;
72
72
  text-decoration: underline;
73
73
  }
74
74
  }
75
75
 
76
76
  p {
77
- color: #74818d;
77
+ color: $ac-color-text;
78
78
  font-size: $font-size-small;
79
79
  margin-bottom: 10px;
80
80
  }
@@ -1,6 +1,6 @@
1
1
  .single-post-preview {
2
- background: $ac-white;
3
- border: 1px solid #e5e9f2;
2
+ background-color: $ac-white;
3
+ border: 1px solid $ac-white-light;
4
4
  border-radius: 4px;
5
5
  margin-bottom: 15px;
6
6
 
@@ -35,7 +35,7 @@
35
35
 
36
36
  a {
37
37
  font-size: $font-size-medium;
38
- color: #1c2d41;
38
+ color: $ac-color-heading;
39
39
  line-height: 1;
40
40
  font-weight: 500;
41
41
  }
@@ -68,10 +68,10 @@
68
68
 
69
69
  .post-body {
70
70
  padding: 0 20px 15px;
71
- border-bottom: 1px solid #ebeff5;
71
+ border-bottom: 1px solid $ac-white-light;
72
72
 
73
73
  p {
74
- color: #3c4858;
74
+ color: $ac-color-text;
75
75
  font-size: $font-size-small;
76
76
  line-height: 160%;
77
77
  }
@@ -90,7 +90,7 @@
90
90
 
91
91
  li {
92
92
  font-size: $font-size-normal;
93
- color: #3c4858;
93
+ color: $ac-color-value;
94
94
  }
95
95
  }
96
96
  }
@@ -137,7 +137,7 @@
137
137
  h2 {
138
138
  font-size: $ac-size-2;
139
139
  margin-bottom: 25px;
140
- color: #003466;
140
+ color: $ac-color-heading;
141
141
  }
142
142
  }
143
143
  }
@@ -220,13 +220,13 @@
220
220
  button {
221
221
  background-color: transparent;
222
222
  border: none;
223
- color: #3c4858;
223
+ color: $ac-color-value;
224
224
  transition: 0.3s;
225
225
  font-weight: 500;
226
226
  cursor: pointer;
227
227
  display: block;
228
228
  width: 50%;
229
- border-right: 1px solid #ebeff5 !important;
229
+ border-right: 1px solid $ac-white-light !important;
230
230
  padding: 10px;
231
231
 
232
232
  &:last-child {