@appscode/design-system 2.0.6-alpha.2 → 2.0.7

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 (101) hide show
  1. package/{vue-components/styles/base → base}/utilities/_grid.scss +1 -1
  2. package/components/_ac-modal.scss +212 -0
  3. package/components/_ac-options.scss +122 -0
  4. package/components/_ac-table.scss +503 -0
  5. package/components/_ac-tabs.scss +313 -0
  6. package/components/_accordion.scss +117 -0
  7. package/components/_all.scss +35 -0
  8. package/{vue-components/styles/components → components}/_input.scss +23 -44
  9. package/components/_left-sidebar-menu.scss +482 -0
  10. package/components/_navbar.scss +786 -0
  11. package/{vue-components/styles/components → components}/ui-builder/_ui-builder.scss +17 -17
  12. package/{vue-components/styles/components → components}/ui-builder/_vue-open-api.scss +35 -35
  13. package/main.scss +4 -4
  14. package/package.json +1 -1
  15. package/vue-components/v3/accordion/Accordion.vue +117 -1
  16. package/vue-components/v3/button/Button.vue +59 -1
  17. package/vue-components/v3/dropdown/DropdownAction.vue +32 -1
  18. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -3
  19. package/vue-components/v3/modal/Modal.vue +216 -1
  20. package/vue-components/v3/navbar/Appdrawer.vue +121 -1
  21. package/vue-components/v3/navbar/Navbar.vue +93 -1
  22. package/vue-components/v3/navbar/NavbarItem.vue +65 -0
  23. package/vue-components/v3/navbar/NavbarItemContent.vue +275 -0
  24. package/vue-components/v3/navbar/User.vue +170 -5
  25. package/vue-components/v3/option-dots/Options.vue +144 -1
  26. package/vue-components/v3/sidebar/Sidebar.vue +201 -1
  27. package/vue-components/v3/tab/Tabs.vue +24 -1
  28. package/vue-components/v3/table/Table.vue +453 -1
  29. package/vue-components/styles/components/_accordion.scss +0 -117
  30. package/vue-components/styles/components/_all.scss +0 -16
  31. package/vue-components/styles/components/_button.scss +0 -59
  32. package/vue-components/styles/components/_dropdown.scss +0 -32
  33. package/vue-components/styles/components/_left-sidebar.scss +0 -201
  34. package/vue-components/styles/components/_menu-content.scss +0 -527
  35. package/vue-components/styles/components/_modal.scss +0 -216
  36. package/vue-components/styles/components/_navbar.scss +0 -73
  37. package/vue-components/styles/components/_options.scss +0 -134
  38. package/vue-components/styles/components/_table.scss +0 -430
  39. package/vue-components/styles/components/_tabs.scss +0 -338
  40. /package/{vue-components/styles/base → base}/_video-player.scss +0 -0
  41. /package/{vue-components/styles/base → base}/utilities/_all.scss +0 -0
  42. /package/{vue-components/styles/base → base}/utilities/_colors.scss +0 -0
  43. /package/{vue-components/styles/base → base}/utilities/_customize-bulma.scss +0 -0
  44. /package/{vue-components/styles/base → base}/utilities/_extended.scss +0 -0
  45. /package/{vue-components/styles/base → base}/utilities/_global.scss +0 -0
  46. /package/{vue-components/styles/base → base}/utilities/_layouts.scss +0 -0
  47. /package/{vue-components/styles/base → base}/utilities/_mixin.scss +0 -0
  48. /package/{vue-components/styles/base → base}/utilities/_spacing.scss +0 -0
  49. /package/{vue-components/styles/base → base}/utilities/_typography.scss +0 -0
  50. /package/{vue-components/styles/components → components}/_ac-alert-box.scss +0 -0
  51. /package/{vue-components/styles/components → components}/_ac-calendar.scss +0 -0
  52. /package/{vue-components/styles/components → components}/_ac-code-highlight.scss +0 -0
  53. /package/{vue-components/styles/components → components}/_ac-content-layout.scss +0 -0
  54. /package/{vue-components/styles/components → components}/_ac-drag.scss +0 -0
  55. /package/{vue-components/styles/components → components}/_ac-select-box.scss +0 -0
  56. /package/{vue-components/styles/components → components}/_ac-tags.scss +0 -0
  57. /package/{vue-components/styles/components → components}/_add-card.scss +0 -0
  58. /package/{vue-components/styles/components → components}/_app-drawer.scss +0 -0
  59. /package/{vue-components/styles/components → components}/_breadcumb.scss +0 -0
  60. /package/{vue-components/styles/components → components}/_buttons.scss +0 -0
  61. /package/{vue-components/styles/components → components}/_card-body-wrapper.scss +0 -0
  62. /package/{vue-components/styles/components → components}/_dashboard-header.scss +0 -0
  63. /package/{vue-components/styles/components → components}/_direct-deploy.scss +0 -0
  64. /package/{vue-components/styles/components → components}/_getkeeper.scss +0 -0
  65. /package/{vue-components/styles/components → components}/_go-to-top.scss +0 -0
  66. /package/{vue-components/styles/components → components}/_graph.scss +0 -0
  67. /package/{vue-components/styles/components → components}/_image-upload.scss +0 -0
  68. /package/{vue-components/styles/components → components}/_input-card.scss +0 -0
  69. /package/{vue-components/styles/components → components}/_monaco-editor.scss +0 -0
  70. /package/{vue-components/styles/components → components}/_multi-select.scss +0 -0
  71. /package/{vue-components/styles/components → components}/_nested-list.scss +0 -0
  72. /package/{vue-components/styles/components → components}/_overview-info.scss +0 -0
  73. /package/{vue-components/styles/components → components}/_overview-page.scss +0 -0
  74. /package/{vue-components/styles/components → components}/_pagination.scss +0 -0
  75. /package/{vue-components/styles/components → components}/_payment-card.scss +0 -0
  76. /package/{vue-components/styles/components → components}/_preloader.scss +0 -0
  77. /package/{vue-components/styles/components → components}/_preview-modal.scss +0 -0
  78. /package/{vue-components/styles/components → components}/_pricing-table.scss +0 -0
  79. /package/{vue-components/styles/components → components}/_progress-bar.scss +0 -0
  80. /package/{vue-components/styles/components → components}/_report.scss +0 -0
  81. /package/{vue-components/styles/components → components}/_subscription-card.scss +0 -0
  82. /package/{vue-components/styles/components → components}/_table-of-content.scss +0 -0
  83. /package/{vue-components/styles/components → components}/_terminal.scss +0 -0
  84. /package/{vue-components/styles/components → components}/_tfa.scss +0 -0
  85. /package/{vue-components/styles/components → components}/_transitions.scss +0 -0
  86. /package/{vue-components/styles/components → components}/_widget-menu.scss +0 -0
  87. /package/{vue-components/styles/components → components}/_wizard.scss +0 -0
  88. /package/{vue-components/styles/components → components}/ac-toaster/_ac-toasted.scss +0 -0
  89. /package/{vue-components/styles/components → components}/bbum/_activities-header.scss +0 -0
  90. /package/{vue-components/styles/components → components}/bbum/_all.scss +0 -0
  91. /package/{vue-components/styles/components → components}/bbum/_card-team.scss +0 -0
  92. /package/{vue-components/styles/components → components}/bbum/_information-center.scss +0 -0
  93. /package/{vue-components/styles/components → components}/bbum/_left-sidebar.scss +0 -0
  94. /package/{vue-components/styles/components → components}/bbum/_mobile-desktop.scss +0 -0
  95. /package/{vue-components/styles/components → components}/bbum/_post.scss +0 -0
  96. /package/{vue-components/styles/components → components}/bbum/_sign-up-notification.scss +0 -0
  97. /package/{vue-components/styles/components → components}/bbum/_single-post-preview.scss +0 -0
  98. /package/{vue-components/styles/components → components}/bbum/_user-profile.scss +0 -0
  99. /package/{vue-components/styles/layouts → layouts}/_404.scss +0 -0
  100. /package/{vue-components/styles/layouts → layouts}/_all.scss +0 -0
  101. /package/{vue-components/styles/layouts → layouts}/_code-preview.scss +0 -0
@@ -0,0 +1,313 @@
1
+ .tabs {
2
+ &.ac-tabs {
3
+ ul {
4
+ border-bottom-color: $primary-90;
5
+ }
6
+
7
+ &.is-line {
8
+ ul {
9
+ border-bottom-color: $primary-90;
10
+ padding-left: 4px;
11
+
12
+ li {
13
+ &.is-active {
14
+ a {
15
+ font-weight: 500;
16
+ border-bottom-color: $primary;
17
+ border-bottom: 2px solid $primary !important;
18
+ border-width: 2px;
19
+ }
20
+ }
21
+
22
+ a {
23
+ // text-transform: uppercase;
24
+ font-weight: 400;
25
+ color: $primary-5;
26
+ font-size: 13px;
27
+ border-bottom: none;
28
+ padding: 6px 16px;
29
+
30
+ &:hover {
31
+ border-bottom-color: $primary;
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ &.is-boxed {
39
+ font-size: 14px;
40
+
41
+ a {
42
+ padding: 8px 20px;
43
+ color: $primary-20;
44
+
45
+ &:hover {
46
+ border-bottom-color: transparent;
47
+ background-color: transparent;
48
+ }
49
+ }
50
+
51
+ ul {
52
+ padding-left: 10px;
53
+
54
+ li {
55
+ &.is-active {
56
+ position: relative;
57
+ border-color: $primary-90;
58
+ z-index: 1;
59
+ color: $primary;
60
+
61
+ &:after {
62
+ position: absolute;
63
+ content: "";
64
+ left: 0;
65
+ top: 0;
66
+ width: 100%;
67
+ height: 4px;
68
+ border-radius: 4px 4px 0 0;
69
+ background-color: $primary;
70
+ }
71
+
72
+ a {
73
+ border-color: $primary-90;
74
+ background-color: $white-100;
75
+ padding: 8px 20px;
76
+ font-weight: 500;
77
+ margin-bottom: -2px;
78
+ font-size: 13px;
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ &.is-gap {
85
+ ul {
86
+ li {
87
+ margin-right: 6px;
88
+
89
+ &.is-active {
90
+ box-shadow: 0px 4px 6px rgba(133, 145, 163, 0.54);
91
+ }
92
+
93
+ a {
94
+ border: 1px solid $primary-90;
95
+ border-bottom: none;
96
+ margin-bottom: -2px;
97
+ font-size: 13px;
98
+ color: $primary-20;
99
+ }
100
+ }
101
+ }
102
+
103
+ &.is-borderless {
104
+ ul {
105
+ border-bottom-color: transparent;
106
+
107
+ li {
108
+ &.is-active {
109
+ a {
110
+ background-color: $primary-90;
111
+ }
112
+ }
113
+
114
+ a {
115
+ border: 1px solid transparent;
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ &.is-toggle {
124
+ ul {
125
+ border: 1px solid $primary-10;
126
+ border-radius: 4px;
127
+ padding: 4px;
128
+ flex-grow: inherit;
129
+
130
+ li {
131
+ &.is-active {
132
+ a {
133
+ color: $white-100;
134
+ background-color: $primary;
135
+
136
+ &:hover {
137
+ background-color: $primary;
138
+ }
139
+ }
140
+ }
141
+
142
+ a {
143
+ font-size: 16px;
144
+ font-weight: 500;
145
+ border: none;
146
+ padding: 8px 25px;
147
+ line-height: 1;
148
+ border-radius: 4px;
149
+
150
+ &:hover {
151
+ background-color: inherit;
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ &.kubedb-ui-tabs {
159
+ ul {
160
+ border-bottom: none;
161
+
162
+ li {
163
+ &.is-active {
164
+ a {
165
+ border-bottom: 3px solid $primary !important;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+
174
+ .ac-tabs-body {
175
+ &.is-content-available {
176
+ .ac-tabs {
177
+ margin-bottom: 0;
178
+
179
+ ul {
180
+ li {
181
+ &.is-active {
182
+ a {
183
+ border-color: $primary-90;
184
+ background-color: $white-100;
185
+ color: $primary;
186
+ }
187
+ }
188
+ }
189
+ }
190
+ }
191
+
192
+ .ac-tab-content {
193
+ background-color: $white-100;
194
+ border: 1px solid $primary-90;
195
+ border-top: none;
196
+ border-radius: 0 0 4px 4px;
197
+
198
+ &.is-borderless {
199
+ border: 1px solid transparent;
200
+ background-color: $primary-90;
201
+ border-radius: 4px 4px 4px 4px;
202
+ }
203
+ }
204
+ }
205
+ }
206
+
207
+ .ac-tabs-body {
208
+ &.is-content-available {
209
+ &.has-bg-color {
210
+ .ac-tabs {
211
+ ul {
212
+ border-bottom-width: 0px;
213
+
214
+ li {
215
+ &.is-active {
216
+ a {
217
+ background-color: $primary-90;
218
+ color: $primary;
219
+ }
220
+ }
221
+ }
222
+ }
223
+ }
224
+ }
225
+ }
226
+ }
227
+
228
+ .tabs li.is-active a {
229
+ color: $primary;
230
+ }
231
+
232
+ .no-data-available {
233
+ img {
234
+ width: 250px;
235
+ }
236
+ }
237
+
238
+ .ac-system-body.bb-user-management {
239
+ .tabs.ac-tabs.is-line {
240
+ margin-left: -20px;
241
+ position: sticky;
242
+ top: 50px;
243
+ z-index: 99;
244
+ background: $white-100;
245
+ }
246
+ }
247
+
248
+ // dark theme
249
+ // .is-dark-theme {
250
+ // .tabs {
251
+ // &.is-toggle {
252
+ // a {
253
+ // &:hover {
254
+ // background-color: $dark-bg;
255
+ // }
256
+ // }
257
+ // }
258
+
259
+ // a {
260
+ // border-bottom: 1px solid $primary-90;
261
+ // color: $white-100;
262
+ // }
263
+
264
+ // &.ac-tabs.is-line {
265
+ // ul {
266
+ // li.is-active {
267
+ // a {
268
+ // color: $primary-10;
269
+ // }
270
+ // }
271
+ // }
272
+ // }
273
+ // }
274
+ // }
275
+
276
+ /****************************************
277
+ Responsive Classes
278
+ *****************************************/
279
+ // Extra small devices (portrait phones, less than 576px)
280
+ @media (max-width: 575.98px) {
281
+ }
282
+
283
+ // Small devices (landscape phones, 576px and up)
284
+ @media (min-width: 576px) and (max-width: 767.98px) {
285
+ }
286
+
287
+ // Medium devices (tablets, 768px and up)
288
+ @media (min-width: 768px) and (max-width: 991.98px) {
289
+ }
290
+
291
+ // Large devices (desktops, 992px and up)
292
+ @media (min-width: 992px) and (max-width: 1199.98px) {
293
+ }
294
+
295
+ // Extra large devices (large desktops, 1200px and up)
296
+ @media (min-width: 1200px) {
297
+ .card-body-wrapper {
298
+ .tabs.ac-tabs {
299
+ &.is-boxed {
300
+ ul {
301
+ li {
302
+ &.is-active {
303
+ a {
304
+ border-color: $primary-90;
305
+ background-color: $white-100;
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
@@ -0,0 +1,117 @@
1
+ // .ac-accordion-wrapper {
2
+ // &.is-marginless {
3
+ // .single-accordion-item {
4
+ // margin: 0;
5
+ // padding: 0;
6
+
7
+ // .accordion-heading {
8
+ // padding: 10px 20px;
9
+ // position: relative;
10
+ // z-index: 1;
11
+
12
+ // &::after {
13
+ // position: absolute;
14
+ // content: "";
15
+ // left: 0;
16
+ // top: 0;
17
+ // width: 4px;
18
+ // height: 100%;
19
+ // background-color: $primary;
20
+ // }
21
+ // }
22
+ // }
23
+ // }
24
+
25
+ // .single-accordion-item {
26
+ // background-color: $white-100;
27
+ // padding: 15px 20px;
28
+ // margin-bottom: 15px;
29
+ // border-radius: 4px;
30
+ // border: 1px solid $primary-90;
31
+
32
+ // &.open {
33
+ // .accordion-heading {
34
+ // margin-bottom: 10px;
35
+ // }
36
+ // }
37
+
38
+ // &:last-child {
39
+ // margin-bottom: 0;
40
+ // }
41
+
42
+ // .accordion-heading {
43
+ // display: flex;
44
+ // align-items: center;
45
+ // justify-content: space-between;
46
+
47
+ // h3 {
48
+ // cursor: pointer;
49
+ // }
50
+
51
+ // button {
52
+ // font-size: 12px;
53
+ // letter-spacing: 0.1px;
54
+ // }
55
+
56
+ // .icon {
57
+ // width: 20px;
58
+ // height: 20px;
59
+ // border: 1px solid $primary-90;
60
+ // line-height: 20px;
61
+ // display: flex;
62
+ // justify-content: center;
63
+ // align-items: center;
64
+ // font-size: 10px;
65
+ // border-radius: 50%;
66
+ // cursor: pointer;
67
+ // }
68
+ // }
69
+
70
+ // .accordion-body {
71
+ // max-height: 0;
72
+ // transition: max-height 0.2s ease-out;
73
+ // overflow: hidden;
74
+
75
+ // p {
76
+ // font-size: 13px;
77
+ // color: $primary-10;
78
+ // line-height: 1.6;
79
+ // }
80
+ // }
81
+ // }
82
+ // }
83
+
84
+ // .overview-body {
85
+ // .ac-accordion-wrapper {
86
+ // &.is-marginless {
87
+ // .single-accordion-item {
88
+ // .accordion-heading {
89
+ // padding-bottom: 0;
90
+ // }
91
+ // }
92
+ // }
93
+ // }
94
+ // }
95
+
96
+ // /****************************************
97
+ // Responsive Classes
98
+ // *****************************************/
99
+ // // Extra small devices (portrait phones, less than 576px)
100
+ // @media (max-width: 575.98px) {
101
+ // }
102
+
103
+ // // Small devices (landscape phones, 576px and up)
104
+ // @media (min-width: 576px) and (max-width: 767.98px) {
105
+ // }
106
+
107
+ // // Medium devices (tablets, 768px and up)
108
+ // @media (min-width: 768px) and (max-width: 991.98px) {
109
+ // }
110
+
111
+ // // Large devices (desktops, 992px and up)
112
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
113
+ // }
114
+
115
+ // // Extra large devices (large desktops, 1200px and up)
116
+ // @media (min-width: 1200px) {
117
+ // }
@@ -0,0 +1,35 @@
1
+ // @import "ac-alert-box";
2
+ // @import "ac-accordion";
3
+ // @import "buttons";
4
+ // @import "breadcumb";
5
+ // @import "ac-multi-select";
6
+ // @import "ac-code-highlight";
7
+ // @import "navbar";
8
+ // @import "app-drawer";
9
+ // @import "ac-drag";
10
+ // @import "left-sidebar-menu";
11
+ // @import "ac-content-layout";
12
+ // @import "ac-table";
13
+ // @import "ac-tabs";
14
+ // @import "graph";
15
+ // @import "ac-modal";
16
+ // @import "payment-card";
17
+ // @import "pagination";
18
+ // @import "ac-options";
19
+ // @import "image-upload";
20
+ // @import "ac-alert-box";
21
+ // @import "dashboard-header";
22
+ // @import "ac-tags";
23
+ // @import "go-to-top";
24
+ // @import "ac-toaster/ac-toasted";
25
+ // @import "preview-modal";
26
+ // @import "bbum/all";
27
+ // @import "wizard";
28
+
29
+ @import "terminal";
30
+ @import "input";
31
+ @import "multi-select";
32
+ @import "report";
33
+ @import "getkeeper";
34
+ @import "ui-builder/ui-builder";
35
+ @import "ui-builder/vue-open-api";
@@ -257,6 +257,23 @@
257
257
  margin-bottom: 0;
258
258
  }
259
259
 
260
+ &.is-dark {
261
+ input {
262
+ background-color: $primary-10;
263
+ border-color: transparent;
264
+ color: $white-100;
265
+
266
+ &::placeholder {
267
+ color: $primary-10;
268
+ }
269
+
270
+ button {
271
+ i.fa {
272
+ color: $white-100;
273
+ }
274
+ }
275
+ }
276
+ }
260
277
 
261
278
  label {
262
279
  font-size: 13px;
@@ -296,6 +313,12 @@
296
313
  margin-top: -1px;
297
314
  z-index: -1;
298
315
  }
316
+
317
+ // &.is-required {
318
+ // &:after {
319
+ // width: calc(100% + 10px);
320
+ // }
321
+ // }
299
322
  }
300
323
  }
301
324
 
@@ -548,47 +571,3 @@
548
571
  background-color: $primary-95;
549
572
  }
550
573
  }
551
-
552
- // file upload
553
- .file-upload {
554
- border: 1px dashed $primary-80;
555
- border-radius: 4px;
556
- &:hover {
557
- background-color: $primary-97;
558
-
559
- label {
560
- .upload-icon {
561
- border: 1px solid $primary-80;
562
- svg {
563
- color: $primary-10;
564
- }
565
- }
566
- }
567
- }
568
- label {
569
- cursor: pointer;
570
- padding: 32px;
571
- display: block;
572
- .upload-icon {
573
- border: 1px solid $primary-90;
574
- display: inline-flex;
575
- align-items: center;
576
- justify-content: center;
577
- border-radius: 50%;
578
- width: 100px;
579
- height: 100px;
580
- margin-bottom: 24px;
581
- padding: 24px;
582
-
583
- svg {
584
- color: $primary-30;
585
- }
586
- }
587
- p {
588
- color: $primary-10;
589
- strong {
590
- font-weight: 600;
591
- }
592
- }
593
- }
594
- }