@brggroup/share-lib 0.2.26 → 0.2.28
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 +77 -77
- package/fesm2022/brggroup-share-lib.mjs +4979 -1237
- package/fesm2022/brggroup-share-lib.mjs.map +1 -1
- package/lib/WF/wf-editor/workflow-editor.component.d.ts +1 -1
- package/lib/WF/wf-editor/workflow-editor.component.d.ts.map +1 -1
- package/lib/admin/component/dic-domain/dic-domain-list/dic-domain-list.d.ts.map +1 -1
- package/lib/admin/component/entity-change-log/entity-change-log.component.d.ts +13 -0
- package/lib/admin/component/entity-change-log/entity-change-log.component.d.ts.map +1 -0
- package/lib/admin/component/permission/role-permission/role-permission.component.d.ts +1 -1
- package/lib/admin/component/permission/role-permission/role-permission.component.d.ts.map +1 -1
- package/lib/admin/component/setting/list/setting-list.d.ts.map +1 -1
- package/lib/admin/component/sso-config/sso-config.component.d.ts +200 -0
- package/lib/admin/component/sso-config/sso-config.component.d.ts.map +1 -0
- package/lib/admin/component/user/list/user-list.d.ts.map +1 -1
- package/lib/admin/component/user/profile/user_profile.d.ts +17 -0
- package/lib/admin/component/user/profile/user_profile.d.ts.map +1 -1
- package/lib/admin/model/entity-change-log.model.d.ts +117 -0
- package/lib/admin/model/entity-change-log.model.d.ts.map +1 -0
- package/lib/admin/service/entity-change-log.service.d.ts +25 -0
- package/lib/admin/service/entity-change-log.service.d.ts.map +1 -0
- package/lib/admin/service/org.service.d.ts +1 -1
- package/lib/admin/service/org.service.d.ts.map +1 -1
- package/lib/admin/service/sso-admin.service.d.ts +46 -0
- package/lib/admin/service/sso-admin.service.d.ts.map +1 -0
- package/lib/auth/auth.guard.d.ts.map +1 -1
- package/lib/auth/auth.interceptor.d.ts.map +1 -1
- package/lib/auth/auth.service.d.ts +34 -1
- package/lib/auth/auth.service.d.ts.map +1 -1
- package/lib/auth/session-manager.service.d.ts +5 -1
- package/lib/auth/session-manager.service.d.ts.map +1 -1
- package/lib/auth/sso.model.d.ts +640 -0
- package/lib/auth/sso.model.d.ts.map +1 -0
- package/lib/auth/token.storage.d.ts +6 -0
- package/lib/auth/token.storage.d.ts.map +1 -1
- package/lib/components/base.component.d.ts +1 -0
- package/lib/components/base.component.d.ts.map +1 -1
- package/lib/components/entity-change-history/entity-change-history.component.d.ts +114 -0
- package/lib/components/entity-change-history/entity-change-history.component.d.ts.map +1 -0
- package/lib/components/login/login.component.d.ts +11 -1
- package/lib/components/login/login.component.d.ts.map +1 -1
- package/lib/components/login-1/login.component.d.ts +11 -1
- package/lib/components/login-1/login.component.d.ts.map +1 -1
- package/lib/components/login-2/login.component.d.ts +11 -1
- package/lib/components/login-2/login.component.d.ts.map +1 -1
- package/lib/components/sso-callback/sso-callback.component.d.ts +19 -0
- package/lib/components/sso-callback/sso-callback.component.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-drawers.base.d.ts +10 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-drawers.base.d.ts.map +1 -1
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.base.d.ts +43 -40
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.base.d.ts.map +1 -1
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.d.ts +8 -8
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.d.ts.map +1 -1
- package/lib/drive/components/drive-project-permission/drive-project-permission.d.ts +2 -0
- package/lib/drive/components/drive-project-permission/drive-project-permission.d.ts.map +1 -1
- package/lib/drive/models/index.d.ts +1 -0
- package/lib/drive/models/index.d.ts.map +1 -1
- package/lib/drive/models/workflow-drive-permission.model.d.ts +69 -0
- package/lib/drive/models/workflow-drive-permission.model.d.ts.map +1 -0
- package/lib/drive/services/drive-sharing-quota.base.d.ts +9 -1
- package/lib/drive/services/drive-sharing-quota.base.d.ts.map +1 -1
- package/lib/drive/services/drive-state.base.d.ts +12 -0
- package/lib/drive/services/drive-state.base.d.ts.map +1 -1
- package/lib/drive/services/drive-upload.base.d.ts +13 -3
- package/lib/drive/services/drive-upload.base.d.ts.map +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/model.d.ts.map +1 -1
- package/lib/services/noti.service.d.ts +3 -0
- package/lib/services/noti.service.d.ts.map +1 -1
- package/lib/services/router-monitor.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +8 -0
- package/public-api.d.ts.map +1 -1
- package/styles/button.scss +51 -51
- package/styles/color.scss +36 -36
- package/styles/dropdown.scss +18 -18
- package/styles/layout.scss +238 -238
- package/styles/mobile.scss +39 -39
- package/styles/select.scss +93 -93
- package/styles/single-class.scss +163 -163
- package/styles/tab.scss +71 -71
- package/styles/table.scss +528 -528
- package/styles.scss +615 -592
- package/theme.less +9 -9
package/styles/select.scss
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
ENTERPRISE SELECT & TREE-SELECT OVERRIDES
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
/* Đảm bảo toàn bộ các wrapper component mở rộng và nz-select luôn chiếm 100% độ rộng khung chứa, không bao giờ bị co hẹp khi chưa chọn giá trị */
|
|
6
|
-
extend-select,
|
|
7
|
-
dic-domain-select,
|
|
8
|
-
extend-input,
|
|
9
|
-
extend-input-number,
|
|
10
|
-
extend-date-picker,
|
|
11
|
-
extend-date-range-picker,
|
|
12
|
-
extend-textarea {
|
|
13
|
-
display: block;
|
|
14
|
-
width: 100%;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
nz-select.full-width,
|
|
18
|
-
nz-tree-select.full-width,
|
|
19
|
-
nz-date-picker.full-width,
|
|
20
|
-
nz-range-picker.full-width,
|
|
21
|
-
nz-input-number.full-width,
|
|
22
|
-
nz-input-group.full-width,
|
|
23
|
-
.ant-form-item-control-input-content > nz-select:not([style*="width"]),
|
|
24
|
-
.ant-form-item-control-input-content > nz-tree-select:not([style*="width"]),
|
|
25
|
-
.ant-input-group > nz-select:not([style*="width"]),
|
|
26
|
-
.ant-input-affix-wrapper > nz-select:not([style*="width"]),
|
|
27
|
-
.field-box > nz-select:not([style*="width"]) {
|
|
28
|
-
display: block;
|
|
29
|
-
width: 100% !important;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
33
|
-
border-radius: var(--radius-xs);
|
|
34
|
-
width: 100%;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ant-select-multiple .ant-select-selector {
|
|
38
|
-
width: 100%;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.ant-select-arrow,
|
|
42
|
-
.ant-select-clear {
|
|
43
|
-
white-space: nowrap;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.ant-select-dropdown {
|
|
47
|
-
padding: 4px;
|
|
48
|
-
border-radius: var(--radius-md);
|
|
49
|
-
box-shadow: var(--shadow-md);
|
|
50
|
-
border: 1px solid var(--border-default);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ant-select-item {
|
|
54
|
-
border-radius: var(--radius-xs);
|
|
55
|
-
font-size: 13px;
|
|
56
|
-
min-height: 30px;
|
|
57
|
-
padding: 4px 10px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
61
|
-
background-color: var(--surface-selected);
|
|
62
|
-
color: var(--primary-color);
|
|
63
|
-
font-weight: 600;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* Tree Select Indentation Lines */
|
|
67
|
-
.ant-select-tree-indent-unit {
|
|
68
|
-
position: relative;
|
|
69
|
-
|
|
70
|
-
&::before {
|
|
71
|
-
content: "";
|
|
72
|
-
position: absolute;
|
|
73
|
-
top: 0;
|
|
74
|
-
left: 50%;
|
|
75
|
-
width: 1px;
|
|
76
|
-
height: 100%;
|
|
77
|
-
border-left: 1px dashed var(--border-strong);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.ant-select-tree-treenode {
|
|
82
|
-
position: relative;
|
|
83
|
-
border-radius: var(--radius-xs);
|
|
84
|
-
|
|
85
|
-
&::after {
|
|
86
|
-
content: "";
|
|
87
|
-
position: absolute;
|
|
88
|
-
top: 14px;
|
|
89
|
-
left: calc(18px * var(--level, 1));
|
|
90
|
-
width: 12px;
|
|
91
|
-
border-top: 1px dashed var(--border-strong);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
ENTERPRISE SELECT & TREE-SELECT OVERRIDES
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* Đảm bảo toàn bộ các wrapper component mở rộng và nz-select luôn chiếm 100% độ rộng khung chứa, không bao giờ bị co hẹp khi chưa chọn giá trị */
|
|
6
|
+
extend-select,
|
|
7
|
+
dic-domain-select,
|
|
8
|
+
extend-input,
|
|
9
|
+
extend-input-number,
|
|
10
|
+
extend-date-picker,
|
|
11
|
+
extend-date-range-picker,
|
|
12
|
+
extend-textarea {
|
|
13
|
+
display: block;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
nz-select.full-width,
|
|
18
|
+
nz-tree-select.full-width,
|
|
19
|
+
nz-date-picker.full-width,
|
|
20
|
+
nz-range-picker.full-width,
|
|
21
|
+
nz-input-number.full-width,
|
|
22
|
+
nz-input-group.full-width,
|
|
23
|
+
.ant-form-item-control-input-content > nz-select:not([style*="width"]),
|
|
24
|
+
.ant-form-item-control-input-content > nz-tree-select:not([style*="width"]),
|
|
25
|
+
.ant-input-group > nz-select:not([style*="width"]),
|
|
26
|
+
.ant-input-affix-wrapper > nz-select:not([style*="width"]),
|
|
27
|
+
.field-box > nz-select:not([style*="width"]) {
|
|
28
|
+
display: block;
|
|
29
|
+
width: 100% !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
|
33
|
+
border-radius: var(--radius-xs);
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ant-select-multiple .ant-select-selector {
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ant-select-arrow,
|
|
42
|
+
.ant-select-clear {
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ant-select-dropdown {
|
|
47
|
+
padding: 4px;
|
|
48
|
+
border-radius: var(--radius-md);
|
|
49
|
+
box-shadow: var(--shadow-md);
|
|
50
|
+
border: 1px solid var(--border-default);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ant-select-item {
|
|
54
|
+
border-radius: var(--radius-xs);
|
|
55
|
+
font-size: 13px;
|
|
56
|
+
min-height: 30px;
|
|
57
|
+
padding: 4px 10px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
61
|
+
background-color: var(--surface-selected);
|
|
62
|
+
color: var(--primary-color);
|
|
63
|
+
font-weight: 600;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Tree Select Indentation Lines */
|
|
67
|
+
.ant-select-tree-indent-unit {
|
|
68
|
+
position: relative;
|
|
69
|
+
|
|
70
|
+
&::before {
|
|
71
|
+
content: "";
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 0;
|
|
74
|
+
left: 50%;
|
|
75
|
+
width: 1px;
|
|
76
|
+
height: 100%;
|
|
77
|
+
border-left: 1px dashed var(--border-strong);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ant-select-tree-treenode {
|
|
82
|
+
position: relative;
|
|
83
|
+
border-radius: var(--radius-xs);
|
|
84
|
+
|
|
85
|
+
&::after {
|
|
86
|
+
content: "";
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: 14px;
|
|
89
|
+
left: calc(18px * var(--level, 1));
|
|
90
|
+
width: 12px;
|
|
91
|
+
border-top: 1px dashed var(--border-strong);
|
|
92
|
+
}
|
|
93
|
+
}
|
package/styles/single-class.scss
CHANGED
|
@@ -1,163 +1,163 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
ENTERPRISE ATOMIC UTILITY CLASSES (SINGLE-PURPOSE UTILITIES)
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
/* Text Alignment */
|
|
6
|
-
.center,
|
|
7
|
-
.text-center {
|
|
8
|
-
text-align: center !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.right,
|
|
12
|
-
.text-right {
|
|
13
|
-
text-align: right !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.left,
|
|
17
|
-
.text-left {
|
|
18
|
-
text-align: left !important;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/* Text Wrapping & Truncation */
|
|
22
|
-
.nowrap,
|
|
23
|
-
.text-nowrap {
|
|
24
|
-
white-space: nowrap !important;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.break-word {
|
|
28
|
-
word-break: break-word;
|
|
29
|
-
overflow-wrap: anywhere;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.text-truncate {
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Typography Weights & Sizes */
|
|
39
|
-
.font-medium {
|
|
40
|
-
font-weight: 500 !important;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.font-semibold,
|
|
44
|
-
.bold {
|
|
45
|
-
font-weight: 600 !important;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.font-bold {
|
|
49
|
-
font-weight: 700 !important;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.text-xs {
|
|
53
|
-
font-size: 11.5px !important;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.text-sm {
|
|
57
|
-
font-size: 12.5px !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.text-base {
|
|
61
|
-
font-size: 13.5px !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.text-lg {
|
|
65
|
-
font-size: 16px !important;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.text-muted {
|
|
69
|
-
color: var(--text-muted) !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.text-secondary {
|
|
73
|
-
color: var(--text-secondary) !important;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* Interactivity */
|
|
77
|
-
.cursor-pointer,
|
|
78
|
-
.pointer {
|
|
79
|
-
cursor: pointer !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* Icon Sizing */
|
|
83
|
-
.icon-size-14 {
|
|
84
|
-
font-size: 14px !important;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.icon-size-16 {
|
|
88
|
-
font-size: 16px !important;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.icon-size-18 {
|
|
92
|
-
font-size: 18px !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.icon-size-20 {
|
|
96
|
-
font-size: 20px !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* Highlight Search Match (Used by HighlightPipe) */
|
|
100
|
-
.highlight {
|
|
101
|
-
background-color: #fef08a;
|
|
102
|
-
color: #854d0e;
|
|
103
|
-
padding: 0 2px;
|
|
104
|
-
border-radius: 2px;
|
|
105
|
-
font-weight: 600;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* Sizing & Flex Utilities */
|
|
109
|
-
.full-width,
|
|
110
|
-
.w-100,
|
|
111
|
-
.w-full {
|
|
112
|
-
width: 100% !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.h-100,
|
|
116
|
-
.h-full {
|
|
117
|
-
height: 100% !important;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/* Lightweight Grid Helpers (Used in Monitor / Overview cards) */
|
|
121
|
-
.grid {
|
|
122
|
-
display: grid;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.grid-cols-2 {
|
|
126
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.grid-cols-3 {
|
|
130
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.grid-cols-4 {
|
|
134
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.gap-2 {
|
|
138
|
-
gap: 8px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.gap-3 {
|
|
142
|
-
gap: 12px;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.gap-4 {
|
|
146
|
-
gap: 16px;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.mt-1 {
|
|
150
|
-
margin-top: 4px;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.mt-2 {
|
|
154
|
-
margin-top: 8px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.mb-2 {
|
|
158
|
-
margin-bottom: 8px;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.mb-3 {
|
|
162
|
-
margin-bottom: 12px;
|
|
163
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
ENTERPRISE ATOMIC UTILITY CLASSES (SINGLE-PURPOSE UTILITIES)
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* Text Alignment */
|
|
6
|
+
.center,
|
|
7
|
+
.text-center {
|
|
8
|
+
text-align: center !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.right,
|
|
12
|
+
.text-right {
|
|
13
|
+
text-align: right !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.left,
|
|
17
|
+
.text-left {
|
|
18
|
+
text-align: left !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* Text Wrapping & Truncation */
|
|
22
|
+
.nowrap,
|
|
23
|
+
.text-nowrap {
|
|
24
|
+
white-space: nowrap !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.break-word {
|
|
28
|
+
word-break: break-word;
|
|
29
|
+
overflow-wrap: anywhere;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.text-truncate {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Typography Weights & Sizes */
|
|
39
|
+
.font-medium {
|
|
40
|
+
font-weight: 500 !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.font-semibold,
|
|
44
|
+
.bold {
|
|
45
|
+
font-weight: 600 !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.font-bold {
|
|
49
|
+
font-weight: 700 !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.text-xs {
|
|
53
|
+
font-size: 11.5px !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.text-sm {
|
|
57
|
+
font-size: 12.5px !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.text-base {
|
|
61
|
+
font-size: 13.5px !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.text-lg {
|
|
65
|
+
font-size: 16px !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.text-muted {
|
|
69
|
+
color: var(--text-muted) !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.text-secondary {
|
|
73
|
+
color: var(--text-secondary) !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Interactivity */
|
|
77
|
+
.cursor-pointer,
|
|
78
|
+
.pointer {
|
|
79
|
+
cursor: pointer !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Icon Sizing */
|
|
83
|
+
.icon-size-14 {
|
|
84
|
+
font-size: 14px !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.icon-size-16 {
|
|
88
|
+
font-size: 16px !important;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.icon-size-18 {
|
|
92
|
+
font-size: 18px !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.icon-size-20 {
|
|
96
|
+
font-size: 20px !important;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Highlight Search Match (Used by HighlightPipe) */
|
|
100
|
+
.highlight {
|
|
101
|
+
background-color: #fef08a;
|
|
102
|
+
color: #854d0e;
|
|
103
|
+
padding: 0 2px;
|
|
104
|
+
border-radius: 2px;
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Sizing & Flex Utilities */
|
|
109
|
+
.full-width,
|
|
110
|
+
.w-100,
|
|
111
|
+
.w-full {
|
|
112
|
+
width: 100% !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.h-100,
|
|
116
|
+
.h-full {
|
|
117
|
+
height: 100% !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Lightweight Grid Helpers (Used in Monitor / Overview cards) */
|
|
121
|
+
.grid {
|
|
122
|
+
display: grid;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.grid-cols-2 {
|
|
126
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.grid-cols-3 {
|
|
130
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.grid-cols-4 {
|
|
134
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.gap-2 {
|
|
138
|
+
gap: 8px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.gap-3 {
|
|
142
|
+
gap: 12px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.gap-4 {
|
|
146
|
+
gap: 16px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.mt-1 {
|
|
150
|
+
margin-top: 4px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.mt-2 {
|
|
154
|
+
margin-top: 8px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.mb-2 {
|
|
158
|
+
margin-bottom: 8px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.mb-3 {
|
|
162
|
+
margin-bottom: 12px;
|
|
163
|
+
}
|
package/styles/tab.scss
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
ENTERPRISE TABS OVERRIDES (NG-ZORRO TABS)
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
.ant-tabs-top > .ant-tabs-nav {
|
|
6
|
-
margin-bottom: 10px !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
|
|
10
|
-
padding: 5px 14px !important;
|
|
11
|
-
background: var(--surface-subtle);
|
|
12
|
-
border: 1px solid var(--border-default);
|
|
13
|
-
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
14
|
-
color: var(--text-secondary);
|
|
15
|
-
font-weight: 500;
|
|
16
|
-
transition: all 0.15s ease;
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
color: var(--primary-color);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active {
|
|
24
|
-
background: var(--primary-color) !important;
|
|
25
|
-
border-color: var(--primary-color) !important;
|
|
26
|
-
|
|
27
|
-
.ant-tabs-tab-btn {
|
|
28
|
-
color: var(--text-inverse) !important;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
text-shadow: none !important;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Custom Inline Header Tabs */
|
|
35
|
-
.tabs {
|
|
36
|
-
display: flex;
|
|
37
|
-
gap: 16px;
|
|
38
|
-
border-bottom: 1px solid var(--border-default);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.tab {
|
|
42
|
-
background: none;
|
|
43
|
-
border: none;
|
|
44
|
-
padding: 6px 4px;
|
|
45
|
-
font-size: 13px;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
color: var(--text-secondary);
|
|
48
|
-
position: relative;
|
|
49
|
-
font-weight: 500;
|
|
50
|
-
transition: color 0.15s ease;
|
|
51
|
-
|
|
52
|
-
&:hover {
|
|
53
|
-
color: var(--primary-color);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.active {
|
|
57
|
-
color: var(--primary-color);
|
|
58
|
-
font-weight: 600;
|
|
59
|
-
|
|
60
|
-
&::after {
|
|
61
|
-
content: '';
|
|
62
|
-
position: absolute;
|
|
63
|
-
left: 0;
|
|
64
|
-
bottom: -1px;
|
|
65
|
-
width: 100%;
|
|
66
|
-
height: 2px;
|
|
67
|
-
background-color: var(--primary-color);
|
|
68
|
-
border-radius: 2px;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
ENTERPRISE TABS OVERRIDES (NG-ZORRO TABS)
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
.ant-tabs-top > .ant-tabs-nav {
|
|
6
|
+
margin-bottom: 10px !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab {
|
|
10
|
+
padding: 5px 14px !important;
|
|
11
|
+
background: var(--surface-subtle);
|
|
12
|
+
border: 1px solid var(--border-default);
|
|
13
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
14
|
+
color: var(--text-secondary);
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
transition: all 0.15s ease;
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
color: var(--primary-color);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active {
|
|
24
|
+
background: var(--primary-color) !important;
|
|
25
|
+
border-color: var(--primary-color) !important;
|
|
26
|
+
|
|
27
|
+
.ant-tabs-tab-btn {
|
|
28
|
+
color: var(--text-inverse) !important;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
text-shadow: none !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Custom Inline Header Tabs */
|
|
35
|
+
.tabs {
|
|
36
|
+
display: flex;
|
|
37
|
+
gap: 16px;
|
|
38
|
+
border-bottom: 1px solid var(--border-default);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.tab {
|
|
42
|
+
background: none;
|
|
43
|
+
border: none;
|
|
44
|
+
padding: 6px 4px;
|
|
45
|
+
font-size: 13px;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
color: var(--text-secondary);
|
|
48
|
+
position: relative;
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
transition: color 0.15s ease;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
color: var(--primary-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.active {
|
|
57
|
+
color: var(--primary-color);
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
|
|
60
|
+
&::after {
|
|
61
|
+
content: '';
|
|
62
|
+
position: absolute;
|
|
63
|
+
left: 0;
|
|
64
|
+
bottom: -1px;
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 2px;
|
|
67
|
+
background-color: var(--primary-color);
|
|
68
|
+
border-radius: 2px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|