@keenmate/pure-admin-core 2.3.0 → 2.3.2

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 (69) hide show
  1. package/README.md +7 -5
  2. package/dist/css/main.css +207 -181
  3. package/package.json +1 -1
  4. package/snippets/buttons.html +375 -365
  5. package/src/scss/_base-css-variables.scss +8 -0
  6. package/src/scss/_core.scss +121 -121
  7. package/src/scss/core-components/_alerts.scss +227 -227
  8. package/src/scss/core-components/_badges.scss +16 -16
  9. package/src/scss/core-components/_base.scss +125 -125
  10. package/src/scss/core-components/_buttons.scss +580 -548
  11. package/src/scss/core-components/_callouts.scss +152 -152
  12. package/src/scss/core-components/_cards.scss +488 -488
  13. package/src/scss/core-components/_checkbox-lists.scss +289 -289
  14. package/src/scss/core-components/_code.scss +141 -141
  15. package/src/scss/core-components/_command-palette.scss +509 -509
  16. package/src/scss/core-components/_comparison.scss +172 -172
  17. package/src/scss/core-components/_data-display.scss +9 -9
  18. package/src/scss/core-components/_data-viz.scss +9 -9
  19. package/src/scss/core-components/_detail-panel.scss +1 -1
  20. package/src/scss/core-components/_file-selector.scss +780 -780
  21. package/src/scss/core-components/_filter-card.scss +58 -58
  22. package/src/scss/core-components/_forms.scss +16 -16
  23. package/src/scss/core-components/_grid.scss +293 -293
  24. package/src/scss/core-components/_layout.scss +15 -15
  25. package/src/scss/core-components/_lists.scss +211 -211
  26. package/src/scss/core-components/_loaders.scss +277 -277
  27. package/src/scss/core-components/_logic-tree.scss +280 -280
  28. package/src/scss/core-components/_modals.scss +203 -203
  29. package/src/scss/core-components/_notifications.scss +320 -320
  30. package/src/scss/core-components/_pagers.scss +141 -141
  31. package/src/scss/core-components/_popconfirm.scss +170 -170
  32. package/src/scss/core-components/_profile.scss +405 -405
  33. package/src/scss/core-components/_scrollbars.scss +40 -40
  34. package/src/scss/core-components/_settings-panel.scss +141 -141
  35. package/src/scss/core-components/_statistics.scss +200 -201
  36. package/src/scss/core-components/_tables.scss +900 -900
  37. package/src/scss/core-components/_tabs.scss +504 -504
  38. package/src/scss/core-components/_timeline.scss +589 -589
  39. package/src/scss/core-components/_toasts.scss +425 -425
  40. package/src/scss/core-components/_tooltips.scss +605 -605
  41. package/src/scss/core-components/_utilities.scss +1 -1
  42. package/src/scss/core-components/_web-components-theme.scss +21 -21
  43. package/src/scss/core-components/badges/_badge-base.scss +121 -121
  44. package/src/scss/core-components/badges/_badge-group.scss +25 -25
  45. package/src/scss/core-components/badges/_composite-badge-variants.scss +396 -396
  46. package/src/scss/core-components/badges/_composite-badge.scss +70 -70
  47. package/src/scss/core-components/badges/_index.scss +10 -10
  48. package/src/scss/core-components/badges/_labels.scss +155 -155
  49. package/src/scss/core-components/forms/_checkboxes-radios.scss +205 -205
  50. package/src/scss/core-components/forms/_form-inputs.scss +136 -135
  51. package/src/scss/core-components/forms/_form-layout.scss +66 -66
  52. package/src/scss/core-components/forms/_form-states.scss +115 -115
  53. package/src/scss/core-components/forms/_index.scss +12 -12
  54. package/src/scss/core-components/forms/_input-groups.scss +154 -154
  55. package/src/scss/core-components/forms/_input-wrapper.scss +89 -89
  56. package/src/scss/core-components/forms/_query-editor.scss +313 -313
  57. package/src/scss/core-components/layout/_index.scss +11 -11
  58. package/src/scss/core-components/layout/_layout-container.scss +168 -168
  59. package/src/scss/core-components/layout/_layout-responsive.scss +99 -99
  60. package/src/scss/core-components/layout/_navbar-elements.scss +250 -250
  61. package/src/scss/core-components/layout/_navbar.scss +83 -83
  62. package/src/scss/core-components/layout/_sidebar-states.scss +237 -237
  63. package/src/scss/core-components/layout/_sidebar.scss +234 -234
  64. package/src/scss/main.scss +7 -7
  65. package/src/scss/utilities.scss +740 -740
  66. package/src/scss/variables/_base.scss +228 -228
  67. package/src/scss/variables/_components.scss +748 -748
  68. package/src/scss/variables/_layout.scss +65 -65
  69. package/src/scss/variables/_typography.scss +37 -37
@@ -1,125 +1,125 @@
1
- /* ========================================
2
- Reset and Base Styles
3
- ======================================== */
4
- @use '../variables' as *;
5
-
6
- // 10px rem base for intuitive sizing (1rem = 10px)
7
- // This makes calculations simple: 1.5rem = 15px, 3.5rem = 35px
8
- html {
9
- font-size: 10px;
10
- }
11
-
12
- // Reset and base styles
13
- * {
14
- box-sizing: border-box;
15
- }
16
-
17
- // Standard HTML element spacing (using framework variables)
18
- // Headings
19
- h1, h2, h3, h4, h5, h6 {
20
- margin: $heading-margin-top 0 $heading-margin-bottom 0;
21
- padding: 0;
22
- }
23
-
24
- // Paragraphs
25
- p {
26
- margin: $paragraph-margin-top 0 $paragraph-margin-bottom 0;
27
- padding: 0;
28
- }
29
-
30
- // Lists - styled lists (default browser styling)
31
- ul, ol {
32
- margin: $list-margin-top 0 $list-margin-bottom 0;
33
- padding: 0;
34
- padding-inline-start: $list-padding-left; // RTL: flips to right
35
-
36
- li {
37
- margin-bottom: $list-item-margin-bottom;
38
- }
39
- }
40
-
41
- // Lists - unstyled (for navigation, etc.)
42
- ul.unstyled, ol.unstyled {
43
- list-style: none;
44
- padding-inline-start: 0; // RTL: flips to right
45
-
46
- li {
47
- margin-bottom: 0;
48
- }
49
- }
50
-
51
- // Definition lists
52
- dl {
53
- margin: $list-margin-top 0 $list-margin-bottom 0;
54
- padding: 0;
55
- }
56
-
57
- dd {
58
- margin: 0;
59
- padding: 0;
60
- }
61
-
62
- // Blockquote
63
- blockquote {
64
- margin: $blockquote-margin-top 0 $blockquote-margin-bottom 0;
65
- padding-inline-start: $blockquote-padding-left; // RTL: flips to right
66
- }
67
-
68
- // Pre/Code blocks
69
- pre {
70
- overflow-x: auto;
71
- }
72
-
73
- // Horizontal rule
74
- hr {
75
- margin: $hr-margin-top 0 $hr-margin-bottom 0;
76
- }
77
-
78
- // Figure
79
- figure {
80
- margin: $figure-margin-top 0 $figure-margin-bottom 0;
81
- padding: 0;
82
- }
83
-
84
- body {
85
- margin: 0;
86
- padding: 0;
87
- font-family: var(--base-font-family);
88
- font-size: 1.6rem; // 16px default text (with 10px rem base)
89
- color: var(--pa-text-color-1);
90
- background-color: var(--pa-main-bg);
91
- line-height: $line-height-base;
92
- overflow-x: hidden; // Hide horizontal scrollbar when sidebar slides out on mobile
93
- overflow-y: scroll; // Always show vertical scrollbar gutter to prevent layout shift
94
-
95
- // Background pattern for constrained layouts
96
- &::before {
97
- content: '';
98
- position: fixed;
99
- top: 0;
100
- left: 0;
101
- right: 0;
102
- bottom: 0;
103
- background:
104
- radial-gradient(circle at $bg-pattern-circle-1-x $bg-pattern-circle-1-y, rgba($accent-color, $bg-pattern-opacity) $bg-pattern-gradient-start, transparent $bg-pattern-gradient-stop),
105
- radial-gradient(circle at $bg-pattern-circle-2-x $bg-pattern-circle-2-y, rgba($accent-color, $bg-pattern-opacity) $bg-pattern-gradient-start, transparent $bg-pattern-gradient-stop);
106
- pointer-events: none;
107
- z-index: -1;
108
- }
109
- }
110
-
111
- // Sticky sidebar mode: Prevent body scroll, let containers handle it
112
- body.sidebar-sticky {
113
- overflow: hidden;
114
- height: 100vh;
115
- }
116
-
117
- // Ensure form elements and labels inherit theme font and size instead of browser defaults
118
- button,
119
- input,
120
- select,
121
- textarea,
122
- label {
123
- font-family: inherit;
124
- font-size: inherit;
125
- }
1
+ /* ========================================
2
+ Reset and Base Styles
3
+ ======================================== */
4
+ @use '../variables' as *;
5
+
6
+ // 10px rem base for intuitive sizing (1rem = 10px)
7
+ // This makes calculations simple: 1.5rem = 15px, 3.5rem = 35px
8
+ html {
9
+ font-size: 10px;
10
+ }
11
+
12
+ // Reset and base styles
13
+ * {
14
+ box-sizing: border-box;
15
+ }
16
+
17
+ // Standard HTML element spacing (using framework variables)
18
+ // Headings
19
+ h1, h2, h3, h4, h5, h6 {
20
+ margin: $heading-margin-top 0 $heading-margin-bottom 0;
21
+ padding: 0;
22
+ }
23
+
24
+ // Paragraphs
25
+ p {
26
+ margin: $paragraph-margin-top 0 $paragraph-margin-bottom 0;
27
+ padding: 0;
28
+ }
29
+
30
+ // Lists - styled lists (default browser styling)
31
+ ul, ol {
32
+ margin: $list-margin-top 0 $list-margin-bottom 0;
33
+ padding: 0;
34
+ padding-inline-start: $list-padding-left; // RTL: flips to right
35
+
36
+ li {
37
+ margin-bottom: $list-item-margin-bottom;
38
+ }
39
+ }
40
+
41
+ // Lists - unstyled (for navigation, etc.)
42
+ ul.unstyled, ol.unstyled {
43
+ list-style: none;
44
+ padding-inline-start: 0; // RTL: flips to right
45
+
46
+ li {
47
+ margin-bottom: 0;
48
+ }
49
+ }
50
+
51
+ // Definition lists
52
+ dl {
53
+ margin: $list-margin-top 0 $list-margin-bottom 0;
54
+ padding: 0;
55
+ }
56
+
57
+ dd {
58
+ margin: 0;
59
+ padding: 0;
60
+ }
61
+
62
+ // Blockquote
63
+ blockquote {
64
+ margin: $blockquote-margin-top 0 $blockquote-margin-bottom 0;
65
+ padding-inline-start: $blockquote-padding-left; // RTL: flips to right
66
+ }
67
+
68
+ // Pre/Code blocks
69
+ pre {
70
+ overflow-x: auto;
71
+ }
72
+
73
+ // Horizontal rule
74
+ hr {
75
+ margin: $hr-margin-top 0 $hr-margin-bottom 0;
76
+ }
77
+
78
+ // Figure
79
+ figure {
80
+ margin: $figure-margin-top 0 $figure-margin-bottom 0;
81
+ padding: 0;
82
+ }
83
+
84
+ body {
85
+ margin: 0;
86
+ padding: 0;
87
+ font-family: var(--base-font-family);
88
+ font-size: 1.6rem; // 16px default text (with 10px rem base)
89
+ color: var(--pa-text-color-1);
90
+ background-color: var(--pa-main-bg);
91
+ line-height: $line-height-base;
92
+ overflow-x: hidden; // Hide horizontal scrollbar when sidebar slides out on mobile
93
+ overflow-y: scroll; // Always show vertical scrollbar gutter to prevent layout shift
94
+
95
+ // Background pattern for constrained layouts
96
+ &::before {
97
+ content: '';
98
+ position: fixed;
99
+ top: 0;
100
+ left: 0;
101
+ right: 0;
102
+ bottom: 0;
103
+ background:
104
+ radial-gradient(circle at $bg-pattern-circle-1-x $bg-pattern-circle-1-y, rgba($accent-color, $bg-pattern-opacity) $bg-pattern-gradient-start, transparent $bg-pattern-gradient-stop),
105
+ radial-gradient(circle at $bg-pattern-circle-2-x $bg-pattern-circle-2-y, rgba($accent-color, $bg-pattern-opacity) $bg-pattern-gradient-start, transparent $bg-pattern-gradient-stop);
106
+ pointer-events: none;
107
+ z-index: -1;
108
+ }
109
+ }
110
+
111
+ // Sticky sidebar mode: Prevent body scroll, let containers handle it
112
+ body.sidebar-sticky {
113
+ overflow: hidden;
114
+ height: 100vh;
115
+ }
116
+
117
+ // Ensure form elements and labels inherit theme font and size instead of browser defaults
118
+ button,
119
+ input,
120
+ select,
121
+ textarea,
122
+ label {
123
+ font-family: inherit;
124
+ font-size: inherit;
125
+ }