@keenmate/pure-admin-core 1.0.0 → 1.1.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 (77) hide show
  1. package/README.md +85 -7
  2. package/dist/css/main.css +970 -434
  3. package/package.json +1 -1
  4. package/snippets/customization.html +1 -1
  5. package/snippets/forms.html +65 -8
  6. package/snippets/layout.html +4 -4
  7. package/snippets/manifest.json +329 -219
  8. package/snippets/profile.html +51 -3
  9. package/src/scss/_base-css-variables.scss +432 -422
  10. package/src/scss/_core.scss +105 -105
  11. package/src/scss/_fonts.scss +0 -14
  12. package/src/scss/_variables.scss +12 -14
  13. package/src/scss/core-components/_alerts.scss +7 -7
  14. package/src/scss/core-components/_base.scss +3 -3
  15. package/src/scss/core-components/_buttons.scss +425 -425
  16. package/src/scss/core-components/_callouts.scss +139 -139
  17. package/src/scss/core-components/_cards.scss +321 -321
  18. package/src/scss/core-components/_checkbox-lists.scss +2 -2
  19. package/src/scss/core-components/_code.scss +4 -4
  20. package/src/scss/core-components/_command-palette.scss +518 -518
  21. package/src/scss/core-components/_comparison.scss +3 -3
  22. package/src/scss/core-components/_file-selector.scss +780 -780
  23. package/src/scss/core-components/_forms.scss +16 -16
  24. package/src/scss/core-components/_layout.scss +15 -15
  25. package/src/scss/core-components/_lists.scss +7 -7
  26. package/src/scss/core-components/_logic-tree.scss +280 -280
  27. package/src/scss/core-components/_modals.scss +2 -2
  28. package/src/scss/core-components/_notifications.scss +7 -7
  29. package/src/scss/core-components/_pagers.scss +3 -3
  30. package/src/scss/core-components/_popconfirm.scss +1 -1
  31. package/src/scss/core-components/_profile.scss +400 -389
  32. package/src/scss/core-components/_scrollbars.scss +40 -40
  33. package/src/scss/core-components/_settings-panel.scss +5 -5
  34. package/src/scss/core-components/_statistics.scss +6 -6
  35. package/src/scss/core-components/_tables.scss +566 -566
  36. package/src/scss/core-components/_tabs.scss +493 -493
  37. package/src/scss/core-components/_timeline.scss +15 -15
  38. package/src/scss/core-components/_toasts.scss +4 -4
  39. package/src/scss/core-components/_tooltips.scss +8 -8
  40. package/src/scss/core-components/_utilities.scss +11 -30
  41. package/src/scss/core-components/_web-components-theme.scss +294 -294
  42. package/src/scss/core-components/badges/_composite-badge-variants.scss +3 -3
  43. package/src/scss/core-components/badges/_labels.scss +1 -1
  44. package/src/scss/core-components/forms/_checkboxes-radios.scss +2 -2
  45. package/src/scss/core-components/forms/_form-inputs.scss +33 -4
  46. package/src/scss/core-components/forms/_form-layout.scss +2 -2
  47. package/src/scss/core-components/forms/_form-states.scss +27 -1
  48. package/src/scss/core-components/forms/_input-wrapper.scss +1 -1
  49. package/src/scss/core-components/forms/_query-editor.scss +17 -17
  50. package/src/scss/core-components/layout/_layout-container.scss +1 -1
  51. package/src/scss/core-components/layout/_navbar-elements.scss +1 -1
  52. package/src/scss/core-components/layout/_sidebar.scss +5 -5
  53. package/src/scss/utilities.scss +24 -0
  54. package/src/scss/variables/_base.scss +20 -10
  55. package/src/scss/variables/_colors.scss +7 -6
  56. package/src/scss/variables/_components.scss +8 -11
  57. package/src/scss/variables/_index.scss +11 -7
  58. package/src/scss/variables/_spacing.scss +12 -0
  59. package/src/scss/variables/_typography.scss +2 -2
  60. package/dist/fonts/Delivery/Delivery_W_Bd.woff2 +0 -0
  61. package/dist/fonts/Delivery/Delivery_W_BdIt.woff2 +0 -0
  62. package/dist/fonts/Delivery/Delivery_W_CdBlk.woff2 +0 -0
  63. package/dist/fonts/Delivery/Delivery_W_CdLt.woff2 +0 -0
  64. package/dist/fonts/Delivery/Delivery_W_It.woff2 +0 -0
  65. package/dist/fonts/Delivery/Delivery_W_Lt.woff2 +0 -0
  66. package/dist/fonts/Delivery/Delivery_W_LtIt.woff2 +0 -0
  67. package/dist/fonts/Delivery/Delivery_W_Rg.woff2 +0 -0
  68. package/src/scss/themes/_dark-base.scss +0 -207
  69. package/src/scss/themes/audi-light.scss +0 -341
  70. package/src/scss/themes/audi.scss +0 -303
  71. package/src/scss/themes/corporate.scss +0 -229
  72. package/src/scss/themes/dark-blue.scss +0 -165
  73. package/src/scss/themes/dark-green.scss +0 -169
  74. package/src/scss/themes/dark-red.scss +0 -173
  75. package/src/scss/themes/dark.scss +0 -158
  76. package/src/scss/themes/express.scss +0 -294
  77. package/src/scss/themes/minimal.scss +0 -134
@@ -1,294 +0,0 @@
1
- /* Express Theme - Bold yellow and red palette inspired by logistics brands */
2
- @use 'sass:color';
3
-
4
- // =============================================================================
5
- // THEME COLOR SLOTS (1-9) - Express logistics palette
6
- // =============================================================================
7
- $color-1: #D40511; // Express Red (primary)
8
- $color-2: #FFCC00; // Express Yellow (brand)
9
- $color-3: #ff6b00; // Orange (urgent)
10
- $color-4: #00a651; // Green (delivered)
11
- $color-5: #0066cc; // Blue (tracking)
12
- $color-6: #6b3fa0; // Purple (premium)
13
- $color-7: #8C8C8C; // Gray (neutral)
14
- $color-8: #333333; // Dark (contrast)
15
- $color-9: #00b4d8; // Cyan (info)
16
-
17
- @import '../variables';
18
-
19
- // Express color palette - Bold yellow and red
20
- $express-yellow: #FFCC00; // Primary yellow
21
- $express-yellow-light: #FFE57F;
22
- $express-yellow-lighter: #FFF0B2;
23
-
24
- $express-red: #D40511; // Primary red
25
- $express-red-hover: #F91320;
26
- $express-red-dark: #98040C;
27
-
28
- $express-black: #000000;
29
- $express-dark: #333333;
30
- $express-gray: #8C8C8C;
31
- $express-gray-light: #CCCCCC;
32
- $express-gray-lighter: #E5E5E5;
33
- $express-gray-lightest: #EBEBEB;
34
- $express-bg: #F2F2F2;
35
-
36
- // Layout overrides
37
- $sidebar-width: 29rem; // 290px (10px base)
38
-
39
- // Font overrides
40
- $body-font-family: "Delivery", system-ui, -apple-system, sans-serif;
41
-
42
- // Express theme color overrides - Bold yellow header/footer with red accents
43
- $primary-bg: #ffffff;
44
- $content-background-color: $express-bg;
45
- $header-bg: $express-yellow; // Bold yellow header
46
- $header-border-color: $express-yellow; // Remove gray line between header and sidebar
47
- $sidebar-bg: $express-black; // Black sidebar
48
- $sidebar-submenu-bg: #1a1a1a; // Slightly lighter black for submenus
49
- $sidebar-submenu-hover-bg: rgba(255, 255, 255, 0.1); // Match level 1 hover
50
- $sidebar-submenu-active-bg: $express-red; // Match level 1 active (red accent)
51
- $footer-bg: $express-yellow; // Bold yellow footer
52
- $footer-border-color: $express-yellow; // Remove gray line between footer and sidebar
53
- $border-color: $express-gray-lighter;
54
- $text-primary: $express-dark;
55
- $text-secondary: $express-gray;
56
- $accent-color: $express-red; // Red accent
57
- $accent-hover: rgba(212, 5, 17, 0.12);
58
- $accent-light: rgba(212, 5, 17, 0.06);
59
-
60
- // Sync base variables with theme colors
61
- $base-accent-color: $accent-color;
62
- $base-accent-color-hover: $express-red-hover;
63
- $base-accent-color-active: color.adjust($express-red, $lightness: 15%);
64
- $base-accent-color-light: $accent-light;
65
- $base-accent-color-light-hover: rgba($base-accent-color, 0.10);
66
-
67
- // Form focus colors - must match accent color
68
- $input-focus-border-color: $accent-color;
69
- $select-focus-border-color: $accent-color;
70
- $textarea-focus-border-color: $accent-color;
71
-
72
- // Checkbox colors - must match accent color
73
- $checkbox-border-color-hover: $accent-color;
74
- $checkbox-border-color-checked: $accent-color;
75
- $checkbox-bg-checked: $accent-color;
76
- $checkbox-bg-indeterminate: $accent-color;
77
- $checkbox-focus-shadow: 0 0 0 2px rgba($accent-color, 0.25);
78
-
79
- // Card colors
80
- $card-bg: #ffffff;
81
- $card-header-bg: $express-gray-lightest;
82
- $card-footer-bg: #ffffff;
83
- $card-tabs-bg: $express-gray-lighter;
84
-
85
- // Input colors
86
- $input-bg: #ffffff;
87
- $input-border: $express-gray-lighter;
88
- $input-text: $express-dark;
89
-
90
- // Table colors
91
- $table-bg: #ffffff;
92
- $table-header-bg: $express-gray-lightest;
93
- $table-hover-bg: $express-yellow-lighter;
94
- $table-stripe: $express-bg;
95
-
96
- // Button colors - Red primary, yellow secondary
97
- $btn-primary-bg: $express-red;
98
- $btn-primary-bg-hover: $express-red-hover;
99
- $btn-primary-text: #ffffff;
100
- $btn-secondary-bg: $express-yellow;
101
- $btn-secondary-bg-hover: $express-yellow-light;
102
- $btn-secondary-text: $express-black;
103
- $btn-success-bg: #10b981;
104
- $btn-success-bg-hover: #059669;
105
- $btn-warning-bg: #f59e0b;
106
- $btn-warning-text: #ffffff;
107
- $btn-danger-bg: $express-red-dark;
108
- $btn-danger-bg-hover: $express-red;
109
- $btn-info-bg: #06b6d4;
110
- $btn-info-bg-hover: #0891b2;
111
- $btn-light-bg: $express-gray-lightest;
112
- $btn-light-text: $express-dark;
113
- $btn-light-bg-hover: $express-gray-lighter;
114
- $btn-dark-bg: $express-dark;
115
- $btn-dark-bg-hover: $express-black;
116
-
117
- // Validation shadow colors - match button colors
118
- $success-bg: $btn-success-bg;
119
- $success-bg-light: rgba(16, 185, 129, 0.1);
120
- $warning-bg: $btn-warning-bg;
121
- $warning-bg-light: rgba(245, 158, 11, 0.1);
122
- $danger-bg: $btn-danger-bg;
123
- $danger-bg-light: rgba(180, 5, 14, 0.1);
124
-
125
- // Modal colors
126
- $modal-overlay-bg: rgba(0, 0, 0, 0.6);
127
- $modal-content-bg: #ffffff;
128
-
129
- // Profile name in header
130
- $header-profile-name-color: $express-black; // Black text on yellow header
131
-
132
- // Alert colors - Vibrant and punchy with semi-transparent backgrounds
133
- $alert-success-text: #065f46; // Darker green for contrast
134
- $alert-success-bg: rgba(16, 185, 129, 0.68); // More vibrant
135
- $alert-success-border: #10b981;
136
-
137
- $alert-danger-text: #7f1d1d; // Dark red for contrast
138
- $alert-danger-bg: rgba(212, 5, 17, 0.58);
139
- $alert-danger-border: $express-red;
140
- $alert-danger-text-transform: uppercase; // Uppercase for emphasis
141
-
142
- $alert-warning-text: #78350f; // Dark amber for contrast
143
- $alert-warning-bg: rgba(255, 193, 7, 0.58);
144
- $alert-warning-border: #ffc107;
145
-
146
- $alert-info-text: #164e63; // Dark cyan for contrast
147
- $alert-info-bg: rgba(6, 182, 212, 0.58);
148
- $alert-info-border: #06b6d4;
149
-
150
- // Delivery Font
151
- @font-face {
152
- font-family: "Delivery";
153
- src: url(/fonts/Delivery/Delivery_W_Rg.woff2) format("woff2");
154
- font-weight: 400;
155
- font-style: normal;
156
- }
157
-
158
- @import '../core';
159
- @import '../utilities';
160
- @import '../base-css-variables';
161
-
162
- // Express-specific styling overrides
163
- // Header text visibility - black text on yellow header
164
- .pa-header {
165
- &__brand h1 {
166
- color: $express-black !important;
167
- font-weight: $font-weight-bold !important;
168
- }
169
-
170
- &__nav ul li a {
171
- color: $express-dark !important;
172
-
173
- &:hover {
174
- color: $express-red !important;
175
- background-color: rgba(212, 5, 17, 0.08) !important;
176
- }
177
- }
178
-
179
- &__title h2 {
180
- color: $express-dark !important;
181
- }
182
-
183
- &__profile-btn {
184
- color: $express-black !important;
185
-
186
- &:hover {
187
- background-color: rgba(212, 5, 17, 0.12) !important;
188
- }
189
- }
190
- }
191
-
192
- // Burger menu - black bars on yellow header
193
- .burger-menu {
194
- span {
195
- background-color: $express-black !important;
196
- }
197
-
198
- &:hover span {
199
- background-color: $express-red !important;
200
- }
201
- }
202
-
203
- // Theme switcher in header
204
- .theme-switcher {
205
- label {
206
- color: $express-dark !important;
207
- }
208
-
209
- select {
210
- background-color: $express-yellow-light !important;
211
- color: $express-black !important;
212
- border-color: $express-gray-lighter !important;
213
-
214
- &:focus {
215
- border-color: $express-red !important;
216
- }
217
- }
218
- }
219
-
220
- // Footer text - black on yellow
221
- .admin-footer {
222
- &__content p {
223
- color: $express-dark !important;
224
- }
225
- }
226
-
227
- // Sidebar - black background with white/light text
228
- .pa-sidebar {
229
- border-right-color: $express-black !important; // Remove gray border
230
-
231
- &__link,
232
- &__toggle {
233
- color: #ffffff !important;
234
-
235
- &:hover {
236
- background-color: rgba(255, 255, 255, 0.1) !important;
237
- color: $express-yellow !important;
238
- }
239
- }
240
-
241
- &__link--active {
242
- background-color: $express-red !important;
243
- border-right: 3px solid $express-yellow !important;
244
- color: #ffffff !important;
245
- }
246
-
247
- &__chevron {
248
- color: #ffffff !important;
249
- }
250
- }
251
-
252
- // Primary button - bold red with white text
253
- .pa-btn--primary {
254
- font-weight: $font-weight-bold !important;
255
- background-color: $express-red !important;
256
- color: #ffffff !important;
257
-
258
- &:hover {
259
- background-color: $express-red-hover !important;
260
- box-shadow: 0 2px 8px rgba(212, 5, 17, 0.3) !important;
261
- }
262
- }
263
-
264
- // Secondary button - yellow with black text
265
- .pa-btn--secondary {
266
- background-color: $express-yellow !important;
267
- color: $express-black !important;
268
- border-color: $express-yellow !important;
269
-
270
- &:hover {
271
- background-color: $express-yellow-light !important;
272
- border-color: $express-yellow-light !important;
273
- box-shadow: 0 2px 8px rgba(255, 204, 0, 0.25) !important;
274
- }
275
- }
276
-
277
- // Danger button - dark red
278
- .pa-btn--danger {
279
- font-weight: $font-weight-bold !important;
280
-
281
- &:hover {
282
- box-shadow: 0 2px 8px rgba(212, 5, 17, 0.3) !important;
283
- }
284
- }
285
-
286
- // CSS Variables for page loader (FOUC prevention) and base theme variables
287
- :root {
288
- --page-loader-bg: rgba(0, 0, 0, 0.95);
289
- --page-loader-spinner-border: #333;
290
- --page-loader-spinner-accent: #FFCC00; // Express yellow
291
-
292
- // Base CSS variables for web components (daterangepicker, multiselect, etc.)
293
- @include output-base-css-variables;
294
- }
@@ -1,134 +0,0 @@
1
- /* Minimal Theme for Pure Admin Visual - Ultra clean, monochrome approach */
2
- @use 'sass:color';
3
-
4
- // =============================================================================
5
- // THEME COLOR SLOTS (1-9) - Minimal muted palette
6
- // =============================================================================
7
- $color-1: #374151; // Gray 700 (primary)
8
- $color-2: #6b7280; // Gray 500 (secondary)
9
- $color-3: #059669; // Emerald 600 (muted success)
10
- $color-4: #d97706; // Amber 600 (muted warning)
11
- $color-5: #4f46e5; // Indigo 600 (accent)
12
- $color-6: #7c3aed; // Violet 600 (subtle)
13
- $color-7: #9ca3af; // Gray 400 (light)
14
- $color-8: #1f2937; // Gray 800 (dark)
15
- $color-9: #db2777; // Pink 600 (highlight)
16
-
17
- @import '../variables';
18
-
19
- // Minimal theme color palette - grayscale focused
20
- $minimal-white: #ffffff;
21
- $minimal-gray-50: #fafafa;
22
- $minimal-gray-100: #f8f9fa;
23
- $minimal-gray-150: #f8f8f8;
24
- $minimal-gray-200: #fcfcfc;
25
- $minimal-gray-250: #fdfdfd;
26
- $minimal-gray-300: #f0f0f0;
27
- $minimal-gray-400: #e8e8e8;
28
- $minimal-gray-500: #d8d8d8;
29
- $minimal-gray-600: #e2e6ea;
30
- $minimal-gray-700: #777777;
31
- $minimal-gray-800: #555555;
32
- $minimal-gray-850: #444444;
33
- $minimal-gray-900: #333333;
34
- $minimal-dark-500: #343a40;
35
- $minimal-dark-700: #23272b;
36
- $minimal-dark-900: #212529;
37
-
38
- // Layout overrides
39
- $footer-height: 3.2rem; // 32px (10px base) - was 2rem at 16px base
40
- $sidebar-width: 29rem; // 290px (10px base)
41
-
42
- // Color overrides for minimal theme
43
- $primary-bg: $minimal-white;
44
- $content-background-color: $minimal-white;
45
- $header-bg: $minimal-gray-50;
46
- $sidebar-bg: $minimal-gray-150;
47
- $footer-bg: $minimal-gray-50;
48
- $border-color: $minimal-gray-400;
49
- $text-primary: $minimal-gray-900;
50
- $text-secondary: $minimal-gray-700;
51
- $accent-color: $minimal-gray-800;
52
- $accent-hover: rgba(85, 85, 85, 0.1);
53
- $accent-light: rgba(85, 85, 85, 0.05);
54
-
55
- // Sync base variables with theme colors
56
- $base-accent-color: $accent-color;
57
- $base-accent-color-hover: color.adjust($base-accent-color, $lightness: 10%);
58
- $base-accent-color-active: color.adjust($base-accent-color, $lightness: 20%);
59
- $base-accent-color-light: $accent-light;
60
- $base-accent-color-light-hover: rgba($base-accent-color, 0.08);
61
-
62
- // Form focus colors - must match accent color
63
- $input-focus-border-color: $accent-color;
64
- $select-focus-border-color: $accent-color;
65
- $textarea-focus-border-color: $accent-color;
66
-
67
- // Checkbox colors - must match accent color
68
- $checkbox-border-color-hover: $accent-color;
69
- $checkbox-border-color-checked: $accent-color;
70
- $checkbox-bg-checked: $accent-color;
71
- $checkbox-bg-indeterminate: $accent-color;
72
- $checkbox-focus-shadow: 0 0 0 2px rgba($accent-color, 0.25);
73
-
74
- // Card colors
75
- $card-bg: $minimal-white;
76
- $card-header-bg: $minimal-gray-50;
77
- $card-footer-bg: $minimal-gray-50;
78
- $card-tabs-bg: $minimal-gray-150;
79
-
80
- // Input colors
81
- $input-bg: $minimal-white;
82
- $input-border: $minimal-gray-400;
83
- $input-text: $minimal-gray-900;
84
-
85
- // Table colors
86
- $table-bg: $minimal-white;
87
- $table-header-bg: $minimal-gray-100;
88
- $table-hover-bg: $minimal-gray-100;
89
- $table-stripe: $minimal-gray-200;
90
-
91
- // Button colors - minimal grayscale approach with selective color
92
- $btn-primary-bg: $minimal-gray-800;
93
- $btn-primary-bg-hover: $minimal-gray-850;
94
- $btn-secondary-bg: $minimal-gray-400;
95
- $btn-secondary-bg-hover: $minimal-gray-500;
96
- $btn-success-bg: #28a745;
97
- $btn-success-bg-hover: #218838;
98
- $btn-warning-bg: #ffc107;
99
- $btn-warning-text: $minimal-dark-900;
100
- $btn-danger-bg: #dc3545;
101
- $btn-danger-bg-hover: #c82333;
102
- $btn-info-bg: #17a2b8;
103
- $btn-info-bg-hover: #138496;
104
- $btn-light-bg: $minimal-gray-100;
105
- $btn-light-text: $minimal-gray-900;
106
- $btn-light-bg-hover: $minimal-gray-600;
107
- $btn-dark-bg: $minimal-dark-500;
108
- $btn-dark-bg-hover: $minimal-dark-700;
109
-
110
- // Validation shadow colors - match button colors
111
- $success-bg: $btn-success-bg;
112
- $success-bg-light: rgba(40, 167, 69, 0.1);
113
- $warning-bg: $btn-warning-bg;
114
- $warning-bg-light: rgba(255, 193, 7, 0.1);
115
- $danger-bg: $btn-danger-bg;
116
- $danger-bg-light: rgba(220, 53, 69, 0.1);
117
-
118
- // Modal colors
119
- $modal-overlay-bg: rgba(0, 0, 0, 0.4);
120
- $modal-content-bg: $minimal-white;
121
-
122
- @import '../core';
123
- @import '../utilities';
124
- @import '../base-css-variables';
125
-
126
- // CSS Variables for page loader (FOUC prevention) and base theme variables
127
- :root {
128
- --page-loader-bg: rgba(255, 255, 255, 0.95);
129
- --page-loader-spinner-border: #e0e0e0;
130
- --page-loader-spinner-accent: #000000;
131
-
132
- // Base CSS variables for web components (daterangepicker, multiselect, etc.)
133
- @include output-base-css-variables;
134
- }