@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.
- package/README.md +7 -5
- package/dist/css/main.css +207 -181
- package/package.json +1 -1
- package/snippets/buttons.html +375 -365
- package/src/scss/_base-css-variables.scss +8 -0
- package/src/scss/_core.scss +121 -121
- package/src/scss/core-components/_alerts.scss +227 -227
- package/src/scss/core-components/_badges.scss +16 -16
- package/src/scss/core-components/_base.scss +125 -125
- package/src/scss/core-components/_buttons.scss +580 -548
- package/src/scss/core-components/_callouts.scss +152 -152
- package/src/scss/core-components/_cards.scss +488 -488
- package/src/scss/core-components/_checkbox-lists.scss +289 -289
- package/src/scss/core-components/_code.scss +141 -141
- package/src/scss/core-components/_command-palette.scss +509 -509
- package/src/scss/core-components/_comparison.scss +172 -172
- package/src/scss/core-components/_data-display.scss +9 -9
- package/src/scss/core-components/_data-viz.scss +9 -9
- package/src/scss/core-components/_detail-panel.scss +1 -1
- package/src/scss/core-components/_file-selector.scss +780 -780
- package/src/scss/core-components/_filter-card.scss +58 -58
- package/src/scss/core-components/_forms.scss +16 -16
- package/src/scss/core-components/_grid.scss +293 -293
- package/src/scss/core-components/_layout.scss +15 -15
- package/src/scss/core-components/_lists.scss +211 -211
- package/src/scss/core-components/_loaders.scss +277 -277
- package/src/scss/core-components/_logic-tree.scss +280 -280
- package/src/scss/core-components/_modals.scss +203 -203
- package/src/scss/core-components/_notifications.scss +320 -320
- package/src/scss/core-components/_pagers.scss +141 -141
- package/src/scss/core-components/_popconfirm.scss +170 -170
- package/src/scss/core-components/_profile.scss +405 -405
- package/src/scss/core-components/_scrollbars.scss +40 -40
- package/src/scss/core-components/_settings-panel.scss +141 -141
- package/src/scss/core-components/_statistics.scss +200 -201
- package/src/scss/core-components/_tables.scss +900 -900
- package/src/scss/core-components/_tabs.scss +504 -504
- package/src/scss/core-components/_timeline.scss +589 -589
- package/src/scss/core-components/_toasts.scss +425 -425
- package/src/scss/core-components/_tooltips.scss +605 -605
- package/src/scss/core-components/_utilities.scss +1 -1
- package/src/scss/core-components/_web-components-theme.scss +21 -21
- package/src/scss/core-components/badges/_badge-base.scss +121 -121
- package/src/scss/core-components/badges/_badge-group.scss +25 -25
- package/src/scss/core-components/badges/_composite-badge-variants.scss +396 -396
- package/src/scss/core-components/badges/_composite-badge.scss +70 -70
- package/src/scss/core-components/badges/_index.scss +10 -10
- package/src/scss/core-components/badges/_labels.scss +155 -155
- package/src/scss/core-components/forms/_checkboxes-radios.scss +205 -205
- package/src/scss/core-components/forms/_form-inputs.scss +136 -135
- package/src/scss/core-components/forms/_form-layout.scss +66 -66
- package/src/scss/core-components/forms/_form-states.scss +115 -115
- package/src/scss/core-components/forms/_index.scss +12 -12
- package/src/scss/core-components/forms/_input-groups.scss +154 -154
- package/src/scss/core-components/forms/_input-wrapper.scss +89 -89
- package/src/scss/core-components/forms/_query-editor.scss +313 -313
- package/src/scss/core-components/layout/_index.scss +11 -11
- package/src/scss/core-components/layout/_layout-container.scss +168 -168
- package/src/scss/core-components/layout/_layout-responsive.scss +99 -99
- package/src/scss/core-components/layout/_navbar-elements.scss +250 -250
- package/src/scss/core-components/layout/_navbar.scss +83 -83
- package/src/scss/core-components/layout/_sidebar-states.scss +237 -237
- package/src/scss/core-components/layout/_sidebar.scss +234 -234
- package/src/scss/main.scss +7 -7
- package/src/scss/utilities.scss +740 -740
- package/src/scss/variables/_base.scss +228 -228
- package/src/scss/variables/_components.scss +748 -748
- package/src/scss/variables/_layout.scss +65 -65
- 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
|
+
}
|