@mediusinc/mng-commons 3.6.0-rc.0 → 3.6.0-rc.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/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/esm2022/lib/components/action/action.component.mjs +3 -3
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +5 -5
- package/esm2022/lib/components/form/date-range/date-range.component.mjs +11 -6
- package/esm2022/lib/components/form/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/lib/components/form/formly/fields/formly-field-action/formly-field-action.component.mjs +2 -2
- package/esm2022/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +2 -2
- package/esm2022/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +2 -2
- package/esm2022/lib/components/layout/topbar.component.mjs +2 -2
- package/esm2022/lib/components/layoutV2/breadcrumb.component.mjs +30 -0
- package/esm2022/lib/components/layoutV2/footer.component.mjs +19 -0
- package/esm2022/lib/components/layoutV2/index.mjs +8 -0
- package/esm2022/lib/components/layoutV2/main-layout.component.mjs +89 -0
- package/esm2022/lib/components/layoutV2/menu-item.component.mjs +229 -0
- package/esm2022/lib/components/layoutV2/menu.component.mjs +31 -0
- package/esm2022/lib/components/layoutV2/model/index.mjs +3 -0
- package/esm2022/lib/components/layoutV2/model/layout-state.model.mjs +2 -0
- package/esm2022/lib/components/layoutV2/model/menu.model.mjs +2 -0
- package/esm2022/lib/components/layoutV2/services/index.mjs +3 -0
- package/esm2022/lib/components/layoutV2/services/main-layout.component.service.mjs +53 -0
- package/esm2022/lib/components/layoutV2/services/menu.service.mjs +122 -0
- package/esm2022/lib/components/layoutV2/sidebar.component.mjs +54 -0
- package/esm2022/lib/components/layoutV2/topbar-user.component.mjs +40 -0
- package/esm2022/lib/components/layoutV2/topbar.component.mjs +75 -0
- package/esm2022/lib/components/layoutV2/version.component.mjs +63 -0
- package/esm2022/lib/components/pages/error/error.page.component.mjs +3 -3
- package/esm2022/lib/components/pages/not-found/not-found.page.component.mjs +3 -3
- package/esm2022/lib/components/tableview/table/column-filter/column-filter.component.mjs +2 -2
- package/esm2022/lib/components/tableview/table/column-filter-full/column-filter-full.component.mjs +2 -2
- package/esm2022/lib/components/tableview/table/column-value/column-value.component.mjs +2 -2
- package/esm2022/lib/components/tableview/table/table.component.mjs +3 -3
- package/esm2022/lib/models/config.model.mjs +1 -1
- package/esm2022/lib/models/index.mjs +2 -1
- package/esm2022/lib/models/menu-config.model.mjs +2 -0
- package/esm2022/lib/models/menu.model.mjs +1 -1
- package/esm2022/lib/router/route-builder.mjs +14 -2
- package/esm2022/lib/router/routes-builder.mjs +9 -1
- package/esm2022/lib/services/action-executor.service.mjs +3 -4
- package/esm2022/lib/utils/route.util.mjs +25 -1
- package/fesm2022/mediusinc-mng-commons.mjs +831 -88
- package/fesm2022/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +4 -3
- package/lib/components/form/date-range/date-range.component.d.ts +2 -1
- package/lib/components/layoutV2/breadcrumb.component.d.ts +10 -0
- package/lib/components/layoutV2/footer.component.d.ts +8 -0
- package/lib/components/layoutV2/index.d.ts +7 -0
- package/lib/components/layoutV2/main-layout.component.d.ts +23 -0
- package/lib/components/layoutV2/menu-item.component.d.ts +38 -0
- package/lib/components/layoutV2/menu.component.d.ts +12 -0
- package/lib/components/layoutV2/model/index.d.ts +2 -0
- package/lib/components/layoutV2/model/layout-state.model.d.ts +11 -0
- package/lib/components/layoutV2/model/menu.model.d.ts +4 -0
- package/lib/components/layoutV2/services/index.d.ts +2 -0
- package/lib/components/layoutV2/services/main-layout.component.service.d.ts +14 -0
- package/lib/components/layoutV2/services/menu.service.d.ts +22 -0
- package/lib/components/layoutV2/sidebar.component.d.ts +19 -0
- package/lib/components/layoutV2/topbar-user.component.d.ts +16 -0
- package/lib/components/layoutV2/topbar.component.d.ts +23 -0
- package/lib/components/layoutV2/version.component.d.ts +19 -0
- package/lib/models/config.model.d.ts +9 -8
- package/lib/models/index.d.ts +1 -0
- package/lib/models/menu-config.model.d.ts +15 -0
- package/lib/models/menu.model.d.ts +2 -0
- package/lib/router/route-builder.d.ts +6 -1
- package/lib/router/routes-builder.d.ts +5 -0
- package/lib/utils/route.util.d.ts +19 -30
- package/package.json +2 -2
- package/scss/common/layout/_breadcrumb.scss +0 -1
- package/scss/mng-commons-dark-v2.scss +9 -0
- package/scss/mng-commons-light-v2.scss +9 -0
- package/scss/v2/layout/_animation.scss +53 -0
- package/scss/v2/layout/_breadcrumb.scss +97 -0
- package/scss/v2/layout/_config.scss +42 -0
- package/scss/v2/layout/_content.scss +3 -0
- package/scss/v2/layout/_fonts.scss +32 -0
- package/scss/v2/layout/_layout_dark.scss +12 -0
- package/scss/v2/layout/_layout_light.scss +12 -0
- package/scss/v2/layout/_main.scss +54 -0
- package/scss/v2/layout/_profile.scss +10 -0
- package/scss/v2/layout/_responsive.scss +131 -0
- package/scss/v2/layout/_sidebar_drawer.scss +283 -0
- package/scss/v2/layout/_sidebar_horizontal.scss +168 -0
- package/scss/v2/layout/_sidebar_reveal.scss +201 -0
- package/scss/v2/layout/_sidebar_slim.scss +157 -0
- package/scss/v2/layout/_sidebar_slim_plus.scss +167 -0
- package/scss/v2/layout/_sidebar_vertical.scss +176 -0
- package/scss/v2/layout/_topbar.scss +174 -0
- package/scss/v2/layout/_typography.scss +62 -0
- package/scss/v2/layout/_utils.scss +33 -0
- package/scss/v2/layout/layout.scss +24 -0
- package/scss/v2/layout/mng/_mng_layout_footer.scss +33 -0
- package/scss/v2/layout/mng/_mng_layout_menu.scss +10 -0
- package/scss/v2/layout/mng/_mng_layout_styles.scss +3 -0
- package/scss/v2/layout/mng/_mng_layout_topbar.scss +16 -0
- package/scss/v2/layout/preloading.scss +84 -0
- package/scss/v2/theme/theme-base/_colors.scss +18 -0
- package/scss/v2/theme/theme-base/_common.scss +73 -0
- package/scss/v2/theme/theme-base/_components.scss +106 -0
- package/scss/v2/theme/theme-base/_mixins.scss +203 -0
- package/scss/v2/theme/theme-base/components/button/_button.scss +564 -0
- package/scss/v2/theme/theme-base/components/button/_speeddial.scss +86 -0
- package/scss/v2/theme/theme-base/components/button/_splitbutton.scss +381 -0
- package/scss/v2/theme/theme-base/components/data/_carousel.scss +37 -0
- package/scss/v2/theme/theme-base/components/data/_datatable.scss +338 -0
- package/scss/v2/theme/theme-base/components/data/_dataview.scss +55 -0
- package/scss/v2/theme/theme-base/components/data/_filter.scss +138 -0
- package/scss/v2/theme/theme-base/components/data/_fullcalendar.scss +329 -0
- package/scss/v2/theme/theme-base/components/data/_orderlist.scss +103 -0
- package/scss/v2/theme/theme-base/components/data/_organizationchart.scss +50 -0
- package/scss/v2/theme/theme-base/components/data/_paginator.scss +92 -0
- package/scss/v2/theme/theme-base/components/data/_picklist.scss +103 -0
- package/scss/v2/theme/theme-base/components/data/_timeline.scss +38 -0
- package/scss/v2/theme/theme-base/components/data/_tree.scss +149 -0
- package/scss/v2/theme/theme-base/components/data/_treetable.scss +256 -0
- package/scss/v2/theme/theme-base/components/data/_virtualscroller.scss +28 -0
- package/scss/v2/theme/theme-base/components/file/_fileupload.scss +58 -0
- package/scss/v2/theme/theme-base/components/input/_autocomplete.scss +117 -0
- package/scss/v2/theme/theme-base/components/input/_calendar.scss +263 -0
- package/scss/v2/theme/theme-base/components/input/_cascadeselect.scss +130 -0
- package/scss/v2/theme/theme-base/components/input/_checkbox.scss +90 -0
- package/scss/v2/theme/theme-base/components/input/_chips.scss +54 -0
- package/scss/v2/theme/theme-base/components/input/_colorpicker.scss +19 -0
- package/scss/v2/theme/theme-base/components/input/_dropdown.scss +135 -0
- package/scss/v2/theme/theme-base/components/input/_editor.scss +122 -0
- package/scss/v2/theme/theme-base/components/input/_inputgroup.scss +75 -0
- package/scss/v2/theme/theme-base/components/input/_inputmask.scss +16 -0
- package/scss/v2/theme/theme-base/components/input/_inputnumber.scss +28 -0
- package/scss/v2/theme/theme-base/components/input/_inputswitch.scss +60 -0
- package/scss/v2/theme/theme-base/components/input/_inputtext.scss +99 -0
- package/scss/v2/theme/theme-base/components/input/_listbox.scss +82 -0
- package/scss/v2/theme/theme-base/components/input/_multiselect.scss +173 -0
- package/scss/v2/theme/theme-base/components/input/_password.scss +52 -0
- package/scss/v2/theme/theme-base/components/input/_radiobutton.scss +78 -0
- package/scss/v2/theme/theme-base/components/input/_rating.scss +55 -0
- package/scss/v2/theme/theme-base/components/input/_selectbutton.scss +50 -0
- package/scss/v2/theme/theme-base/components/input/_slider.scss +71 -0
- package/scss/v2/theme/theme-base/components/input/_togglebutton.scss +48 -0
- package/scss/v2/theme/theme-base/components/input/_treeselect.scss +139 -0
- package/scss/v2/theme/theme-base/components/menu/_breadcrumb.scss +42 -0
- package/scss/v2/theme/theme-base/components/menu/_contextmenu.scss +61 -0
- package/scss/v2/theme/theme-base/components/menu/_dock.scss +86 -0
- package/scss/v2/theme/theme-base/components/menu/_megamenu.scss +106 -0
- package/scss/v2/theme/theme-base/components/menu/_menu.scss +45 -0
- package/scss/v2/theme/theme-base/components/menu/_menubar.scss +188 -0
- package/scss/v2/theme/theme-base/components/menu/_panelmenu.scss +140 -0
- package/scss/v2/theme/theme-base/components/menu/_slidemenu.scss +64 -0
- package/scss/v2/theme/theme-base/components/menu/_steps.scss +56 -0
- package/scss/v2/theme/theme-base/components/menu/_tabmenu.scss +74 -0
- package/scss/v2/theme/theme-base/components/menu/_tieredmenu.scss +65 -0
- package/scss/v2/theme/theme-base/components/messages/_inlinemessage.scss +69 -0
- package/scss/v2/theme/theme-base/components/messages/_message.scss +107 -0
- package/scss/v2/theme/theme-base/components/messages/_toast.scss +100 -0
- package/scss/v2/theme/theme-base/components/misc/_avatar.scss +30 -0
- package/scss/v2/theme/theme-base/components/misc/_badge.scss +48 -0
- package/scss/v2/theme/theme-base/components/misc/_blockui.scss +0 -0
- package/scss/v2/theme/theme-base/components/misc/_chip.scss +38 -0
- package/scss/v2/theme/theme-base/components/misc/_inplace.scss +17 -0
- package/scss/v2/theme/theme-base/components/misc/_progressbar.scss +17 -0
- package/scss/v2/theme/theme-base/components/misc/_scrolltop.scss +25 -0
- package/scss/v2/theme/theme-base/components/misc/_skeleton.scss +8 -0
- package/scss/v2/theme/theme-base/components/misc/_tag.scss +40 -0
- package/scss/v2/theme/theme-base/components/misc/_terminal.scss +11 -0
- package/scss/v2/theme/theme-base/components/multimedia/_galleria.scss +149 -0
- package/scss/v2/theme/theme-base/components/multimedia/_image.scss +49 -0
- package/scss/v2/theme/theme-base/components/overlay/_confirmpopup.scss +72 -0
- package/scss/v2/theme/theme-base/components/overlay/_dialog.scss +69 -0
- package/scss/v2/theme/theme-base/components/overlay/_overlaypanel.scss +64 -0
- package/scss/v2/theme/theme-base/components/overlay/_sidebar.scss +27 -0
- package/scss/v2/theme/theme-base/components/overlay/_tooltip.scss +33 -0
- package/scss/v2/theme/theme-base/components/panel/_accordion.scss +119 -0
- package/scss/v2/theme/theme-base/components/panel/_card.scss +30 -0
- package/scss/v2/theme/theme-base/components/panel/_divider.scss +31 -0
- package/scss/v2/theme/theme-base/components/panel/_fieldset.scss +47 -0
- package/scss/v2/theme/theme-base/components/panel/_panel.scss +58 -0
- package/scss/v2/theme/theme-base/components/panel/_scrollpanel.scss +6 -0
- package/scss/v2/theme/theme-base/components/panel/_splitter.scss +19 -0
- package/scss/v2/theme/theme-base/components/panel/_tabview.scss +78 -0
- package/scss/v2/theme/theme-base/components/panel/_toolbar.scss +11 -0
- package/scss/v2/theme/theme-base/mng/_mng_mixins.scss +69 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_autocomplete.scss +34 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_button.scss +68 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_datatable.scss +146 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_datepicker.scss +21 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_dialog.scss +206 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_dropdown.scss +22 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_fileupload.scss +24 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_forms.scss +66 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_image.scss +27 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_input.scss +31 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_menu.scss +5 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_multiselect.scss +20 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_styles.scss +17 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_tableview.scss +97 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_tabview.scss +11 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_toast.scss +3 -0
- package/scss/v2/theme/theme-base/mng/_mng_theme_toolbar.scss +5 -0
- package/scss/v2/theme/theme-base/mng/_mng_variables.scss +15 -0
- package/scss/v2/theme/theme-dark/_extensions.scss +100 -0
- package/scss/v2/theme/theme-dark/_variables.scss +937 -0
- package/scss/v2/theme/theme-dark/blue/theme.scss +13 -0
- package/scss/v2/theme/theme-light/_extensions.scss +100 -0
- package/scss/v2/theme/theme-light/_variables.scss +937 -0
- package/scss/v2/theme/theme-light/blue/theme.scss +13 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.p-panel {
|
|
2
|
+
.p-panel-header {
|
|
3
|
+
border: $panelHeaderBorder;
|
|
4
|
+
padding: $panelHeaderPadding;
|
|
5
|
+
background: $panelHeaderBg;
|
|
6
|
+
color: $panelHeaderTextColor;
|
|
7
|
+
border-top-right-radius: $borderRadius;
|
|
8
|
+
border-top-left-radius: $borderRadius;
|
|
9
|
+
|
|
10
|
+
.p-panel-title {
|
|
11
|
+
font-weight: $panelHeaderFontWeight;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-panel-header-icon {
|
|
15
|
+
@include action-icon();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.p-panel-toggleable {
|
|
20
|
+
.p-panel-header {
|
|
21
|
+
padding: $panelToggleableHeaderPadding;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-panel-content {
|
|
26
|
+
padding: $panelContentPadding;
|
|
27
|
+
border: $panelContentBorder;
|
|
28
|
+
background: $panelContentBg;
|
|
29
|
+
color: $panelContentTextColor;
|
|
30
|
+
border-bottom-right-radius: $borderRadius;
|
|
31
|
+
border-bottom-left-radius: $borderRadius;
|
|
32
|
+
border-top: 0 none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-panel-footer {
|
|
36
|
+
padding: $panelFooterPadding;
|
|
37
|
+
border: $panelFooterBorder;
|
|
38
|
+
background: $panelFooterBg;
|
|
39
|
+
color: $panelFooterTextColor;
|
|
40
|
+
border-top: 0 none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-panel-icons-end {
|
|
44
|
+
order: 2;
|
|
45
|
+
margin-left: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-panel-icons-start {
|
|
49
|
+
order: 0;
|
|
50
|
+
margin-right: $inlineSpacing;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-panel-icons-center {
|
|
54
|
+
order: 2;
|
|
55
|
+
width:100%;
|
|
56
|
+
text-align:center;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.p-splitter {
|
|
2
|
+
border: $panelContentBorder;
|
|
3
|
+
background: $panelContentBg;
|
|
4
|
+
border-radius: $borderRadius;
|
|
5
|
+
color: $panelContentTextColor;
|
|
6
|
+
|
|
7
|
+
.p-splitter-gutter {
|
|
8
|
+
transition: $actionIconTransition;
|
|
9
|
+
background: $splitterGutterBg;
|
|
10
|
+
|
|
11
|
+
.p-splitter-gutter-handle {
|
|
12
|
+
background: $splitterGutterHandleBg;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-splitter-gutter-resizing {
|
|
17
|
+
background: $splitterGutterHandleBg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.p-tabview {
|
|
2
|
+
.p-tabview-nav {
|
|
3
|
+
background: $tabviewNavBg;
|
|
4
|
+
border: $tabviewNavBorder;
|
|
5
|
+
border-width: $tabviewNavBorderWidth;
|
|
6
|
+
|
|
7
|
+
li {
|
|
8
|
+
margin-right: $tabviewHeaderSpacing;
|
|
9
|
+
|
|
10
|
+
.p-tabview-nav-link {
|
|
11
|
+
border: $tabviewHeaderBorder;
|
|
12
|
+
border-width: $tabviewHeaderBorderWidth;
|
|
13
|
+
border-color: $tabviewHeaderBorderColor;
|
|
14
|
+
background: $tabviewHeaderBg;
|
|
15
|
+
color: $tabviewHeaderTextColor;
|
|
16
|
+
padding: $tabviewHeaderPadding;
|
|
17
|
+
font-weight: $tabviewHeaderFontWeight;
|
|
18
|
+
border-top-right-radius: $borderRadius;
|
|
19
|
+
border-top-left-radius: $borderRadius;
|
|
20
|
+
transition: $listItemTransition;
|
|
21
|
+
margin: $tabviewHeaderMargin;
|
|
22
|
+
|
|
23
|
+
&:not(.p-disabled):focus {
|
|
24
|
+
@include focused-inset();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
29
|
+
.p-tabview-nav-link {
|
|
30
|
+
background: $tabviewHeaderHoverBg;
|
|
31
|
+
border-color: $tabviewHeaderHoverBorderColor;
|
|
32
|
+
color: $tabviewHeaderTextHoverColor;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.p-highlight {
|
|
37
|
+
.p-tabview-nav-link {
|
|
38
|
+
background: $tabviewHeaderActiveBg;
|
|
39
|
+
border-color: $tabviewHeaderActiveBorderColor;
|
|
40
|
+
color: $tabviewHeaderTextActiveColor;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-tabview-left-icon {
|
|
47
|
+
margin-right: $inlineSpacing;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-tabview-right-icon {
|
|
51
|
+
margin-left: $inlineSpacing;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-tabview-close {
|
|
55
|
+
margin-left: $inlineSpacing;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-tabview-nav-btn.p-link {
|
|
59
|
+
background: $tabviewHeaderActiveBg;
|
|
60
|
+
color: $tabviewHeaderTextActiveColor;
|
|
61
|
+
width: $buttonIconOnlyWidth;
|
|
62
|
+
box-shadow: $raisedButtonShadow;
|
|
63
|
+
border-radius: 0;
|
|
64
|
+
|
|
65
|
+
&:focus {
|
|
66
|
+
@include focused-inset();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-tabview-panels {
|
|
71
|
+
background: $tabviewContentBg;
|
|
72
|
+
padding: $tabviewContentPadding;
|
|
73
|
+
border: $tabviewContentBorder;
|
|
74
|
+
color: $tabviewContentTextColor;
|
|
75
|
+
border-bottom-right-radius: $borderRadius;
|
|
76
|
+
border-bottom-left-radius: $borderRadius;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@import 'mng_variables';
|
|
2
|
+
|
|
3
|
+
@mixin scaledHeight($val, $scale) {
|
|
4
|
+
height: $val * $scale;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin scaledWidth($val, $scale) {
|
|
8
|
+
width: $val * $scale;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin mediaMinSm() {
|
|
12
|
+
@include mediaMinWidth($mediaSmWidthMin) {
|
|
13
|
+
@content;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin mediaMinMd() {
|
|
18
|
+
@include mediaMinWidth($mediaMdWidthMin) {
|
|
19
|
+
@content;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin mediaMinLg() {
|
|
24
|
+
@include mediaMinWidth($mediaLgWidthMin) {
|
|
25
|
+
@content;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin mediaMinXl() {
|
|
30
|
+
@include mediaMinWidth($mediaXlWidthMin) {
|
|
31
|
+
@content;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin mediaMaxXs() {
|
|
36
|
+
@include mediaMaxWidth($mediaXsWidthMax) {
|
|
37
|
+
@content;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin mediaMaxSm() {
|
|
42
|
+
@include mediaMaxWidth($mediaSmWidthMax) {
|
|
43
|
+
@content;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin mediaMaxMd() {
|
|
48
|
+
@include mediaMaxWidth($mediaMdWidthMax) {
|
|
49
|
+
@content;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin mediaMaxLg() {
|
|
54
|
+
@include mediaMaxWidth($mediaLgWidthMax) {
|
|
55
|
+
@content;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin mediaMinWidth($minWidth) {
|
|
60
|
+
@media (min-width: $minWidth) {
|
|
61
|
+
@content;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@mixin mediaMaxWidth($maxWidth) {
|
|
66
|
+
@media (max-width: $maxWidth) {
|
|
67
|
+
@content;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
p-autocomplete {
|
|
2
|
+
// Merging input field with button so they look like one
|
|
3
|
+
& .p-autocomplete-input {
|
|
4
|
+
margin-right: -1px;
|
|
5
|
+
border-top-right-radius: 0;
|
|
6
|
+
border-bottom-right-radius: 0;
|
|
7
|
+
border-right-color: transparent !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
& .p-autocomplete-dropdown {
|
|
11
|
+
border-top-left-radius: 0;
|
|
12
|
+
border-bottom-left-radius: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
& .p-autocomplete-multiple-container {
|
|
16
|
+
border-top-right-radius: 0;
|
|
17
|
+
border-bottom-right-radius: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//clear icon
|
|
21
|
+
& .p-inputtext {
|
|
22
|
+
padding-right: 2rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .p-autocomplete-clear-icon {
|
|
26
|
+
color: $secondaryButtonTextColor;
|
|
27
|
+
right: 0.5rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .p-autocomplete-dd .p-autocomplete-clear-icon {
|
|
31
|
+
color: $secondaryButtonTextColor;
|
|
32
|
+
right: 2.857rem;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@import 'mng_mixins';
|
|
2
|
+
|
|
3
|
+
.p-button {
|
|
4
|
+
&.p-button-icon-only {
|
|
5
|
+
&.mng-button-xs {
|
|
6
|
+
@include scaledWidth($buttonIconOnlyWidth, $scaleXS);
|
|
7
|
+
@include scaledPadding($buttonIconOnlyPadding, $scaleXS);
|
|
8
|
+
|
|
9
|
+
.p-button-icon {
|
|
10
|
+
@include scaledFontSize($primeIconFontSize, $scaleXS);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.p-button-rounded {
|
|
14
|
+
@include scaledHeight($buttonIconOnlyWidth, $scaleXS);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.mng-button-sm {
|
|
19
|
+
@include scaledWidth($buttonIconOnlyWidth, $scaleSM);
|
|
20
|
+
@include scaledPadding($buttonIconOnlyPadding, $scaleSM);
|
|
21
|
+
|
|
22
|
+
.p-button-icon {
|
|
23
|
+
@include scaledFontSize($primeIconFontSize, $scaleSM);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.p-button-rounded {
|
|
27
|
+
@include scaledHeight($buttonIconOnlyWidth, $scaleSM);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.mng-button-lg {
|
|
32
|
+
@include scaledWidth($buttonIconOnlyWidth, $scaleLG);
|
|
33
|
+
@include scaledPadding($buttonIconOnlyPadding, $scaleLG);
|
|
34
|
+
|
|
35
|
+
.p-button-icon {
|
|
36
|
+
@include scaledFontSize($primeIconFontSize, $scaleLG);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.p-button-rounded {
|
|
40
|
+
@include scaledHeight($buttonIconOnlyWidth, $scaleLG);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.mng-button-xl {
|
|
45
|
+
@include scaledWidth($buttonIconOnlyWidth, $scaleLG);
|
|
46
|
+
@include scaledPadding($buttonIconOnlyPadding, $scaleLG);
|
|
47
|
+
|
|
48
|
+
.p-button-icon {
|
|
49
|
+
@include scaledFontSize($primeIconFontSize, $scaleLG);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.p-button-rounded {
|
|
53
|
+
@include scaledHeight($buttonIconOnlyWidth, $scaleLG);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mng-action-button {
|
|
60
|
+
margin: 0.15rem 0.15rem;
|
|
61
|
+
|
|
62
|
+
a {
|
|
63
|
+
&.disabled {
|
|
64
|
+
opacity: 0.6;
|
|
65
|
+
cursor: default;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
.p-datatable {
|
|
2
|
+
.p-column-filter-menu-button {
|
|
3
|
+
color: $tableHeaderTextColor;
|
|
4
|
+
|
|
5
|
+
&.p-column-filter-menu-button-active {
|
|
6
|
+
color: $primaryTextColor;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.p-datatable-thead > tr > th,
|
|
11
|
+
.p-datatable-tbody > tr > td {
|
|
12
|
+
// string
|
|
13
|
+
&.mng-column-filter-0 {
|
|
14
|
+
min-width: 135px;
|
|
15
|
+
}
|
|
16
|
+
// number
|
|
17
|
+
&.mng-column-filter-1 {
|
|
18
|
+
min-width: 165px;
|
|
19
|
+
}
|
|
20
|
+
// date
|
|
21
|
+
&.mng-column-filter-3 {
|
|
22
|
+
min-width: 170px;
|
|
23
|
+
}
|
|
24
|
+
// boolean
|
|
25
|
+
&.mng-column-filter-2 {
|
|
26
|
+
min-width: 80px;
|
|
27
|
+
}
|
|
28
|
+
// lookup, lookup enum
|
|
29
|
+
&.mng-column-filter-4,
|
|
30
|
+
&.mng-column-filter-5 {
|
|
31
|
+
min-width: 180px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
mng-table-column-value .help-buttons {
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-datatable-thead > tr.mng-column-filter-row {
|
|
42
|
+
> th {
|
|
43
|
+
padding-left: 0.15rem;
|
|
44
|
+
padding-right: 0.15rem;
|
|
45
|
+
|
|
46
|
+
.p-column-filter-menu-button,
|
|
47
|
+
.p-column-filter-clear-button {
|
|
48
|
+
width: 1.75rem;
|
|
49
|
+
height: 1.75rem;
|
|
50
|
+
margin-left: 0.1rem;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-datatable-tbody > tr > td {
|
|
56
|
+
position: relative;
|
|
57
|
+
|
|
58
|
+
&.column-action {
|
|
59
|
+
padding-top: 0.1rem;
|
|
60
|
+
padding-bottom: 0.1rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.p-frozen-column {
|
|
64
|
+
position: sticky;
|
|
65
|
+
z-index: 1;
|
|
66
|
+
background: transparent;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// TODO: uncomment, need to address mobile devices dooooh
|
|
71
|
+
//.p-datatable-tbody {
|
|
72
|
+
// > tr:not(:hover) {
|
|
73
|
+
// > td.p-frozen-column {
|
|
74
|
+
// visibility: hidden;
|
|
75
|
+
// }
|
|
76
|
+
// }
|
|
77
|
+
//}
|
|
78
|
+
|
|
79
|
+
&.p-datatable-lg .p-datatable-tbody > tr > td {
|
|
80
|
+
&.column-action {
|
|
81
|
+
padding-top: 0.15rem;
|
|
82
|
+
padding-bottom: 0.15rem;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.p-datatable-sm .p-datatable-tbody > tr > td {
|
|
87
|
+
&.column-action {
|
|
88
|
+
padding-top: 0.05rem;
|
|
89
|
+
padding-bottom: 0.05rem;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.p-datatable-flex-scrollable {
|
|
94
|
+
.p-datatable-thead > tr > th {
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
text-overflow: ellipsis;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.p-datatable-tbody > tr > td {
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// override for background color
|
|
105
|
+
.p-radiobutton .p-radiobutton-box {
|
|
106
|
+
background-color: $primaryTextColor;
|
|
107
|
+
|
|
108
|
+
.p-radiobutton-icon {
|
|
109
|
+
background-color: $primaryColor;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.p-highlight {
|
|
113
|
+
&:not(.p-disabled):hover {
|
|
114
|
+
.p-radiobutton-icon {
|
|
115
|
+
background-color: $primaryTextColor;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.p-checkbox {
|
|
122
|
+
.p-checkbox-box {
|
|
123
|
+
background-color: $primaryTextColor;
|
|
124
|
+
|
|
125
|
+
.p-checkbox-icon {
|
|
126
|
+
color: $primaryColor;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:not(.p-checkbox-disabled) {
|
|
131
|
+
.p-checkbox-box {
|
|
132
|
+
&.p-highlight:hover {
|
|
133
|
+
.p-checkbox-icon {
|
|
134
|
+
color: $primaryTextColor;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// This style adds orange border around the table-row with default language in show all translations
|
|
142
|
+
.all-translations-default-value {
|
|
143
|
+
background: $secondaryButtonActiveBg !important;
|
|
144
|
+
border-radius: 10px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.p-datepicker-header {
|
|
2
|
+
.p-datepicker-title {
|
|
3
|
+
.p-link {
|
|
4
|
+
color: $calendarHeaderTextColor;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
p-calendar {
|
|
10
|
+
& .p-inputtext {
|
|
11
|
+
margin-right: -1px;
|
|
12
|
+
border-top-right-radius: 0;
|
|
13
|
+
border-bottom-right-radius: 0;
|
|
14
|
+
border-right-color: transparent !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& .p-datepicker-trigger {
|
|
18
|
+
border-top-left-radius: 0;
|
|
19
|
+
border-bottom-left-radius: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|