@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,73 @@
|
|
|
1
|
+
.p-tabmenu {
|
|
2
|
+
.p-tabmenu-nav {
|
|
3
|
+
background: $tabviewNavBg;
|
|
4
|
+
border: $tabviewNavBorder;
|
|
5
|
+
border-width: $tabviewNavBorderWidth;
|
|
6
|
+
|
|
7
|
+
.p-menuitem-badge {
|
|
8
|
+
@include menuitem-badge();
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-tabmenuitem {
|
|
12
|
+
margin-right: $tabviewHeaderSpacing;
|
|
13
|
+
|
|
14
|
+
.p-menuitem-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
|
+
.p-menuitem-icon {
|
|
28
|
+
margin-right: $inlineSpacing;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:not(.p-disabled):focus-visible {
|
|
32
|
+
@include focused-inset();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
37
|
+
.p-menuitem-link {
|
|
38
|
+
background: $tabviewHeaderHoverBg;
|
|
39
|
+
border-color: $tabviewHeaderHoverBorderColor;
|
|
40
|
+
color: $tabviewHeaderTextHoverColor;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.p-highlight {
|
|
45
|
+
.p-menuitem-link {
|
|
46
|
+
background: $tabviewHeaderActiveBg;
|
|
47
|
+
border-color: $tabviewHeaderActiveBorderColor;
|
|
48
|
+
color: $tabviewHeaderTextActiveColor;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-tabmenu-left-icon {
|
|
55
|
+
margin-right: $inlineSpacing;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-tabmenu-right-icon {
|
|
59
|
+
margin-left: $inlineSpacing;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-tabmenu-nav-btn.p-link {
|
|
63
|
+
background: $tabviewHeaderActiveBg;
|
|
64
|
+
color: $tabviewHeaderTextActiveColor;
|
|
65
|
+
width: $buttonIconOnlyWidth;
|
|
66
|
+
box-shadow: $raisedButtonShadow;
|
|
67
|
+
border-radius: 0;
|
|
68
|
+
|
|
69
|
+
&:focus {
|
|
70
|
+
@include focused-inset();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.p-tieredmenu {
|
|
2
|
+
padding: $verticalMenuPadding;
|
|
3
|
+
background: $menuBg;
|
|
4
|
+
color: $menuTextColor;
|
|
5
|
+
border: $menuBorder;
|
|
6
|
+
border-radius: $borderRadius;
|
|
7
|
+
width: $menuWidth;
|
|
8
|
+
|
|
9
|
+
&.p-tieredmenu-overlay {
|
|
10
|
+
background: $overlayMenuBg;
|
|
11
|
+
border: $overlayMenuBorder;
|
|
12
|
+
box-shadow: $overlayMenuShadow;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-tieredmenu-root-list {
|
|
16
|
+
outline: 0 none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-submenu-list {
|
|
20
|
+
padding: $verticalMenuPadding;
|
|
21
|
+
background: $overlayMenuBg;
|
|
22
|
+
border: $overlayMenuBorder;
|
|
23
|
+
box-shadow: $overlayMenuShadow;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-menuitem {
|
|
27
|
+
@include menuitem();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-menuitem-separator {
|
|
31
|
+
border-top: $divider;
|
|
32
|
+
margin: $menuSeparatorMargin;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-submenu-icon {
|
|
36
|
+
font-size: $menuitemSubmenuIconFontSize;
|
|
37
|
+
|
|
38
|
+
&.p-icon {
|
|
39
|
+
width: $menuitemSubmenuIconFontSize;
|
|
40
|
+
height: $menuitemSubmenuIconFontSize;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.p-inline-message {
|
|
2
|
+
padding: $inlineMessagePadding;
|
|
3
|
+
margin: $inlineMessageMargin;
|
|
4
|
+
border-radius: $borderRadius;
|
|
5
|
+
|
|
6
|
+
&.p-inline-message-info {
|
|
7
|
+
background: $infoMessageBg;
|
|
8
|
+
border: $infoMessageBorder;
|
|
9
|
+
border-width: $inlineMessageBorderWidth;
|
|
10
|
+
color: $infoMessageTextColor;
|
|
11
|
+
|
|
12
|
+
.p-inline-message-icon {
|
|
13
|
+
color: $infoMessageIconColor;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.p-inline-message-success {
|
|
18
|
+
background: $successMessageBg;
|
|
19
|
+
border: $successMessageBorder;
|
|
20
|
+
border-width: $inlineMessageBorderWidth;
|
|
21
|
+
color: $successMessageTextColor;
|
|
22
|
+
|
|
23
|
+
.p-inline-message-icon {
|
|
24
|
+
color: $successMessageIconColor;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.p-inline-message-warn {
|
|
29
|
+
background: $warningMessageBg;
|
|
30
|
+
border: $warningMessageBorder;
|
|
31
|
+
border-width: $inlineMessageBorderWidth;
|
|
32
|
+
color: $warningMessageTextColor;
|
|
33
|
+
|
|
34
|
+
.p-inline-message-icon {
|
|
35
|
+
color: $warningMessageIconColor;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.p-inline-message-error {
|
|
40
|
+
background: $errorMessageBg;
|
|
41
|
+
border: $errorMessageBorder;
|
|
42
|
+
border-width: $inlineMessageBorderWidth;
|
|
43
|
+
color: $errorMessageTextColor;
|
|
44
|
+
|
|
45
|
+
.p-inline-message-icon {
|
|
46
|
+
color: $errorMessageIconColor;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-inline-message-icon {
|
|
51
|
+
font-size: $inlineMessageIconFontSize;
|
|
52
|
+
margin-right: $inlineSpacing;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-icon {
|
|
56
|
+
width: $inlineMessageIconFontSize;
|
|
57
|
+
height: $inlineMessageIconFontSize;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-inline-message-text {
|
|
61
|
+
font-size: $inlineMessageTextFontSize;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.p-inline-message-icon-only {
|
|
65
|
+
.p-inline-message-icon {
|
|
66
|
+
margin-right: 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
.p-message {
|
|
2
|
+
margin: $messageMargin;
|
|
3
|
+
border-radius: $borderRadius;
|
|
4
|
+
|
|
5
|
+
.p-message-wrapper {
|
|
6
|
+
padding: $messagePadding;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.p-message-close {
|
|
10
|
+
width: $actionIconWidth;
|
|
11
|
+
height: $actionIconHeight;
|
|
12
|
+
border-radius: $actionIconBorderRadius;
|
|
13
|
+
background: transparent;
|
|
14
|
+
transition: $actionIconTransition;
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
background: rgba(255, 255, 255, 0.5);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:focus-visible {
|
|
21
|
+
@include focused();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.p-message-info {
|
|
26
|
+
background: $infoMessageBg;
|
|
27
|
+
border: $infoMessageBorder;
|
|
28
|
+
border-width: $messageBorderWidth;
|
|
29
|
+
color: $infoMessageTextColor;
|
|
30
|
+
|
|
31
|
+
.p-message-icon {
|
|
32
|
+
color: $infoMessageIconColor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-message-close {
|
|
36
|
+
color: $infoMessageIconColor;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.p-message-success {
|
|
41
|
+
background: $successMessageBg;
|
|
42
|
+
border: $successMessageBorder;
|
|
43
|
+
border-width: $messageBorderWidth;
|
|
44
|
+
color: $successMessageTextColor;
|
|
45
|
+
|
|
46
|
+
.p-message-icon {
|
|
47
|
+
color: $successMessageIconColor;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-message-close {
|
|
51
|
+
color: $successMessageIconColor;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.p-message-warn {
|
|
56
|
+
background: $warningMessageBg;
|
|
57
|
+
border: $warningMessageBorder;
|
|
58
|
+
border-width: $messageBorderWidth;
|
|
59
|
+
color: $warningMessageTextColor;
|
|
60
|
+
|
|
61
|
+
.p-message-icon {
|
|
62
|
+
color: $warningMessageIconColor;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-message-close {
|
|
66
|
+
color: $warningMessageIconColor;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.p-message-error {
|
|
71
|
+
background: $errorMessageBg;
|
|
72
|
+
border: $errorMessageBorder;
|
|
73
|
+
border-width: $messageBorderWidth;
|
|
74
|
+
color: $errorMessageTextColor;
|
|
75
|
+
|
|
76
|
+
.p-message-icon {
|
|
77
|
+
color: $errorMessageIconColor;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.p-message-close {
|
|
81
|
+
color: $errorMessageIconColor;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.p-message-text {
|
|
86
|
+
font-size: $messageTextFontSize;
|
|
87
|
+
font-weight: $messageTextFontWeight;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.p-message-icon {
|
|
91
|
+
font-size: $messageIconFontSize;
|
|
92
|
+
margin-right: $inlineSpacing;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.p-icon {
|
|
96
|
+
width: $messageIconFontSize;
|
|
97
|
+
height: $messageIconFontSize;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-message-summary {
|
|
101
|
+
font-weight: 700;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.p-message-detail {
|
|
105
|
+
margin-left: $inlineSpacing;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
.p-toast {
|
|
2
|
+
opacity: $toastOpacity;
|
|
3
|
+
|
|
4
|
+
.p-toast-message {
|
|
5
|
+
margin: $toastMargin;
|
|
6
|
+
box-shadow: $toastShadow;
|
|
7
|
+
border-radius: $borderRadius;
|
|
8
|
+
|
|
9
|
+
.p-toast-message-content {
|
|
10
|
+
padding: $toastPadding;
|
|
11
|
+
border-width: $toastBorderWidth;
|
|
12
|
+
|
|
13
|
+
.p-toast-message-text {
|
|
14
|
+
margin: $toastMessageTextMargin;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-toast-message-icon {
|
|
18
|
+
font-size: $toastIconFontSize;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-icon:not(.p-toast-icon-close-icon) {
|
|
22
|
+
width: $toastIconFontSize;
|
|
23
|
+
height: $toastIconFontSize;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-toast-summary {
|
|
27
|
+
font-weight: $toastTitleFontWeight;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-toast-detail {
|
|
31
|
+
margin: $toastDetailMargin;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-toast-icon-close {
|
|
36
|
+
width: $toastIconFontSize;
|
|
37
|
+
height: $toastIconFontSize;
|
|
38
|
+
border-radius: $actionIconBorderRadius;
|
|
39
|
+
background: transparent;
|
|
40
|
+
transition: $actionIconTransition;
|
|
41
|
+
|
|
42
|
+
&:hover {
|
|
43
|
+
background: rgba(255, 255, 255, 0.5);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:focus-visible {
|
|
47
|
+
@include focused();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.p-toast-message-info {
|
|
52
|
+
background: $infoMessageBg;
|
|
53
|
+
border: $infoMessageBorder;
|
|
54
|
+
border-width: $messageBorderWidth;
|
|
55
|
+
color: $infoMessageTextColor;
|
|
56
|
+
|
|
57
|
+
.p-toast-message-icon,
|
|
58
|
+
.p-toast-icon-close {
|
|
59
|
+
color: $infoMessageIconColor;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.p-toast-message-success {
|
|
64
|
+
background: $successMessageBg;
|
|
65
|
+
border: $successMessageBorder;
|
|
66
|
+
border-width: $messageBorderWidth;
|
|
67
|
+
color: $successMessageTextColor;
|
|
68
|
+
|
|
69
|
+
.p-toast-message-icon,
|
|
70
|
+
.p-toast-icon-close {
|
|
71
|
+
color: $successMessageIconColor;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.p-toast-message-warn {
|
|
76
|
+
background: $warningMessageBg;
|
|
77
|
+
border: $warningMessageBorder;
|
|
78
|
+
border-width: $messageBorderWidth;
|
|
79
|
+
color: $warningMessageTextColor;
|
|
80
|
+
|
|
81
|
+
.p-toast-message-icon,
|
|
82
|
+
.p-toast-icon-close {
|
|
83
|
+
color: $warningMessageIconColor;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.p-toast-message-error {
|
|
88
|
+
background: $errorMessageBg;
|
|
89
|
+
border: $errorMessageBorder;
|
|
90
|
+
border-width: $messageBorderWidth;
|
|
91
|
+
color: $errorMessageTextColor;
|
|
92
|
+
|
|
93
|
+
.p-toast-message-icon,
|
|
94
|
+
.p-toast-icon-close {
|
|
95
|
+
color: $errorMessageIconColor;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.p-avatar {
|
|
2
|
+
background-color: $avatarBg;
|
|
3
|
+
border-radius: $borderRadius;
|
|
4
|
+
|
|
5
|
+
&.p-avatar-lg {
|
|
6
|
+
width: 3rem;
|
|
7
|
+
height: 3rem;
|
|
8
|
+
font-size: 1.5rem;
|
|
9
|
+
|
|
10
|
+
.p-avatar-icon {
|
|
11
|
+
font-size: 1.5rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.p-avatar-xl {
|
|
16
|
+
width: 4rem;
|
|
17
|
+
height: 4rem;
|
|
18
|
+
font-size: 2rem;
|
|
19
|
+
|
|
20
|
+
.p-avatar-icon {
|
|
21
|
+
font-size: 2rem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-avatar-group {
|
|
27
|
+
.p-avatar {
|
|
28
|
+
border: 2px solid $panelContentBg;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.p-badge {
|
|
2
|
+
background: $badgeBg;
|
|
3
|
+
color: $badgeTextColor;
|
|
4
|
+
font-size: $badgeFontSize;
|
|
5
|
+
font-weight: $badgeFontWeight;
|
|
6
|
+
min-width: $badgeMinWidth;
|
|
7
|
+
height: $badgeHeight;
|
|
8
|
+
line-height: $badgeHeight;
|
|
9
|
+
|
|
10
|
+
&.p-badge-secondary {
|
|
11
|
+
background-color: $secondaryButtonBg;
|
|
12
|
+
color: $secondaryButtonTextColor;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.p-badge-success {
|
|
16
|
+
background-color: $successButtonBg;
|
|
17
|
+
color: $successButtonTextColor;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.p-badge-info {
|
|
21
|
+
background-color: $infoButtonBg;
|
|
22
|
+
color: $infoButtonTextColor;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.p-badge-warning {
|
|
26
|
+
background-color: $warningButtonBg;
|
|
27
|
+
color: $warningButtonTextColor;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.p-badge-danger {
|
|
31
|
+
background-color: $dangerButtonBg;
|
|
32
|
+
color: $dangerButtonTextColor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.p-badge-lg {
|
|
36
|
+
font-size: 1.5 * $badgeFontSize;
|
|
37
|
+
min-width: 1.5 * $badgeMinWidth;
|
|
38
|
+
height: 1.5 * $badgeHeight;
|
|
39
|
+
line-height: 1.5 * $badgeHeight;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.p-badge-xl {
|
|
43
|
+
font-size: 2 * $badgeFontSize;
|
|
44
|
+
min-width: 2 * $badgeMinWidth;
|
|
45
|
+
height: 2 * $badgeHeight;
|
|
46
|
+
line-height: 2 * $badgeHeight;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-chip {
|
|
4
|
+
background-color: $chipBg;
|
|
5
|
+
color: $chipTextColor;
|
|
6
|
+
border-radius: $chipBorderRadius;
|
|
7
|
+
padding: 0 nth($inputPadding, 2);
|
|
8
|
+
|
|
9
|
+
.p-chip-text {
|
|
10
|
+
line-height: 1.5;
|
|
11
|
+
margin-top: math.div(nth($inputPadding, 1), 2);
|
|
12
|
+
margin-bottom: math.div(nth($inputPadding, 1), 2);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-chip-icon {
|
|
16
|
+
margin-right: $inlineSpacing;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pi-chip-remove-icon {
|
|
20
|
+
margin-left: $inlineSpacing;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
img {
|
|
24
|
+
width: 1.5 + nth($inputPadding, 1);
|
|
25
|
+
height: 1.5 + nth($inputPadding, 1);
|
|
26
|
+
margin-left: -1 * nth($inputPadding, 2);
|
|
27
|
+
margin-right: $inlineSpacing;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pi-chip-remove-icon {
|
|
31
|
+
border-radius: $borderRadius;
|
|
32
|
+
transition: $actionIconTransition;
|
|
33
|
+
|
|
34
|
+
&:focus-visible {
|
|
35
|
+
@include focused();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:focus {
|
|
39
|
+
outline: 0 none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.p-inplace {
|
|
2
|
+
.p-inplace-display {
|
|
3
|
+
padding: $inplacePadding;
|
|
4
|
+
border-radius: $borderRadius;
|
|
5
|
+
transition: $formElementTransition;
|
|
6
|
+
|
|
7
|
+
&:not(.p-disabled):hover {
|
|
8
|
+
background: $inplaceHoverBg;
|
|
9
|
+
color: $inplaceTextHoverColor;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:focus {
|
|
13
|
+
@include focused();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.p-progressbar {
|
|
2
|
+
border: $progressBarBorder;
|
|
3
|
+
height: $progressBarHeight;
|
|
4
|
+
background: $progressBarBg;
|
|
5
|
+
border-radius: $borderRadius;
|
|
6
|
+
|
|
7
|
+
.p-progressbar-value {
|
|
8
|
+
border: 0 none;
|
|
9
|
+
margin: 0;
|
|
10
|
+
background: $progressBarValueBg;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-progressbar-label {
|
|
14
|
+
color: $progressBarValueTextColor;
|
|
15
|
+
line-height: $progressBarHeight;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.p-scrolltop {
|
|
2
|
+
width: $scrollTopWidth;
|
|
3
|
+
height: $scrollTopHeight;
|
|
4
|
+
border-radius: $scrollTopBorderRadius;
|
|
5
|
+
box-shadow: $inputOverlayShadow;
|
|
6
|
+
transition: $actionIconTransition;
|
|
7
|
+
|
|
8
|
+
&.p-link {
|
|
9
|
+
background: $scrollTopBg;
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
background: $scrollTopHoverBg;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-scrolltop-icon {
|
|
17
|
+
font-size: $scrollTopFontSize;
|
|
18
|
+
color: $scrollTopTextColor;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-icon {
|
|
22
|
+
width: $scrollTopFontSize;
|
|
23
|
+
height: $scrollTopFontSize;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-tag {
|
|
4
|
+
background: $badgeBg;
|
|
5
|
+
color: $badgeTextColor;
|
|
6
|
+
font-size: $badgeFontSize;
|
|
7
|
+
font-weight: $badgeFontWeight;
|
|
8
|
+
padding: $tagPadding;
|
|
9
|
+
border-radius: $borderRadius;
|
|
10
|
+
|
|
11
|
+
&.p-tag-success {
|
|
12
|
+
background-color: $successButtonBg;
|
|
13
|
+
color: $successButtonTextColor;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.p-tag-info {
|
|
17
|
+
background-color: $infoButtonBg;
|
|
18
|
+
color: $infoButtonTextColor;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.p-tag-warning {
|
|
22
|
+
background-color: $warningButtonBg;
|
|
23
|
+
color: $warningButtonTextColor;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.p-tag-danger {
|
|
27
|
+
background-color: $dangerButtonBg;
|
|
28
|
+
color: $dangerButtonTextColor;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.p-tag-icon {
|
|
32
|
+
margin-right: math.div($inlineSpacing, 2);
|
|
33
|
+
font-size: $badgeFontSize;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-icon {
|
|
37
|
+
width: $badgeFontSize;
|
|
38
|
+
height: $badgeFontSize;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.p-terminal {
|
|
2
|
+
background: $panelContentBg;
|
|
3
|
+
color: $panelContentTextColor;
|
|
4
|
+
border: $panelContentBorder;
|
|
5
|
+
padding: $panelContentPadding;
|
|
6
|
+
|
|
7
|
+
.p-terminal-input {
|
|
8
|
+
font-family: var(--font-family);
|
|
9
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
|
10
|
+
font-size: $inputTextFontSize;
|
|
11
|
+
}
|
|
12
|
+
}
|