@mediusinc/mng-commons-layout 5.0.0-rc.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 +13 -0
- package/assets/fonts/poppins-v20-latin-500.woff +0 -0
- package/assets/fonts/poppins-v20-latin-500.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-600.woff +0 -0
- package/assets/fonts/poppins-v20-latin-600.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-700.woff +0 -0
- package/assets/fonts/poppins-v20-latin-700.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-regular.woff +0 -0
- package/assets/fonts/poppins-v20-latin-regular.woff2 +0 -0
- package/assets/images/effect-ondark.png +0 -0
- package/assets/images/effect-ondark.svg +38 -0
- package/assets/images/effect-ondark@2x.png +0 -0
- package/assets/images/effect-onlight.png +0 -0
- package/assets/images/effect-onlight.svg +38 -0
- package/assets/images/effect-onlight@2x.png +0 -0
- package/assets/images/pages/exception-ondark.png +0 -0
- package/assets/images/pages/exception-onlight.png +0 -0
- package/assets/images/pages/login-ondark.png +0 -0
- package/assets/images/pages/login-onlight.png +0 -0
- package/esm2022/index.mjs +23 -0
- package/esm2022/lib/components/breadcrumb.component.mjs +30 -0
- package/esm2022/lib/components/footer.component.mjs +28 -0
- package/esm2022/lib/components/main-layout.component.mjs +99 -0
- package/esm2022/lib/components/menu-item.component.mjs +275 -0
- package/esm2022/lib/components/menu.component.mjs +40 -0
- package/esm2022/lib/components/sidebar.component.mjs +61 -0
- package/esm2022/lib/components/topbar-user.component.mjs +39 -0
- package/esm2022/lib/components/topbar.component.mjs +57 -0
- package/esm2022/lib/components/version.component.mjs +63 -0
- package/esm2022/lib/helpers/route-builder.mjs +11 -0
- package/esm2022/lib/models/layout-state.model.mjs +2 -0
- package/esm2022/lib/models/menu.model.mjs +2 -0
- package/esm2022/lib/provide.mjs +23 -0
- package/esm2022/lib/services/layout-feature-config.token.mjs +3 -0
- package/esm2022/lib/services/main-layout.component.service.mjs +71 -0
- package/esm2022/lib/services/menu.service.mjs +120 -0
- package/esm2022/lib/services/version.service.mjs +45 -0
- package/esm2022/mediusinc-mng-commons-layout.mjs +5 -0
- package/fesm2022/mediusinc-mng-commons-layout.mjs +878 -0
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -0
- package/index.d.ts +17 -0
- package/lib/components/breadcrumb.component.d.ts +10 -0
- package/lib/components/footer.component.d.ts +12 -0
- package/lib/components/main-layout.component.d.ts +27 -0
- package/lib/components/menu-item.component.d.ts +40 -0
- package/lib/components/menu.component.d.ts +14 -0
- package/lib/components/sidebar.component.d.ts +19 -0
- package/lib/components/topbar-user.component.d.ts +15 -0
- package/lib/components/topbar.component.d.ts +22 -0
- package/lib/components/version.component.d.ts +18 -0
- package/lib/helpers/route-builder.d.ts +6 -0
- package/lib/models/layout-state.model.d.ts +10 -0
- package/lib/models/menu.model.d.ts +4 -0
- package/lib/provide.d.ts +8 -0
- package/lib/services/layout-feature-config.token.d.ts +18 -0
- package/lib/services/main-layout.component.service.d.ts +17 -0
- package/lib/services/menu.service.d.ts +22 -0
- package/lib/services/version.service.d.ts +14 -0
- package/package.json +35 -0
- package/scss/commons-dark.scss +9 -0
- package/scss/commons-light.scss +9 -0
- package/scss/layout/_animation.scss +53 -0
- package/scss/layout/_breadcrumb.scss +97 -0
- package/scss/layout/_config.scss +42 -0
- package/scss/layout/_content.scss +3 -0
- package/scss/layout/_fonts.scss +40 -0
- package/scss/layout/_layout_dark.scss +12 -0
- package/scss/layout/_layout_light.scss +12 -0
- package/scss/layout/_main.scss +54 -0
- package/scss/layout/_profile.scss +10 -0
- package/scss/layout/_responsive.scss +131 -0
- package/scss/layout/_sidebar_drawer.scss +285 -0
- package/scss/layout/_sidebar_horizontal.scss +168 -0
- package/scss/layout/_sidebar_reveal.scss +203 -0
- package/scss/layout/_sidebar_slim.scss +157 -0
- package/scss/layout/_sidebar_slim_plus.scss +166 -0
- package/scss/layout/_sidebar_vertical.scss +178 -0
- package/scss/layout/_topbar.scss +174 -0
- package/scss/layout/_typography.scss +67 -0
- package/scss/layout/_utils.scss +33 -0
- package/scss/layout/layout.scss +24 -0
- package/scss/layout/mng/_mng_layout_footer.scss +39 -0
- package/scss/layout/mng/_mng_layout_menu.scss +10 -0
- package/scss/layout/mng/_mng_layout_styles.scss +3 -0
- package/scss/layout/mng/_mng_layout_topbar.scss +18 -0
- package/scss/layout/preloading.scss +84 -0
- package/scss/theme/extensions/_fullcalendar.scss +328 -0
- package/scss/theme/theme-base/_colors.scss +17 -0
- package/scss/theme/theme-base/_common.scss +76 -0
- package/scss/theme/theme-base/_components.scss +110 -0
- package/scss/theme/theme-base/_mixins.scss +337 -0
- package/scss/theme/theme-base/components/button/_button.scss +576 -0
- package/scss/theme/theme-base/components/button/_speeddial.scss +96 -0
- package/scss/theme/theme-base/components/button/_splitbutton.scss +348 -0
- package/scss/theme/theme-base/components/data/_carousel.scss +37 -0
- package/scss/theme/theme-base/components/data/_datatable.scss +338 -0
- package/scss/theme/theme-base/components/data/_dataview.scss +46 -0
- package/scss/theme/theme-base/components/data/_filter.scss +137 -0
- package/scss/theme/theme-base/components/data/_orderlist.scss +114 -0
- package/scss/theme/theme-base/components/data/_organizationchart.scss +50 -0
- package/scss/theme/theme-base/components/data/_paginator.scss +92 -0
- package/scss/theme/theme-base/components/data/_picklist.scss +114 -0
- package/scss/theme/theme-base/components/data/_timeline.scss +35 -0
- package/scss/theme/theme-base/components/data/_tree.scss +150 -0
- package/scss/theme/theme-base/components/data/_treetable.scss +255 -0
- package/scss/theme/theme-base/components/data/_virtualscroller.scss +28 -0
- package/scss/theme/theme-base/components/file/_fileupload.scss +64 -0
- package/scss/theme/theme-base/components/input/_autocomplete.scss +136 -0
- package/scss/theme/theme-base/components/input/_calendar.scss +267 -0
- package/scss/theme/theme-base/components/input/_cascadeselect.scss +135 -0
- package/scss/theme/theme-base/components/input/_checkbox.scss +94 -0
- package/scss/theme/theme-base/components/input/_chips.scss +65 -0
- package/scss/theme/theme-base/components/input/_colorpicker.scss +19 -0
- package/scss/theme/theme-base/components/input/_dropdown.scss +151 -0
- package/scss/theme/theme-base/components/input/_editor.scss +122 -0
- package/scss/theme/theme-base/components/input/_inputgroup.scss +74 -0
- package/scss/theme/theme-base/components/input/_inputmask.scss +16 -0
- package/scss/theme/theme-base/components/input/_inputnumber.scss +28 -0
- package/scss/theme/theme-base/components/input/_inputswitch.scss +60 -0
- package/scss/theme/theme-base/components/input/_inputtext.scss +100 -0
- package/scss/theme/theme-base/components/input/_listbox.scss +97 -0
- package/scss/theme/theme-base/components/input/_multiselect.scss +177 -0
- package/scss/theme/theme-base/components/input/_password.scss +52 -0
- package/scss/theme/theme-base/components/input/_radiobutton.scss +78 -0
- package/scss/theme/theme-base/components/input/_rating.scss +60 -0
- package/scss/theme/theme-base/components/input/_selectbutton.scss +50 -0
- package/scss/theme/theme-base/components/input/_slider.scss +75 -0
- package/scss/theme/theme-base/components/input/_togglebutton.scss +48 -0
- package/scss/theme/theme-base/components/input/_treeselect.scss +139 -0
- package/scss/theme/theme-base/components/menu/_breadcrumb.scss +42 -0
- package/scss/theme/theme-base/components/menu/_contextmenu.scss +39 -0
- package/scss/theme/theme-base/components/menu/_dock.scss +95 -0
- package/scss/theme/theme-base/components/menu/_megamenu.scss +55 -0
- package/scss/theme/theme-base/components/menu/_menu.scss +37 -0
- package/scss/theme/theme-base/components/menu/_menubar.scss +140 -0
- package/scss/theme/theme-base/components/menu/_panelmenu.scss +153 -0
- package/scss/theme/theme-base/components/menu/_slidemenu.scss +59 -0
- package/scss/theme/theme-base/components/menu/_steps.scss +56 -0
- package/scss/theme/theme-base/components/menu/_tabmenu.scss +73 -0
- package/scss/theme/theme-base/components/menu/_tieredmenu.scss +43 -0
- package/scss/theme/theme-base/components/messages/_inlinemessage.scss +69 -0
- package/scss/theme/theme-base/components/messages/_message.scss +107 -0
- package/scss/theme/theme-base/components/messages/_toast.scss +99 -0
- package/scss/theme/theme-base/components/misc/_avatar.scss +30 -0
- package/scss/theme/theme-base/components/misc/_badge.scss +48 -0
- package/scss/theme/theme-base/components/misc/_blockui.scss +0 -0
- package/scss/theme/theme-base/components/misc/_chip.scss +42 -0
- package/scss/theme/theme-base/components/misc/_inplace.scss +16 -0
- package/scss/theme/theme-base/components/misc/_progressbar.scss +17 -0
- package/scss/theme/theme-base/components/misc/_scrolltop.scss +25 -0
- package/scss/theme/theme-base/components/misc/_skeleton.scss +8 -0
- package/scss/theme/theme-base/components/misc/_tag.scss +40 -0
- package/scss/theme/theme-base/components/misc/_terminal.scss +12 -0
- package/scss/theme/theme-base/components/multimedia/_galleria.scss +155 -0
- package/scss/theme/theme-base/components/multimedia/_image.scss +49 -0
- package/scss/theme/theme-base/components/overlay/_confirmpopup.scss +70 -0
- package/scss/theme/theme-base/components/overlay/_dialog.scss +69 -0
- package/scss/theme/theme-base/components/overlay/_overlaypanel.scss +62 -0
- package/scss/theme/theme-base/components/overlay/_sidebar.scss +27 -0
- package/scss/theme/theme-base/components/overlay/_tooltip.scss +33 -0
- package/scss/theme/theme-base/components/panel/_accordion.scss +119 -0
- package/scss/theme/theme-base/components/panel/_card.scss +30 -0
- package/scss/theme/theme-base/components/panel/_divider.scss +31 -0
- package/scss/theme/theme-base/components/panel/_fieldset.scss +47 -0
- package/scss/theme/theme-base/components/panel/_panel.scss +63 -0
- package/scss/theme/theme-base/components/panel/_scrollpanel.scss +6 -0
- package/scss/theme/theme-base/components/panel/_splitter.scss +19 -0
- package/scss/theme/theme-base/components/panel/_tabview.scss +82 -0
- package/scss/theme/theme-base/components/panel/_toolbar.scss +11 -0
- package/scss/theme/theme-base/mng/_mng_mixins.scss +69 -0
- package/scss/theme/theme-base/mng/_mng_theme_autocomplete.scss +34 -0
- package/scss/theme/theme-base/mng/_mng_theme_button.scss +68 -0
- package/scss/theme/theme-base/mng/_mng_theme_datatable.scss +153 -0
- package/scss/theme/theme-base/mng/_mng_theme_datepicker.scss +21 -0
- package/scss/theme/theme-base/mng/_mng_theme_dialog.scss +206 -0
- package/scss/theme/theme-base/mng/_mng_theme_dropdown.scss +32 -0
- package/scss/theme/theme-base/mng/_mng_theme_fileupload.scss +24 -0
- package/scss/theme/theme-base/mng/_mng_theme_forms.scss +66 -0
- package/scss/theme/theme-base/mng/_mng_theme_image.scss +27 -0
- package/scss/theme/theme-base/mng/_mng_theme_input.scss +31 -0
- package/scss/theme/theme-base/mng/_mng_theme_menu.scss +5 -0
- package/scss/theme/theme-base/mng/_mng_theme_multiselect.scss +20 -0
- package/scss/theme/theme-base/mng/_mng_theme_styles.scss +17 -0
- package/scss/theme/theme-base/mng/_mng_theme_tableview.scss +97 -0
- package/scss/theme/theme-base/mng/_mng_theme_tabview.scss +14 -0
- package/scss/theme/theme-base/mng/_mng_theme_toast.scss +3 -0
- package/scss/theme/theme-base/mng/_mng_theme_toolbar.scss +5 -0
- package/scss/theme/theme-base/mng/_mng_variables.scss +15 -0
- package/scss/theme/theme-dark/_extensions.scss +109 -0
- package/scss/theme/theme-dark/_variables.scss +940 -0
- package/scss/theme/theme-dark/blue/theme.scss +14 -0
- package/scss/theme/theme-light/_extensions.scss +109 -0
- package/scss/theme/theme-light/_variables.scss +936 -0
- package/scss/theme/theme-light/blue/theme.scss +14 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
@import 'mng_variables';
|
|
2
|
+
|
|
3
|
+
.p-dialog {
|
|
4
|
+
.p-dialog-header {
|
|
5
|
+
border-top-right-radius: $dialogBorderRadius;
|
|
6
|
+
border-top-left-radius: $dialogBorderRadius;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.p-dialog-footer {
|
|
10
|
+
border-bottom-right-radius: $dialogBorderRadius;
|
|
11
|
+
border-bottom-left-radius: $dialogBorderRadius;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mng-dialog {
|
|
15
|
+
height: 90vh;
|
|
16
|
+
width: 60vw;
|
|
17
|
+
|
|
18
|
+
@include mediaMaxLg() {
|
|
19
|
+
width: 80vw;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include mediaMaxMd() {
|
|
23
|
+
width: 90vw;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.mng-dialog-xl {
|
|
27
|
+
height: 100vh;
|
|
28
|
+
width: 100vw;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.mng-dialog-lg {
|
|
32
|
+
height: 95vh;
|
|
33
|
+
width: 80vw;
|
|
34
|
+
|
|
35
|
+
@include mediaMaxLg() {
|
|
36
|
+
width: 85vw;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include mediaMaxMd() {
|
|
40
|
+
width: 90vw;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.mng-dialog-sm {
|
|
45
|
+
width: 50vw;
|
|
46
|
+
height: 70vh;
|
|
47
|
+
|
|
48
|
+
@include mediaMaxLg() {
|
|
49
|
+
width: 70vw;
|
|
50
|
+
height: 80vh;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@include mediaMaxMd() {
|
|
54
|
+
width: 80vw;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@include mediaMaxXs() {
|
|
58
|
+
width: 90vw;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.mng-dialog-xs {
|
|
63
|
+
width: 30vw;
|
|
64
|
+
height: initial;
|
|
65
|
+
|
|
66
|
+
@media (max-width: 1500px) {
|
|
67
|
+
width: 45vw;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@include mediaMaxLg() {
|
|
71
|
+
width: 60vw;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@include mediaMaxMd() {
|
|
75
|
+
width: 70vw;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@include mediaMaxXs() {
|
|
79
|
+
width: 90vw;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.mng-formly-field-lookup-dialog {
|
|
84
|
+
width: 95vw;
|
|
85
|
+
height: initial;
|
|
86
|
+
max-height: 90vh;
|
|
87
|
+
|
|
88
|
+
@include mediaMinSm() {
|
|
89
|
+
width: 90vw;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@include mediaMinMd() {
|
|
93
|
+
width: 80vw;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@include mediaMinLg() {
|
|
97
|
+
width: 70vw;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.mng-action-editor-dialog,
|
|
103
|
+
&.mng-formly-field-table-multiselect-dialog {
|
|
104
|
+
.p-dialog-content {
|
|
105
|
+
border-bottom-left-radius: $dialogBorderRadius;
|
|
106
|
+
border-bottom-right-radius: $dialogBorderRadius;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.mng-formly-field-table-multiselect-dialog {
|
|
111
|
+
.p-dialog-content {
|
|
112
|
+
padding: 0;
|
|
113
|
+
overflow-y: hidden;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.formly-field-table-multiselect-dialog-form-container {
|
|
117
|
+
padding: $mngDialogContentPadding;
|
|
118
|
+
overflow: auto;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.mng-formly-field-table-multiselect-dialog-footer {
|
|
122
|
+
padding: $mngDialogFooterPadding;
|
|
123
|
+
|
|
124
|
+
button {
|
|
125
|
+
width: initial;
|
|
126
|
+
margin: 0.15rem 0.15rem;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.mng-formly-field-lookup-dialog {
|
|
132
|
+
.p-dialog-content {
|
|
133
|
+
padding-bottom: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.mng-formly-field-table-multiselect-dialog-table {
|
|
137
|
+
padding: $mngDialogContentPadding;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.p-dialog-footer {
|
|
141
|
+
padding: $mngDialogFooterPadding;
|
|
142
|
+
|
|
143
|
+
button {
|
|
144
|
+
margin: 0.15rem 0.15rem;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.mng-action-editor-dialog {
|
|
150
|
+
.p-dialog-content {
|
|
151
|
+
padding: 0;
|
|
152
|
+
overflow-y: hidden;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.mng-action-editor-form-container {
|
|
156
|
+
padding: $mngDialogContentPadding;
|
|
157
|
+
overflow-y: auto;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.mng-action-editor-footer-container {
|
|
161
|
+
padding: $mngDialogFooterPadding;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.mng-message-detail-dialog {
|
|
167
|
+
overflow: hidden;
|
|
168
|
+
|
|
169
|
+
.p-dialog-header,
|
|
170
|
+
.p-dialog-content {
|
|
171
|
+
border-left: 12px solid transparent;
|
|
172
|
+
border-radius: 0 !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&-info {
|
|
176
|
+
.p-dialog-header,
|
|
177
|
+
.p-dialog-content {
|
|
178
|
+
border-left-color: $infoButtonBg;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
&-success {
|
|
182
|
+
.p-dialog-header,
|
|
183
|
+
.p-dialog-content {
|
|
184
|
+
border-left-color: $successButtonBg;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
&-warning {
|
|
188
|
+
.p-dialog-header,
|
|
189
|
+
.p-dialog-content {
|
|
190
|
+
border-left-color: $warningButtonBg;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
&-error {
|
|
194
|
+
.p-dialog-header,
|
|
195
|
+
.p-dialog-content {
|
|
196
|
+
border-left-color: $errorColor;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.p-confirm-dialog {
|
|
202
|
+
.p-confirm-dialog-accept i,
|
|
203
|
+
.p-confirm-dialog-reject i {
|
|
204
|
+
margin-right: 0.5rem;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.mng-filter-lookup-dropdown {
|
|
2
|
+
.p-dropdown-items-wrapper {
|
|
3
|
+
max-width: 350px;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.mng-dropdown-dialog {
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
.mng-dropdown-clear-icon {
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: 50%;
|
|
13
|
+
margin-top: -0.5rem;
|
|
14
|
+
color: $textSecondaryColor;
|
|
15
|
+
right: calc(65px + 0.5rem);
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-button.mng-dropdown-dialog-search-button {
|
|
20
|
+
width: 65px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.p-dropdown-panel {
|
|
25
|
+
.p-dropdown-item {
|
|
26
|
+
&.p-highlight {
|
|
27
|
+
&.p-focus {
|
|
28
|
+
background: $primaryColor;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.p-fileupload {
|
|
2
|
+
.p-fileupload-buttonbar {
|
|
3
|
+
span.p-fileupload-choose {
|
|
4
|
+
width: auto;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
p-button button {
|
|
8
|
+
width: auto;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-fileupload-content {
|
|
13
|
+
padding: $panelHeaderPadding;
|
|
14
|
+
|
|
15
|
+
.dropdown-area {
|
|
16
|
+
height: 5rem;
|
|
17
|
+
display: flex;
|
|
18
|
+
border: dashed;
|
|
19
|
+
border-radius: 8px;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@import 'mng_mixins';
|
|
2
|
+
|
|
3
|
+
form {
|
|
4
|
+
.p-fileupload {
|
|
5
|
+
.p-fileupload-row > div:first-child {
|
|
6
|
+
flex-grow: 0;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
width: 50px;
|
|
9
|
+
padding: 0;
|
|
10
|
+
|
|
11
|
+
img {
|
|
12
|
+
max-width: 100%;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-fileupload-row .p-button {
|
|
17
|
+
@include scaledWidth($buttonIconOnlyWidth, $scaleSM);
|
|
18
|
+
@include scaledPadding($buttonIconOnlyPadding, $scaleSM);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// This makes the border of input field orange. It is used for localized fields, where the translation is missing and default value is displayed.
|
|
23
|
+
.localized-input-border-orange {
|
|
24
|
+
input,
|
|
25
|
+
textarea {
|
|
26
|
+
border-color: $warningButtonBg;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
button[type='submit'].hidden {
|
|
31
|
+
display: none !important;
|
|
32
|
+
visibility: hidden !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.field.table {
|
|
36
|
+
.p-datatable {
|
|
37
|
+
.p-datatable-header {
|
|
38
|
+
border-top: none;
|
|
39
|
+
padding-left: 0;
|
|
40
|
+
padding-right: 0;
|
|
41
|
+
padding-top: 0;
|
|
42
|
+
padding-bottom: 0.25rem;
|
|
43
|
+
|
|
44
|
+
label.mng-datatable-form-label {
|
|
45
|
+
flex-basis: 100%;
|
|
46
|
+
color: var(--text-color);
|
|
47
|
+
font-size: 14px;
|
|
48
|
+
font-weight: normal;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-fieldset {
|
|
55
|
+
margin-bottom: 1rem;
|
|
56
|
+
|
|
57
|
+
.p-fieldset-content {
|
|
58
|
+
padding: 0.75rem 0 0 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.field-checkbox,
|
|
63
|
+
.field-radiobutton {
|
|
64
|
+
margin-bottom: 0.5rem;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.mng-image {
|
|
2
|
+
&.p-image-preview-container {
|
|
3
|
+
height: 150px;
|
|
4
|
+
|
|
5
|
+
img {
|
|
6
|
+
max-height: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&.no-image {
|
|
10
|
+
width: 150px;
|
|
11
|
+
|
|
12
|
+
.p-image-preview-indicator {
|
|
13
|
+
background-color: $imagePreviewIndicatorBg;
|
|
14
|
+
height: 100%;
|
|
15
|
+
opacity: 1;
|
|
16
|
+
cursor: default;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
|
|
21
|
+
.p-image-preview-icon {
|
|
22
|
+
font-size: 1.5rem;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This makes number input fields have the same height as the other input fields inside filter row in tables
|
|
2
|
+
.p-inputnumber.p-inputnumber-buttons-stacked .p-inputnumber-button-group {
|
|
3
|
+
& .p-button.p-inputnumber-button {
|
|
4
|
+
flex-basis: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// The following two class overrides change button radius so it looks like the buttons are merged together with input field
|
|
8
|
+
& .p-inputnumber-button-up {
|
|
9
|
+
border-top-left-radius: 0;
|
|
10
|
+
border-bottom-left-radius: 0;
|
|
11
|
+
border-bottom-right-radius: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
& .p-inputnumber-button-down {
|
|
15
|
+
border-top-left-radius: 0;
|
|
16
|
+
border-top-right-radius: 0;
|
|
17
|
+
border-bottom-left-radius: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Margin is used to hide default miter joint for border, we also hide the right border, so it does not look like the button width changes when we click on the field
|
|
22
|
+
p-columnfilterformelement .p-inputnumber-input {
|
|
23
|
+
margin-right: -1px;
|
|
24
|
+
border-top-right-radius: 0;
|
|
25
|
+
border-bottom-right-radius: 0;
|
|
26
|
+
border-right-color: transparent !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.mng-radio-button-label {
|
|
30
|
+
margin-left: 0.5rem;
|
|
31
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-multiselect-panel {
|
|
4
|
+
.p-multiselect-items {
|
|
5
|
+
.p-multiselect-item {
|
|
6
|
+
&.p-highlight {
|
|
7
|
+
color: $multiselectHighlightTextColor;
|
|
8
|
+
background: $multiselectHighlightBg;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-checkbox {
|
|
12
|
+
.p-checkbox-box {
|
|
13
|
+
&.p-highlight {
|
|
14
|
+
border-color: $checkboxActiveBorderColor;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* Add your customizations of the theme here */
|
|
2
|
+
@import 'mng_theme_button';
|
|
3
|
+
@import 'mng_theme_datatable';
|
|
4
|
+
@import 'mng_theme_dropdown';
|
|
5
|
+
@import 'mng_theme_tableview';
|
|
6
|
+
@import 'mng_theme_dialog';
|
|
7
|
+
@import 'mng_theme_forms';
|
|
8
|
+
@import 'mng_theme_datepicker';
|
|
9
|
+
@import 'mng_theme_toolbar';
|
|
10
|
+
@import 'mng_theme_autocomplete';
|
|
11
|
+
@import 'mng_theme_image';
|
|
12
|
+
@import 'mng_theme_toast';
|
|
13
|
+
@import 'mng_theme_menu';
|
|
14
|
+
@import 'mng_theme_input';
|
|
15
|
+
@import 'mng_theme_multiselect';
|
|
16
|
+
@import 'mng_theme_tabview';
|
|
17
|
+
@import 'mng_theme_fileupload';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.mng-tableview {
|
|
2
|
+
.p-paginator {
|
|
3
|
+
.p-paginator-current {
|
|
4
|
+
margin-left: auto;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-dropdown {
|
|
8
|
+
.p-dropdown-label {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-progressbar {
|
|
16
|
+
height: 0.5rem;
|
|
17
|
+
background-color: #d8dadc;
|
|
18
|
+
|
|
19
|
+
.p-progressbar-value {
|
|
20
|
+
background-color: #607d8b;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.table-header {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-datatable {
|
|
30
|
+
.p-datatable-scrollable-table > .p-datatable-thead {
|
|
31
|
+
z-index: 2;
|
|
32
|
+
}
|
|
33
|
+
.p-datatable-loading-overlay {
|
|
34
|
+
z-index: 3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-datatable-header {
|
|
38
|
+
text-align: left;
|
|
39
|
+
font-size: 1.5rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-datatable-thead > tr > th {
|
|
43
|
+
text-align: left;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Responsive */
|
|
48
|
+
//.p-datatable-tbody > tr > td .p-column-title {
|
|
49
|
+
// display: none;
|
|
50
|
+
//}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-datatable:not(.p-datatable-gridlines) {
|
|
54
|
+
.p-datatable-tbody > tr > td {
|
|
55
|
+
cursor: auto;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-datatable-tbody > tr > td.clickable {
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-datatable {
|
|
64
|
+
.p-paginator {
|
|
65
|
+
.p-dropdown {
|
|
66
|
+
.p-dropdown-label {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.mng-table-header {
|
|
75
|
+
& > th {
|
|
76
|
+
&:not(:first-child):not(:last-child) {
|
|
77
|
+
border-radius: 0 !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:first-child {
|
|
81
|
+
border-top-right-radius: 0 !important;
|
|
82
|
+
border-bottom-right-radius: 0 !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:last-child {
|
|
86
|
+
border-radius: 0 !important;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.mng-table-columns-multiselect {
|
|
92
|
+
width: 36px;
|
|
93
|
+
|
|
94
|
+
.p-multiselect-label-container {
|
|
95
|
+
width: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.p-tabview-title-error {
|
|
2
|
+
color: $errorColor !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.p-tabview-nav-btn.p-link {
|
|
6
|
+
background: $primaryTextColor;
|
|
7
|
+
color: $primaryColor;
|
|
8
|
+
border-radius: 0;
|
|
9
|
+
width: 3rem;
|
|
10
|
+
box-shadow:
|
|
11
|
+
0 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
12
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.14),
|
|
13
|
+
0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$mediaSmWidthMin: 576px !default;
|
|
2
|
+
$mediaMdWidthMin: 768px !default;
|
|
3
|
+
$mediaLgWidthMin: 992px !default;
|
|
4
|
+
$mediaXlWidthMin: 1200px !default;
|
|
5
|
+
|
|
6
|
+
$mediaXsWidthMax: #{$mediaSmWidthMin - 1} !default;
|
|
7
|
+
$mediaSmWidthMax: #{$mediaMdWidthMin - 1} !default;
|
|
8
|
+
$mediaMdWidthMax: #{$mediaLgWidthMin - 1} !default;
|
|
9
|
+
$mediaLgWidthMax: #{$mediaXlWidthMin - 1} !default;
|
|
10
|
+
|
|
11
|
+
$scaleXS: 0.8 !default;
|
|
12
|
+
$scaleLG: 1.4 !default;
|
|
13
|
+
|
|
14
|
+
$mngDialogContentPadding: 0 1.714rem !default;
|
|
15
|
+
$mngDialogFooterPadding: 1.286rem 1.714rem !default;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
@mixin focused-ring($ring-color) {
|
|
2
|
+
box-shadow:
|
|
3
|
+
0 0 0 2px #1c2127,
|
|
4
|
+
0 0 0 4px $ring-color,
|
|
5
|
+
0 1px 2px 0 rgba(0, 0, 0, 0);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-button-label {
|
|
9
|
+
font-weight: 700;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-accordion {
|
|
13
|
+
.p-accordion-header {
|
|
14
|
+
.p-accordion-header-link {
|
|
15
|
+
transition:
|
|
16
|
+
background-color $transitionDuration,
|
|
17
|
+
border-color $transitionDuration,
|
|
18
|
+
box-shadow $transitionDuration;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-tabview {
|
|
24
|
+
.p-tabview-nav {
|
|
25
|
+
li {
|
|
26
|
+
.p-tabview-nav-link {
|
|
27
|
+
transition:
|
|
28
|
+
background-color $transitionDuration,
|
|
29
|
+
border-color $transitionDuration,
|
|
30
|
+
box-shadow $transitionDuration;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-tabview-ink-bar {
|
|
35
|
+
z-index: 1;
|
|
36
|
+
display: block;
|
|
37
|
+
position: absolute;
|
|
38
|
+
bottom: 0;
|
|
39
|
+
height: 2px;
|
|
40
|
+
background-color: $primaryColor;
|
|
41
|
+
transition: 500ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-carousel {
|
|
47
|
+
.p-carousel-indicators .p-carousel-indicator.p-highlight button {
|
|
48
|
+
background-color: $primaryColor;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-galleria {
|
|
53
|
+
.p-galleria-indicators .p-galleria-indicator.p-highlight button {
|
|
54
|
+
background-color: $primaryColor;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-button {
|
|
59
|
+
&:focus {
|
|
60
|
+
@include focused-ring(rgba($buttonBg, 0.7));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.p-button-secondary:enabled:focus {
|
|
64
|
+
@include focused-ring(rgba($secondaryButtonBg, 0.7));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.p-button-success:enabled:focus {
|
|
68
|
+
@include focused-ring(rgba($successButtonBg, 0.7));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.p-button-info:enabled:focus {
|
|
72
|
+
@include focused-ring(rgba($infoButtonBg, 0.7));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.p-button-warning:enabled:focus {
|
|
76
|
+
@include focused-ring(rgba($warningButtonBg, 0.7));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.p-button-help:enabled:focus {
|
|
80
|
+
@include focused-ring(rgba($helpButtonBg, 0.7));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.p-button-danger:enabled:focus {
|
|
84
|
+
@include focused-ring(rgba($dangerButtonBg, 0.7));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-datatable {
|
|
89
|
+
.p-datatable-tbody {
|
|
90
|
+
> tr {
|
|
91
|
+
&.p-datatable-dragpoint-top > td {
|
|
92
|
+
box-shadow: inset 0 2px 0 0 $primaryColor;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.p-datatable-dragpoint-bottom > td {
|
|
96
|
+
box-shadow: inset 0 -2px 0 0 $primaryColor;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.custom-timeline {
|
|
103
|
+
&.p-timeline {
|
|
104
|
+
&.p-timeline-vertical .p-timeline-event-opposite {
|
|
105
|
+
flex: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|