bpm-core 0.0.14 → 0.0.15

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.
@@ -0,0 +1,350 @@
1
+ .main-sidenav {
2
+ --sidenav-footer-bc: var(--white);
3
+ --sidenav-title-fs: 1.3rem;
4
+ --sidenav-title-height: 70px;
5
+ --sidenav-title-padding: 1.5rem;
6
+
7
+ line-height: 1.2;
8
+
9
+ @media (min-width: 768px) {
10
+ --sidenav-width: 550px;
11
+ }
12
+
13
+ @media (max-width: 768px) {
14
+ --sidenav-width: calc(100vw - 0rem) !important;
15
+ --sidenav-title-fs: 1rem;
16
+ z-index: 100;
17
+ position: relative;
18
+ }
19
+
20
+ &.main-sidenav-full {
21
+ --sidenav-footer-bc: var(--white);
22
+ --sidenav-width: 100% !important;
23
+ //min-width: calc(100vw - 2rem);
24
+ --sidenav-title-padding: 1rem;
25
+ --sidenav-title-position: sticky;
26
+ //max-height: calc(100vh - var(--main-toolbar-height));
27
+ //height: calc(100vh - var(--main-toolbar-height));
28
+
29
+ max-height: initial;
30
+ min-height: calc(100vh - var(--main-toolbar-height));
31
+ height: auto;
32
+
33
+ &.main-sidenav--has-steps {
34
+ @media (max-width: 576px) {
35
+ --sidenav-title-position: static;
36
+ }
37
+ @media (max-height: 576px) {
38
+ --sidenav-title-position: static;
39
+ .mat-stepper-horizontal {
40
+ --steps-sticky-position: calc(var(--sidenav-title-height));
41
+ }
42
+ }
43
+ }
44
+
45
+ .sidenav-action-container {
46
+ @media (min-width: 991px) {
47
+ //max-width: 1400px;
48
+ //margin: 0 auto;
49
+ padding: 0 calc(70px - 1rem);
50
+ width: 100%;
51
+ }
52
+ }
53
+
54
+ .sidenav-title {
55
+ //box-shadow: var(--box-shadow);
56
+ border-bottom: 1px solid var(--gray);
57
+ position: var(--sidenav-title-position);
58
+ top: var(--main-toolbar-height);
59
+ z-index: 6;
60
+ }
61
+
62
+ .sidenav-body {
63
+ overflow: visible;
64
+ }
65
+
66
+ .sidenav-footer {
67
+ box-shadow: var(--box-shadow);
68
+ position: sticky;
69
+ bottom: 0;
70
+ z-index: 4;
71
+ }
72
+
73
+ .mat-stepper-horizontal {
74
+ background-color: var(--body-bg);
75
+ --steps-bc: var(--white);
76
+ --steps-padding: 1rem;
77
+ --steps-justify: space-evenly;
78
+ --steps-container-bc: transparent;
79
+
80
+ @media (min-width: 991px) {
81
+ --steps-direction: column !important;
82
+ --steps-sticky-position: calc(1.5rem + var(--main-toolbar-height) + var(--sidenav-title-height));
83
+ --steps-width: 275px;
84
+ --steps-radius: 4px;
85
+ --steps-margin: 0;
86
+ --steps-container-padding: 0;
87
+ --steps-padding: 1.5rem;
88
+
89
+ --steps-label-fs: 0.875rem;
90
+ --steps-label-fc-active: var(--purple);
91
+ --steps-label-fc-done: var(--black);
92
+ --steps-label-fw: var(--font-regular);
93
+ --steps-label-fw-active: var(--font-regular);
94
+ --steps-label-fw-done: var(--font-medium);
95
+ --steps-icon-bc: var(--white);
96
+ --steps-icon-bc-active: var(--purple);
97
+ --steps-icon-bc-done: var(--green);
98
+ --steps-icon-fs: 0.85rem;
99
+ --steps-icon-fw: var(--font-medium);
100
+ --steps-icon-fc: var(--black);
101
+ --steps-icon-fc-active: var(--white);
102
+ --steps-icon-fc-done: var(--white);
103
+
104
+ --steps-icon-border-color: var(--gray);
105
+ --steps-icon-border-color-active: var(--purple);
106
+ --steps-icon-border-color-done: var(--green);
107
+
108
+ --steps-icon-size: 28px;
109
+ --steps-icon-radius: 50%;
110
+ --steps-icon-gap: 0.75rem;
111
+ --steps-line-content: none;
112
+ --steps-line: 1px dashed var(--dark-gray);
113
+ --steps-line-active: 1px solid var(--green);
114
+ --steps-line-done: 0;
115
+ --steps-line-width: 80px;
116
+ --steps-line-top: 0;
117
+ --steps-line-margin: 0;
118
+
119
+ .mat-horizontal-stepper-wrapper {
120
+ flex-direction: row;
121
+ align-items: flex-start;
122
+ gap: 1rem;
123
+
124
+ max-width: 1200px;
125
+ margin: 0 auto;
126
+ padding: 0 70px;
127
+ width: 100%;
128
+
129
+ .mat-horizontal-stepper-header-container {
130
+ align-items: flex-start;
131
+ background-color: var(--white);
132
+ box-shadow: 0 7px 10px rgba(var(--rgb-black), 0.03);
133
+ margin-top: 1.5rem;
134
+ &:after {
135
+ content: none;
136
+ //bottom: auto;
137
+ //top: 0;
138
+ }
139
+ }
140
+
141
+ .mat-horizontal-content-container {
142
+ max-width: calc(100% - var(--steps-width));
143
+ width: 100%;
144
+ margin: 0 auto;
145
+ .default-box {
146
+ box-shadow: 0 7px 10px rgba(var(--rgb-black), 0.03);
147
+ border: 0;
148
+ border-radius: var(--steps-radius);
149
+ }
150
+ }
151
+ }
152
+
153
+ .mat-stepper-horizontal-line {
154
+ display: block !important;
155
+ flex: auto;
156
+ margin: 0 1rem;
157
+ min-width: 2px;
158
+ align-self: flex-start;
159
+ height: 30px;
160
+ border: 0;
161
+ background: var(--gray);
162
+ }
163
+ }
164
+
165
+ @media (max-width: 991px) {
166
+ --steps-icon-size: 24px;
167
+ --steps-icon-fs: 0.8125rem;
168
+ --steps-icon-gap: 0.5rem;
169
+ --steps-sticky-position: calc(var(--main-toolbar-height) + var(--sidenav-title-height));
170
+
171
+ .mat-horizontal-stepper-header-container {
172
+ overflow: auto;
173
+ --steps-justify: space-between;
174
+ }
175
+
176
+ .mat-step-header {
177
+ overflow: visible;
178
+ }
179
+
180
+ .mat-step-label {
181
+ min-width: auto;
182
+ overflow: visible;
183
+ }
184
+ }
185
+
186
+ .mat-horizontal-content-container {
187
+ // @extend .hub-container-mini;
188
+
189
+ @media (max-width: 991px) {
190
+ max-width: 1000px;
191
+ margin: 0 auto;
192
+ padding: 0 70px;
193
+ width: 100%;
194
+ }
195
+
196
+ @media (max-width: 991px) {
197
+ padding: 0 16px;
198
+ }
199
+ }
200
+
201
+ .mat-step-label {
202
+ &.mat-step-label-active {
203
+ color: var(--steps-label-fc-done);
204
+ }
205
+ &.mat-step-label-selected {
206
+ color: var(--steps-label-fc-active);
207
+ }
208
+ }
209
+
210
+ .mat-horizontal-stepper-header-container {
211
+ box-shadow: 0 7px 10px rgb(0 0 0 / 3%);
212
+ z-index: 4;
213
+ }
214
+
215
+ .mat-step-icon-content {
216
+ line-height: 1;
217
+ }
218
+ }
219
+ }
220
+
221
+ --sidenav-title-bc: var(--white);
222
+
223
+ .sidenav-body {
224
+ border-top: 1px solid var(--light-gray);
225
+ }
226
+
227
+ .sidenav-footer {
228
+ background-color: var(--sidenav-footer-bc);
229
+ //padding: 1.5rem;
230
+ @media (max-width: 576px) {
231
+ padding: 1rem;
232
+ }
233
+ @media (max-height: 576px) {
234
+ padding: 1rem;
235
+ ds-button::part(base) {
236
+ --default-size: var(--default-size-sm);
237
+ }
238
+ }
239
+ }
240
+
241
+ .mat-stepper-horizontal {
242
+ --steps-progress-width: 0;
243
+
244
+ .mat-horizontal-stepper-header-container {
245
+ &:after {
246
+ content: '';
247
+ height: 2px;
248
+ width: var(--steps-progress-width);
249
+ position: absolute;
250
+ bottom: 0;
251
+ background-color: var(--purple);
252
+ inset-inline-start: 0;
253
+ }
254
+ }
255
+ }
256
+
257
+ .info-section {
258
+ --name-width: 200px;
259
+ }
260
+
261
+ .mat-mdc-tab-group,
262
+ .mat-mdc-tab-nav-bar {
263
+ --tab-fs: 1rem;
264
+ --tab-fs-active: 1rem;
265
+ --tab-label-padding: 1.3rem 1rem;
266
+
267
+ padding: 0 1rem;
268
+ background-color: var(--white);
269
+ border-bottom: 1px solid var(--light-gray);
270
+ }
271
+
272
+ .default-box {
273
+ padding: 1.5rem;
274
+ margin: 1.5rem 0;
275
+ box-shadow: var(--box-shadow);
276
+ }
277
+
278
+ .primary-accordion {
279
+ --accordion-border-active: 1px solid transparent;
280
+ //--accordion-shadow: var(--box-shadow);
281
+ --accordion-shadow-active: var(--box-shadow);
282
+ --panel-body-padding: 0 1rem 1rem;
283
+ }
284
+ }
285
+
286
+ .close-sidenav {
287
+ &::part(base) {
288
+ --btn-bg-color: var(--white);
289
+ --btn-border-color: var(--white);
290
+ }
291
+ }
292
+ /*
293
+ .main-sidenav {
294
+ @media (min-width: 768px) {
295
+ --sidenav-width: 550px;
296
+ }
297
+
298
+ @media (max-width: 768px) {
299
+ --sidenav-width: calc(100vw - 0rem) !important;
300
+ }
301
+
302
+ &.main-sidenav-full {
303
+ --sidenav-width: 100% !important;
304
+ min-width: calc(100vw - 2rem);
305
+
306
+ .mat-stepper-horizontal {
307
+ background-color: var(--light-gray);
308
+ --steps-direction: column !important;
309
+ //--steps-line-content: "" !important;
310
+ --steps-width: 350px;
311
+ --steps-radius: 4px;
312
+ --steps-margin: 0;
313
+
314
+ .mat-horizontal-stepper-wrapper {
315
+ flex-direction: row;
316
+ align-items: flex-start;
317
+ gap: 1rem;
318
+
319
+ .mat-horizontal-stepper-header-container {
320
+ align-items: flex-start;
321
+ background-color: var(--white);
322
+ box-shadow: none !important;
323
+ }
324
+
325
+ .mat-horizontal-content-container {
326
+ //align-items: flex-start;
327
+ border-radius: 4px;
328
+ background-color: var(--white);
329
+
330
+ mat-form-field.mat-mdc-form-field.mat-mdc-form-field-type-mat-select.white-input {
331
+ --input-bg: var(--off-white);
332
+ --input-border: var(--off-white);
333
+ }
334
+ }
335
+ }
336
+
337
+ .mat-stepper-horizontal-line {
338
+ display: block !important;
339
+ flex: auto;
340
+ margin: 0 1rem;
341
+ min-width: 2px;
342
+ align-self: flex-start;
343
+ height: 50px;
344
+ border: 0;
345
+ background: var(--gray);
346
+ }
347
+ }
348
+ }
349
+ }
350
+ */
@@ -0,0 +1,93 @@
1
+ mat-tab-group.vertical {
2
+ flex-direction: row;
3
+ @media (max-width: 999px) {
4
+ flex-direction: column;
5
+ }
6
+ min-height: calc(100vh - 80px);
7
+ --tab-width: 233px;
8
+ --tab-bg: var(--white);
9
+ --tabs-gap: 12px;
10
+ --tab-fs: 12px;
11
+ --tab-fc-active: var(--black);
12
+ --tab-fs-active: 12px;
13
+ --tab-label-padding: 10px;
14
+ --mdc-tab-indicator-active-indicator-color: transparent;
15
+ --tab-bt: 0px;
16
+
17
+ .mdc-tab-indicator__content--underline {
18
+ display: none;
19
+ }
20
+ .mat-mdc-tab-header {
21
+ border-right: 1px solid var(--gray);
22
+ .mdc-tab {
23
+ margin: 0px 12px;
24
+ justify-content: start;
25
+ &:first-child.mat-mdc-tab-disabled {
26
+ margin: 0px 0 10px;
27
+ border-bottom: 1px solid var(--gray);
28
+ @media (max-width: 999px) {
29
+ border-bottom: 0px;
30
+ margin: 0;
31
+ }
32
+ padding: 10px 12px;
33
+ cursor: auto;
34
+ opacity: 1;
35
+ }
36
+ &.mdc-tab--active {
37
+ border-radius: 6px;
38
+ background-color: var(--light-gray) !important;
39
+ }
40
+ }
41
+ .mat-mdc-tab-labels {
42
+ flex-direction: column;
43
+ @media (max-width: 999px) {
44
+ flex-direction: row;
45
+ }
46
+ }
47
+ }
48
+ .mat-mdc-tab-body-wrapper {
49
+ width: 100%;
50
+ padding: 23px 32px;
51
+ }
52
+ }
53
+ .mat-form-content {
54
+ width: 100%;
55
+ }
56
+
57
+ app-title {
58
+ mat-form-field {
59
+ --input-height: 35px;
60
+ --input-fs: 12px;
61
+ }
62
+
63
+ .mat-mdc-select-trigger {
64
+ gap: 15px;
65
+ }
66
+ .search {
67
+ // width: 287px;
68
+ @media (max-width: 999px) {
69
+ width: auto;
70
+ }
71
+ }
72
+ }
73
+
74
+ .search {
75
+ mat-form-field {
76
+ --input-width: 35px;
77
+ transition: var(--default-transition);
78
+ width: 35px !important;
79
+ .mat-form-field-flex {
80
+ border-radius: 3px;
81
+ }
82
+ }
83
+ &.active {
84
+ mat-form-field {
85
+ --input-width: auto;
86
+ width: auto !important;
87
+ }
88
+ }
89
+ mat-form-field.mat-mdc-form-field .mat-mdc-form-field-flex {
90
+
91
+ gap: 5px;
92
+ }
93
+ }
@@ -0,0 +1,39 @@
1
+ .stepper {
2
+ .mat-horizontal-stepper-header-container {
3
+ @media (max-width: 576px) {
4
+ display: none !important;
5
+ }
6
+ }
7
+ }
8
+ .stepper-indicator-container {
9
+ --stepper-indicator-bc: var(--light-gray);
10
+ --stepper-indicator-bc-active: var(--purple);
11
+ position: sticky;
12
+ top: var(--main-toolbar-height);
13
+ z-index: 4;
14
+ background-color: var(--white);
15
+ display: none;
16
+ flex-direction: column;
17
+ gap: var(--steper-indicator-gap, 0.5rem);
18
+ padding: 1rem;
19
+ border-bottom: 1px solid var(--light-gray);
20
+ &:not(.hiddenStepper) {
21
+ @media (max-width: 576px) {
22
+ display: flex;
23
+ }
24
+ }
25
+
26
+ .stepper-indicator-items {
27
+ display: flex;
28
+ gap: var(--steper-indicator-gap, 0.5rem);
29
+ .stepper-indicator-item {
30
+ width: 100%;
31
+ height: var(--stepper-indicator-height, 5px);
32
+ border-radius: var(--stepper-indicator-radius, 2px);
33
+ background-color: var(--stepper-indicator-bc);
34
+ &.active {
35
+ --stepper-indicator-bc: var(--stepper-indicator-bc-active);
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,115 @@
1
+ @import "https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css";
2
+
3
+
4
+
5
+ .swiper-arrow-pagination {
6
+ .swiper-arrow {
7
+ position: absolute;
8
+ top: 50%;
9
+ --swiper-arrow-bg: var(--white);
10
+ --swiper-arrow-fc: var(--coral);
11
+ --swiper-arrow-fc-disabled: var(--dark-gray);
12
+ --swiper-arrow-size: var(--default-size-sm);
13
+ --swiper-arrow-position: calc((var(--swiper-arrow-size) + 0.5rem) * -1);
14
+ --swiper-arrow-shadow: 0 10px 7px rgba(var(--rgb-black), 3%);
15
+ min-width: var(--swiper-arrow-size);
16
+ width: var(--swiper-arrow-size);
17
+ height: var(--swiper-arrow-size);
18
+ border-radius: 50%;
19
+ border: none;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ z-index: 1;
24
+ background: var(--swiper-arrow-bg);
25
+ color: var(--swiper-arrow-fc);
26
+ margin-top: calc(0px - (var(--swiper-arrow-size) / 2));
27
+ box-shadow: var(--swiper-arrow-shadow);
28
+
29
+ @media (max-width: 576px) {
30
+ display: none;
31
+ }
32
+
33
+ [dir='rtl'] & {
34
+ transform: rotateY(180deg);
35
+ }
36
+
37
+ &.next {
38
+ right: var(--swiper-arrow-position);
39
+ left: auto;
40
+
41
+ [dir='rtl'] & {
42
+ left: var(--swiper-arrow-position);
43
+ right: auto;
44
+ }
45
+ }
46
+
47
+ &.prev {
48
+ left: var(--swiper-arrow-position);
49
+ right: auto;
50
+
51
+ [dir='rtl'] & {
52
+ right: var(--swiper-arrow-position);
53
+ left: auto;
54
+ }
55
+ }
56
+
57
+ &:disabled {
58
+ cursor: not-allowed;
59
+ opacity: 0.9;
60
+ --swiper-arrow-fc: var(--swiper-arrow-fc-disabled);
61
+ --swiper-arrow-shadow: none;
62
+ }
63
+ }
64
+ }
65
+
66
+ .swiper-button-prev,
67
+ .swiper-button-next {
68
+ --swiper-navigation-color: var(--coral);
69
+ background: white;
70
+ --swiper-navigation-size: 35px;
71
+ min-width: var(--swiper-navigation-size);
72
+ border-radius: 50%;
73
+ //margin: 0 -35px;
74
+ box-shadow: 0 10px 7px rgba(var(--rgb-black), 3%);
75
+
76
+ &:after {
77
+ font-size: 20px;
78
+ }
79
+ }
80
+
81
+ .swiper-horizontal {
82
+ --swiper-pagination-bullet-width: 14px;
83
+ --swiper-pagination-bullet-height: 3px;
84
+ --swiper-pagination-bullet-inactive-color: #ece0ee;
85
+ --swiper-pagination-color: var(--purple);
86
+ --swiper-pagination-bullet-inactive-opacity: 1;
87
+
88
+ .swiper-pagination-bullets {
89
+ bottom: 5px;
90
+ }
91
+
92
+ .swiper-pagination-bullet {
93
+ border-radius: 0;
94
+ cursor: pointer;
95
+ }
96
+ }
97
+
98
+ .noSwiper {
99
+ .swiper-arrow-pagination {
100
+ display: none;
101
+ @media (max-width: 1440px) {
102
+ display: block;
103
+ }
104
+ }
105
+ }
106
+
107
+ .swiper-slide {
108
+ @media (max-width: 991px) {
109
+ max-width: 80%;
110
+ width: 80% !important;
111
+ &:last-child {
112
+ max-width: 100%;
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,9 @@
1
+ .toast-container {
2
+ position: fixed;
3
+ z-index: 1111000;
4
+ .ngx-toastr {
5
+ --toast-postion-top: 0;
6
+ padding:20px 25px !important;
7
+ min-height: 88px;
8
+ }
9
+ }