@appscode/design-system 1.0.43-alpha.7 → 1.0.43-alpha.73

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 (74) hide show
  1. package/base/utilities/_default.scss +136 -20
  2. package/base/utilities/_derived-variables.scss +2 -15
  3. package/base/utilities/_initial-variables.scss +99 -64
  4. package/base/utilities/_mixin.scss +90 -10
  5. package/base/utilities/_typography.scss +20 -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 +45 -10
  9. package/components/_ac-card.scss +54 -19
  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 +73 -38
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +220 -18
  16. package/components/_ac-options.scss +24 -13
  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 +78 -32
  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/_image-upload.scss +6 -4
  30. package/components/_left-sidebar-menu.scss +201 -47
  31. package/components/_monaco-editor.scss +1 -1
  32. package/components/_navbar.scss +103 -26
  33. package/components/_overview-info.scss +4 -4
  34. package/components/_overview-page.scss +1 -2
  35. package/components/_pagination.scss +45 -7
  36. package/components/_payment-card.scss +28 -12
  37. package/components/_preview-modal.scss +8 -8
  38. package/components/_pricing-table.scss +1 -1
  39. package/components/_progress-bar.scss +5 -5
  40. package/components/_subscription-card.scss +15 -8
  41. package/components/_table-of-content.scss +1 -1
  42. package/components/_tfa.scss +69 -0
  43. package/components/_widget-menu.scss +9 -9
  44. package/components/_wizard.scss +32 -20
  45. package/components/ac-toaster/_ac-toasted.scss +40 -8
  46. package/components/bbum/_card-team.scss +17 -9
  47. package/components/bbum/_information-center.scss +19 -5
  48. package/components/bbum/_mobile-desktop.scss +6 -6
  49. package/components/bbum/_post.scss +5 -4
  50. package/components/bbum/_sign-up-notification.scss +6 -6
  51. package/components/bbum/_single-post-preview.scss +9 -9
  52. package/components/bbum/_user-profile.scss +98 -90
  53. package/components/ui-builder/_ui-builder.scss +22 -8
  54. package/layouts/_404.scss +2 -1
  55. package/layouts/_code-preview.scss +14 -7
  56. package/main.scss +2 -0
  57. package/package.json +1 -1
  58. package/plugins/theme.js +142 -0
  59. package/plugins/vue-toaster.js +6 -6
  60. package/vue-components/v2/card/PaymentCards.vue +11 -2
  61. package/vue-components/v2/editor/Editor.vue +31 -17
  62. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  63. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  64. package/vue-components/v2/preloader/Preloader.vue +5 -5
  65. package/vue-components/v2/table/TableRow.vue +1 -1
  66. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  67. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  68. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  69. package/vue-components/v3/editor/Editor.vue +33 -19
  70. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  71. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  72. package/vue-components/v3/table/TableRow.vue +1 -1
  73. package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
  74. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -12,20 +12,21 @@
12
12
 
13
13
  /* Handle */
14
14
  &::-webkit-scrollbar-thumb {
15
- background: #8392a5;
15
+ background-color: $ac-gray-light;
16
16
  border-radius: 10px;
17
17
  }
18
18
 
19
19
  /* Handle on hover */
20
20
  &::-webkit-scrollbar-thumb:hover {
21
- background: #8392a5;
21
+ background-color: $ac-gray-light;
22
22
  }
23
23
  }
24
24
  }
25
25
 
26
26
  // INFO TABLE START
27
27
  .table.ac-info-table {
28
- // background: $ac-bg-light-gray;
28
+ background-color: transparent;
29
+
29
30
  &.is-fullwidth {
30
31
  tbody {
31
32
  tr {
@@ -49,13 +50,12 @@
49
50
  td {
50
51
  border: none;
51
52
  font-size: $font-size-small;
52
- color: $ac-gray-dark;
53
+ color: $ac-color-value;
53
54
  font-weight: 400;
54
55
  padding: 3px 0px;
55
56
  min-width: 230px;
56
57
 
57
58
  &:first-child {
58
- color: $ac-black;
59
59
  font-weight: 400;
60
60
  padding-right: 10px;
61
61
  color: $ac-color-heading;
@@ -96,6 +96,7 @@
96
96
  color: $ac-color-heading;
97
97
  }
98
98
  }
99
+
99
100
  &.sorting-desc {
100
101
  &::after {
101
102
  color: $ac-color-heading;
@@ -111,10 +112,12 @@
111
112
  font-weight: 1000;
112
113
  display: block;
113
114
  }
115
+
114
116
  &:before {
115
117
  right: 1em;
116
118
  content: "\2191";
117
119
  }
120
+
118
121
  &:after {
119
122
  right: 0.5em;
120
123
  content: "\2193";
@@ -130,12 +133,15 @@
130
133
  box-shadow: inset 0 0 0 1px $ac-primary;
131
134
  border-radius: 4px;
132
135
  border-bottom: none;
133
- color: #000;
136
+ color: $ac-black;
134
137
  }
135
138
 
136
139
  tr {
137
- cursor: pointer;
138
- border-bottom: 1px solid #e7e7e7;
140
+ &.is-link {
141
+ cursor: pointer;
142
+ }
143
+ border-bottom: 1px solid var(--ac-white-light);
144
+
139
145
  td {
140
146
  font-size: $font-size-small;
141
147
  padding: 5px 20px;
@@ -154,12 +160,14 @@
154
160
  color: $ac-primary;
155
161
  font-weight: 500;
156
162
  transition: 0.3s ease-in-out;
163
+
157
164
  &:hover {
158
165
  color: $ac-color-heading;
159
166
  }
160
167
  }
161
168
  }
162
169
  }
170
+
163
171
  &.is-error {
164
172
  color: $ac-danger;
165
173
  }
@@ -171,12 +179,12 @@
171
179
  display: inline-flex;
172
180
 
173
181
  &.is-danger {
174
- background: $ac-danger;
182
+ background-color: $ac-danger;
175
183
  }
176
184
 
177
185
  i.fa {
178
186
  position: absolute;
179
- background: $ac-primary;
187
+ background-color: $ac-primary;
180
188
  color: $ac-white;
181
189
  font-size: $font-size-tiny;
182
190
  width: 15px;
@@ -199,15 +207,8 @@
199
207
  border-radius: 50%;
200
208
  }
201
209
  }
202
-
203
- // &:first-child {
204
- // border-radius: 4px 0 0 4px;
205
- // }
206
-
207
- // &:last-child {
208
- // border-radius: 0 4px 4px 0;
209
- // }
210
210
  }
211
+
211
212
  .options-items {
212
213
  a:hover {
213
214
  color: $ac-white;
@@ -221,7 +222,7 @@
221
222
  box-shadow: inset 0 0 0 1px $ac-primary;
222
223
  border-radius: 4px;
223
224
  border-bottom: none;
224
- color: #000;
225
+ color: $ac-black;
225
226
  }
226
227
 
227
228
  &.is-hoverless {
@@ -233,36 +234,41 @@
233
234
  transition: 0.3s ease-in-out;
234
235
  }
235
236
  }
237
+
236
238
  .increase-width {
237
239
  position: relative;
238
240
  visibility: hidden;
239
241
  width: 36px;
242
+
240
243
  .increase-innner {
241
- border-bottom: 1px solid #e7e7e7;
242
- border-top: 1px solid #e7e7e7;
244
+ border-bottom: 1px solid var(--ac-white-light);
245
+ border-top: 1px solid var(--ac-white-light);
243
246
  bottom: -1px;
244
247
  left: 0;
245
248
  position: absolute;
246
249
  right: -451px;
247
250
  top: -1px;
248
251
  visibility: visible;
249
- background: #f1f1f1;
252
+ background-color: $ac-white-lighter;
250
253
  }
251
254
  }
255
+
252
256
  td {
253
257
  &.increase-width {
254
258
  .increase-innner {
255
- background: transparent;
259
+ background-color: transparent;
256
260
  }
257
261
  }
258
262
  }
259
- &.ac-bordered {
263
+
264
+ &.ac-label-texted {
260
265
  thead {
261
266
  tr {
262
267
  th {
263
268
  border-top: 1px solid $ac-white-light;
264
269
  border-bottom: 1px solid $ac-white-light;
265
270
  border-right: 1px solid $ac-white-light;
271
+
266
272
  &:first-child {
267
273
  border-left: 1px solid $ac-white-light;
268
274
  }
@@ -278,13 +284,15 @@
278
284
 
279
285
  td {
280
286
  font-size: $font-size-small;
281
- color: $ac-gray-dark;
282
- background-color: $ac-white;
287
+ color: $ac-color-value;
288
+ background-color: transparent;
283
289
  border-bottom: 1px solid $ac-white-light;
284
290
  border-right: 1px solid $ac-white-light;
291
+
285
292
  &:first-child {
286
293
  border-left: 1px solid $ac-white-light;
287
294
  }
295
+
288
296
  &:first-child {
289
297
  color: $ac-color-heading;
290
298
  border-radius: 0;
@@ -308,7 +316,7 @@
308
316
  &::after {
309
317
  top: 6px;
310
318
  left: 6px;
311
- border-color: #54657e;
319
+ border-color: $ac-gray-lightest;
312
320
  width: 0.3rem;
313
321
  height: 0.5rem;
314
322
  }
@@ -320,7 +328,7 @@
320
328
  }
321
329
 
322
330
  &:checked + label::after {
323
- border-color: #fafafa;
331
+ border-color: $ac-white-lighter;
324
332
  }
325
333
  }
326
334
  }
@@ -345,8 +353,7 @@
345
353
 
346
354
  tbody {
347
355
  tr {
348
- background-color: $ac-white;
349
- transition: 0.3s ease-in-out;
356
+ background-color: transparent;
350
357
  }
351
358
  }
352
359
  }
@@ -371,7 +378,7 @@
371
378
 
372
379
  &.is-dark {
373
380
  thead {
374
- background-color: $ac-bg-dark;
381
+ background-color: $ac-color-heading;
375
382
 
376
383
  tr {
377
384
  th {
@@ -387,11 +394,11 @@
387
394
  }
388
395
 
389
396
  &:nth-child(odd) {
390
- background-color: #303246;
397
+ background-color: $ac-color-value;
391
398
  }
392
399
 
393
400
  &:nth-child(even) {
394
- background-color: $ac-bg-dark;
401
+ background-color: $ac-color-heading;
395
402
  }
396
403
 
397
404
  &:hover {
@@ -405,10 +412,12 @@
405
412
  }
406
413
  }
407
414
  }
415
+
408
416
  .table.ac-table tbody tr:hover td a:not(.tag a) {
409
417
  text-decoration: underline;
410
418
  color: $ac-primary;
411
419
  }
420
+
412
421
  // GENERAL TABLE END
413
422
 
414
423
  /****************************************
@@ -1,35 +1,44 @@
1
1
  .tabs {
2
2
  &.ac-tabs {
3
- &.is-line{
4
- ul {
3
+ ul {
5
4
  border-bottom-color: $ac-white-light;
6
- li {
7
- &.is-active {
8
- a {
9
- font-weight: 500;
10
- border-bottom-color: $ac-primary;
11
- border-color: $ac-primary !important;
12
- border-width: 2px;
5
+ }
6
+
7
+ &.is-line {
8
+ ul {
9
+ border-bottom-color: $ac-white-light;
10
+
11
+ li {
12
+ &.is-active {
13
+ a {
14
+ font-weight: 500;
15
+ border-bottom-color: $ac-primary;
16
+ border-color: $ac-primary !important;
17
+ border-width: 2px;
18
+ }
13
19
  }
14
- }
15
- a {
16
- text-transform: uppercase;
17
- font-weight: 400;
18
- color: $ac-color-heading;
19
- font-size: $font-size-small;
20
- padding: 6px 20px;
21
- &:hover {
22
- border-bottom-color: $ac-primary;
20
+
21
+ a {
22
+ text-transform: uppercase;
23
+ font-weight: 400;
24
+ color: $ac-color-heading;
25
+ font-size: $font-size-small;
26
+ padding: 6px 20px;
27
+
28
+ &:hover {
29
+ border-bottom-color: $ac-primary;
30
+ }
23
31
  }
24
32
  }
25
33
  }
26
34
  }
27
- }
35
+
28
36
  &.is-boxed {
29
37
  font-size: 14px;
30
38
 
31
39
  a {
32
40
  padding: 8px 20px;
41
+ color: $ac-color-value;
33
42
 
34
43
  &:hover {
35
44
  border-bottom-color: transparent;
@@ -84,6 +93,7 @@
84
93
  border-bottom: none;
85
94
  margin-bottom: -2px;
86
95
  font-size: $font-size-small;
96
+ color: $ac-color-value;
87
97
  }
88
98
  }
89
99
  }
@@ -95,7 +105,7 @@
95
105
  li {
96
106
  &.is-active {
97
107
  a {
98
- background-color: #f5f7f9;
108
+ background-color: $ac-white-light;
99
109
  }
100
110
  }
101
111
 
@@ -110,7 +120,7 @@
110
120
 
111
121
  &.is-toggle {
112
122
  ul {
113
- border: 1px solid $ac-border;
123
+ border: 1px solid $ac-label-text;
114
124
  border-radius: 4px;
115
125
  padding: 4px;
116
126
  flex-grow: inherit;
@@ -134,6 +144,7 @@
134
144
  padding: 8px 25px;
135
145
  line-height: 1;
136
146
  border-radius: 4px;
147
+
137
148
  &:hover {
138
149
  background-color: inherit;
139
150
  }
@@ -170,7 +181,7 @@
170
181
 
171
182
  &.is-borderless {
172
183
  border: 1px solid transparent;
173
- background-color: #f5f7f9;
184
+ background-color: $ac-white-light;
174
185
  border-radius: 4px 4px 4px 4px;
175
186
  }
176
187
  }
@@ -187,7 +198,7 @@
187
198
  li {
188
199
  &.is-active {
189
200
  a {
190
- background-color: #f1f1f1;
201
+ background-color: $ac-white-lighter;
191
202
  color: $ac-primary;
192
203
  }
193
204
  }
@@ -197,15 +208,53 @@
197
208
  }
198
209
  }
199
210
  }
211
+
200
212
  .tabs li.is-active a {
201
213
  color: $ac-primary;
202
214
  }
215
+
203
216
  .no-data-available {
204
217
  img {
205
218
  width: 250px;
206
219
  }
207
220
  }
208
221
 
222
+ .ac-system-body.bb-user-management {
223
+ .tabs.ac-tabs.is-line {
224
+ margin-left: -20px;
225
+ position: sticky;
226
+ top: 50px;
227
+ z-index: 99;
228
+ background: $ac-white;
229
+ }
230
+ }
231
+
232
+ // dark theme
233
+ .is-dark-theme {
234
+ .tabs {
235
+ &.is-toggle {
236
+ a {
237
+ &:hover {
238
+ background-color: $dark-bg;
239
+ }
240
+ }
241
+ }
242
+ a {
243
+ border-bottom: 1px solid $ac-white-lighter;
244
+ color: $ac-full-white;
245
+ }
246
+ &.ac-tabs.is-line {
247
+ ul {
248
+ li.is-active {
249
+ a {
250
+ color: $ac-color-text;
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+
209
258
  /****************************************
210
259
  Responsive Classes
211
260
  *****************************************/
@@ -3,13 +3,13 @@
3
3
  align-items: center;
4
4
 
5
5
  li {
6
- background: $ac-grey-lightest;
6
+ background-color: $ac-gray-lightest;
7
7
  list-style: none;
8
8
  padding: 2px 10px;
9
9
  border-radius: 4px;
10
10
  font-size: 12px;
11
11
  line-height: 1;
12
- border: 1px solid #333;
12
+ border: 1px solid $ac-color-value;
13
13
  margin-right: 5px;
14
14
 
15
15
  &:last-child {
@@ -0,0 +1,248 @@
1
+ .ac-terminal {
2
+ position: fixed;
3
+ width: calc(100% - 270px);
4
+ bottom: 0;
5
+ // background-color: #3a3a3a;
6
+ background-color: $ac-white;
7
+ color: $ac-white;
8
+ font-size: 13px;
9
+ height: 320px;
10
+ z-index: 999;
11
+ transition: 0.3s ease-in-out;
12
+ &.is-collapsed {
13
+ height: 40px !important;
14
+ bottom: 0px;
15
+ .terminal-setting,
16
+ .terminal-body {
17
+ opacity: 0;
18
+ visibility: hidden;
19
+ }
20
+ }
21
+ .resize-handler {
22
+ width: 100%;
23
+ position: absolute;
24
+ background: transparent;
25
+ z-index: 9;
26
+ cursor: row-resize;
27
+ top: -15px;
28
+ &:hover {
29
+ border-bottom: 3px solid $ac-white-light;
30
+ }
31
+ }
32
+ .terminal-header {
33
+ border-top: 1px solid $ac-white-lighter;
34
+ box-shadow: 1px -2px 5px 1px rgba(0, 0, 0, 0.08%);
35
+ .tabs {
36
+ padding: 0 20px 0 20px;
37
+ background-color: $ac-white-lighter;
38
+ overflow: inherit;
39
+ height: 40px;
40
+ ul {
41
+ border-bottom: none;
42
+ padding-left: 0;
43
+ max-width: 1340px;
44
+ overflow-x: auto;
45
+ overflow-y: hidden;
46
+ li {
47
+ a {
48
+ margin-bottom: 0 !important;
49
+ }
50
+ }
51
+ &::-webkit-scrollbar {
52
+ border-radius: 50px;
53
+ height: 3px;
54
+ }
55
+
56
+ &::-webkit-scrollbar:hover {
57
+ height: 7px;
58
+ }
59
+
60
+ &::-webkit-scrollbar-thumb {
61
+ background-color: $ac-gray-light;
62
+ border-radius: 50px;
63
+ height: 2px !important;
64
+ }
65
+
66
+ &::-webkit-scrollbar-thumb:hover {
67
+ background-color: $ac-gray-light;
68
+ }
69
+
70
+ &:hover::-webkit-scrollbar-corner {
71
+ height: 40px;
72
+ }
73
+ .is-active {
74
+ box-shadow: none !important;
75
+ margin-right: 0 !important;
76
+ &:after {
77
+ height: 2px;
78
+ }
79
+ a {
80
+ background-color: $ac-white;
81
+ }
82
+ }
83
+ li:not(.is-active) {
84
+ margin-right: -1px;
85
+ border-right: 1px solid $ac-white-lighter;
86
+ }
87
+ li {
88
+ a {
89
+ margin-bottom: 0px;
90
+ font-size: 13px;
91
+ border-radius: 0;
92
+ padding: 5px 10px 5px 20px;
93
+ border: none;
94
+ height: 40px;
95
+ .name-of-tab {
96
+ width: 120px;
97
+ overflow: hidden;
98
+ }
99
+ .terminal-icon {
100
+ img {
101
+ width: 15px;
102
+ margin-right: 10px;
103
+ margin-top: 5px;
104
+ }
105
+ }
106
+
107
+ .button {
108
+ img {
109
+ width: 10px;
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ .options-items {
116
+ top: 15px;
117
+ left: 40px;
118
+ .items-inner {
119
+ border: none;
120
+ li {
121
+ border: none;
122
+ border-right: none !important;
123
+ border-bottom: 1px solid $ac-white-lighter;
124
+ width: 100%;
125
+ &:last-child {
126
+ border-bottom: none;
127
+ }
128
+ a {
129
+ font-size: 13px;
130
+ padding: 10px 20px;
131
+ &:hover {
132
+ color: $ac-primary !important;
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .right-control {
140
+ .button {
141
+ .fa {
142
+ font-size: 20px;
143
+ }
144
+ img {
145
+ width: 11px;
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ .terminal-setting {
152
+ background-color: var(--dark-bg);
153
+ padding: 5px 20px;
154
+ border-bottom: 1px solid $ac-white-light;
155
+
156
+ .left-content {
157
+ .ac-select-box-wrapper {
158
+ margin-right: 10px;
159
+ .multi-select-wrapper {
160
+ min-width: 200px;
161
+ }
162
+ .multiselect .multiselect__tags .multiselect__input,
163
+ .multiselect .multiselect__tags .multiselect__single {
164
+ background-color: #3b3030;
165
+ }
166
+ }
167
+ }
168
+
169
+ .right-content {
170
+ .status-message {
171
+ &.is-success {
172
+ color: #27b064;
173
+ }
174
+ &.is-failed {
175
+ color: $ac-red;
176
+ }
177
+ }
178
+ }
179
+ }
180
+ .terminal-body {
181
+ p {
182
+ font-family: Fira Code;
183
+ .code-static {
184
+ color: #0ff05c;
185
+ font-weight: 500;
186
+ }
187
+
188
+ .code-input {
189
+ color: #acd9ff;
190
+ }
191
+ }
192
+ }
193
+ .button {
194
+ &.is-transparent {
195
+ &:hover {
196
+ background-color: $ac-white-light;
197
+ }
198
+ }
199
+ }
200
+ .multiselect.multiselect--active {
201
+ .multiselect__tags {
202
+ border: 1px solid $ac-white !important;
203
+ .multiselect__input {
204
+ color: $ac-white !important;
205
+ }
206
+ }
207
+ }
208
+ .multiselect .multiselect__tags {
209
+ background-color: $ac-color-text;
210
+ border: 1px solid $ac-color-value;
211
+ span {
212
+ color: $ac-white;
213
+ }
214
+ }
215
+ }
216
+
217
+ // dark theme start
218
+ .is-dark-theme {
219
+ // ac-terminal
220
+ .ac-terminal {
221
+ .terminal-setting {
222
+ --ac-color-value: var(--dark-bg-light);
223
+
224
+ .left-content .ac-select-box-wrapper .multiselect .multiselect__tags {
225
+ .multiselect__input {
226
+ background-color: var(--dark-bg-light);
227
+ color: var(--ac-white-text);
228
+ }
229
+
230
+ .multiselect__single {
231
+ background-color: var(--dark-bg-light);
232
+ color: var(--ac-white-text);
233
+ }
234
+ }
235
+ }
236
+
237
+ .multiselect {
238
+ .multiselect__tags {
239
+ background-color: transparent;
240
+
241
+ span {
242
+ color: var(--ac-white-text);
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ // dark theme end