@appscode/design-system 2.0.5 → 2.0.6-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 (104) 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 +44 -23
  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 +17 -17
  17. package/{components → vue-components/styles/components}/ui-builder/_vue-open-api.scss +35 -35
  18. package/vue-components/v3/accordion/Accordion.vue +1 -117
  19. package/vue-components/v3/button/Button.vue +2 -59
  20. package/vue-components/v3/content/ContentHeader.vue +1 -1
  21. package/vue-components/v3/content/ContentLayout.vue +1 -1
  22. package/vue-components/v3/dropdown/DropdownAction.vue +1 -32
  23. package/vue-components/v3/form-fields/AcSingleInput.vue +3 -1
  24. package/vue-components/v3/modal/Modal.vue +1 -216
  25. package/vue-components/v3/navbar/Appdrawer.vue +1 -121
  26. package/vue-components/v3/navbar/Navbar.vue +1 -93
  27. package/vue-components/v3/navbar/NavbarItem.vue +0 -65
  28. package/vue-components/v3/navbar/NavbarItemContent.vue +0 -275
  29. package/vue-components/v3/navbar/User.vue +5 -170
  30. package/vue-components/v3/option-dots/Options.vue +1 -144
  31. package/vue-components/v3/sidebar/Sidebar.vue +1 -201
  32. package/vue-components/v3/sidebar/SidebarItem.vue +1 -1
  33. package/vue-components/v3/tab/Tabs.vue +1 -24
  34. package/vue-components/v3/table/Table.vue +1 -453
  35. package/components/_ac-modal.scss +0 -212
  36. package/components/_ac-options.scss +0 -122
  37. package/components/_ac-table.scss +0 -503
  38. package/components/_ac-tabs.scss +0 -313
  39. package/components/_accordion.scss +0 -117
  40. package/components/_all.scss +0 -35
  41. package/components/_left-sidebar-menu.scss +0 -482
  42. package/components/_navbar.scss +0 -786
  43. /package/{base → vue-components/styles/base}/_video-player.scss +0 -0
  44. /package/{base → vue-components/styles/base}/utilities/_all.scss +0 -0
  45. /package/{base → vue-components/styles/base}/utilities/_colors.scss +0 -0
  46. /package/{base → vue-components/styles/base}/utilities/_customize-bulma.scss +0 -0
  47. /package/{base → vue-components/styles/base}/utilities/_extended.scss +0 -0
  48. /package/{base → vue-components/styles/base}/utilities/_global.scss +0 -0
  49. /package/{base → vue-components/styles/base}/utilities/_layouts.scss +0 -0
  50. /package/{base → vue-components/styles/base}/utilities/_mixin.scss +0 -0
  51. /package/{base → vue-components/styles/base}/utilities/_spacing.scss +0 -0
  52. /package/{base → vue-components/styles/base}/utilities/_typography.scss +0 -0
  53. /package/{components → vue-components/styles/components}/_ac-alert-box.scss +0 -0
  54. /package/{components → vue-components/styles/components}/_ac-calendar.scss +0 -0
  55. /package/{components → vue-components/styles/components}/_ac-code-highlight.scss +0 -0
  56. /package/{components → vue-components/styles/components}/_ac-content-layout.scss +0 -0
  57. /package/{components → vue-components/styles/components}/_ac-drag.scss +0 -0
  58. /package/{components → vue-components/styles/components}/_ac-select-box.scss +0 -0
  59. /package/{components → vue-components/styles/components}/_ac-tags.scss +0 -0
  60. /package/{components → vue-components/styles/components}/_add-card.scss +0 -0
  61. /package/{components → vue-components/styles/components}/_app-drawer.scss +0 -0
  62. /package/{components → vue-components/styles/components}/_breadcumb.scss +0 -0
  63. /package/{components → vue-components/styles/components}/_buttons.scss +0 -0
  64. /package/{components → vue-components/styles/components}/_card-body-wrapper.scss +0 -0
  65. /package/{components → vue-components/styles/components}/_dashboard-header.scss +0 -0
  66. /package/{components → vue-components/styles/components}/_direct-deploy.scss +0 -0
  67. /package/{components → vue-components/styles/components}/_getkeeper.scss +0 -0
  68. /package/{components → vue-components/styles/components}/_go-to-top.scss +0 -0
  69. /package/{components → vue-components/styles/components}/_graph.scss +0 -0
  70. /package/{components → vue-components/styles/components}/_image-upload.scss +0 -0
  71. /package/{components → vue-components/styles/components}/_input-card.scss +0 -0
  72. /package/{components → vue-components/styles/components}/_monaco-editor.scss +0 -0
  73. /package/{components → vue-components/styles/components}/_multi-select.scss +0 -0
  74. /package/{components → vue-components/styles/components}/_nested-list.scss +0 -0
  75. /package/{components → vue-components/styles/components}/_overview-info.scss +0 -0
  76. /package/{components → vue-components/styles/components}/_overview-page.scss +0 -0
  77. /package/{components → vue-components/styles/components}/_pagination.scss +0 -0
  78. /package/{components → vue-components/styles/components}/_payment-card.scss +0 -0
  79. /package/{components → vue-components/styles/components}/_preloader.scss +0 -0
  80. /package/{components → vue-components/styles/components}/_preview-modal.scss +0 -0
  81. /package/{components → vue-components/styles/components}/_pricing-table.scss +0 -0
  82. /package/{components → vue-components/styles/components}/_progress-bar.scss +0 -0
  83. /package/{components → vue-components/styles/components}/_report.scss +0 -0
  84. /package/{components → vue-components/styles/components}/_subscription-card.scss +0 -0
  85. /package/{components → vue-components/styles/components}/_table-of-content.scss +0 -0
  86. /package/{components → vue-components/styles/components}/_terminal.scss +0 -0
  87. /package/{components → vue-components/styles/components}/_tfa.scss +0 -0
  88. /package/{components → vue-components/styles/components}/_transitions.scss +0 -0
  89. /package/{components → vue-components/styles/components}/_widget-menu.scss +0 -0
  90. /package/{components → vue-components/styles/components}/_wizard.scss +0 -0
  91. /package/{components → vue-components/styles/components}/ac-toaster/_ac-toasted.scss +0 -0
  92. /package/{components → vue-components/styles/components}/bbum/_activities-header.scss +0 -0
  93. /package/{components → vue-components/styles/components}/bbum/_all.scss +0 -0
  94. /package/{components → vue-components/styles/components}/bbum/_card-team.scss +0 -0
  95. /package/{components → vue-components/styles/components}/bbum/_information-center.scss +0 -0
  96. /package/{components → vue-components/styles/components}/bbum/_left-sidebar.scss +0 -0
  97. /package/{components → vue-components/styles/components}/bbum/_mobile-desktop.scss +0 -0
  98. /package/{components → vue-components/styles/components}/bbum/_post.scss +0 -0
  99. /package/{components → vue-components/styles/components}/bbum/_sign-up-notification.scss +0 -0
  100. /package/{components → vue-components/styles/components}/bbum/_single-post-preview.scss +0 -0
  101. /package/{components → vue-components/styles/components}/bbum/_user-profile.scss +0 -0
  102. /package/{layouts → vue-components/styles/layouts}/_404.scss +0 -0
  103. /package/{layouts → vue-components/styles/layouts}/_all.scss +0 -0
  104. /package/{layouts → vue-components/styles/layouts}/_code-preview.scss +0 -0
@@ -0,0 +1,73 @@
1
+ @import "./menu-content";
2
+ .ac-navbar-area {
3
+ position: fixed;
4
+ margin-left: 250px;
5
+ width: 100%;
6
+ top: 0;
7
+ z-index: 999;
8
+ background-color: $primary-97;
9
+ border-bottom: 1px solid $primary-90;
10
+
11
+ &.is-full {
12
+ margin-left: 0;
13
+
14
+ .ac-navbar {
15
+ grid-template-columns: 250px auto auto;
16
+ width: 100%;
17
+ gap: 20px;
18
+ .ac-navbar-brand {
19
+ padding-left: 15px;
20
+ }
21
+ }
22
+ }
23
+
24
+ .ac-navbar {
25
+ display: inline-grid;
26
+ grid-template-columns: auto auto;
27
+ // margin-left: 255px;
28
+ grid-gap: 0px;
29
+ align-items: center;
30
+ width: calc(100% - 255px);
31
+ height: 50px;
32
+ // padding: 0 15px;
33
+
34
+ .ac-navbar-brand {
35
+ display: flex;
36
+ align-items: center;
37
+ .logo {
38
+ font-size: 20px;
39
+ font-weight: 600;
40
+ color: $white-100;
41
+ }
42
+
43
+ img {
44
+ height: 30px;
45
+ }
46
+ }
47
+ .ac-navbar-cluster-switcher {
48
+ max-width: 350px;
49
+ }
50
+ .ac-navbar-menu {
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: flex-end;
54
+
55
+ .ac-menu-item {
56
+ position: relative;
57
+ z-index: 1;
58
+ margin-left: 8px;
59
+ &:first-child {
60
+ margin-left: 0;
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ // for sidebar-collapsed
67
+ .sidebar-collapsed {
68
+ .ac-navbar {
69
+ .ac-navbar-brand {
70
+ padding-left: 70px !important;
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,134 @@
1
+ .ac-options {
2
+ border-radius: 50%;
3
+ width: 32px;
4
+ height: 32px;
5
+ text-align: center;
6
+ margin: 0;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ border: none;
11
+ background-color: transparent;
12
+ cursor: pointer;
13
+ &:hover {
14
+ background-color: $primary-90;
15
+ }
16
+
17
+ &:focus-within {
18
+ .options-items {
19
+ opacity: 1;
20
+ visibility: visible;
21
+ }
22
+ }
23
+
24
+ &.is-horaizental {
25
+ .option-dots {
26
+ flex-direction: row;
27
+
28
+ span {
29
+ margin-bottom: 0;
30
+ margin-right: 2px;
31
+ }
32
+ }
33
+ }
34
+
35
+ &.is-centered {
36
+ .option-dots {
37
+ align-items: center;
38
+ }
39
+
40
+ .options-items {
41
+ left: 50%;
42
+ }
43
+ }
44
+
45
+ &.is-right {
46
+ .option-dots {
47
+ align-items: flex-end;
48
+ }
49
+
50
+ .options-items {
51
+ right: 0px;
52
+ }
53
+ }
54
+
55
+ .option-dots {
56
+ display: flex;
57
+ flex-direction: column;
58
+ cursor: pointer;
59
+ align-items: flex-start;
60
+ border: none;
61
+ background-color: transparent;
62
+ transition: 0.3 ease-in-out;
63
+
64
+ &:hover {
65
+ color: $primary;
66
+ }
67
+
68
+ span {
69
+ width: 4px;
70
+ height: 4px;
71
+ background-color: $primary-20;
72
+ border-radius: 50%;
73
+ margin-bottom: 1px;
74
+ }
75
+ }
76
+
77
+ .options-items {
78
+ border-radius: 4px;
79
+ position: absolute;
80
+ z-index: 99;
81
+ background-color: $white-100;
82
+ min-width: 160px;
83
+ top: 30px;
84
+ padding: 5px 0;
85
+ border: 1px solid $primary-90;
86
+ list-style: none;
87
+ opacity: 0;
88
+ visibility: hidden;
89
+ transition: 0.3s ease-in-out;
90
+ text-align: left;
91
+
92
+ li {
93
+ .list-button {
94
+ width: 100%;
95
+ background-color: transparent;
96
+ border: none;
97
+ cursor: pointer;
98
+ font-weight: 400;
99
+ text-align: left;
100
+ color: $primary-20;
101
+ font-size: 13px;
102
+ padding: 10px 30px;
103
+ display: block;
104
+
105
+ &:hover {
106
+ background-color: $primary-90;
107
+ color: $primary;
108
+ }
109
+
110
+ span {
111
+ background-color: transparent;
112
+
113
+ &.icon {
114
+ margin-right: 5px;
115
+ }
116
+ }
117
+ }
118
+
119
+ a {
120
+ font-size: 13px;
121
+ padding: 7px 15px;
122
+ display: block;
123
+ text-decoration: none !important;
124
+ color: $primary-10 !important;
125
+ border: none;
126
+
127
+ &:hover {
128
+ background-color: $primary-90;
129
+ color: $primary !important;
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
@@ -0,0 +1,430 @@
1
+ // INFO TABLE END
2
+
3
+ // GENERAL TABLE START
4
+ .table.ac-table {
5
+ background-color: transparent;
6
+ margin-bottom: 0;
7
+
8
+ thead {
9
+ background-color: $primary-95;
10
+ font-size: 13px;
11
+ line-height: initial;
12
+
13
+ tr {
14
+ border-bottom: 1px solid $primary-95;
15
+
16
+ th {
17
+ padding: 10px 20px;
18
+ color: $primary-5;
19
+ border: none;
20
+ font-weight: 500;
21
+ // background-color: $primary-97;
22
+ // text-transform: uppercase;
23
+ font-weight: 500;
24
+
25
+ &.sorting {
26
+ cursor: pointer;
27
+ position: relative;
28
+
29
+ &.sorting-asc {
30
+ &::before {
31
+ color: $primary-5;
32
+ }
33
+ }
34
+
35
+ &.sorting-desc {
36
+ &::after {
37
+ color: $primary-5;
38
+ }
39
+ }
40
+
41
+ &:after,
42
+ &::before {
43
+ position: absolute;
44
+ color: #808998;
45
+ top: 0.4em;
46
+ font-size: 13px;
47
+ font-weight: 1000;
48
+ display: block;
49
+ }
50
+
51
+ &:before {
52
+ right: 1em;
53
+ content: "\2191";
54
+ }
55
+
56
+ &:after {
57
+ right: 0.5em;
58
+ content: "\2193";
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ tbody {
66
+ &.is-selected {
67
+ transform: matrix(1, 0, 0, 1, 0, 0) !important;
68
+ box-shadow: inset 0 0 0 1px $primary;
69
+ border-radius: 4px;
70
+ border-bottom: none;
71
+ color: $black-5;
72
+ }
73
+
74
+ tr {
75
+ border-bottom: 1px solid $primary-90;
76
+ &.is-link {
77
+ cursor: pointer;
78
+ }
79
+ &.is-selected {
80
+ background-color: $primary-97 !important;
81
+ transform: matrix(1, 0, 0, 1, 0, 0) !important;
82
+ box-shadow: inset 0 0 0 1.2px $primary;
83
+ border-radius: 4px;
84
+ border-bottom: none;
85
+ color: $black-5;
86
+ transition: 0.3s ease-in-out;
87
+ .tag {
88
+ background-color: $primary-80;
89
+ }
90
+ &:hover {
91
+ background-color: $primary-95 !important;
92
+ transform: matrix(1, 0, 0, 1, 0, 0) !important;
93
+ box-shadow: inset 0 0 0 1.2px $primary !important;
94
+ }
95
+ }
96
+
97
+ &.is-hoverless {
98
+ box-shadow: none !important;
99
+ transform: none !important;
100
+ background-color: $white-100 !important;
101
+ }
102
+ td {
103
+ font-size: 13px;
104
+ padding: 5px 20px;
105
+ color: $primary-10;
106
+ border: none;
107
+
108
+ a:not(.tag a) {
109
+ color: $primary;
110
+ font-weight: 500 !important;
111
+ transition: 0.3s ease-in-out;
112
+ font-weight: 400;
113
+ }
114
+
115
+ .tags {
116
+ .tag {
117
+ a {
118
+ color: $primary;
119
+ transition: 0.3s ease-in-out;
120
+ font-weight: 500;
121
+
122
+ &:hover {
123
+ color: $primary-5;
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ &.is-danger {
130
+ color: $danger;
131
+ }
132
+
133
+ .image-with-status {
134
+ margin-right: 20px;
135
+ position: relative;
136
+ z-index: 1;
137
+ display: inline-flex;
138
+
139
+ &.is-danger {
140
+ background-color: $danger;
141
+ }
142
+
143
+ i.fa {
144
+ position: absolute;
145
+ background-color: $primary;
146
+ color: $white-100;
147
+ font-size: 11px;
148
+ width: 15px;
149
+ height: 15px;
150
+ text-align: center;
151
+ line-height: 15px;
152
+ border-radius: 50%;
153
+ right: -5px;
154
+ top: 5px;
155
+
156
+ &.fa-close {
157
+ background-color: $danger;
158
+ }
159
+ }
160
+
161
+ img {
162
+ width: 20px;
163
+ height: 20px;
164
+ object-fit: cover;
165
+ border-radius: 50%;
166
+ }
167
+ }
168
+
169
+ .collapsible-row {
170
+ max-height: 0;
171
+ overflow-y: hidden;
172
+
173
+ &.is-active {
174
+ max-height: 60vh;
175
+ overflow-y: overlay;
176
+ animation: expand 0.5s ease-in-out;
177
+ }
178
+
179
+ &.is-closed {
180
+ max-height: 0;
181
+ overflow-y: hidden;
182
+ animation: collapse 0.5s ease-in-out;
183
+ }
184
+ }
185
+
186
+ white-space: nowrap;
187
+ }
188
+
189
+ .options-items {
190
+ a:hover {
191
+ color: $white-100;
192
+ text-decoration: none;
193
+ }
194
+ }
195
+
196
+ transition: 0.3s ease-in-out;
197
+ }
198
+ }
199
+
200
+ .increase-width {
201
+ position: relative;
202
+ visibility: hidden;
203
+ width: 36px;
204
+
205
+ .increase-innner {
206
+ border-bottom: 1px solid $primary-90;
207
+ border-top: 1px solid $primary-90;
208
+ bottom: -1px;
209
+ left: 0;
210
+ position: absolute;
211
+ right: -451px;
212
+ top: -1px;
213
+ visibility: visible;
214
+ background-color: $primary-90;
215
+ }
216
+ }
217
+
218
+ td {
219
+ &.increase-width {
220
+ .increase-innner {
221
+ background-color: transparent;
222
+ }
223
+ }
224
+ }
225
+
226
+ &.is-bordered {
227
+ thead {
228
+ tr {
229
+ th {
230
+ border-top: 1px solid $primary-95;
231
+ border-bottom: 1px solid $primary-95;
232
+ border-right: 1px solid $primary-95;
233
+ background-color: $primary-97;
234
+
235
+ &:first-child {
236
+ border-left: 1px solid transparent;
237
+ }
238
+ &:last-child {
239
+ border-right: 1px solid transparent;
240
+ }
241
+ }
242
+ }
243
+ }
244
+
245
+ tbody {
246
+ tr {
247
+ &:hover {
248
+ box-shadow: none;
249
+ }
250
+
251
+ td {
252
+ font-size: 13px;
253
+ color: $primary-20;
254
+ background-color: transparent;
255
+ border-bottom: 1px solid $primary-95;
256
+ border-right: 1px solid $primary-95;
257
+ &:last-child {
258
+ border-right: 1px solid transparent;
259
+ }
260
+ &:first-child {
261
+ border-left: 1px solid transparent;
262
+ }
263
+
264
+ &:first-child {
265
+ color: $primary-5;
266
+ border-radius: 0;
267
+ }
268
+
269
+ &:last-child {
270
+ border-radius: 0;
271
+ }
272
+
273
+ .ac-single-checkbox {
274
+ .is-checkradio[type="checkbox"] {
275
+ &.ac-checkbox + label {
276
+ color: $primary-20;
277
+
278
+ &::before {
279
+ height: 16px;
280
+ width: 16px;
281
+ background-color: $primary-95;
282
+ }
283
+
284
+ &::after {
285
+ top: 6px;
286
+ left: 6px;
287
+ border-color: $black-80;
288
+ width: 0.3rem;
289
+ height: 0.5rem;
290
+ }
291
+ }
292
+
293
+ &:checked + label::before {
294
+ background-color: $primary;
295
+ border-color: $primary;
296
+ }
297
+
298
+ &:checked + label::after {
299
+ border-color: $primary-90;
300
+ }
301
+ }
302
+ }
303
+
304
+ .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
305
+ background-color: $primary;
306
+ border-color: $primary;
307
+ }
308
+
309
+ .is-checkradio[type="checkbox"] + label::before,
310
+ .is-checkradio[type="checkbox"] + label:before {
311
+ top: 3px;
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+
318
+ &.ac-separate-tr {
319
+ border-collapse: separate;
320
+ border-spacing: 0px 5px;
321
+
322
+ tbody {
323
+ tr {
324
+ background-color: transparent;
325
+ }
326
+ }
327
+ }
328
+
329
+ &.is-middle-aligned {
330
+ thead {
331
+ tr {
332
+ th {
333
+ vertical-align: middle;
334
+ }
335
+ }
336
+ }
337
+
338
+ tbody {
339
+ tr {
340
+ td {
341
+ vertical-align: middle;
342
+ }
343
+ }
344
+ }
345
+ }
346
+
347
+ &.is-dark {
348
+ thead {
349
+ background-color: $primary-5;
350
+
351
+ tr {
352
+ th {
353
+ color: $white-100;
354
+ }
355
+ }
356
+ }
357
+
358
+ tbody {
359
+ tr {
360
+ td {
361
+ color: $white-100;
362
+ }
363
+
364
+ &:nth-child(odd) {
365
+ background-color: $primary-20;
366
+ }
367
+
368
+ &:nth-child(even) {
369
+ background-color: $primary-5;
370
+ }
371
+
372
+ &:hover {
373
+ background-color: $primary;
374
+
375
+ td {
376
+ color: $white-100;
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+
384
+ .table.ac-table tbody tr:hover td a:not(.tag a) {
385
+ text-decoration: underline;
386
+ color: $primary;
387
+ }
388
+
389
+ // table inner shadow
390
+ .table-inner-shadow {
391
+ border-radius: 0px;
392
+ background: $primary-90;
393
+ box-shadow: inset 5px 5px 10px #e3e6e9, inset -5px -5px 10px #ffffff;
394
+ }
395
+
396
+ @keyframes expand {
397
+ from {
398
+ max-height: 0;
399
+ overflow-y: hidden;
400
+ }
401
+ 1% {
402
+ overflow-y: hidden;
403
+ }
404
+ 99% {
405
+ overflow-y: hidden;
406
+ }
407
+ to {
408
+ max-height: 60vh;
409
+ overflow-y: overlay;
410
+ }
411
+ }
412
+
413
+ @keyframes collapse {
414
+ from {
415
+ max-height: 60vh;
416
+ overflow-y: overlay;
417
+ }
418
+ 1% {
419
+ overflow-y: hidden;
420
+ }
421
+ 99% {
422
+ overflow-y: hidden;
423
+ }
424
+ to {
425
+ max-height: 0;
426
+ overflow-y: hidden;
427
+ }
428
+ }
429
+
430
+ // GENERAL TABLE END