@vixcom/ui 1.0.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 (111) hide show
  1. package/.firebaserc +17 -0
  2. package/.github/workflows/deploy-prod.yml +26 -0
  3. package/.pnpm-debug.log +19 -0
  4. package/assets/img/favicon.png +0 -0
  5. package/assets/img/icon.png +0 -0
  6. package/css/animations.css +175 -0
  7. package/css/animations.css.map +1 -0
  8. package/css/app.css +1896 -0
  9. package/css/app.css.map +1 -0
  10. package/css/colors.css +5591 -0
  11. package/css/colors.css.map +1 -0
  12. package/css/external/bootstrap-grid.css +4997 -0
  13. package/css/external/bootstrap.css +10308 -0
  14. package/css/external/mdb.css +9444 -0
  15. package/css/external/owl-carousel.css +218 -0
  16. package/css/fonts.css +65 -0
  17. package/css/fonts.css.map +1 -0
  18. package/css/grid.css +6 -0
  19. package/css/grid.css.map +1 -0
  20. package/css/helper/owl.carousel.css +75 -0
  21. package/css/helper/owl.carousel.css.map +1 -0
  22. package/css/helper/primefaces.css +276 -0
  23. package/css/helper/primefaces.css.map +1 -0
  24. package/css/helper/primefaces.org.css.map +1 -0
  25. package/css/helper/tailwindcss.css +6 -0
  26. package/css/helper/tailwindcss.css.map +1 -0
  27. package/css/icons/external/bootstrap.icons.css +5502 -0
  28. package/css/icons/external/fontawesome.icons.css +6127 -0
  29. package/css/icons/external/material-design.icons.css +5728 -0
  30. package/css/icons/external/themify.icons.css +1428 -0
  31. package/css/index.css +23 -0
  32. package/css/index.css.map +1 -0
  33. package/css/menu.css +556 -0
  34. package/css/menu.css.map +1 -0
  35. package/css/polyfills.css +11 -0
  36. package/css/polyfills.css.map +1 -0
  37. package/css/sidebar.css.map +1 -0
  38. package/css/sizes.css +7457 -0
  39. package/css/sizes.css.map +1 -0
  40. package/css/variables.css +258 -0
  41. package/css/variables.css.map +1 -0
  42. package/firebase.json +55 -0
  43. package/fonts/MontessoriScript.ttf +0 -0
  44. package/fonts/Montserrat-Bold.ttf +0 -0
  45. package/fonts/Montserrat-Regular.ttf +0 -0
  46. package/fonts/NotoSans-Bold.ttf +0 -0
  47. package/fonts/Roboto-Bold.ttf +0 -0
  48. package/fonts/Roboto-Regular.ttf +0 -0
  49. package/fonts/bootstrap-icons.woff +0 -0
  50. package/fonts/fa-brands.woff +0 -0
  51. package/fonts/fa-regular.woff +0 -0
  52. package/fonts/fa-solid.woff +0 -0
  53. package/fonts/material-design-icons.ttf +0 -0
  54. package/http-server.sh +4 -0
  55. package/index.html +206 -0
  56. package/js/axios.min.js +3 -0
  57. package/js/bootstrap.min.js +7 -0
  58. package/js/jquery.min.js +4 -0
  59. package/js/lodash.min.js +139 -0
  60. package/js/mdb.min.js +15411 -0
  61. package/js/owl.carousel.min.js +7 -0
  62. package/js/sidebar.min.js +50 -0
  63. package/package.json +11 -0
  64. package/pages/error/index.html +32 -0
  65. package/pages/sidemenu/index.html +36 -0
  66. package/pages/tier-1/LICENSE +201 -0
  67. package/pages/tier-1/fonts/krub/Krub-Bold.ttf +0 -0
  68. package/pages/tier-1/fonts/krub/Krub-Light.ttf +0 -0
  69. package/pages/tier-1/fonts/krub/Krub-Regular.ttf +0 -0
  70. package/pages/tier-1/fonts/themify.woff +0 -0
  71. package/pages/tier-1/index.html +74 -0
  72. package/pages/tier-1/preview.png +0 -0
  73. package/pages/tier-1/scripts/jquery.min.js +4 -0
  74. package/pages/tier-1/scripts/sidebar.min.js +50 -0
  75. package/pages/tier-1/styles/bootstrap.css +9495 -0
  76. package/pages/tier-1/styles/color.css +28 -0
  77. package/pages/tier-1/styles/layout.css +33 -0
  78. package/pages/tier-1/styles/mdb.css +9657 -0
  79. package/pages/tier-1/styles/page.css +26 -0
  80. package/pages/tier-1/styles/sidebar.css +193 -0
  81. package/pages/tier-1/styles/themify.css +1428 -0
  82. package/pages/tier-2/LICENSE +201 -0
  83. package/pages/tier-2/fonts/krub/Krub-Bold.ttf +0 -0
  84. package/pages/tier-2/fonts/krub/Krub-Light.ttf +0 -0
  85. package/pages/tier-2/fonts/krub/Krub-Regular.ttf +0 -0
  86. package/pages/tier-2/fonts/themify.woff +0 -0
  87. package/pages/tier-2/index.html +65 -0
  88. package/pages/tier-2/preview.png +0 -0
  89. package/pages/tier-2/scripts/jquery.min.js +4 -0
  90. package/pages/tier-2/scripts/sidebar.min.js +50 -0
  91. package/pages/tier-2/styles/bootstrap.css +9495 -0
  92. package/pages/tier-2/styles/color.css +28 -0
  93. package/pages/tier-2/styles/layout.css +43 -0
  94. package/pages/tier-2/styles/mdb.css +9657 -0
  95. package/pages/tier-2/styles/page.css +26 -0
  96. package/pages/tier-2/styles/sidebar.css +193 -0
  97. package/pages/tier-2/styles/themify.css +1428 -0
  98. package/styles/_mixins.scss +309 -0
  99. package/styles/animations.scss +191 -0
  100. package/styles/app.scss +2020 -0
  101. package/styles/colors.scss +117 -0
  102. package/styles/fonts.scss +16 -0
  103. package/styles/grid.scss +4 -0
  104. package/styles/helper/owl.carousel.scss +92 -0
  105. package/styles/helper/primefaces.scss +364 -0
  106. package/styles/helper/tailwindcss.scss +4 -0
  107. package/styles/index.scss +25 -0
  108. package/styles/menu.scss +566 -0
  109. package/styles/polyfills.scss +9 -0
  110. package/styles/sizes.scss +191 -0
  111. package/styles/variables.scss +30 -0
@@ -0,0 +1,191 @@
1
+ /**
2
+ * Author Vixson
3
+ * Description Layout sizing and breakpoints
4
+ * Created On October 27th, 2020 4:22pm
5
+ */
6
+ $grid-breakpoints: (
7
+ sm: 576px,
8
+ md: 768px,
9
+ lg: 992px,
10
+ xl: 1200px,
11
+ );
12
+ $quarter-sizes: (0, 25, 50, 75, 100);
13
+ $number-sizes: (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
14
+ $decimal-number-sizes: (
15
+ d25: 0.25,
16
+ d5: 0.5,
17
+ d75: 0.75,
18
+ );
19
+ $non-sizes: (unset, auto);
20
+ $directions: (
21
+ t: 'top',
22
+ r: 'right',
23
+ b: 'bottom',
24
+ l: 'left',
25
+ );
26
+
27
+ /**
28
+ * BoxSizing - Height & Width of a layout
29
+ * @dimensionType - This is the unit of dimension used, Its either the default dimensions (em, rem, px, %) or Viewpoints
30
+ */
31
+
32
+ @mixin layoutLooper(
33
+ $size,
34
+ $dimension: '',
35
+ $useDimension: false,
36
+ $breakPointKey: '',
37
+ $sizeKey: $size
38
+ ) {
39
+ $useDimension: $size !=0 and $useDimension;
40
+ $_dimension: if($useDimension, $dimension, '');
41
+ $_value: if(useDimension, #{$size}#{$_dimension}, $size);
42
+
43
+ @each $limit in ('', 'min-', 'max-') {
44
+ @each $dimensionType in ('', 'v') {
45
+ #{'.'}#{$limit}#{$dimensionType}#{'h-'}#{$breakPointKey}#{$sizeKey} {
46
+ $_boxDimension: if(
47
+ $dimensionType== 'v' and $useDimension,
48
+ 'vh',
49
+ $_dimension
50
+ );
51
+ #{$limit}height: #{$size}#{$_boxDimension} !important;
52
+ }
53
+
54
+ #{'.'}#{$limit}#{$dimensionType}#{'w-'}#{$breakPointKey}#{$sizeKey} {
55
+ $_boxDimension: if(
56
+ $dimensionType== 'v' and $useDimension,
57
+ 'vw',
58
+ $_dimension
59
+ );
60
+ #{$limit}width: #{$size}#{$_boxDimension} !important;
61
+ }
62
+ }
63
+ }
64
+
65
+ @each $direction-key,
66
+ $direction
67
+ in (
68
+ t: (
69
+ key: 'Y',
70
+ negation: '-',
71
+ ),
72
+ l: (
73
+ key: 'X',
74
+ negation: '-',
75
+ ),
76
+ b: (
77
+ key: 'Y',
78
+ negation: '',
79
+ ),
80
+ r: (
81
+ key: 'X',
82
+ negation: '',
83
+ )
84
+ )
85
+ {
86
+ .float-#{$direction-key}-#{$breakPointKey}#{$sizeKey} {
87
+ $_floatDimension: if($useDimension, '%', '');
88
+ $_floatValue: if(
89
+ $useDimension,
90
+ #{'translate'}#{map-get($direction, 'key')
91
+ }(#{map-get($direction, 'negation')}#{$size}#{$_floatDimension}),
92
+ $size
93
+ );
94
+ transform: $_floatValue;
95
+ }
96
+ }
97
+
98
+ .sq-#{$breakPointKey}#{$sizeKey} {
99
+ height: $_value;
100
+ width: $_value;
101
+ min-height: $_value;
102
+ min-width: $_value;
103
+ }
104
+
105
+ .gap-#{$breakPointKey}#{$sizeKey} {
106
+ gap: $_value;
107
+ }
108
+ }
109
+
110
+ @each $size in $number-sizes {
111
+ @include layoutLooper($size, 'rem', true);
112
+
113
+ .rounded-#{$size} {
114
+ border-radius: $size * 0.2rem !important;
115
+ }
116
+ }
117
+
118
+ @each $size in $quarter-sizes {
119
+ @include layoutLooper($size, '%', true);
120
+
121
+ @each $direction-key, $direction in $directions {
122
+ $_value: if($size==0, $size, #{$size}#{'%'});
123
+
124
+ .p#{$direction-key}-#{$size} {
125
+ padding-#{$direction}: #{$_value};
126
+ }
127
+ }
128
+ }
129
+
130
+ @each $size in $non-sizes {
131
+ @include layoutLooper($size);
132
+ }
133
+
134
+ @each $breakpoint-key, $breakpoint in $grid-breakpoints {
135
+ @media (min-width: $breakpoint) {
136
+ @each $size-key, $size in $decimal-number-sizes {
137
+ @include layoutLooper(
138
+ $size,
139
+ 'rem',
140
+ true,
141
+ #{$breakpoint-key}#{'-'},
142
+ $size-key
143
+ );
144
+ }
145
+
146
+ @each $size in $number-sizes {
147
+ @include layoutLooper($size, 'rem', true, #{$breakpoint-key}#{'-'});
148
+ }
149
+
150
+ @each $size in $quarter-sizes {
151
+ @include layoutLooper($size, '%', true, #{$breakpoint-key}#{'-'});
152
+ }
153
+
154
+ @each $size in $non-sizes {
155
+ @include layoutLooper($size, '', false, #{$breakpoint-key}#{'-'});
156
+ }
157
+ }
158
+ }
159
+
160
+ $heading-start: (
161
+ k: 1,
162
+ v: 200,
163
+ );
164
+ $heading-end: (
165
+ k: 6,
166
+ v: 100,
167
+ );
168
+ $heading-difference: (map-get($heading-start, 'v') - map-get($heading-end, 'v')) /
169
+ (map-get($heading-end, 'k') - map-get($heading-start, 'k'));
170
+
171
+ @for $n from map-get($heading-start, 'k') through map-get($heading-end, 'k') {
172
+ $_value: map-get($heading-start, 'v') - (($n - 1) * $heading-difference);
173
+
174
+ h#{$n},
175
+ .h#{$n},
176
+ .font-#{(map-get($heading-end, 'k') - ($n+1))} {
177
+ font-size: #{$_value}#{'%'};
178
+ }
179
+ }
180
+
181
+ .font-sm {
182
+ font-size: 75%;
183
+ }
184
+
185
+ .font-md {
186
+ font-size: 90%;
187
+ }
188
+
189
+ .font-lg {
190
+ font-size: 250%;
191
+ }
@@ -0,0 +1,30 @@
1
+ @import 'mixins';
2
+
3
+ :root {
4
+ --font-size: var(--o-font-size, #{$font-size});
5
+ --card-shadow: #{$card-shadow};
6
+ --background-color: #{$background-color};
7
+ --heading-start: 200%;
8
+ --heading-end: 100%;
9
+
10
+ /* Color Variables */
11
+ @each $k, $v in $app-colors-mapped {
12
+ /* ---COLOR-#{$k}-START--- */
13
+ --#{$k}: #{map-get($v, 'bg')};
14
+ /* ---HSL-#{$k}--- */
15
+ --#{$k}-hs: #{hue(map-get($v, 'bg')), saturation(map-get($v, 'bg'))};
16
+ --#{$k}-l: #{lightness(map-get($v, 'bg'))};
17
+ --#{$k}-a: #{alpha(map-get($v, 'bg'))};
18
+ --#{$k}-c: #{map-get($v, 'c')};
19
+ --#{$k}-c-hs: #{hue(map-get($v, 'c')), saturation(map-get($v, 'c'))};
20
+ --#{$k}-c-l: #{lightness(map-get($v, 'c'))};
21
+ --#{$k}-c-a: #{alpha(map-get($v, 'c'))};
22
+ /* ---COLOR-#{$k}-END--- */
23
+ }
24
+ }
25
+
26
+ @media (max-width: 575.98px) {
27
+ :root {
28
+ --font-size: calc(var(--o-font-size) / 1.15);
29
+ }
30
+ }