@appscode/design-system 2.0.18 → 2.0.19-alpha.2

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/main.scss +4 -4
  2. package/package.json +1 -1
  3. package/{base → vue-components/styles/base}/utilities/_grid.scss +1 -1
  4. package/vue-components/styles/components/_accordion.scss +117 -0
  5. package/vue-components/styles/components/_all.scss +16 -0
  6. package/vue-components/styles/components/_button.scss +59 -0
  7. package/vue-components/styles/components/_dropdown.scss +32 -0
  8. package/{components → vue-components/styles/components}/_input.scss +47 -32
  9. package/vue-components/styles/components/_left-sidebar.scss +201 -0
  10. package/vue-components/styles/components/_menu-content.scss +527 -0
  11. package/vue-components/styles/components/_modal.scss +216 -0
  12. package/vue-components/styles/components/_navbar.scss +73 -0
  13. package/vue-components/styles/components/_options.scss +134 -0
  14. package/vue-components/styles/components/_table.scss +430 -0
  15. package/vue-components/styles/components/_tabs.scss +338 -0
  16. package/{components → vue-components/styles/components}/ui-builder/_ui-builder.scss +5 -5
  17. package/vue-components/v3/accordion/Accordion.vue +1 -117
  18. package/vue-components/v3/alert/AlertMessage.vue +61 -0
  19. package/vue-components/v3/button/Button.vue +1 -62
  20. package/vue-components/v3/dropdown/DropdownAction.vue +1 -32
  21. package/vue-components/v3/form-fields/AcSingleInput.vue +3 -1
  22. package/vue-components/v3/modal/Modal.vue +1 -216
  23. package/vue-components/v3/navbar/Appdrawer.vue +1 -121
  24. package/vue-components/v3/navbar/Navbar.vue +1 -93
  25. package/vue-components/v3/navbar/NavbarItem.vue +0 -65
  26. package/vue-components/v3/navbar/NavbarItemContent.vue +0 -275
  27. package/vue-components/v3/navbar/User.vue +6 -175
  28. package/vue-components/v3/option-dots/Options.vue +1 -144
  29. package/vue-components/v3/sidebar/Sidebar.vue +1 -201
  30. package/vue-components/v3/tab/Tabs.vue +1 -24
  31. package/vue-components/v3/table/Table.vue +1 -453
  32. package/components/_ac-modal.scss +0 -212
  33. package/components/_ac-options.scss +0 -122
  34. package/components/_ac-table.scss +0 -503
  35. package/components/_ac-tabs.scss +0 -313
  36. package/components/_accordion.scss +0 -117
  37. package/components/_all.scss +0 -35
  38. package/components/_left-sidebar-menu.scss +0 -482
  39. package/components/_navbar.scss +0 -786
  40. /package/{base → vue-components/styles/base}/_video-player.scss +0 -0
  41. /package/{base → vue-components/styles/base}/utilities/_all.scss +0 -0
  42. /package/{base → vue-components/styles/base}/utilities/_colors.scss +0 -0
  43. /package/{base → vue-components/styles/base}/utilities/_customize-bulma.scss +0 -0
  44. /package/{base → vue-components/styles/base}/utilities/_extended.scss +0 -0
  45. /package/{base → vue-components/styles/base}/utilities/_global.scss +0 -0
  46. /package/{base → vue-components/styles/base}/utilities/_layouts.scss +0 -0
  47. /package/{base → vue-components/styles/base}/utilities/_mixin.scss +0 -0
  48. /package/{base → vue-components/styles/base}/utilities/_spacing.scss +0 -0
  49. /package/{base → vue-components/styles/base}/utilities/_typography.scss +0 -0
  50. /package/{components → vue-components/styles/components}/_ac-alert-box.scss +0 -0
  51. /package/{components → vue-components/styles/components}/_ac-calendar.scss +0 -0
  52. /package/{components → vue-components/styles/components}/_ac-code-highlight.scss +0 -0
  53. /package/{components → vue-components/styles/components}/_ac-content-layout.scss +0 -0
  54. /package/{components → vue-components/styles/components}/_ac-drag.scss +0 -0
  55. /package/{components → vue-components/styles/components}/_ac-select-box.scss +0 -0
  56. /package/{components → vue-components/styles/components}/_ac-tags.scss +0 -0
  57. /package/{components → vue-components/styles/components}/_add-card.scss +0 -0
  58. /package/{components → vue-components/styles/components}/_app-drawer.scss +0 -0
  59. /package/{components → vue-components/styles/components}/_breadcumb.scss +0 -0
  60. /package/{components → vue-components/styles/components}/_buttons.scss +0 -0
  61. /package/{components → vue-components/styles/components}/_card-body-wrapper.scss +0 -0
  62. /package/{components → vue-components/styles/components}/_dashboard-header.scss +0 -0
  63. /package/{components → vue-components/styles/components}/_direct-deploy.scss +0 -0
  64. /package/{components → vue-components/styles/components}/_getkeeper.scss +0 -0
  65. /package/{components → vue-components/styles/components}/_go-to-top.scss +0 -0
  66. /package/{components → vue-components/styles/components}/_graph.scss +0 -0
  67. /package/{components → vue-components/styles/components}/_image-upload.scss +0 -0
  68. /package/{components → vue-components/styles/components}/_input-card.scss +0 -0
  69. /package/{components → vue-components/styles/components}/_monaco-editor.scss +0 -0
  70. /package/{components → vue-components/styles/components}/_multi-select.scss +0 -0
  71. /package/{components → vue-components/styles/components}/_nested-list.scss +0 -0
  72. /package/{components → vue-components/styles/components}/_overview-info.scss +0 -0
  73. /package/{components → vue-components/styles/components}/_overview-page.scss +0 -0
  74. /package/{components → vue-components/styles/components}/_pagination.scss +0 -0
  75. /package/{components → vue-components/styles/components}/_payment-card.scss +0 -0
  76. /package/{components → vue-components/styles/components}/_preloader.scss +0 -0
  77. /package/{components → vue-components/styles/components}/_preview-modal.scss +0 -0
  78. /package/{components → vue-components/styles/components}/_pricing-table.scss +0 -0
  79. /package/{components → vue-components/styles/components}/_progress-bar.scss +0 -0
  80. /package/{components → vue-components/styles/components}/_report.scss +0 -0
  81. /package/{components → vue-components/styles/components}/_subscription-card.scss +0 -0
  82. /package/{components → vue-components/styles/components}/_table-of-content.scss +0 -0
  83. /package/{components → vue-components/styles/components}/_terminal.scss +0 -0
  84. /package/{components → vue-components/styles/components}/_tfa.scss +0 -0
  85. /package/{components → vue-components/styles/components}/_transitions.scss +0 -0
  86. /package/{components → vue-components/styles/components}/_widget-menu.scss +0 -0
  87. /package/{components → vue-components/styles/components}/_wizard.scss +0 -0
  88. /package/{components → vue-components/styles/components}/ac-toaster/_ac-toasted.scss +0 -0
  89. /package/{components → vue-components/styles/components}/bbum/_activities-header.scss +0 -0
  90. /package/{components → vue-components/styles/components}/bbum/_all.scss +0 -0
  91. /package/{components → vue-components/styles/components}/bbum/_card-team.scss +0 -0
  92. /package/{components → vue-components/styles/components}/bbum/_information-center.scss +0 -0
  93. /package/{components → vue-components/styles/components}/bbum/_left-sidebar.scss +0 -0
  94. /package/{components → vue-components/styles/components}/bbum/_mobile-desktop.scss +0 -0
  95. /package/{components → vue-components/styles/components}/bbum/_post.scss +0 -0
  96. /package/{components → vue-components/styles/components}/bbum/_sign-up-notification.scss +0 -0
  97. /package/{components → vue-components/styles/components}/bbum/_single-post-preview.scss +0 -0
  98. /package/{components → vue-components/styles/components}/bbum/_user-profile.scss +0 -0
  99. /package/{components → vue-components/styles/components}/ui-builder/_vue-open-api.scss +0 -0
  100. /package/{layouts → vue-components/styles/layouts}/_404.scss +0 -0
  101. /package/{layouts → vue-components/styles/layouts}/_all.scss +0 -0
  102. /package/{layouts → vue-components/styles/layouts}/_code-preview.scss +0 -0
@@ -5,278 +5,3 @@
5
5
  <slot />
6
6
  </div>
7
7
  </template>
8
-
9
- <style lang="scss" scoped>
10
- .ac-menu-content {
11
- position: absolute;
12
- right: 0;
13
- top: 80px;
14
- min-width: 180px;
15
- opacity: 0;
16
- visibility: hidden;
17
- transition: 0.3s ease-in;
18
- width: 260px;
19
- box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
20
- 0 0px 0 1px rgba(10, 10, 10, 0.02);
21
-
22
- &.quick-access {
23
- background-color: $white-100;
24
- padding: 20px;
25
- min-width: 260px !important;
26
- max-height: 250px;
27
- overflow-y: auto;
28
- border-radius: 4px;
29
-
30
- .header {
31
- display: flex;
32
- justify-content: space-between;
33
- align-items: center;
34
- border-bottom: 1px solid $primary-90;
35
- padding-bottom: 20px;
36
-
37
- p {
38
- font-size: 13px;
39
- color: $primary-10;
40
- }
41
-
42
- button {
43
- background-color: transparent;
44
- border: none;
45
- cursor: pointer;
46
- color: $primary-20;
47
- }
48
- }
49
-
50
- .body-content {
51
- margin-top: 20px;
52
-
53
- p {
54
- font-size: 13px;
55
- color: $primary-10;
56
- }
57
-
58
- .organizations {
59
- .organization {
60
- display: flex;
61
- align-items: center;
62
- justify-content: space-between;
63
- padding: 5px 0;
64
-
65
- .org-info {
66
- display: flex;
67
- align-items: center;
68
-
69
- img {
70
- max-width: 30px;
71
- margin-right: 10px;
72
- object-fit: cover;
73
- }
74
- }
75
-
76
- .remove {
77
- border: none;
78
- padding: 0;
79
- font-size: 11px;
80
- color: $danger;
81
- background-color: transparent;
82
- }
83
- }
84
- }
85
- }
86
- }
87
-
88
- &::-webkit-scrollbar {
89
- width: 7px;
90
- }
91
-
92
- /* Track */
93
- &::-webkit-scrollbar-track {
94
- background-color: #d1d4de;
95
- border-radius: 10px;
96
- }
97
-
98
- /* Handle */
99
- &::-webkit-scrollbar-thumb {
100
- background-color: $primary-80;
101
- border-radius: 10px;
102
- }
103
-
104
- /* Handle on hover */
105
- &::-webkit-scrollbar-thumb:hover {
106
- background-color: $primary-80;
107
- }
108
-
109
- // &:last-child {
110
- // right: 0;
111
- // }
112
-
113
- &.is-notification {
114
- right: 0;
115
- background-color: $white-100;
116
- box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2);
117
- border-radius: 4px;
118
- min-width: 330px;
119
- max-height: 400px;
120
- overflow-y: auto;
121
-
122
- .notification-header {
123
- padding: 20px 20px 6px 20px;
124
- display: flex;
125
- justify-content: space-between;
126
- align-items: baseline;
127
-
128
- .left-content {
129
- p {
130
- font-weight: 500;
131
- font-size: 13px;
132
- line-height: 19px;
133
- margin-bottom: 15px;
134
-
135
- span {
136
- font-weight: normal;
137
- }
138
-
139
- &.date {
140
- font-size: 11px;
141
- line-height: 14px;
142
- font-weight: normal;
143
- margin-bottom: 0;
144
- }
145
- }
146
- }
147
-
148
- .right-content {
149
- .button {
150
- border: none;
151
- margin: 0;
152
- padding: 10px;
153
- font-size: 13px;
154
-
155
- &.is-active {
156
- background-color: $primary;
157
- color: $white-100;
158
-
159
- img {
160
- filter: brightness(100);
161
- }
162
- }
163
-
164
- &:hover {
165
- background-color: $primary;
166
- color: $white-100;
167
-
168
- img {
169
- filter: brightness(100);
170
- }
171
- }
172
- }
173
- }
174
- }
175
-
176
- .notification-body {
177
- .single-notification-item {
178
- display: block;
179
- border-top: 1px solid $primary-90;
180
- padding: 15px 20px;
181
- font-weight: 500;
182
-
183
- &.is-complete {
184
- font-weight: 400;
185
- }
186
-
187
- &:hover {
188
- background-color: #d1e3f2;
189
- }
190
-
191
- p {
192
- color: $primary-10;
193
- font-size: 11px;
194
- }
195
-
196
- .notification-status {
197
- margin-top: 10px;
198
- display: flex;
199
- align-items: center;
200
- justify-content: space-between;
201
-
202
- p {
203
- font-size: 11px;
204
- color: $primary-20;
205
-
206
- &.is-success {
207
- color: $success;
208
- }
209
-
210
- &.is-danger {
211
- color: $danger;
212
- }
213
-
214
- &.is-warning {
215
- color: $warning;
216
- }
217
- }
218
- }
219
- }
220
- }
221
-
222
- .see-all-message {
223
- border-top: 1px solid $primary-90;
224
- text-align: center;
225
- font-weight: 500;
226
- font-size: 13px;
227
- color: $primary-10;
228
- display: block;
229
- padding: 10px 20px;
230
- }
231
- }
232
-
233
- ul {
234
- background-color: $white-100;
235
- padding: 0;
236
- // border-radius: 4px;
237
- overflow: hidden;
238
-
239
- li {
240
- a {
241
- display: block;
242
- padding: 8px 15px;
243
- color: $primary-10;
244
- transition: 0.3s ease-in-out;
245
- font-size: 13px;
246
-
247
- &:hover {
248
- background-color: $primary-95;
249
-
250
- p {
251
- color: $primary !important;
252
- }
253
- }
254
- }
255
- }
256
- }
257
- }
258
-
259
- .ac-menu-item {
260
- &.is-active {
261
- .ac-menu-content {
262
- opacity: 1;
263
- visibility: visible;
264
- top: 35px;
265
- z-index: 99;
266
-
267
- &::after {
268
- position: absolute;
269
- content: "";
270
- right: 38px;
271
- top: -6px;
272
- background-color: $white-100;
273
- width: 15px;
274
- height: 15px;
275
- transform: rotate(45deg);
276
- box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16);
277
- z-index: -1;
278
- }
279
- }
280
- }
281
- }
282
- </style>
@@ -115,11 +115,7 @@ watch(dropDownStatus, (n) => {
115
115
 
116
116
  <template #navbar-content>
117
117
  <navbar-item-content class="navbar-dropdown-wrapper">
118
- <div
119
- v-if="user.username"
120
- class="user-profile-wrapper"
121
- @mouseleave="onMouseLeave()"
122
- >
118
+ <div v-if="user.username" class="user-profile-wrapper">
123
119
  <a
124
120
  :href="`${serverDomain}/${user.username}`"
125
121
  :title="user.username.toUpperCase()"
@@ -147,7 +143,11 @@ watch(dropDownStatus, (n) => {
147
143
  </div>
148
144
  </div>
149
145
  </a>
150
- <transition-group name="list" tag="ul" class="list-items py-2">
146
+ <transition-group
147
+ name="list"
148
+ tag="ul"
149
+ class="list-items ac-scrollbar py-2"
150
+ >
151
151
  <li key="settings" v-if="serverDomain !== pathName">
152
152
  <a
153
153
  v-if="user.isPersonalAccount"
@@ -280,172 +280,3 @@ watch(dropDownStatus, (n) => {
280
280
  </template>
281
281
  </navbar-item>
282
282
  </template>
283
-
284
- <style lang="scss" scoped>
285
- .ac-vscrollbar {
286
- overflow: auto !important;
287
- }
288
- .line-break-anywhere {
289
- line-break: anywhere;
290
- }
291
- .navbar-dropdown-wrapper {
292
- width: 240px;
293
- }
294
-
295
- .user-profile-wrapper {
296
- background-color: $white-100;
297
- border-radius: 4px;
298
- border: 1px solid $primary-90;
299
-
300
- .profile-area {
301
- display: flex;
302
- align-items: center;
303
- border-bottom: 1px solid $primary-90;
304
- padding: 16px 16px;
305
-
306
- .profile-photo {
307
- // width: 50px;
308
- // height: 50px;
309
- border-radius: 50%;
310
- position: relative;
311
- z-index: 1;
312
- margin-right: 10px;
313
-
314
- img {
315
- border-radius: 50%;
316
- width: 100%;
317
- border: 2px solid #d2e7f9;
318
- }
319
-
320
- .camera-icon {
321
- position: absolute;
322
- right: -10px;
323
- top: 0;
324
- background-color: transparent;
325
- border: none;
326
- cursor: pointer;
327
- }
328
- }
329
-
330
- .profile-info {
331
- p {
332
- color: $primary-10;
333
- font-size: 13px;
334
- font-weight: 500;
335
- line-height: 1.3;
336
- }
337
-
338
- a {
339
- font-size: 1rem;
340
- color: $primary-20;
341
- line-height: 1.3;
342
- }
343
- }
344
- }
345
- .list-items {
346
- max-height: calc(100vh - 100px);
347
- overflow-y: auto;
348
- }
349
- }
350
-
351
- .ac-menu-item {
352
- &.ac-profile-button {
353
- margin-right: 15px;
354
- button.button.ac-nav-button {
355
- .ac-user-profile {
356
- width: 32px;
357
- height: 32px;
358
- border-radius: 50%;
359
- overflow: hidden;
360
- border: 2px solid $primary-90;
361
- }
362
- i.fa {
363
- padding-left: 8px;
364
- }
365
- }
366
- }
367
- }
368
-
369
- .list-items {
370
- li {
371
- &.is-close {
372
- ul {
373
- max-height: 0;
374
- visibility: hidden;
375
- transition: max-height 0.25s ease-out;
376
- &.ac-vscrollbar {
377
- padding: 0;
378
- }
379
- }
380
- }
381
-
382
- &.is-open {
383
- ul {
384
- padding: 8px;
385
- max-height: 200px;
386
- visibility: visible;
387
- transition: max-height 0.25s ease-out;
388
- li {
389
- padding: 0;
390
- border: 1px solid $primary-95;
391
- }
392
- }
393
- }
394
- a {
395
- padding: 8px 16px;
396
- font-weight: 500;
397
- display: block;
398
- color: $primary-10;
399
- transition: 0.3s;
400
- display: flex;
401
- align-items: center;
402
- gap: 8px;
403
-
404
- &:hover {
405
- background-color: $primary-97;
406
- color: $primary;
407
- }
408
- }
409
- }
410
- }
411
- .ac-menu-item {
412
- .is-fullwidth {
413
- width: 100%;
414
- }
415
- }
416
- .ac-nav-button {
417
- background-color: transparent;
418
- border: none;
419
- color: $primary-80;
420
- padding: 0 14px;
421
- margin-left: 15px;
422
-
423
- // &.ac-profile-button {
424
- // color: $primary-10;
425
- // font-weight: 500;
426
- // }
427
-
428
- &:last-child {
429
- margin-left: 0;
430
- }
431
-
432
- span {
433
- position: absolute;
434
- top: 5px;
435
- right: 5px;
436
- width: 15px;
437
- height: 15px;
438
- background-color: $white-100;
439
- font-size: 12px;
440
- line-height: 15px;
441
- border-radius: 50%;
442
- color: $primary;
443
- z-index: 9;
444
- }
445
-
446
- &:focus {
447
- outline: none;
448
- box-shadow: none !important;
449
- }
450
- }
451
- </style>
@@ -50,148 +50,5 @@ const documentClick = (e: Event) => {
50
50
  </template>
51
51
 
52
52
  <style lang="scss">
53
- .ac-options {
54
- border-radius: 50%;
55
- width: 32px;
56
- height: 32px;
57
- text-align: center;
58
- margin: 0;
59
- display: flex;
60
- align-items: center;
61
- justify-content: center;
62
- border: none;
63
- background-color: transparent;
64
- cursor: pointer;
65
- &:hover {
66
- background-color: $primary-90;
67
- }
68
-
69
- &:focus-within {
70
- .options-items {
71
- opacity: 1;
72
- visibility: visible;
73
- }
74
- }
75
-
76
- &.is-horaizental {
77
- .option-dots {
78
- flex-direction: row;
79
-
80
- span {
81
- margin-bottom: 0;
82
- margin-right: 2px;
83
- }
84
- }
85
- }
86
-
87
- &.is-centered {
88
- .option-dots {
89
- align-items: center;
90
- }
91
-
92
- .options-items {
93
- left: 50%;
94
- }
95
- }
96
-
97
- &.is-right {
98
- .option-dots {
99
- align-items: flex-end;
100
- }
101
-
102
- .options-items {
103
- right: 0px;
104
- }
105
- }
106
-
107
- .option-dots {
108
- display: flex;
109
- flex-direction: column;
110
- cursor: pointer;
111
- align-items: flex-start;
112
- border: none;
113
- background-color: transparent;
114
- transition: 0.3 ease-in-out;
115
-
116
- &:hover {
117
- color: $primary;
118
- }
119
-
120
- span {
121
- width: 4px;
122
- height: 4px;
123
- background-color: $primary-20;
124
- border-radius: 50%;
125
- margin-bottom: 1px;
126
- }
127
- }
128
-
129
- .options-items {
130
- border-radius: 4px;
131
- position: absolute;
132
- z-index: 99;
133
- background-color: $white-100;
134
- min-width: 160px;
135
- top: 30px;
136
- padding: 5px 0;
137
- border: 1px solid $primary-90;
138
- list-style: none;
139
- opacity: 0;
140
- visibility: hidden;
141
- transition: 0.3s ease-in-out;
142
- text-align: left;
143
-
144
- li {
145
- .list-button {
146
- width: 100%;
147
- background-color: transparent;
148
- border: none;
149
- cursor: pointer;
150
- font-weight: 400;
151
- text-align: left;
152
- color: $primary-20;
153
- font-size: 13px;
154
- padding: 10px 30px;
155
- display: block;
156
-
157
- &:hover {
158
- background-color: $primary-90;
159
- color: $primary;
160
- }
161
-
162
- span {
163
- background-color: transparent;
164
-
165
- &.icon {
166
- margin-right: 5px;
167
- }
168
- }
169
- }
170
-
171
- a {
172
- font-size: 13px;
173
- padding: 7px 15px;
174
- display: block;
175
- text-decoration: none !important;
176
- color: $primary-10 !important;
177
- border: none;
178
-
179
- &:hover {
180
- background-color: $primary-90;
181
- color: $primary !important;
182
- }
183
- }
184
- }
185
- }
186
- }
187
-
188
- // dark theme start
189
- .is-dark-theme {
190
- .ac-options {
191
- .options-items {
192
- --ac-white: var(--dark-bg-light);
193
- }
194
- }
195
- }
196
- // dark theme end
53
+ @import "../../../vue-components/styles/components/options";
197
54
  </style>