@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,63 @@
|
|
|
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-top: 0 none;
|
|
31
|
+
|
|
32
|
+
&:last-child {
|
|
33
|
+
border-bottom-right-radius: $borderRadius;
|
|
34
|
+
border-bottom-left-radius: $borderRadius;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-panel-footer {
|
|
39
|
+
padding: $panelFooterPadding;
|
|
40
|
+
border: $panelFooterBorder;
|
|
41
|
+
background: $panelFooterBg;
|
|
42
|
+
color: $panelFooterTextColor;
|
|
43
|
+
border-bottom-right-radius: $borderRadius;
|
|
44
|
+
border-bottom-left-radius: $borderRadius;
|
|
45
|
+
border-top: 0 none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-panel-icons-end {
|
|
49
|
+
order: 2;
|
|
50
|
+
margin-left: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-panel-icons-start {
|
|
54
|
+
order: 0;
|
|
55
|
+
margin-right: $inlineSpacing;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-panel-icons-center {
|
|
59
|
+
order: 2;
|
|
60
|
+
width: 100%;
|
|
61
|
+
text-align: center;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -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,82 @@
|
|
|
1
|
+
.p-tabview {
|
|
2
|
+
.p-tabview-nav-content {
|
|
3
|
+
scroll-padding-inline: $buttonIconOnlyWidth;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.p-tabview-nav {
|
|
7
|
+
background: $tabviewNavBg;
|
|
8
|
+
border: $tabviewNavBorder;
|
|
9
|
+
border-width: $tabviewNavBorderWidth;
|
|
10
|
+
|
|
11
|
+
li {
|
|
12
|
+
margin-right: $tabviewHeaderSpacing;
|
|
13
|
+
|
|
14
|
+
.p-tabview-nav-link {
|
|
15
|
+
border: $tabviewHeaderBorder;
|
|
16
|
+
border-width: $tabviewHeaderBorderWidth;
|
|
17
|
+
border-color: $tabviewHeaderBorderColor;
|
|
18
|
+
background: $tabviewHeaderBg;
|
|
19
|
+
color: $tabviewHeaderTextColor;
|
|
20
|
+
padding: $tabviewHeaderPadding;
|
|
21
|
+
font-weight: $tabviewHeaderFontWeight;
|
|
22
|
+
border-top-right-radius: $borderRadius;
|
|
23
|
+
border-top-left-radius: $borderRadius;
|
|
24
|
+
transition: $listItemTransition;
|
|
25
|
+
margin: $tabviewHeaderMargin;
|
|
26
|
+
|
|
27
|
+
&:not(.p-disabled):focus-visible {
|
|
28
|
+
@include focused-inset();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
33
|
+
.p-tabview-nav-link {
|
|
34
|
+
background: $tabviewHeaderHoverBg;
|
|
35
|
+
border-color: $tabviewHeaderHoverBorderColor;
|
|
36
|
+
color: $tabviewHeaderTextHoverColor;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.p-highlight {
|
|
41
|
+
.p-tabview-nav-link {
|
|
42
|
+
background: $tabviewHeaderActiveBg;
|
|
43
|
+
border-color: $tabviewHeaderActiveBorderColor;
|
|
44
|
+
color: $tabviewHeaderTextActiveColor;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-tabview-left-icon {
|
|
51
|
+
margin-right: $inlineSpacing;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-tabview-right-icon {
|
|
55
|
+
margin-left: $inlineSpacing;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-tabview-close {
|
|
59
|
+
margin-left: $inlineSpacing;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-tabview-nav-btn.p-link {
|
|
63
|
+
background: $tabviewHeaderActiveBg;
|
|
64
|
+
color: $tabviewHeaderTextActiveColor;
|
|
65
|
+
width: $buttonIconOnlyWidth;
|
|
66
|
+
box-shadow: $raisedButtonShadow;
|
|
67
|
+
border-radius: 0;
|
|
68
|
+
|
|
69
|
+
&:focus-visible {
|
|
70
|
+
@include focused-inset();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.p-tabview-panels {
|
|
75
|
+
background: $tabviewContentBg;
|
|
76
|
+
padding: $tabviewContentPadding;
|
|
77
|
+
border: $tabviewContentBorder;
|
|
78
|
+
color: $tabviewContentTextColor;
|
|
79
|
+
border-bottom-right-radius: $borderRadius;
|
|
80
|
+
border-bottom-left-radius: $borderRadius;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -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,153 @@
|
|
|
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-string {
|
|
14
|
+
min-width: 135px;
|
|
15
|
+
}
|
|
16
|
+
// number
|
|
17
|
+
&.mng-column-filter-number {
|
|
18
|
+
min-width: 165px;
|
|
19
|
+
}
|
|
20
|
+
// date
|
|
21
|
+
&.mng-column-filter-date {
|
|
22
|
+
min-width: 170px;
|
|
23
|
+
}
|
|
24
|
+
// boolean
|
|
25
|
+
&.mng-column-filter-boolean {
|
|
26
|
+
min-width: 80px;
|
|
27
|
+
}
|
|
28
|
+
// lookup, lookup enum
|
|
29
|
+
&.mng-column-filter-lookup,
|
|
30
|
+
&.mng-column-filter-lookupenum {
|
|
31
|
+
min-width: 180px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mng-column-filter-string-input {
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.mng-column-filter-number-input {
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:hover {
|
|
43
|
+
mng-table-column-value .help-buttons {
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-datatable-thead > tr.mng-column-filter-row {
|
|
50
|
+
> th {
|
|
51
|
+
padding-left: 0.15rem;
|
|
52
|
+
padding-right: 0.15rem;
|
|
53
|
+
|
|
54
|
+
.p-column-filter-menu-button,
|
|
55
|
+
.p-column-filter-clear-button {
|
|
56
|
+
width: 1.75rem;
|
|
57
|
+
height: 1.75rem;
|
|
58
|
+
margin-left: 0.1rem;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-datatable-thead > tr > th {
|
|
64
|
+
&.column-custom-last {
|
|
65
|
+
padding-top: 0.1rem;
|
|
66
|
+
padding-bottom: 0.1rem;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-datatable-tbody > tr > td {
|
|
71
|
+
position: relative;
|
|
72
|
+
|
|
73
|
+
&.column-custom-last {
|
|
74
|
+
padding-top: 0.1rem;
|
|
75
|
+
padding-bottom: 0.1rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.p-frozen-column {
|
|
79
|
+
position: sticky;
|
|
80
|
+
z-index: 1;
|
|
81
|
+
background: transparent;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// TODO: uncomment, need to address mobile devices dooooh
|
|
86
|
+
//.p-datatable-tbody {
|
|
87
|
+
// > tr:not(:hover) {
|
|
88
|
+
// > td.p-frozen-column {
|
|
89
|
+
// visibility: hidden;
|
|
90
|
+
// }
|
|
91
|
+
// }
|
|
92
|
+
//}
|
|
93
|
+
|
|
94
|
+
&.p-datatable-lg .p-datatable-tbody > tr > td {
|
|
95
|
+
&.column-custom-last {
|
|
96
|
+
padding-top: 0.15rem;
|
|
97
|
+
padding-bottom: 0.15rem;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.p-datatable-sm .p-datatable-tbody > tr > td {
|
|
102
|
+
&.column-custom-last {
|
|
103
|
+
padding-top: 0.05rem;
|
|
104
|
+
padding-bottom: 0.05rem;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.p-datatable-flex-scrollable {
|
|
109
|
+
.p-datatable-thead > tr > th {
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
text-overflow: ellipsis;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.p-datatable-tbody > tr > td {
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// override for background color
|
|
120
|
+
.p-radiobutton .p-radiobutton-box {
|
|
121
|
+
background-color: $primaryTextColor;
|
|
122
|
+
|
|
123
|
+
.p-radiobutton-icon {
|
|
124
|
+
background-color: $primaryColor;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&.p-highlight {
|
|
128
|
+
&:not(.p-disabled):hover {
|
|
129
|
+
.p-radiobutton-icon {
|
|
130
|
+
background-color: $primaryTextColor;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.p-checkbox {
|
|
137
|
+
&:not(.p-checkbox-disabled) {
|
|
138
|
+
.p-checkbox-box {
|
|
139
|
+
&.p-highlight:hover {
|
|
140
|
+
.p-checkbox-icon {
|
|
141
|
+
color: $primaryTextColor;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// This style adds orange border around the table-row with default language in show all translations
|
|
149
|
+
.all-translations-default-value {
|
|
150
|
+
background: $secondaryButtonActiveBg !important;
|
|
151
|
+
border-radius: 10px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -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
|
+
}
|