podmanager 1.0.0 → 1.0.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.
- package/bin/podmanager.js +78 -58
- package/package.json +1 -1
- package/public/css/style.css +4 -97
- package/public/index.html +6 -34
- package/public/js/api.js +0 -10
- package/public/js/app.js +0 -74
- package/src/app.js +0 -4
- package/src/index.js +10 -3
- package/src/middlewares/async-handler.middleware.js +0 -3
- package/src/middlewares/error.middleware.js +0 -3
- package/src/routes/containers.route.js +0 -13
- package/src/routes/events.route.js +1 -3
- package/src/routes/images.route.js +0 -5
- package/src/routes/networks.route.js +0 -4
- package/src/routes/pods.route.js +0 -7
- package/src/routes/system.route.js +0 -3
- package/src/routes/volumes.route.js +0 -4
- package/src/services/podman.service.js +4 -19
package/bin/podmanager.js
CHANGED
|
@@ -7,18 +7,7 @@ const { spawn, execFileSync } = require('child_process');
|
|
|
7
7
|
const express = require('express');
|
|
8
8
|
const pkg = require('../package.json');
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
options: {
|
|
12
|
-
port: { type: 'string', short: 'p' },
|
|
13
|
-
host: { type: 'string', short: 'H' },
|
|
14
|
-
open: { type: 'boolean', short: 'o', default: false },
|
|
15
|
-
version: { type: 'boolean', short: 'v', default: false },
|
|
16
|
-
help: { type: 'boolean', short: 'h', default: false },
|
|
17
|
-
},
|
|
18
|
-
strict: true,
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
if (values.help) {
|
|
10
|
+
function printHelp() {
|
|
22
11
|
console.log(`
|
|
23
12
|
podmanager v${pkg.version} - ${pkg.description}
|
|
24
13
|
|
|
@@ -32,74 +21,105 @@ Options:
|
|
|
32
21
|
-v, --version Show version number
|
|
33
22
|
-h, --help Show this help message
|
|
34
23
|
`);
|
|
35
|
-
process.exit(0);
|
|
36
24
|
}
|
|
37
25
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
process.exit(0);
|
|
41
|
-
}
|
|
26
|
+
function parsePort(rawPort) {
|
|
27
|
+
if (rawPort === undefined) return undefined;
|
|
42
28
|
|
|
43
|
-
|
|
44
|
-
if (values.port !== undefined) {
|
|
45
|
-
port = Number(values.port);
|
|
29
|
+
const port = Number(rawPort);
|
|
46
30
|
if (!Number.isInteger(port) || port < 0 || port > 65535) {
|
|
47
|
-
console.error(`❌ Invalid port: ${
|
|
31
|
+
console.error(`❌ Invalid port: ${rawPort}`);
|
|
48
32
|
process.exit(1);
|
|
49
33
|
}
|
|
34
|
+
return port;
|
|
50
35
|
}
|
|
51
36
|
|
|
52
|
-
|
|
53
|
-
const
|
|
37
|
+
function resolveRuntimePaths() {
|
|
38
|
+
const packagedSrcDir = path.resolve(__dirname, '../src');
|
|
39
|
+
const isPackaged = fs.existsSync(path.join(packagedSrcDir, 'index.js'));
|
|
54
40
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
41
|
+
return {
|
|
42
|
+
srcDir: isPackaged ? packagedSrcDir : path.resolve(__dirname, '../../api/src'),
|
|
43
|
+
uiDir: isPackaged ? path.resolve(__dirname, '../public') : path.resolve(__dirname, '../../ui/public'),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
58
46
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
47
|
+
function ensurePodmanAvailable() {
|
|
48
|
+
try {
|
|
49
|
+
execFileSync('podman', ['--version'], { stdio: 'ignore' });
|
|
50
|
+
} catch {
|
|
51
|
+
console.error('❌ Podman CLI not found in PATH. Please install Podman first: https://podman.io/docs/installation');
|
|
52
|
+
process.exit(1);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
62
55
|
|
|
63
|
-
function
|
|
64
|
-
const
|
|
56
|
+
function openBrowserDetached(url) {
|
|
57
|
+
const [command, args] =
|
|
65
58
|
process.platform === 'darwin'
|
|
66
59
|
? ['open', [url]]
|
|
67
60
|
: process.platform === 'win32'
|
|
68
61
|
? ['cmd', ['/c', 'start', '', url]]
|
|
69
62
|
: ['xdg-open', [url]];
|
|
70
63
|
|
|
71
|
-
const child = spawn(
|
|
64
|
+
const child = spawn(command, args, { stdio: 'ignore', detached: true });
|
|
72
65
|
child.on('error', () => {});
|
|
73
66
|
child.unref();
|
|
74
67
|
}
|
|
75
68
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
69
|
+
function createHostApp(srcDir, uiDir) {
|
|
70
|
+
const { createApp } = require(path.join(srcDir, 'app'));
|
|
71
|
+
const hostApp = express();
|
|
72
|
+
|
|
73
|
+
hostApp.use(express.static(uiDir));
|
|
74
|
+
hostApp.use(createApp());
|
|
75
|
+
hostApp.use((req, res, next) => {
|
|
76
|
+
if (req.method === 'GET' && !req.path.startsWith('/api')) {
|
|
77
|
+
return res.sendFile(path.join(uiDir, 'index.html'));
|
|
78
|
+
}
|
|
79
|
+
next();
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
return hostApp;
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
|
|
84
|
-
const {
|
|
85
|
+
function main() {
|
|
86
|
+
const { values } = parseArgs({
|
|
87
|
+
options: {
|
|
88
|
+
port: { type: 'string', short: 'p' },
|
|
89
|
+
host: { type: 'string', short: 'H' },
|
|
90
|
+
open: { type: 'boolean', short: 'o', default: false },
|
|
91
|
+
version: { type: 'boolean', short: 'v', default: false },
|
|
92
|
+
help: { type: 'boolean', short: 'h', default: false },
|
|
93
|
+
},
|
|
94
|
+
strict: true,
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
if (values.help) {
|
|
98
|
+
printHelp();
|
|
99
|
+
process.exit(0);
|
|
100
|
+
}
|
|
85
101
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
hostApp.use((req, res, next) => {
|
|
90
|
-
if (req.method === 'GET' && !req.path.startsWith('/api')) {
|
|
91
|
-
return res.sendFile(path.join(uiDir, 'index.html'));
|
|
102
|
+
if (values.version) {
|
|
103
|
+
console.log(pkg.version);
|
|
104
|
+
process.exit(0);
|
|
92
105
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
|
|
107
|
+
const port = parsePort(values.port);
|
|
108
|
+
ensurePodmanAvailable();
|
|
109
|
+
|
|
110
|
+
const { srcDir, uiDir } = resolveRuntimePaths();
|
|
111
|
+
const { startServer } = require(path.join(srcDir, 'index'));
|
|
112
|
+
|
|
113
|
+
startServer({
|
|
114
|
+
port,
|
|
115
|
+
host: values.host,
|
|
116
|
+
app: createHostApp(srcDir, uiDir),
|
|
117
|
+
onReady: ({ url }) => {
|
|
118
|
+
if (values.open) {
|
|
119
|
+
openBrowserDetached(url);
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
main();
|
package/package.json
CHANGED
package/public/css/style.css
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
PODMANAGER — MINIMAL APPLE-INSPIRED DESIGN SYSTEM
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
1
|
:root {
|
|
6
|
-
|
|
2
|
+
|
|
7
3
|
--bg-app: #000000;
|
|
8
4
|
--bg-sidebar: #0a0a0c;
|
|
9
5
|
--bg-card: #141416;
|
|
@@ -12,13 +8,11 @@
|
|
|
12
8
|
--bg-control: #222226;
|
|
13
9
|
--bg-control-hover: #2a2a2f;
|
|
14
10
|
|
|
15
|
-
/* Borders & Hairlines */
|
|
16
11
|
--border-subtle: rgba(255, 255, 255, 0.08);
|
|
17
12
|
--border-muted: rgba(255, 255, 255, 0.12);
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
--podman-purple
|
|
21
|
-
--podman-purple: #8f389b; /* Accessible vibrant purple for dark theme */
|
|
14
|
+
--podman-purple-dark: rgb(95, 36, 107);
|
|
15
|
+
--podman-purple: #8f389b;
|
|
22
16
|
--podman-purple-hover: #a144ad;
|
|
23
17
|
--podman-purple-soft: rgba(143, 56, 155, 0.18);
|
|
24
18
|
--podman-purple-border: rgba(143, 56, 155, 0.35);
|
|
@@ -29,12 +23,10 @@
|
|
|
29
23
|
--brand-primary-soft: var(--podman-purple-soft);
|
|
30
24
|
--border-focus: var(--podman-purple);
|
|
31
25
|
|
|
32
|
-
/* Typography */
|
|
33
26
|
--text-primary: #f5f5f7;
|
|
34
27
|
--text-secondary: #86868b;
|
|
35
28
|
--text-tertiary: #515156;
|
|
36
29
|
|
|
37
|
-
/* System Accents — Apple Human Interface Guidelines */
|
|
38
30
|
--apple-green: #30d158;
|
|
39
31
|
--apple-green-soft: rgba(48, 209, 88, 0.14);
|
|
40
32
|
|
|
@@ -47,14 +39,12 @@
|
|
|
47
39
|
--apple-blue: #0a84ff;
|
|
48
40
|
--apple-blue-soft: rgba(10, 132, 255, 0.14);
|
|
49
41
|
|
|
50
|
-
/* Geometry & Radii */
|
|
51
42
|
--radius-xs: 6px;
|
|
52
43
|
--radius-sm: 8px;
|
|
53
44
|
--radius-md: 12px;
|
|
54
45
|
--radius-lg: 16px;
|
|
55
46
|
--radius-pill: 9999px;
|
|
56
47
|
|
|
57
|
-
/* Homogeneous Layout & Control Dimensions */
|
|
58
48
|
--control-height: 34px;
|
|
59
49
|
--control-height-sm: 28px;
|
|
60
50
|
--sidebar-width: 250px;
|
|
@@ -63,10 +53,6 @@
|
|
|
63
53
|
--card-gap: 20px;
|
|
64
54
|
}
|
|
65
55
|
|
|
66
|
-
/* ==========================================================================
|
|
67
|
-
RESET & FOUNDATIONS
|
|
68
|
-
========================================================================== */
|
|
69
|
-
|
|
70
56
|
* {
|
|
71
57
|
box-sizing: border-box;
|
|
72
58
|
margin: 0;
|
|
@@ -85,13 +71,11 @@ body {
|
|
|
85
71
|
line-height: 1.47;
|
|
86
72
|
}
|
|
87
73
|
|
|
88
|
-
/* Accessibility Focus Outline */
|
|
89
74
|
:focus-visible {
|
|
90
75
|
outline: 2px solid var(--podman-purple);
|
|
91
76
|
outline-offset: 2px;
|
|
92
77
|
}
|
|
93
78
|
|
|
94
|
-
/* Skip link for screen reader & keyboard accessibility */
|
|
95
79
|
.skip-link {
|
|
96
80
|
position: fixed;
|
|
97
81
|
top: -100px;
|
|
@@ -111,10 +95,6 @@ body {
|
|
|
111
95
|
top: 16px;
|
|
112
96
|
}
|
|
113
97
|
|
|
114
|
-
/* ==========================================================================
|
|
115
|
-
SIDEBAR (APPLE MACOS/IPADOS STYLE)
|
|
116
|
-
========================================================================== */
|
|
117
|
-
|
|
118
98
|
.sidebar-backdrop {
|
|
119
99
|
position: fixed;
|
|
120
100
|
inset: 0;
|
|
@@ -240,7 +220,6 @@ aside.sidebar {
|
|
|
240
220
|
stroke: #d896f5;
|
|
241
221
|
}
|
|
242
222
|
|
|
243
|
-
/* Badges — Minimal Translucent Pills */
|
|
244
223
|
.nav-badge {
|
|
245
224
|
font-size: 11px;
|
|
246
225
|
font-weight: 500;
|
|
@@ -285,10 +264,6 @@ aside.sidebar {
|
|
|
285
264
|
background-color: var(--apple-red);
|
|
286
265
|
}
|
|
287
266
|
|
|
288
|
-
/* ==========================================================================
|
|
289
|
-
APP CONTAINER & HEADER
|
|
290
|
-
========================================================================== */
|
|
291
|
-
|
|
292
267
|
.app-container {
|
|
293
268
|
margin-left: var(--sidebar-width);
|
|
294
269
|
flex: 1;
|
|
@@ -374,7 +349,6 @@ header.top-header {
|
|
|
374
349
|
border-color: var(--border-muted);
|
|
375
350
|
}
|
|
376
351
|
|
|
377
|
-
/* Refresh Selector — Apple segmented picker */
|
|
378
352
|
.refresh-control {
|
|
379
353
|
display: inline-flex;
|
|
380
354
|
align-items: center;
|
|
@@ -439,10 +413,6 @@ header.top-header {
|
|
|
439
413
|
color: #fff;
|
|
440
414
|
}
|
|
441
415
|
|
|
442
|
-
/* ==========================================================================
|
|
443
|
-
BUTTONS (HOMOGENEOUS SIZES & PODMAN BRAND)
|
|
444
|
-
========================================================================== */
|
|
445
|
-
|
|
446
416
|
.btn {
|
|
447
417
|
display: inline-flex;
|
|
448
418
|
align-items: center;
|
|
@@ -486,7 +456,6 @@ header.top-header {
|
|
|
486
456
|
padding: 0;
|
|
487
457
|
}
|
|
488
458
|
|
|
489
|
-
/* Podman Brand Primary Button */
|
|
490
459
|
.btn-primary {
|
|
491
460
|
background: linear-gradient(135deg, #9439a3, #5f246b);
|
|
492
461
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
@@ -548,11 +517,6 @@ header.top-header {
|
|
|
548
517
|
cursor: not-allowed;
|
|
549
518
|
}
|
|
550
519
|
|
|
551
|
-
/* ==========================================================================
|
|
552
|
-
/* ==========================================================================
|
|
553
|
-
FLOATING ACTION DROPDOWN MENUS (HOMOGENEOUS ROWS & PORTAL)
|
|
554
|
-
========================================================================== */
|
|
555
|
-
|
|
556
520
|
.floating-action-menu {
|
|
557
521
|
position: fixed;
|
|
558
522
|
min-width: 175px;
|
|
@@ -655,10 +619,6 @@ header.top-header {
|
|
|
655
619
|
margin: 4px 0;
|
|
656
620
|
}
|
|
657
621
|
|
|
658
|
-
/* ==========================================================================
|
|
659
|
-
HOMOGENEOUS SECTION LAYOUT & SPACING
|
|
660
|
-
========================================================================== */
|
|
661
|
-
|
|
662
622
|
main.main-content {
|
|
663
623
|
flex: 1;
|
|
664
624
|
padding: var(--page-padding);
|
|
@@ -675,7 +635,6 @@ main.main-content {
|
|
|
675
635
|
display: block;
|
|
676
636
|
}
|
|
677
637
|
|
|
678
|
-
/* Live Events View: fills viewport height and scrolls internally keeping filter toolbar pinned */
|
|
679
638
|
#view-events.active {
|
|
680
639
|
display: flex;
|
|
681
640
|
flex-direction: column;
|
|
@@ -703,7 +662,6 @@ main.main-content {
|
|
|
703
662
|
overscroll-behavior: contain;
|
|
704
663
|
}
|
|
705
664
|
|
|
706
|
-
/* Section Header (Uniform across all tabs) */
|
|
707
665
|
.section-header {
|
|
708
666
|
display: flex;
|
|
709
667
|
align-items: center;
|
|
@@ -717,7 +675,6 @@ main.main-content {
|
|
|
717
675
|
letter-spacing: -0.4px;
|
|
718
676
|
}
|
|
719
677
|
|
|
720
|
-
/* Homogeneous Toolbar */
|
|
721
678
|
.toolbar {
|
|
722
679
|
display: flex;
|
|
723
680
|
align-items: center;
|
|
@@ -741,7 +698,6 @@ main.main-content {
|
|
|
741
698
|
gap: 8px;
|
|
742
699
|
}
|
|
743
700
|
|
|
744
|
-
/* Minimal Search Box (Homogeneous 34px) */
|
|
745
701
|
.search-box {
|
|
746
702
|
position: relative;
|
|
747
703
|
flex: 1;
|
|
@@ -783,7 +739,6 @@ main.main-content {
|
|
|
783
739
|
pointer-events: none;
|
|
784
740
|
}
|
|
785
741
|
|
|
786
|
-
/* Segmented Control Filter (Homogeneous 34px) */
|
|
787
742
|
.segmented-control {
|
|
788
743
|
display: inline-flex;
|
|
789
744
|
align-items: stretch;
|
|
@@ -822,7 +777,6 @@ main.main-content {
|
|
|
822
777
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
823
778
|
}
|
|
824
779
|
|
|
825
|
-
/* Native select fallback */
|
|
826
780
|
.filter-select {
|
|
827
781
|
height: var(--control-height);
|
|
828
782
|
padding: 0 10px;
|
|
@@ -836,10 +790,6 @@ main.main-content {
|
|
|
836
790
|
box-sizing: border-box;
|
|
837
791
|
}
|
|
838
792
|
|
|
839
|
-
/* ==========================================================================
|
|
840
|
-
METRICS GRID & CARDS (NO LEFT BORDER COLORS)
|
|
841
|
-
========================================================================== */
|
|
842
|
-
|
|
843
793
|
.metrics-grid {
|
|
844
794
|
display: grid;
|
|
845
795
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -862,7 +812,6 @@ main.main-content {
|
|
|
862
812
|
border-color: var(--border-muted);
|
|
863
813
|
}
|
|
864
814
|
|
|
865
|
-
/* No left colored borders! Clean typography */
|
|
866
815
|
.metric-title {
|
|
867
816
|
font-size: 12px;
|
|
868
817
|
color: var(--text-secondary);
|
|
@@ -902,7 +851,6 @@ main.main-content {
|
|
|
902
851
|
stroke-width: 2;
|
|
903
852
|
}
|
|
904
853
|
|
|
905
|
-
/* Layout Grid Cards */
|
|
906
854
|
.cards-row {
|
|
907
855
|
display: grid;
|
|
908
856
|
grid-template-columns: 2fr 1fr;
|
|
@@ -947,7 +895,6 @@ main.main-content {
|
|
|
947
895
|
padding: 20px;
|
|
948
896
|
}
|
|
949
897
|
|
|
950
|
-
/* Specs Grid */
|
|
951
898
|
.specs-grid {
|
|
952
899
|
display: grid;
|
|
953
900
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
@@ -991,7 +938,6 @@ main.main-content {
|
|
|
991
938
|
color: var(--apple-purple);
|
|
992
939
|
}
|
|
993
940
|
|
|
994
|
-
/* Disk usage list */
|
|
995
941
|
.disk-list {
|
|
996
942
|
display: flex;
|
|
997
943
|
flex-direction: column;
|
|
@@ -1029,10 +975,6 @@ main.main-content {
|
|
|
1029
975
|
background-color: var(--apple-blue);
|
|
1030
976
|
}
|
|
1031
977
|
|
|
1032
|
-
/* ==========================================================================
|
|
1033
|
-
HOMOGENEOUS DATA TABLES
|
|
1034
|
-
========================================================================== */
|
|
1035
|
-
|
|
1036
978
|
.table-responsive {
|
|
1037
979
|
width: 100%;
|
|
1038
980
|
overflow-x: auto;
|
|
@@ -1087,7 +1029,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1087
1029
|
background-color: rgba(255, 255, 255, 0.03);
|
|
1088
1030
|
}
|
|
1089
1031
|
|
|
1090
|
-
/* Minimal Status Pills (No harsh boxes) */
|
|
1091
1032
|
.status-pill {
|
|
1092
1033
|
display: inline-flex;
|
|
1093
1034
|
align-items: center;
|
|
@@ -1172,10 +1113,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1172
1113
|
flex-wrap: wrap;
|
|
1173
1114
|
}
|
|
1174
1115
|
|
|
1175
|
-
/* ==========================================================================
|
|
1176
|
-
EXPANDABLE ROW FOR MOBILE (DETAIL DRAWER)
|
|
1177
|
-
========================================================================== */
|
|
1178
|
-
|
|
1179
1116
|
.col-actions-header,
|
|
1180
1117
|
.col-actions-cell {
|
|
1181
1118
|
text-align: right;
|
|
@@ -1264,10 +1201,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1264
1201
|
display: none;
|
|
1265
1202
|
}
|
|
1266
1203
|
|
|
1267
|
-
/* ==========================================================================
|
|
1268
|
-
MODALS & SHEETS (APPLE GLASS STYLE)
|
|
1269
|
-
========================================================================== */
|
|
1270
|
-
|
|
1271
1204
|
.modal-overlay {
|
|
1272
1205
|
position: fixed;
|
|
1273
1206
|
inset: 0;
|
|
@@ -1364,7 +1297,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1364
1297
|
background-color: rgba(255, 255, 255, 0.08);
|
|
1365
1298
|
}
|
|
1366
1299
|
|
|
1367
|
-
/* Modal Subheader / Secondary Header */
|
|
1368
1300
|
.modal-subheader {
|
|
1369
1301
|
padding: 8px 20px;
|
|
1370
1302
|
background-color: rgba(255, 255, 255, 0.02);
|
|
@@ -1439,7 +1371,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1439
1371
|
flex-shrink: 0;
|
|
1440
1372
|
}
|
|
1441
1373
|
|
|
1442
|
-
/* Forms */
|
|
1443
1374
|
.form-group {
|
|
1444
1375
|
margin-bottom: 14px;
|
|
1445
1376
|
}
|
|
@@ -1490,7 +1421,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1490
1421
|
margin-top: 6px;
|
|
1491
1422
|
}
|
|
1492
1423
|
|
|
1493
|
-
/* Terminal Viewer */
|
|
1494
1424
|
.terminal-viewer {
|
|
1495
1425
|
background-color: #09090b;
|
|
1496
1426
|
border: 1px solid var(--border-subtle);
|
|
@@ -1514,10 +1444,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1514
1444
|
margin-bottom: 10px;
|
|
1515
1445
|
}
|
|
1516
1446
|
|
|
1517
|
-
/* ==========================================================================
|
|
1518
|
-
TOAST NOTIFICATIONS (NO LEFT BORDER COLORS)
|
|
1519
|
-
========================================================================== */
|
|
1520
|
-
|
|
1521
1447
|
#toast-container {
|
|
1522
1448
|
position: fixed;
|
|
1523
1449
|
bottom: 24px;
|
|
@@ -1549,7 +1475,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1549
1475
|
to { transform: translateY(0); opacity: 1; }
|
|
1550
1476
|
}
|
|
1551
1477
|
|
|
1552
|
-
/* No left colored stripes — minimal dot badge instead */
|
|
1553
1478
|
.toast-dot {
|
|
1554
1479
|
width: 7px;
|
|
1555
1480
|
height: 7px;
|
|
@@ -1579,7 +1504,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1579
1504
|
word-break: break-word;
|
|
1580
1505
|
}
|
|
1581
1506
|
|
|
1582
|
-
/* Empty States */
|
|
1583
1507
|
.empty-state {
|
|
1584
1508
|
padding: 48px 20px;
|
|
1585
1509
|
text-align: center;
|
|
@@ -1635,7 +1559,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1635
1559
|
100% { transform: rotate(360deg); }
|
|
1636
1560
|
}
|
|
1637
1561
|
|
|
1638
|
-
/* ================= Skeleton Loaders ================= */
|
|
1639
1562
|
.skeleton {
|
|
1640
1563
|
background: linear-gradient(
|
|
1641
1564
|
90deg,
|
|
@@ -1714,17 +1637,8 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1714
1637
|
}
|
|
1715
1638
|
}
|
|
1716
1639
|
|
|
1717
|
-
/* ==========================================================================
|
|
1718
|
-
MOBILE & TABLET RESPONSIVE RULES (HOMOGENEOUS EXPANDABLE TABLES)
|
|
1719
|
-
========================================================================== */
|
|
1720
|
-
|
|
1721
|
-
/* ==========================================================================
|
|
1722
|
-
MOBILE & TABLET RESPONSIVE RULES (HOMOGENEOUS EXPANDABLE TABLES)
|
|
1723
|
-
========================================================================== */
|
|
1724
|
-
|
|
1725
|
-
/* Tablet & Intermediate Viewports (<= 1024px) */
|
|
1726
1640
|
@media (max-width: 1024px) {
|
|
1727
|
-
|
|
1641
|
+
|
|
1728
1642
|
aside.sidebar {
|
|
1729
1643
|
width: 280px;
|
|
1730
1644
|
max-width: 82vw;
|
|
@@ -1772,7 +1686,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1772
1686
|
grid-template-columns: repeat(2, 1fr);
|
|
1773
1687
|
}
|
|
1774
1688
|
|
|
1775
|
-
/* Compact Header on Tablet / Reduced Windows */
|
|
1776
1689
|
.btn-label-desktop {
|
|
1777
1690
|
display: none !important;
|
|
1778
1691
|
}
|
|
@@ -1786,7 +1699,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1786
1699
|
display: none !important;
|
|
1787
1700
|
}
|
|
1788
1701
|
|
|
1789
|
-
/* Tablet Table Rules: Hide secondary columns & enable expandable rows */
|
|
1790
1702
|
.col-hide-tablet {
|
|
1791
1703
|
display: none !important;
|
|
1792
1704
|
}
|
|
@@ -1817,13 +1729,11 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1817
1729
|
}
|
|
1818
1730
|
}
|
|
1819
1731
|
|
|
1820
|
-
/* Mobile Viewports (<= 768px) */
|
|
1821
1732
|
@media (max-width: 768px) {
|
|
1822
1733
|
:root {
|
|
1823
1734
|
--page-padding: 16px;
|
|
1824
1735
|
}
|
|
1825
1736
|
|
|
1826
|
-
/* Header on Mobile */
|
|
1827
1737
|
header.top-header {
|
|
1828
1738
|
padding: 0 var(--page-padding);
|
|
1829
1739
|
gap: 8px;
|
|
@@ -1841,7 +1751,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1841
1751
|
padding: var(--page-padding);
|
|
1842
1752
|
}
|
|
1843
1753
|
|
|
1844
|
-
/* Toolbar */
|
|
1845
1754
|
.toolbar {
|
|
1846
1755
|
flex-direction: column;
|
|
1847
1756
|
align-items: stretch;
|
|
@@ -1880,7 +1789,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1880
1789
|
flex: 1;
|
|
1881
1790
|
}
|
|
1882
1791
|
|
|
1883
|
-
/* Mobile Tables — Hide secondary columns & header actions */
|
|
1884
1792
|
.col-hide-mobile {
|
|
1885
1793
|
display: none !important;
|
|
1886
1794
|
}
|
|
@@ -1927,7 +1835,6 @@ table.data-table tr.table-row-item:hover td {
|
|
|
1927
1835
|
padding: 10px 12px;
|
|
1928
1836
|
}
|
|
1929
1837
|
|
|
1930
|
-
/* Modals on Mobile — Slide up Bottom Sheet */
|
|
1931
1838
|
.modal-overlay {
|
|
1932
1839
|
padding: 0;
|
|
1933
1840
|
align-items: flex-end;
|