@appscode/design-system 2.0.4 → 2.0.5-alpha.1

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 (97) 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 +15 -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/_modal.scss +216 -0
  11. package/vue-components/styles/components/_navbar.scss +68 -0
  12. package/vue-components/styles/components/_options.scss +134 -0
  13. package/vue-components/styles/components/_table.scss +430 -0
  14. package/vue-components/styles/components/_tabs.scss +338 -0
  15. package/{components → vue-components/styles/components}/ui-builder/_ui-builder.scss +17 -17
  16. package/{components → vue-components/styles/components}/ui-builder/_vue-open-api.scss +35 -35
  17. package/vue-components/v3/accordion/Accordion.vue +1 -117
  18. package/vue-components/v3/button/Button.vue +1 -59
  19. package/vue-components/v3/dropdown/DropdownAction.vue +1 -32
  20. package/vue-components/v3/form/Form.vue +1 -4
  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/Navbar.vue +1 -91
  24. package/vue-components/v3/option-dots/Options.vue +1 -144
  25. package/vue-components/v3/sidebar/Sidebar.vue +1 -201
  26. package/vue-components/v3/tab/Tabs.vue +1 -24
  27. package/vue-components/v3/table/Table.vue +1 -453
  28. package/components/_ac-modal.scss +0 -212
  29. package/components/_ac-options.scss +0 -122
  30. package/components/_ac-table.scss +0 -503
  31. package/components/_ac-tabs.scss +0 -313
  32. package/components/_accordion.scss +0 -117
  33. package/components/_all.scss +0 -35
  34. package/components/_left-sidebar-menu.scss +0 -482
  35. package/components/_navbar.scss +0 -786
  36. /package/{base → vue-components/styles/base}/_video-player.scss +0 -0
  37. /package/{base → vue-components/styles/base}/utilities/_all.scss +0 -0
  38. /package/{base → vue-components/styles/base}/utilities/_colors.scss +0 -0
  39. /package/{base → vue-components/styles/base}/utilities/_customize-bulma.scss +0 -0
  40. /package/{base → vue-components/styles/base}/utilities/_extended.scss +0 -0
  41. /package/{base → vue-components/styles/base}/utilities/_global.scss +0 -0
  42. /package/{base → vue-components/styles/base}/utilities/_layouts.scss +0 -0
  43. /package/{base → vue-components/styles/base}/utilities/_mixin.scss +0 -0
  44. /package/{base → vue-components/styles/base}/utilities/_spacing.scss +0 -0
  45. /package/{base → vue-components/styles/base}/utilities/_typography.scss +0 -0
  46. /package/{components → vue-components/styles/components}/_ac-alert-box.scss +0 -0
  47. /package/{components → vue-components/styles/components}/_ac-calendar.scss +0 -0
  48. /package/{components → vue-components/styles/components}/_ac-code-highlight.scss +0 -0
  49. /package/{components → vue-components/styles/components}/_ac-content-layout.scss +0 -0
  50. /package/{components → vue-components/styles/components}/_ac-drag.scss +0 -0
  51. /package/{components → vue-components/styles/components}/_ac-select-box.scss +0 -0
  52. /package/{components → vue-components/styles/components}/_ac-tags.scss +0 -0
  53. /package/{components → vue-components/styles/components}/_add-card.scss +0 -0
  54. /package/{components → vue-components/styles/components}/_app-drawer.scss +0 -0
  55. /package/{components → vue-components/styles/components}/_breadcumb.scss +0 -0
  56. /package/{components → vue-components/styles/components}/_buttons.scss +0 -0
  57. /package/{components → vue-components/styles/components}/_card-body-wrapper.scss +0 -0
  58. /package/{components → vue-components/styles/components}/_dashboard-header.scss +0 -0
  59. /package/{components → vue-components/styles/components}/_direct-deploy.scss +0 -0
  60. /package/{components → vue-components/styles/components}/_getkeeper.scss +0 -0
  61. /package/{components → vue-components/styles/components}/_go-to-top.scss +0 -0
  62. /package/{components → vue-components/styles/components}/_graph.scss +0 -0
  63. /package/{components → vue-components/styles/components}/_image-upload.scss +0 -0
  64. /package/{components → vue-components/styles/components}/_input-card.scss +0 -0
  65. /package/{components → vue-components/styles/components}/_monaco-editor.scss +0 -0
  66. /package/{components → vue-components/styles/components}/_multi-select.scss +0 -0
  67. /package/{components → vue-components/styles/components}/_nested-list.scss +0 -0
  68. /package/{components → vue-components/styles/components}/_overview-info.scss +0 -0
  69. /package/{components → vue-components/styles/components}/_overview-page.scss +0 -0
  70. /package/{components → vue-components/styles/components}/_pagination.scss +0 -0
  71. /package/{components → vue-components/styles/components}/_payment-card.scss +0 -0
  72. /package/{components → vue-components/styles/components}/_preloader.scss +0 -0
  73. /package/{components → vue-components/styles/components}/_preview-modal.scss +0 -0
  74. /package/{components → vue-components/styles/components}/_pricing-table.scss +0 -0
  75. /package/{components → vue-components/styles/components}/_progress-bar.scss +0 -0
  76. /package/{components → vue-components/styles/components}/_report.scss +0 -0
  77. /package/{components → vue-components/styles/components}/_subscription-card.scss +0 -0
  78. /package/{components → vue-components/styles/components}/_table-of-content.scss +0 -0
  79. /package/{components → vue-components/styles/components}/_terminal.scss +0 -0
  80. /package/{components → vue-components/styles/components}/_tfa.scss +0 -0
  81. /package/{components → vue-components/styles/components}/_transitions.scss +0 -0
  82. /package/{components → vue-components/styles/components}/_widget-menu.scss +0 -0
  83. /package/{components → vue-components/styles/components}/_wizard.scss +0 -0
  84. /package/{components → vue-components/styles/components}/ac-toaster/_ac-toasted.scss +0 -0
  85. /package/{components → vue-components/styles/components}/bbum/_activities-header.scss +0 -0
  86. /package/{components → vue-components/styles/components}/bbum/_all.scss +0 -0
  87. /package/{components → vue-components/styles/components}/bbum/_card-team.scss +0 -0
  88. /package/{components → vue-components/styles/components}/bbum/_information-center.scss +0 -0
  89. /package/{components → vue-components/styles/components}/bbum/_left-sidebar.scss +0 -0
  90. /package/{components → vue-components/styles/components}/bbum/_mobile-desktop.scss +0 -0
  91. /package/{components → vue-components/styles/components}/bbum/_post.scss +0 -0
  92. /package/{components → vue-components/styles/components}/bbum/_sign-up-notification.scss +0 -0
  93. /package/{components → vue-components/styles/components}/bbum/_single-post-preview.scss +0 -0
  94. /package/{components → vue-components/styles/components}/bbum/_user-profile.scss +0 -0
  95. /package/{layouts → vue-components/styles/layouts}/_404.scss +0 -0
  96. /package/{layouts → vue-components/styles/layouts}/_all.scss +0 -0
  97. /package/{layouts → vue-components/styles/layouts}/_code-preview.scss +0 -0
@@ -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