@vixcom/ui 1.1.0

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 (114) hide show
  1. package/.firebaserc +17 -0
  2. package/.github/release-please.yml +2 -0
  3. package/.github/workflows/deploy-prod.yml +26 -0
  4. package/.pnpm-debug.log +19 -0
  5. package/assets/img/favicon.png +0 -0
  6. package/assets/img/icon.png +0 -0
  7. package/css/animations.css +175 -0
  8. package/css/animations.css.map +1 -0
  9. package/css/app.css +1896 -0
  10. package/css/app.css.map +1 -0
  11. package/css/colors.css +5591 -0
  12. package/css/colors.css.map +1 -0
  13. package/css/external/bootstrap-grid.css +4997 -0
  14. package/css/external/bootstrap.css +10308 -0
  15. package/css/external/mdb.css +9444 -0
  16. package/css/external/owl-carousel.css +218 -0
  17. package/css/fonts.css +65 -0
  18. package/css/fonts.css.map +1 -0
  19. package/css/grid.css +6 -0
  20. package/css/grid.css.map +1 -0
  21. package/css/helper/owl.carousel.css +75 -0
  22. package/css/helper/owl.carousel.css.map +1 -0
  23. package/css/helper/primefaces.css +287 -0
  24. package/css/helper/primefaces.css.map +1 -0
  25. package/css/helper/primefaces.org.css.map +1 -0
  26. package/css/helper/tailwindcss.css +6 -0
  27. package/css/helper/tailwindcss.css.map +1 -0
  28. package/css/icons/external/bootstrap.icons.css +5502 -0
  29. package/css/icons/external/fontawesome.icons.css +6127 -0
  30. package/css/icons/external/material-design.icons.css +5728 -0
  31. package/css/icons/external/themify.icons.css +1428 -0
  32. package/css/index.css +23 -0
  33. package/css/index.css.map +1 -0
  34. package/css/menu.css +556 -0
  35. package/css/menu.css.map +1 -0
  36. package/css/polyfills.css +11 -0
  37. package/css/polyfills.css.map +1 -0
  38. package/css/sidebar.css.map +1 -0
  39. package/css/sizes.css +7457 -0
  40. package/css/sizes.css.map +1 -0
  41. package/css/variables.css +258 -0
  42. package/css/variables.css.map +1 -0
  43. package/firebase.json +55 -0
  44. package/fonts/MontessoriScript.ttf +0 -0
  45. package/fonts/Montserrat-Bold.ttf +0 -0
  46. package/fonts/Montserrat-Regular.ttf +0 -0
  47. package/fonts/NotoSans-Bold.ttf +0 -0
  48. package/fonts/Roboto-Bold.ttf +0 -0
  49. package/fonts/Roboto-Regular.ttf +0 -0
  50. package/fonts/bootstrap-icons.woff +0 -0
  51. package/fonts/fa-brands.woff +0 -0
  52. package/fonts/fa-regular.woff +0 -0
  53. package/fonts/fa-solid.woff +0 -0
  54. package/fonts/material-design-icons.ttf +0 -0
  55. package/http-server.sh +4 -0
  56. package/index.html +206 -0
  57. package/js/axios.min.js +3 -0
  58. package/js/bootstrap.min.js +7 -0
  59. package/js/jquery.min.js +4 -0
  60. package/js/lodash.min.js +139 -0
  61. package/js/mdb.min.js +15411 -0
  62. package/js/owl.carousel.min.js +7 -0
  63. package/js/rapidoc-min.js +4 -0
  64. package/js/sidebar.min.js +50 -0
  65. package/package.json +15 -0
  66. package/pages/error/index.html +32 -0
  67. package/pages/sidemenu/index.html +36 -0
  68. package/pages/tier-1/LICENSE +201 -0
  69. package/pages/tier-1/fonts/krub/Krub-Bold.ttf +0 -0
  70. package/pages/tier-1/fonts/krub/Krub-Light.ttf +0 -0
  71. package/pages/tier-1/fonts/krub/Krub-Regular.ttf +0 -0
  72. package/pages/tier-1/fonts/themify.woff +0 -0
  73. package/pages/tier-1/index.html +74 -0
  74. package/pages/tier-1/preview.png +0 -0
  75. package/pages/tier-1/scripts/jquery.min.js +4 -0
  76. package/pages/tier-1/scripts/sidebar.min.js +50 -0
  77. package/pages/tier-1/styles/bootstrap.css +9495 -0
  78. package/pages/tier-1/styles/color.css +28 -0
  79. package/pages/tier-1/styles/layout.css +33 -0
  80. package/pages/tier-1/styles/mdb.css +9657 -0
  81. package/pages/tier-1/styles/page.css +26 -0
  82. package/pages/tier-1/styles/sidebar.css +193 -0
  83. package/pages/tier-1/styles/themify.css +1428 -0
  84. package/pages/tier-2/LICENSE +201 -0
  85. package/pages/tier-2/fonts/krub/Krub-Bold.ttf +0 -0
  86. package/pages/tier-2/fonts/krub/Krub-Light.ttf +0 -0
  87. package/pages/tier-2/fonts/krub/Krub-Regular.ttf +0 -0
  88. package/pages/tier-2/fonts/themify.woff +0 -0
  89. package/pages/tier-2/index.html +65 -0
  90. package/pages/tier-2/preview.png +0 -0
  91. package/pages/tier-2/scripts/jquery.min.js +4 -0
  92. package/pages/tier-2/scripts/sidebar.min.js +50 -0
  93. package/pages/tier-2/styles/bootstrap.css +9495 -0
  94. package/pages/tier-2/styles/color.css +28 -0
  95. package/pages/tier-2/styles/layout.css +43 -0
  96. package/pages/tier-2/styles/mdb.css +9657 -0
  97. package/pages/tier-2/styles/page.css +26 -0
  98. package/pages/tier-2/styles/sidebar.css +193 -0
  99. package/pages/tier-2/styles/themify.css +1428 -0
  100. package/styles/_mixins.scss +309 -0
  101. package/styles/animations.scss +191 -0
  102. package/styles/app.scss +2020 -0
  103. package/styles/colors.scss +117 -0
  104. package/styles/fonts.scss +16 -0
  105. package/styles/grid.scss +4 -0
  106. package/styles/helper/owl.carousel.scss +92 -0
  107. package/styles/helper/primefaces.scss +373 -0
  108. package/styles/helper/tailwindcss.scss +4 -0
  109. package/styles/index.scss +25 -0
  110. package/styles/menu.scss +566 -0
  111. package/styles/polyfills.scss +9 -0
  112. package/styles/sizes.scss +191 -0
  113. package/styles/variables.scss +30 -0
  114. package/test.http +14 -0
@@ -0,0 +1,117 @@
1
+ @import 'mixins';
2
+
3
+ /**
4
+ * HSL Darken = level - n; Lighten = level + n.
5
+ ** Darken Color = hsl(var(--{color}-hs), calc(var(--{color}-l) - n%))
6
+ ** Lighten Color = hsl(var(--{color}-hs), calc(var(--{color}-l) + n%))
7
+ * {color}-hs = The Hue and Saturation level of the color.
8
+ * {color}-l = Lightness level of the color.
9
+ * {color}-a = Alpha level of the color.
10
+ * {color}-c = The corresponding Text color of the color, if it is used as a background.
11
+ */
12
+
13
+ @each $k,
14
+ $v in $app-colors-mapped {
15
+ // Texts
16
+ @include mapped-color-variant('.text-#{$k}', $k, $v);
17
+ @include mapped-neon-color-variant('.text-neon-#{$k}', $k, $v);
18
+ // Background
19
+ @include mapped-bg-color-variant('.bg-#{$k}', $k, $v);
20
+ @include mapped-g-color-variant('.bg-g-#{$k}', $k, $v);
21
+ @include mapped-tabs-variant('.tabs-#{$k}', $k, $v);
22
+ @include mapped-alert-variant('.alert-#{$k}', $k, $v);
23
+ @include mapped-outline-variant('.bg-outline-#{$k}', $k, $v);
24
+ // Buttons
25
+ @include mapped-bg-color-variant('.btn-#{$k}', $k, $v);
26
+ @include mapped-g-color-variant('.btn-g-#{$k}', $k, $v);
27
+ @include mapped-outline-variant('.btn-outline-#{$k}', $k, $v);
28
+ // Badges
29
+ @include mapped-bg-color-variant('.badge-#{$k}', $k, $v);
30
+ @include mapped-outline-variant('.badge-outline-#{$k}', $k, $v);
31
+
32
+ .border-#{$k} {
33
+ border-color: map-get($v, 'bg')
34
+ }
35
+ }
36
+
37
+ @each $v in (0, 25, 50, 75, 100) {
38
+ .opacity-#{$v} {
39
+ opacity: $v/100;
40
+ }
41
+ }
42
+
43
+ button,
44
+ input {
45
+
46
+ &.focus,
47
+ &:focus-within,
48
+ &:focus {
49
+ outline: none;
50
+ box-shadow: none !important
51
+ }
52
+ }
53
+
54
+ .bg-transparent,
55
+ .btn-transparent,
56
+ .tabs-transparent,
57
+ .alert-transparent {
58
+ border: none;
59
+ background-color: transparent !important;
60
+ color: currentColor !important;
61
+ }
62
+
63
+ .bg-current,
64
+ .btn-current,
65
+ .tabs-current,
66
+ .alert-current {
67
+ border: none;
68
+ background-color: currentColor;
69
+ // color: currentColor !important;
70
+ }
71
+
72
+ .inactive {
73
+ color: #BCBCCB
74
+ }
75
+
76
+
77
+ .shadow- {
78
+ &1 {
79
+ &::before {
80
+ box-shadow: var(--black) 0 3px 9px -3px;
81
+ }
82
+ }
83
+ }
84
+
85
+ .shadow-inset {
86
+ &-1 {
87
+ &::before {
88
+ box-shadow: inset var(--black) 0 3px 9px -3px;
89
+ }
90
+ }
91
+ }
92
+
93
+ [class*=shadow-] {
94
+ position: relative;
95
+ z-index: 1;
96
+
97
+ &>* {
98
+ position: relative;
99
+ }
100
+
101
+ @include before-content;
102
+ }
103
+
104
+ input,
105
+ input::placeholder,
106
+ input::-webkit-input-placeholder {
107
+ color: currentColor !important
108
+ }
109
+
110
+ .text-unset,
111
+ .text-color-unset {
112
+ color: unset
113
+ }
114
+
115
+ .text-current {
116
+ color: currentColor
117
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @Author Vixson
3
+ * @Description Font variables and Logics
4
+ */
5
+
6
+ @for $n from 1 through 6 {
7
+ h#{$n},
8
+ .h#{$n},
9
+ .font-#{7 - $n} {
10
+ --heading-size: calc(
11
+ var(--heading-start) -
12
+ (#{$n - 1} * (var(--heading-start) - var(--heading-end)) / 5)
13
+ );
14
+ font-size: var(--heading-size);
15
+ }
16
+ }
@@ -0,0 +1,4 @@
1
+ .grid {
2
+ display: grid;
3
+ grid-template-columns: repeat(12, minmax(0, 1fr));
4
+ }
@@ -0,0 +1,92 @@
1
+ /**
2
+ * Owl Carousel Library Patch
3
+ */
4
+
5
+ /* .carousel.fullwidth .carousel-item {
6
+ width: 100%;
7
+ }
8
+
9
+ .owl-carousel.fullwidth .owl-stage {
10
+ padding-left: 0 !important;
11
+ padding-right: 0 !important;
12
+ }
13
+
14
+ .carousel .carousel-item {
15
+ margin-right: 1rem;
16
+ width: 90%;
17
+ } */
18
+
19
+ .owl-carousel.partical {
20
+ margin-left: -1.25rem;
21
+ margin-right: -1.25rem;
22
+ }
23
+
24
+ .owl-carousel.partical .owl-stage-outer {
25
+ min-width: 100vw;
26
+ }
27
+
28
+ .owl-carousel {
29
+
30
+ .owl-stage {
31
+ /* padding-left: 0 !important; */
32
+ display: flex;
33
+ }
34
+
35
+ .owl-item {
36
+ padding-left: 0.25rem;
37
+ // min-height: 6rem !important;
38
+
39
+ .flex-card {
40
+ border-radius: 0.75rem;
41
+ height: 100%;
42
+ border: none;
43
+
44
+ .bg-image {
45
+ // background-clip: border-box;
46
+ // background-image: attr(data-src './assets/bg/flex-card-bg.svg');
47
+ // background-size: cover;
48
+ // background-repeat: no-repeat;
49
+ object-fit: cover;
50
+ position: absolute;
51
+ display: block;
52
+ height: 100%;
53
+ width: 100%;
54
+ top: 0;
55
+ left: 0;
56
+ z-index: 0;
57
+ }
58
+
59
+ .content {
60
+ align-self: stretch;
61
+
62
+ .title {
63
+ margin-bottom: 0.5rem;
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ .owl-dots {
70
+ display: flex;
71
+ flex-wrap: nowrap;
72
+ text-align: center;
73
+
74
+ .owl-dot {
75
+ height: 0.125rem;
76
+ width: 100%;
77
+ /* width: 2.5rem; */
78
+ margin-right: 0.25rem;
79
+ background-color: currentColor;
80
+ opacity: 0.125;
81
+ transition: all 0.75s;
82
+
83
+ &.active {
84
+ opacity: 1;
85
+ }
86
+
87
+ &+.owl-dot {
88
+ margin-left: 0.5rem;
89
+ }
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,373 @@
1
+ @import '../mixins';
2
+
3
+ .p-component {
4
+ font-size: 100%;
5
+ font-family: unset;
6
+ }
7
+
8
+ .p-steps {
9
+ .p-steps-item {
10
+ &.p-highlight .p-steps-number {
11
+ background-color: var(--secondary);
12
+ }
13
+
14
+ .p-steps-number {
15
+ background-color: var(--primary);
16
+ color: var(--white);
17
+ }
18
+ }
19
+ }
20
+
21
+ .p-tabview {
22
+ &.no-header .p-tabview-nav {
23
+ display: none;
24
+ }
25
+
26
+ & &-nav {
27
+ align-items: stretch;
28
+ flex-wrap: nowrap;
29
+ overflow-x: scroll;
30
+ border: none;
31
+
32
+ li {
33
+ min-width: 20%;
34
+
35
+ &.p-highlight {
36
+ min-width: 30%;
37
+ }
38
+
39
+ .p-tabview-nav-link {
40
+ height: 100%;
41
+ }
42
+ }
43
+ }
44
+ }
45
+
46
+ .p-dialog-mask,
47
+ .p-component-overlay,
48
+ .p-dialog-mask.p-component-overlay {
49
+ z-index: 4;
50
+ }
51
+
52
+ .p-dialog {
53
+ min-width: 50%;
54
+ max-width: 95%;
55
+ max-height: 95%;
56
+ z-index: 1;
57
+
58
+ .p-confirm-dialog .p-confirm-dialog-icon {
59
+ font-size: 300%;
60
+ }
61
+
62
+ .p-dialog-header {
63
+ border-top-left-radius: inherit;
64
+ border-top-right-radius: inherit;
65
+
66
+ .p-dialog-header-close:hover {
67
+ color: var(--danger);
68
+ }
69
+ }
70
+
71
+ .p-dialog-content {
72
+ padding: 0.25rem 1.5rem;
73
+
74
+ .p-confirm-dialog-message {
75
+ white-space: pre-wrap;
76
+ }
77
+ }
78
+
79
+ .p-dialog-footer {
80
+ display: flex;
81
+ flex-wrap: wrap;
82
+ justify-content: flex-end;
83
+ padding: 1.5rem;
84
+ gap: 0.5rem;
85
+
86
+ button {
87
+ border: none;
88
+ padding: 0.5rem 1.25rem;
89
+ text-transform: capitalize;
90
+ }
91
+
92
+ > * {
93
+ margin-top: 1rem;
94
+ }
95
+ }
96
+ }
97
+
98
+ .p-overlaypanel {
99
+ display: flex;
100
+ flex-direction: column;
101
+ max-width: 100%;
102
+ max-height: 100%;
103
+ z-index: 1;
104
+
105
+ .p-overlaypanel-content {
106
+ display: flex;
107
+ flex-direction: column;
108
+ min-height: 100%;
109
+ }
110
+ }
111
+
112
+ .p-toast {
113
+ z-index: 5;
114
+ }
115
+
116
+ .p-badge {
117
+ font-size: 0.75rem;
118
+ }
119
+
120
+ .input > .p-inputtext {
121
+ padding: 0;
122
+ color: unset;
123
+ font-size: unset;
124
+ }
125
+
126
+ .p-inputtext {
127
+ width: 100%;
128
+
129
+ &:enabled {
130
+ margin-bottom: 0;
131
+
132
+ :hover {
133
+ border-color: unset;
134
+ }
135
+ }
136
+ }
137
+
138
+ .p-input-icon-left,
139
+ .p-input-icon-right {
140
+ display: flex;
141
+
142
+ i {
143
+ display: flex;
144
+ align-items: center;
145
+ position: relative;
146
+ top: 0;
147
+ margin-top: 0;
148
+ }
149
+ }
150
+
151
+ .p-dropdown {
152
+ border-color: currentColor;
153
+ }
154
+
155
+ *:not(.p-paginator) > .p-dropdown {
156
+ width: 100%;
157
+ }
158
+
159
+ p-chart {
160
+ width: 100%;
161
+
162
+ canvas {
163
+ width: 100%;
164
+ min-width: 100%;
165
+ }
166
+ }
167
+
168
+ .p-calendar {
169
+ /* width: 100%; */
170
+
171
+ .p-datepicker {
172
+ min-width: unset;
173
+
174
+ .p-datepicker-header {
175
+ .p-datepicker-month {
176
+ border: none;
177
+ }
178
+ }
179
+
180
+ &:not(.p-datepicker-inline) {
181
+ box-shadow: unset;
182
+
183
+ & > * {
184
+ position: relative;
185
+ }
186
+
187
+ &::before {
188
+ content: '';
189
+ display: block;
190
+ height: 100%;
191
+ width: 100%;
192
+ position: absolute;
193
+ box-shadow: var(--card-shadow);
194
+ border-radius: inherit;
195
+ top: 0;
196
+ left: 0;
197
+ z-index: 0;
198
+ }
199
+ }
200
+
201
+ table td > span {
202
+ width: 2.25rem;
203
+ height: 2.25rem;
204
+ }
205
+
206
+ .p-datepicker-buttonbar {
207
+ padding: 0;
208
+ }
209
+ }
210
+ }
211
+
212
+ .p-panel {
213
+ > {
214
+ :first-child {
215
+ border-top-left-radius: inherit;
216
+ border-top-right-radius: inherit;
217
+ }
218
+
219
+ :last-child {
220
+ border-bottom-left-radius: inherit;
221
+ border-bottom-right-radius: inherit;
222
+ }
223
+ }
224
+
225
+ & + .p-panel {
226
+ margin-top: 1rem;
227
+ }
228
+ }
229
+
230
+ .p-accordion {
231
+ .p-accordion-header-link {
232
+ border-radius: inherit;
233
+ }
234
+
235
+ // &:not(.default) {
236
+ // .p-accordion-header-link {
237
+ // padding: 0.75rem;
238
+ // }
239
+
240
+ // .p-accordion-content {
241
+ // padding: 0;
242
+ // }
243
+ // }
244
+ }
245
+
246
+ .p-carousel {
247
+ width: 100%;
248
+
249
+ .p-carousel-container {
250
+ position: relative;
251
+
252
+ .p-carousel-prev,
253
+ .p-carousel-next {
254
+ position: absolute;
255
+ box-shadow: var(--card-shadow);
256
+ z-index: 1;
257
+ }
258
+
259
+ .p-carousel-next {
260
+ right: 0;
261
+ }
262
+ }
263
+
264
+ .p-carousel-items-content {
265
+ /* padding: 1rem; */
266
+ position: relative;
267
+ z-index: 0;
268
+
269
+ .p-carousel-items-container {
270
+ gap: 0.5rem;
271
+
272
+ .p-carousel-item {
273
+ display: flex;
274
+ justify-content: center;
275
+ /* padding: 0 0.5rem; */
276
+ /* border: thin solid transparent; */
277
+
278
+ &:hover {
279
+ border-color: var(--primary);
280
+ }
281
+ }
282
+ }
283
+
284
+ .p-carousel-item-active:nth-of-type(2) {
285
+ /* padding: 0 0.125rem; */
286
+ // transform: scale(1.25);
287
+ }
288
+ }
289
+
290
+ .p-carousel-indicators {
291
+ .p-carousel-indicator button {
292
+ border: none;
293
+ height: 0.25rem;
294
+ border-radius: 0.125rem;
295
+ }
296
+ }
297
+ }
298
+
299
+ .p-paginator {
300
+ &-left-content {
301
+ margin-right: none;
302
+ }
303
+
304
+ &-right-content {
305
+ margin-left: none;
306
+ }
307
+ }
308
+
309
+ @media (max-width: 575.98px) {
310
+ .p-dialog {
311
+ min-width: 95%;
312
+
313
+ .p-dialog-footer p-footer {
314
+ /* justify-content: center; */
315
+ /* flex-direction: column; */
316
+ }
317
+ }
318
+
319
+ .p-toast {
320
+ width: auto;
321
+ left: 0.5rem;
322
+ right: 0.5rem;
323
+ }
324
+ }
325
+
326
+ .p-message {
327
+ .p-message-wrapper {
328
+ flex-wrap: wrap;
329
+ gap: 1rem;
330
+ }
331
+ }
332
+
333
+ .p-toast .p-toast-message {
334
+ .p-toast-icon-close {
335
+ min-width: 2rem;
336
+ border: none;
337
+ }
338
+ }
339
+
340
+ .p-selectbutton {
341
+ display: flex;
342
+
343
+ > .p-button {
344
+ width: 100%;
345
+ padding: 1rem;
346
+ }
347
+ }
348
+
349
+ .p-button {
350
+ text-transform: capitalize;
351
+ font-size: 120%;
352
+
353
+ &:hover {
354
+ background-color: hsl(var(--primary-hs), calc(var(--primary-l) - 20%));
355
+ }
356
+ }
357
+
358
+ .p-hidden-accessible {
359
+ display: none;
360
+ }
361
+
362
+ // @each $color,
363
+ // $colorValue in $app-colors-mapped {
364
+ // .p-toast-message-#{$color} {
365
+ // background-color: var(--#{$color});
366
+ // color: var(--#{$color}-c);
367
+ // }
368
+
369
+ // .p-badge-#{$color} {
370
+ // background-color: var(--#{$color});
371
+ // color: var(--#{$color}-c);
372
+ // }
373
+ // }
@@ -0,0 +1,4 @@
1
+ .grid>div {
2
+ padding-left: 1rem;
3
+ padding-right: 1rem;
4
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ * @Author: Vixson
3
+ * @Description: Unique and Very Responsive Admin Dashboard UI
4
+ */
5
+ @import 'mixins';
6
+ // @import 'https://unpkg.com/bootstrap@latest/dist/css/bootstrap.min.css';
7
+ @import 'external/bootstrap.css';
8
+ @import 'variables.css';
9
+ @import 'app.css';
10
+ @import 'sizes.css';
11
+ @import 'colors.css';
12
+ @import 'animations.css';
13
+ @import 'polyfills.css';
14
+
15
+ @font-face {
16
+ font-family: 'AppTitle';
17
+ src: url('/fonts/NotoSans-Bold.ttf');
18
+ font-weight: bold;
19
+ }
20
+
21
+ @font-face {
22
+ font-family: 'AppContent';
23
+ src: url('/fonts/Roboto-Regular.ttf');
24
+ font-weight: normal;
25
+ }