@appscode/design-system 1.0.43-alpha.6 → 1.0.43-alpha.63

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 (70) 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 +6 -0
  11. package/components/_ac-content-layout.scss +4 -4
  12. package/components/_ac-drag.scss +6 -6
  13. package/components/_ac-input.scss +72 -38
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +220 -18
  16. package/components/_ac-options.scss +18 -8
  17. package/components/_ac-select-box.scss +5 -5
  18. package/components/_ac-table.scss +40 -33
  19. package/components/_ac-tabs.scss +64 -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 +3 -3
  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 +196 -46
  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 +19 -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 +124 -0
  64. package/vue-components/v2/preloader/Preloader.vue +5 -5
  65. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  66. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  67. package/vue-components/v3/editor/Editor.vue +33 -19
  68. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  69. package/vue-components/v3/navbar/ThemeMode.vue +118 -0
  70. package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
@@ -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;
@@ -106,15 +107,17 @@
106
107
  &::before {
107
108
  position: absolute;
108
109
  color: #808998;
109
- top: 0.5em;
110
+ top: 0.4em;
110
111
  font-size: 13px;
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,13 @@
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
140
  cursor: pointer;
138
- border-bottom: 1px solid #e7e7e7;
141
+ border-bottom: 1px solid var(--ac-white-light);
142
+
139
143
  td {
140
144
  font-size: $font-size-small;
141
145
  padding: 5px 20px;
@@ -154,12 +158,14 @@
154
158
  color: $ac-primary;
155
159
  font-weight: 500;
156
160
  transition: 0.3s ease-in-out;
161
+
157
162
  &:hover {
158
163
  color: $ac-color-heading;
159
164
  }
160
165
  }
161
166
  }
162
167
  }
168
+
163
169
  &.is-error {
164
170
  color: $ac-danger;
165
171
  }
@@ -171,12 +177,12 @@
171
177
  display: inline-flex;
172
178
 
173
179
  &.is-danger {
174
- background: $ac-danger;
180
+ background-color: $ac-danger;
175
181
  }
176
182
 
177
183
  i.fa {
178
184
  position: absolute;
179
- background: $ac-primary;
185
+ background-color: $ac-primary;
180
186
  color: $ac-white;
181
187
  font-size: $font-size-tiny;
182
188
  width: 15px;
@@ -199,15 +205,8 @@
199
205
  border-radius: 50%;
200
206
  }
201
207
  }
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
208
  }
209
+
211
210
  .options-items {
212
211
  a:hover {
213
212
  color: $ac-white;
@@ -221,7 +220,7 @@
221
220
  box-shadow: inset 0 0 0 1px $ac-primary;
222
221
  border-radius: 4px;
223
222
  border-bottom: none;
224
- color: #000;
223
+ color: $ac-black;
225
224
  }
226
225
 
227
226
  &.is-hoverless {
@@ -233,36 +232,41 @@
233
232
  transition: 0.3s ease-in-out;
234
233
  }
235
234
  }
235
+
236
236
  .increase-width {
237
237
  position: relative;
238
238
  visibility: hidden;
239
239
  width: 36px;
240
+
240
241
  .increase-innner {
241
- border-bottom: 1px solid #e7e7e7;
242
- border-top: 1px solid #e7e7e7;
242
+ border-bottom: 1px solid var(--ac-white-light);
243
+ border-top: 1px solid var(--ac-white-light);
243
244
  bottom: -1px;
244
245
  left: 0;
245
246
  position: absolute;
246
247
  right: -451px;
247
248
  top: -1px;
248
249
  visibility: visible;
249
- background: #f1f1f1;
250
+ background-color: $ac-white-lighter;
250
251
  }
251
252
  }
253
+
252
254
  td {
253
255
  &.increase-width {
254
256
  .increase-innner {
255
- background: transparent;
257
+ background-color: transparent;
256
258
  }
257
259
  }
258
260
  }
259
- &.ac-bordered {
261
+
262
+ &.ac-label-texted {
260
263
  thead {
261
264
  tr {
262
265
  th {
263
266
  border-top: 1px solid $ac-white-light;
264
267
  border-bottom: 1px solid $ac-white-light;
265
268
  border-right: 1px solid $ac-white-light;
269
+
266
270
  &:first-child {
267
271
  border-left: 1px solid $ac-white-light;
268
272
  }
@@ -278,13 +282,15 @@
278
282
 
279
283
  td {
280
284
  font-size: $font-size-small;
281
- color: $ac-gray-dark;
282
- background-color: $ac-white;
285
+ color: $ac-color-value;
286
+ background-color: transparent;
283
287
  border-bottom: 1px solid $ac-white-light;
284
288
  border-right: 1px solid $ac-white-light;
289
+
285
290
  &:first-child {
286
291
  border-left: 1px solid $ac-white-light;
287
292
  }
293
+
288
294
  &:first-child {
289
295
  color: $ac-color-heading;
290
296
  border-radius: 0;
@@ -308,7 +314,7 @@
308
314
  &::after {
309
315
  top: 6px;
310
316
  left: 6px;
311
- border-color: #54657e;
317
+ border-color: $ac-gray-lightest;
312
318
  width: 0.3rem;
313
319
  height: 0.5rem;
314
320
  }
@@ -320,7 +326,7 @@
320
326
  }
321
327
 
322
328
  &:checked + label::after {
323
- border-color: #fafafa;
329
+ border-color: $ac-white-lighter;
324
330
  }
325
331
  }
326
332
  }
@@ -345,8 +351,7 @@
345
351
 
346
352
  tbody {
347
353
  tr {
348
- background-color: $ac-white;
349
- transition: 0.3s ease-in-out;
354
+ background-color: transparent;
350
355
  }
351
356
  }
352
357
  }
@@ -371,7 +376,7 @@
371
376
 
372
377
  &.is-dark {
373
378
  thead {
374
- background-color: $ac-bg-dark;
379
+ background-color: $ac-color-heading;
375
380
 
376
381
  tr {
377
382
  th {
@@ -387,11 +392,11 @@
387
392
  }
388
393
 
389
394
  &:nth-child(odd) {
390
- background-color: #303246;
395
+ background-color: $ac-color-value;
391
396
  }
392
397
 
393
398
  &:nth-child(even) {
394
- background-color: $ac-bg-dark;
399
+ background-color: $ac-color-heading;
395
400
  }
396
401
 
397
402
  &:hover {
@@ -405,10 +410,12 @@
405
410
  }
406
411
  }
407
412
  }
413
+
408
414
  .table.ac-table tbody tr:hover td a:not(.tag a) {
409
415
  text-decoration: underline;
410
416
  color: $ac-primary;
411
417
  }
418
+
412
419
  // GENERAL TABLE END
413
420
 
414
421
  /****************************************
@@ -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,45 @@
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
+ a {
236
+ border-bottom: 1px solid $ac-white-lighter;
237
+ }
238
+ &.ac-tabs.is-line {
239
+ ul {
240
+ li.is-active {
241
+ a {
242
+ color: $ac-full-white;
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
249
+
209
250
  /****************************************
210
251
  Responsive Classes
211
252
  *****************************************/
@@ -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