@appscode/design-system 1.0.3-alpha.7 → 1.0.43-alpha.4

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 (53) hide show
  1. package/base/utilities/_default.scss +21 -1
  2. package/components/_ac-input.scss +58 -2
  3. package/components/_ac-table.scss +47 -15
  4. package/components/_breadcumb.scss +1 -1
  5. package/components/_left-sidebar-menu.scss +3 -2
  6. package/components/_navbar.scss +1 -1
  7. package/components/_preloader.scss +1 -1
  8. package/components/ui-builder/_ui-builder.scss +2 -2
  9. package/layouts/_404.scss +158 -0
  10. package/layouts/_code-preview.scss +1 -0
  11. package/package.json +1 -1
  12. package/plugins/vue-toaster.js +1 -0
  13. package/vue-components/v2/card/CardContent.vue +5 -0
  14. package/vue-components/v2/card/CardHeader.vue +12 -0
  15. package/vue-components/v2/card/OverviewCard.vue +10 -0
  16. package/vue-components/v2/card/OverviewCards.vue +5 -0
  17. package/vue-components/v2/card/PaymentCards.vue +6 -9
  18. package/vue-components/v2/content/ContentHeader.vue +1 -1
  19. package/vue-components/v2/header/Header.vue +0 -1
  20. package/vue-components/v2/modal/Modal.vue +2 -3
  21. package/vue-components/v2/modals/JsonShowModal.vue +0 -1
  22. package/vue-components/v2/navbar/Appdrawer.vue +8 -6
  23. package/vue-components/v2/pagination/Pagination.vue +8 -1
  24. package/vue-components/v2/sidebar/SidebarItem.vue +1 -1
  25. package/vue-components/v2/table/InfoTable.vue +13 -3
  26. package/vue-components/v2/table/Table.vue +75 -5
  27. package/vue-components/v3/button/Button.vue +73 -0
  28. package/vue-components/v3/content/ContentHeader.vue +54 -0
  29. package/vue-components/v3/content/ContentTable.vue +65 -0
  30. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  31. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  32. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  33. package/vue-components/v3/editor/Editor.vue +137 -0
  34. package/vue-components/v3/form-fields/Input.vue +21 -0
  35. package/vue-components/v3/header/Header.vue +45 -0
  36. package/vue-components/v3/modal/Modal.vue +126 -0
  37. package/vue-components/v3/modals/JsonShowModal.vue +87 -0
  38. package/vue-components/v3/navbar/Appdrawer.vue +58 -0
  39. package/vue-components/v3/navbar/User.vue +64 -0
  40. package/vue-components/v3/pagination/Pagination.vue +159 -0
  41. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  42. package/vue-components/v3/tab/TabItem.vue +17 -0
  43. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  44. package/vue-components/v3/table/InfoTable.vue +105 -0
  45. package/vue-components/v3/table/Table.vue +238 -0
  46. package/vue-components/v3/table/TableCell.vue +28 -0
  47. package/vue-components/v3/table/TableRow.vue +60 -0
  48. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  49. package/vue-components/v3/table/table-cell/CellValue.vue +108 -0
  50. package/vue-components/v3/table/table-cell/ObjectCell.vue +105 -0
  51. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  52. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  53. package/vue-components/v3/tag/Tag.vue +17 -0
@@ -29,7 +29,7 @@
29
29
  position: sticky;
30
30
  top: 100px;
31
31
  background-color: #fff;
32
- z-index: 9;
32
+ z-index: 997;
33
33
  }
34
34
  .ac-system-content {
35
35
  &.pr-15 {
@@ -133,6 +133,19 @@
133
133
  .form-content {
134
134
  width: 720px;
135
135
  }
136
+
137
+ .section-padding {
138
+ padding: 100px 0;
139
+ }
140
+
141
+ .section-padding-60 {
142
+ padding: 60px 0;
143
+ }
144
+
145
+ .short-section-padding {
146
+ padding: 50px 0;
147
+ }
148
+
136
149
  .section-divider {
137
150
  background-color: $ac-white-light;
138
151
  }
@@ -194,6 +207,13 @@
194
207
  opacity: 0.5;
195
208
  cursor: not-allowed;
196
209
  }
210
+ .no-data-image {
211
+ img {
212
+ width: 250px;
213
+ height: auto;
214
+ padding: 20px;
215
+ }
216
+ }
197
217
 
198
218
  // for ellipsis
199
219
  @for $i from 0 through 10 {
@@ -92,6 +92,7 @@
92
92
  }
93
93
  }
94
94
  }
95
+
95
96
  &.is-normal {
96
97
  input {
97
98
  height: 45px;
@@ -109,7 +110,7 @@
109
110
  }
110
111
 
111
112
  span.eye i.fa {
112
- padding: 10px;
113
+ padding: 14px 10px;
113
114
  }
114
115
 
115
116
  .ac-search-button {
@@ -117,7 +118,7 @@
117
118
  }
118
119
 
119
120
  label {
120
- top: 8px;
121
+ top: 13px;
121
122
  font-size: $font-size-small;
122
123
 
123
124
  &.show-label {
@@ -137,6 +138,7 @@
137
138
  }
138
139
  }
139
140
  }
141
+
140
142
  &.is-small {
141
143
  input {
142
144
  height: 36px;
@@ -182,6 +184,7 @@
182
184
  }
183
185
  }
184
186
  }
187
+
185
188
  &.is-extra-small {
186
189
  input {
187
190
  height: 32px;
@@ -226,6 +229,7 @@
226
229
  }
227
230
  }
228
231
  }
232
+
229
233
  &:last-child {
230
234
  margin-bottom: 0;
231
235
  }
@@ -521,6 +525,23 @@
521
525
  }
522
526
  }
523
527
 
528
+ input#captcha {
529
+ background-color: #ffffff;
530
+ height: 36px;
531
+ font-weight: 400;
532
+ width: 100%;
533
+ border-radius: 4px;
534
+ border: 1px solid #a6abbd;
535
+ padding: 8px 15px;
536
+ font-size: 13px;
537
+ transition: background-color 0.3s ease-in-out;
538
+
539
+ &:focus {
540
+ outline: none;
541
+ border-bottom: 1px solid $ac-border;
542
+ }
543
+ }
544
+
524
545
  // AC-Checkbox
525
546
  .ac-single-checkbox {
526
547
  .is-checkradio {
@@ -556,20 +577,24 @@
556
577
  padding-left: 25px;
557
578
  user-select: none;
558
579
  }
580
+
559
581
  .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
560
582
  color: $ac-primary !important;
561
583
  }
584
+
562
585
  .is-checkradio[type="checkbox"].ac-checkbox + label {
563
586
  color: $ac-link-black;
564
587
  font-size: 13px;
565
588
  padding-left: 25px;
566
589
  user-select: none;
567
590
  }
591
+
568
592
  .is-checkradio[type="checkbox"],
569
593
  .is-checkradio[type="radio"] {
570
594
  display: none;
571
595
  }
572
596
  }
597
+
573
598
  .ac-single-radio {
574
599
  &.is-selected {
575
600
  .is-checkradio[type="radio"].ac-radio + label {
@@ -582,6 +607,7 @@
582
607
  .is-checkradio[type="checkbox"] + label:before {
583
608
  top: 3px;
584
609
  }
610
+
585
611
  // AC-Switch
586
612
  .ac-single-switch {
587
613
  label {
@@ -598,6 +624,35 @@
598
624
  margin-top: 6px;
599
625
  }
600
626
 
627
+ &.is-small {
628
+ label {
629
+ font-size: 13px !important;
630
+ }
631
+ .switch[type="checkbox"] + label {
632
+ font-size: 13px;
633
+ padding-top: 0;
634
+ padding-left: 40px;
635
+
636
+ &::before {
637
+ width: 30px;
638
+ height: 16.2px;
639
+ }
640
+
641
+ &::after {
642
+ top: 2px;
643
+ left: 2px;
644
+ width: 12px;
645
+ height: 12px;
646
+ }
647
+ }
648
+
649
+ .switch[type="checkbox"]:checked + label {
650
+ &::after {
651
+ left: 15px;
652
+ }
653
+ }
654
+ }
655
+
601
656
  .switch {
602
657
  &[type="checkbox"] + label {
603
658
  padding-top: 3px;
@@ -665,6 +720,7 @@
665
720
  padding-left: 25px;
666
721
  font-size: 13px;
667
722
  padding: 0.3rem 0.5rem 0.2rem 1.5rem;
723
+
668
724
  &::after {
669
725
  background-color: $ac-primary;
670
726
  width: 16px;
@@ -86,6 +86,40 @@
86
86
  color: $ac-color-heading;
87
87
  border: none;
88
88
  font-weight: 500;
89
+
90
+ &.sorting {
91
+ cursor: pointer;
92
+ position: relative;
93
+
94
+ &.sorting-asc {
95
+ &::before {
96
+ color: $ac-color-heading;
97
+ }
98
+ }
99
+ &.sorting-desc {
100
+ &::after {
101
+ color: $ac-color-heading;
102
+ }
103
+ }
104
+
105
+ &:after,
106
+ &::before {
107
+ position: absolute;
108
+ color: #808998;
109
+ bottom: 0.5em;
110
+ font-size: 13px;
111
+ font-weight: 1000;
112
+ display: block;
113
+ }
114
+ &:before {
115
+ right: 1em;
116
+ content: "\2191";
117
+ }
118
+ &:after {
119
+ right: 0.5em;
120
+ content: "\2193";
121
+ }
122
+ }
89
123
  }
90
124
  }
91
125
  }
@@ -224,26 +258,20 @@
224
258
  }
225
259
  &.ac-bordered {
226
260
  thead {
227
- td {
228
- border-top: 1px solid $ac-white-light;
229
- border-bottom: 1px solid $ac-white-light;
230
- }
231
- }
232
-
233
- tbody {
234
261
  tr {
235
- border-bottom: 1px solid $ac-white-light;
236
-
237
262
  th {
263
+ border-top: 1px solid $ac-white-light;
264
+ border-bottom: 1px solid $ac-white-light;
265
+ border-right: 1px solid $ac-white-light;
238
266
  &:first-child {
239
- border-radius: 0;
240
- }
241
-
242
- &:last-child {
243
- border-radius: 0;
267
+ border-left: 1px solid $ac-white-light;
244
268
  }
245
269
  }
270
+ }
271
+ }
246
272
 
273
+ tbody {
274
+ tr {
247
275
  &:hover {
248
276
  box-shadow: none;
249
277
  }
@@ -252,7 +280,11 @@
252
280
  font-size: $font-size-small;
253
281
  color: $ac-gray-dark;
254
282
  background-color: $ac-white;
255
-
283
+ border-bottom: 1px solid $ac-white-light;
284
+ border-right: 1px solid $ac-white-light;
285
+ &:first-child {
286
+ border-left: 1px solid $ac-white-light;
287
+ }
256
288
  &:first-child {
257
289
  color: $ac-color-heading;
258
290
  border-radius: 0;
@@ -6,7 +6,7 @@
6
6
  top: 50px;
7
7
  height: 50px;
8
8
  background: $ac-white;
9
- z-index: 99;
9
+ z-index: 998;
10
10
  }
11
11
 
12
12
  .breadcrumb {
@@ -232,7 +232,7 @@
232
232
  &::before {
233
233
  background: linear-gradient(
234
234
  89.41deg,
235
- rgba(25, 113, 189, 0.2) 0.06%,
235
+ scale-color($ac-primary, $lightness: 80%),
236
236
  rgba(25, 113, 189, 0) 138.7%
237
237
  );
238
238
  position: absolute;
@@ -246,9 +246,10 @@
246
246
  }
247
247
 
248
248
  &::before {
249
- background-color: $ac-primary;
249
+ background: $ac-primary;
250
250
  height: 100%;
251
251
  width: 4px;
252
+ z-index: 9;
252
253
  }
253
254
  }
254
255
 
@@ -32,7 +32,7 @@
32
32
  color: $ac-white;
33
33
  }
34
34
  img {
35
- height: 40px;
35
+ height: 30px;
36
36
  }
37
37
  }
38
38
  .search-item {
@@ -14,7 +14,7 @@
14
14
  animation: spinner 2.5s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
15
15
  width: 2em;
16
16
  height: 2em;
17
- background-color: #1971bd;
17
+ background-color: $ac-primary;
18
18
  }
19
19
 
20
20
  .spinner:after {
@@ -148,8 +148,8 @@
148
148
  }
149
149
  }
150
150
  .is-selected {
151
- border: 1px solid #1971bd;
152
- border-bottom: 1px solid #1971bd !important;
151
+ border: 1px solid $ac-primary;
152
+ border-bottom: 1px solid $ac-primary !important;
153
153
  border-radius: 4px;
154
154
  }
155
155
  }
@@ -0,0 +1,158 @@
1
+ .fzf-wrapper {
2
+ padding: 45px 0;
3
+ position: relative;
4
+ z-index: 1;
5
+ background-size: cover;
6
+ background-position: center;
7
+
8
+ &.fzf-bg {
9
+ background-image: url("~@/assets/images/404/404-bg.png");
10
+ }
11
+
12
+ .fzf-left-content-wrapper {
13
+ .fzf-content-inner {
14
+ padding: 110px 0;
15
+
16
+ h1 {
17
+ font-size: 261px;
18
+ line-height: 1;
19
+ font-weight: 700;
20
+ color: #1c2c41;
21
+ margin-bottom: 60px;
22
+ }
23
+
24
+ h2 {
25
+ font-size: 36px;
26
+ font-weight: 700;
27
+ color: #1c2c41;
28
+ margin-bottom: 10px;
29
+ line-height: 46px;
30
+ }
31
+
32
+ p {
33
+ font-size: 16px;
34
+ color: #4a4a4a;
35
+ opacity: 0.8;
36
+ margin-bottom: 30px;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ .animation-infinity {
43
+ position: relative;
44
+ animation: animation-jump 2s ease-in-out infinite;
45
+ -webkit-animation: animation-jump 2s ease-in-out infinite;
46
+ }
47
+
48
+ @-webkit-keyframes animation-jump {
49
+ 0% {
50
+ top: 3px;
51
+ }
52
+
53
+ 50% {
54
+ top: -3px;
55
+ }
56
+
57
+ 100% {
58
+ top: 3px;
59
+ }
60
+ }
61
+
62
+ @keyframes animation-jump {
63
+ 0% {
64
+ top: 3px;
65
+ }
66
+
67
+ 50% {
68
+ top: -3px;
69
+ }
70
+
71
+ 100% {
72
+ top: 3px;
73
+ }
74
+ }
75
+
76
+ /*=================================================================================================
77
+ Responsive code start
78
+ =================================================================================================*/
79
+ /****************************************************************
80
+ Full HD Min Width 1407
81
+ **************************************************************** */
82
+ /* Full HD Min Width 1408px */
83
+ @media (min-width: 1408px) {}
84
+
85
+ /****************************************************************
86
+ Widescreen Between 1216px and 1407px
87
+ **************************************************************** */
88
+ @media (min-width: 1216px) and (max-width: 1407px) {
89
+ .fzf-wrapper {
90
+ .fzf-left-content-wrapper {
91
+ .fzf-content-inner {
92
+ h1 {
93
+ font-size: 220px;
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+
100
+ /****************************************************************
101
+ Desktop Between 1024px and 1215px
102
+ **************************************************************** */
103
+ @media (min-width: 1024px) and (max-width: 1215px) {
104
+ .fzf-wrapper {
105
+ .fzf-left-content-wrapper {
106
+ .fzf-content-inner {
107
+ padding: 70px 0;
108
+
109
+ h1 {
110
+ font-size: 200px;
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+
117
+ /****************************************************************
118
+ Tablet Between 769px and 1023px
119
+ **************************************************************** */
120
+ @media (min-width: 769px) and (max-width: 1023px) {
121
+ .fzf-wrapper {
122
+ .fzf-left-content-wrapper {
123
+ .fzf-content-inner {
124
+ padding: 70px 0;
125
+
126
+ h1 {
127
+ font-size: 200px;
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
+ /****************************************************************
135
+ Mobile Up to 768px.
136
+ **************************************************************** */
137
+ @media only screen and (min-width: 100px) and (max-width: 768px) {
138
+ .fzf-wrapper {
139
+ .fzf-left-content-wrapper {
140
+ .fzf-content-inner {
141
+ padding: 60px 0;
142
+
143
+ h1 {
144
+ font-size: 150px;
145
+ margin-bottom: 10px;
146
+ }
147
+
148
+ h2 {
149
+ font-size: 30px;
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+
156
+ /*=================================================================================================
157
+ Responsive code end
158
+ =================================================================================================*/