@keenmate/pure-admin-core 2.6.0 → 2.7.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.
- package/README.md +17 -8
- package/dist/css/main.css +345 -257
- package/package.json +1 -1
- package/src/scss/_base-css-variables.scss +37 -19
- package/src/scss/core-components/_alerts.scss +2 -2
- package/src/scss/core-components/_base.scss +19 -2
- package/src/scss/core-components/_buttons.scss +12 -8
- package/src/scss/core-components/_callouts.scss +1 -1
- package/src/scss/core-components/_cards.scss +4 -4
- package/src/scss/core-components/_checkbox-lists.scss +2 -2
- package/src/scss/core-components/_comparison.scss +7 -4
- package/src/scss/core-components/_data-display.scss +24 -15
- package/src/scss/core-components/_data-viz.scss +139 -131
- package/src/scss/core-components/_file-selector.scss +34 -34
- package/src/scss/core-components/_lists.scss +4 -4
- package/src/scss/core-components/_logic-tree.scss +2 -2
- package/src/scss/core-components/_modals.scss +69 -0
- package/src/scss/core-components/_notifications.scss +17 -17
- package/src/scss/core-components/_popconfirm.scss +1 -1
- package/src/scss/core-components/_statistics.scss +25 -19
- package/src/scss/core-components/_tabs.scss +12 -12
- package/src/scss/core-components/_timeline.scss +30 -30
- package/src/scss/core-components/badges/_composite-badge-variants.scss +7 -7
- package/src/scss/core-components/badges/_composite-badge.scss +1 -1
- package/src/scss/core-components/badges/_labels.scss +6 -6
- package/src/scss/core-components/forms/_input-wrapper.scss +1 -1
- package/src/scss/core-components/forms/_query-editor.scss +10 -10
- package/src/scss/core-components/layout/_sidebar-states.scss +1 -0
- package/src/scss/core-components/layout/_sidebar.scss +1 -0
- package/src/scss/variables/_colors.scss +1 -0
- package/src/scss/variables/_components.scss +3 -2
|
@@ -37,65 +37,65 @@
|
|
|
37
37
|
width: $timeline-simple-dot-size;
|
|
38
38
|
height: $timeline-simple-dot-size;
|
|
39
39
|
background: var(--pa-main-bg);
|
|
40
|
-
border: $timeline-simple-dot-border solid
|
|
41
|
-
border-radius:
|
|
42
|
-
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur
|
|
40
|
+
border: $timeline-simple-dot-border solid var(--pa-accent);
|
|
41
|
+
border-radius: $timeline-simple-dot-border-radius;
|
|
42
|
+
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur color-mix(in srgb, var(--pa-accent) #{$timeline-simple-dot-shadow-opacity * 100%}, transparent);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
// Marker color modifiers
|
|
46
46
|
&--primary::before {
|
|
47
|
-
border-color:
|
|
48
|
-
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur
|
|
47
|
+
border-color: var(--pa-btn-primary-bg);
|
|
48
|
+
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur color-mix(in srgb, var(--pa-btn-primary-bg) #{$timeline-simple-dot-shadow-opacity * 100%}, transparent);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&--success::before {
|
|
52
|
-
border-color:
|
|
53
|
-
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur
|
|
52
|
+
border-color: var(--pa-success);
|
|
53
|
+
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur color-mix(in srgb, var(--pa-success) #{$timeline-simple-dot-shadow-opacity * 100%}, transparent);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&--warning::before {
|
|
57
|
-
border-color:
|
|
58
|
-
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur
|
|
57
|
+
border-color: var(--pa-warning);
|
|
58
|
+
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur color-mix(in srgb, var(--pa-warning) #{$timeline-simple-dot-shadow-opacity * 100%}, transparent);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&--danger::before {
|
|
62
|
-
border-color:
|
|
63
|
-
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur
|
|
62
|
+
border-color: var(--pa-danger);
|
|
63
|
+
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur color-mix(in srgb, var(--pa-danger) #{$timeline-simple-dot-shadow-opacity * 100%}, transparent);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&--info::before {
|
|
67
|
-
border-color:
|
|
68
|
-
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur
|
|
67
|
+
border-color: var(--pa-info);
|
|
68
|
+
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur color-mix(in srgb, var(--pa-info) #{$timeline-simple-dot-shadow-opacity * 100%}, transparent);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&--secondary::before {
|
|
72
72
|
border-color: var(--pa-text-color-2);
|
|
73
|
-
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur
|
|
73
|
+
box-shadow: $timeline-simple-dot-shadow-offset-x $timeline-simple-dot-shadow-offset-y $timeline-simple-dot-shadow-blur color-mix(in srgb, var(--pa-text-color-2) #{$timeline-simple-dot-shadow-opacity * 100%}, transparent);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
// Filled/solid bullet modifier
|
|
77
77
|
&--filled::before {
|
|
78
|
-
background:
|
|
78
|
+
background: var(--pa-accent);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&--filled.pa-timeline__item--primary::before {
|
|
82
|
-
background:
|
|
82
|
+
background: var(--pa-btn-primary-bg);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&--filled.pa-timeline__item--success::before {
|
|
86
|
-
background:
|
|
86
|
+
background: var(--pa-success);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
&--filled.pa-timeline__item--warning::before {
|
|
90
|
-
background:
|
|
90
|
+
background: var(--pa-warning);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&--filled.pa-timeline__item--danger::before {
|
|
94
|
-
background:
|
|
94
|
+
background: var(--pa-danger);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&--filled.pa-timeline__item--info::before {
|
|
98
|
-
background:
|
|
98
|
+
background: var(--pa-info);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
&--filled.pa-timeline__item--secondary::before {
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
content: '';
|
|
132
132
|
position: absolute;
|
|
133
133
|
width: $timeline-block-line-width;
|
|
134
|
-
background:
|
|
134
|
+
background: var(--pa-accent);
|
|
135
135
|
top: 0;
|
|
136
136
|
bottom: 0;
|
|
137
137
|
left: 50%;
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
height: $timeline-block-connector-height;
|
|
185
185
|
top: $timeline-block-connector-top-offset;
|
|
186
186
|
right: $timeline-block-connector-horizontal-offset;
|
|
187
|
-
background:
|
|
187
|
+
background: var(--pa-accent);
|
|
188
188
|
z-index: 1;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
height: $timeline-block-connector-height;
|
|
230
230
|
top: $timeline-block-connector-top-offset;
|
|
231
231
|
left: $timeline-block-connector-horizontal-offset;
|
|
232
|
-
background:
|
|
232
|
+
background: var(--pa-accent);
|
|
233
233
|
z-index: 1;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
text-align: center;
|
|
243
243
|
font-size: $font-size-sm;
|
|
244
244
|
font-weight: $font-weight-bold;
|
|
245
|
-
color:
|
|
245
|
+
color: var(--pa-accent);
|
|
246
246
|
text-transform: uppercase;
|
|
247
247
|
letter-spacing: $timeline-block-date-letter-spacing;
|
|
248
248
|
z-index: 1;
|
|
@@ -256,16 +256,16 @@
|
|
|
256
256
|
width: $timeline-block-icon-size;
|
|
257
257
|
height: $timeline-block-icon-size;
|
|
258
258
|
top: $timeline-block-icon-top-offset;
|
|
259
|
-
background:
|
|
260
|
-
border: $timeline-block-icon-border solid
|
|
259
|
+
background: var(--pa-warning);
|
|
260
|
+
border: $timeline-block-icon-border solid var(--pa-accent);
|
|
261
261
|
border-radius: 50%;
|
|
262
262
|
font-size: $font-size-lg;
|
|
263
|
-
color:
|
|
263
|
+
color: var(--pa-accent);
|
|
264
264
|
z-index: 1;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.pa-timeline__content {
|
|
268
|
-
background:
|
|
268
|
+
background: var(--pa-warning);
|
|
269
269
|
position: relative;
|
|
270
270
|
|
|
271
271
|
h3 {
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
margin: 0;
|
|
280
280
|
font-size: $font-size-base;
|
|
281
281
|
line-height: $line-height-relaxed;
|
|
282
|
-
color:
|
|
282
|
+
color: var(--pa-warning-text);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
line-height: $line-height-relaxed;
|
|
476
476
|
|
|
477
477
|
a {
|
|
478
|
-
color:
|
|
478
|
+
color: var(--pa-accent);
|
|
479
479
|
text-decoration: none;
|
|
480
480
|
font-weight: $font-weight-medium;
|
|
481
481
|
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
&:focus {
|
|
319
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
319
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-btn-primary-bg) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
&:focus {
|
|
331
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
331
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-btn-secondary-bg) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
&:focus {
|
|
343
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
343
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-success) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
&:focus {
|
|
356
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
356
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-warning) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
&:focus {
|
|
368
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
368
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-info) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
&:focus {
|
|
381
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
381
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-btn-light-bg) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
&:focus {
|
|
393
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
393
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-btn-dark-bg) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
&:focus {
|
|
66
66
|
outline: none;
|
|
67
|
-
box-shadow: 0 0 0 $focus-outline-width
|
|
67
|
+
box-shadow: 0 0 0 $focus-outline-width color-mix(in srgb, var(--pa-danger) #{$btn-focus-ring-opacity * 100%}, transparent);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -74,17 +74,17 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&--secondary {
|
|
77
|
-
background-color:
|
|
78
|
-
color:
|
|
79
|
-
border-color:
|
|
77
|
+
background-color: color-mix(in srgb, var(--pa-btn-secondary-bg) #{$opacity-light * 100%}, transparent);
|
|
78
|
+
color: var(--pa-btn-secondary-bg);
|
|
79
|
+
border-color: var(--pa-btn-secondary-bg);
|
|
80
80
|
|
|
81
81
|
&.pa-label--outline {
|
|
82
82
|
background-color: transparent;
|
|
83
|
-
color:
|
|
84
|
-
border-color:
|
|
83
|
+
color: var(--pa-btn-secondary-bg);
|
|
84
|
+
border-color: var(--pa-btn-secondary-bg);
|
|
85
85
|
|
|
86
86
|
&:hover {
|
|
87
|
-
background-color:
|
|
87
|
+
background-color: color-mix(in srgb, var(--pa-btn-secondary-bg) #{$opacity-light * 100%}, transparent);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
&__field {
|
|
38
38
|
display: inline;
|
|
39
|
-
background-color:
|
|
40
|
-
color:
|
|
39
|
+
background-color: color-mix(in srgb, var(--pa-accent) 15%, transparent);
|
|
40
|
+
color: var(--pa-accent);
|
|
41
41
|
padding: 0.2rem 0.4rem;
|
|
42
42
|
border-radius: var(--pa-border-radius-sm);
|
|
43
43
|
font-weight: $font-weight-medium;
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
|
|
46
46
|
&__operator {
|
|
47
47
|
display: inline;
|
|
48
|
-
background-color:
|
|
49
|
-
color:
|
|
48
|
+
background-color: color-mix(in srgb, var(--pa-success) 15%, transparent);
|
|
49
|
+
color: var(--pa-success);
|
|
50
50
|
padding: 0.2rem 0.4rem;
|
|
51
51
|
border-radius: var(--pa-border-radius-sm);
|
|
52
52
|
font-weight: $font-weight-medium;
|
|
@@ -221,28 +221,28 @@
|
|
|
221
221
|
font-weight: $font-weight-medium;
|
|
222
222
|
|
|
223
223
|
&--field {
|
|
224
|
-
background-color:
|
|
224
|
+
background-color: color-mix(in srgb, var(--pa-accent) 15%, transparent);
|
|
225
225
|
color: var(--pa-text-color-1);
|
|
226
226
|
|
|
227
227
|
&.pa-inline-query-token--invalid {
|
|
228
|
-
background-color:
|
|
228
|
+
background-color: color-mix(in srgb, var(--pa-danger) 15%, transparent);
|
|
229
229
|
color: var(--pa-text-color-1);
|
|
230
230
|
text-decoration: wavy underline;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
&--operator {
|
|
235
|
-
background-color:
|
|
235
|
+
background-color: color-mix(in srgb, var(--pa-text-color-2) 15%, transparent);
|
|
236
236
|
color: var(--pa-text-color-1);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
&--value {
|
|
240
|
-
background-color:
|
|
240
|
+
background-color: color-mix(in srgb, var(--pa-success) 15%, transparent);
|
|
241
241
|
color: var(--pa-text-color-1);
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
&--keyword {
|
|
245
|
-
background-color:
|
|
245
|
+
background-color: color-mix(in srgb, var(--pa-warning) 15%, transparent);
|
|
246
246
|
color: var(--pa-text-color-1);
|
|
247
247
|
font-style: italic;
|
|
248
248
|
}
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
flex-shrink: 0;
|
|
305
305
|
font-size: $font-size-xs;
|
|
306
306
|
padding: 0.2rem 0.6rem;
|
|
307
|
-
background-color:
|
|
307
|
+
background-color: color-mix(in srgb, var(--pa-text-color-2) 10%, transparent);
|
|
308
308
|
color: var(--pa-text-color-2);
|
|
309
309
|
border-radius: var(--pa-border-radius-sm);
|
|
310
310
|
font-family: $body-font-family;
|
|
@@ -191,6 +191,7 @@ body.pa-layout--sticky .pa-layout__sidebar {
|
|
|
191
191
|
|
|
192
192
|
&--active {
|
|
193
193
|
background-color: var(--pa-sidebar-submenu-active-bg);
|
|
194
|
+
color: var(--pa-sidebar-submenu-active-text);
|
|
194
195
|
border-inline-end-color: var(--pa-accent); // RTL: flips to border-left-color
|
|
195
196
|
}
|
|
196
197
|
}
|
|
@@ -33,6 +33,7 @@ $sidebar-text-secondary: $base-text-color-2 !default;
|
|
|
33
33
|
$sidebar-submenu-bg: $base-surface-3 !default;
|
|
34
34
|
$sidebar-submenu-hover-bg: color.adjust($base-surface-3, $lightness: -5%) !default;
|
|
35
35
|
$sidebar-submenu-active-bg: color.adjust($base-surface-3, $lightness: -10%) !default;
|
|
36
|
+
$sidebar-submenu-active-text: $sidebar-text !default;
|
|
36
37
|
|
|
37
38
|
// Footer colors
|
|
38
39
|
$footer-bg: $base-surface-1 !default;
|
|
@@ -518,7 +518,8 @@ $timeline-simple-dot-offset: -30px !default;
|
|
|
518
518
|
$timeline-simple-dot-shadow-offset-x: 3px !default;
|
|
519
519
|
$timeline-simple-dot-shadow-offset-y: 3px !default;
|
|
520
520
|
$timeline-simple-dot-shadow-blur: 0 !default;
|
|
521
|
-
$timeline-simple-dot-shadow-opacity: 0.
|
|
521
|
+
$timeline-simple-dot-shadow-opacity: 0.5 !default;
|
|
522
|
+
$timeline-simple-dot-border-radius: 30% !default;
|
|
522
523
|
$timeline-simple-content-margin-top: 0.6rem !default; // 6px (was 0.4rem)
|
|
523
524
|
$timeline-simple-scroll-container-max-height: 400px !default;
|
|
524
525
|
$timeline-simple-scroll-loader-min-height: 60px !default;
|
|
@@ -743,7 +744,7 @@ $progress-ring-label-font-size: $font-size-2xs !default;
|
|
|
743
744
|
$gauge-size: 12rem !default; // 120px
|
|
744
745
|
$gauge-track-color: color-mix(in srgb, var(--pa-text-color-1) 12%, transparent) !default;
|
|
745
746
|
$gauge-label-font-size: $font-size-xs !default;
|
|
746
|
-
$gauge-value-font-size: $font-size-
|
|
747
|
+
$gauge-value-font-size: $font-size-3xl !default; // 2.8rem — value gets the whole donut hole (label is now below the gauge)
|
|
747
748
|
$gauge-value-font-weight: $font-weight-bold !default;
|
|
748
749
|
|
|
749
750
|
// Data bar (pa-data-bar)
|