@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,150 @@
|
|
|
1
|
+
.p-tree {
|
|
2
|
+
border: $panelContentBorder;
|
|
3
|
+
background: $panelContentBg;
|
|
4
|
+
color: $panelContentTextColor;
|
|
5
|
+
padding: $panelContentPadding;
|
|
6
|
+
border-radius: $borderRadius;
|
|
7
|
+
|
|
8
|
+
.p-tree-container {
|
|
9
|
+
.p-treenode {
|
|
10
|
+
padding: $treeNodePadding;
|
|
11
|
+
outline: 0 none;
|
|
12
|
+
|
|
13
|
+
&:focus > .p-treenode-content {
|
|
14
|
+
@include focused-listitem();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-treenode-content {
|
|
18
|
+
border-radius: $borderRadius;
|
|
19
|
+
transition: $listItemTransition;
|
|
20
|
+
padding: $treeNodeContentPadding;
|
|
21
|
+
|
|
22
|
+
.p-tree-toggler {
|
|
23
|
+
margin-right: $inlineSpacing;
|
|
24
|
+
@include action-icon();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-treenode-icon {
|
|
28
|
+
margin-right: $inlineSpacing;
|
|
29
|
+
color: $treeNodeIconColor;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.p-checkbox {
|
|
33
|
+
margin-right: $inlineSpacing;
|
|
34
|
+
|
|
35
|
+
.p-indeterminate {
|
|
36
|
+
.p-checkbox-icon {
|
|
37
|
+
color: $textColor;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.p-highlight {
|
|
43
|
+
background: $highlightBg;
|
|
44
|
+
color: $highlightTextColor;
|
|
45
|
+
|
|
46
|
+
.p-tree-toggler,
|
|
47
|
+
.p-treenode-icon {
|
|
48
|
+
color: $highlightTextColor;
|
|
49
|
+
|
|
50
|
+
&:hover {
|
|
51
|
+
color: $highlightTextColor;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.p-treenode-selectable:not(.p-highlight):hover {
|
|
57
|
+
background: $inputListItemHoverBg;
|
|
58
|
+
color: $inputListItemTextHoverColor;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.p-treenode-dragover {
|
|
62
|
+
background: $inputListItemHoverBg;
|
|
63
|
+
color: $inputListItemTextHoverColor;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.p-tree-filter-container {
|
|
70
|
+
margin-bottom: $inlineSpacing;
|
|
71
|
+
|
|
72
|
+
.p-tree-filter {
|
|
73
|
+
width: 100%;
|
|
74
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.p-tree-filter-icon {
|
|
78
|
+
right: nth($inputPadding, 2);
|
|
79
|
+
color: $inputIconColor;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.p-treenode-children {
|
|
84
|
+
padding: $treeNodeChildrenPadding;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.p-tree-loading-icon {
|
|
88
|
+
font-size: $loadingIconFontSize;
|
|
89
|
+
|
|
90
|
+
&.p-icon {
|
|
91
|
+
width: $loadingIconFontSize;
|
|
92
|
+
height: $loadingIconFontSize;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.p-treenode-droppoint {
|
|
97
|
+
&.p-treenode-droppoint-active {
|
|
98
|
+
background-color: scale-color($highlightBg, $lightness: -20%);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.p-tree-horizontal {
|
|
103
|
+
.p-treenode {
|
|
104
|
+
.p-treenode-content {
|
|
105
|
+
border-radius: $borderRadius;
|
|
106
|
+
border: $panelContentBorder;
|
|
107
|
+
background-color: $panelContentBg;
|
|
108
|
+
color: $panelContentTextColor;
|
|
109
|
+
padding: $treeNodeContentPadding;
|
|
110
|
+
transition: $listItemTransition;
|
|
111
|
+
|
|
112
|
+
&.p-highlight {
|
|
113
|
+
background-color: $highlightBg;
|
|
114
|
+
color: $highlightTextColor;
|
|
115
|
+
|
|
116
|
+
.p-treenode-icon {
|
|
117
|
+
color: $highlightTextColor;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.p-tree-toggler {
|
|
122
|
+
margin-right: $inlineSpacing;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.p-treenode-icon {
|
|
126
|
+
color: $treeNodeIconColor;
|
|
127
|
+
margin-right: $inlineSpacing;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.p-checkbox {
|
|
131
|
+
margin-right: $inlineSpacing;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.p-treenode-label:not(.p-highlight):hover {
|
|
135
|
+
background-color: inherit;
|
|
136
|
+
color: inherit;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.p-treenode-selectable:not(.p-highlight):hover {
|
|
140
|
+
background: $inputListItemHoverBg;
|
|
141
|
+
color: $inputListItemTextHoverColor;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:focus {
|
|
145
|
+
@include focused();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
.p-treetable {
|
|
2
|
+
.p-paginator-top {
|
|
3
|
+
border-width: $tableTopPaginatorBorderWidth;
|
|
4
|
+
border-radius: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-paginator-bottom {
|
|
8
|
+
border-width: $tableBottomPaginatorBorderWidth;
|
|
9
|
+
border-radius: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-treetable-header {
|
|
13
|
+
background: $tableHeaderBg;
|
|
14
|
+
color: $tableHeaderTextColor;
|
|
15
|
+
border: $tableHeaderBorder;
|
|
16
|
+
border-width: $tableHeaderBorderWidth;
|
|
17
|
+
padding: $tableHeaderPadding;
|
|
18
|
+
font-weight: $tableHeaderFontWeight;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-treetable-footer {
|
|
22
|
+
background: $tableFooterBg;
|
|
23
|
+
color: $tableFooterTextColor;
|
|
24
|
+
border: $tableFooterBorder;
|
|
25
|
+
border-width: $tableFooterBorderWidth;
|
|
26
|
+
padding: $tableFooterPadding;
|
|
27
|
+
font-weight: $tableFooterFontWeight;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-treetable-thead > tr > th {
|
|
31
|
+
text-align: $tableCellContentAlignment;
|
|
32
|
+
padding: $tableHeaderCellPadding;
|
|
33
|
+
border: $tableHeaderCellBorder;
|
|
34
|
+
border-width: $tableHeaderCellBorderWidth;
|
|
35
|
+
font-weight: $tableHeaderCellFontWeight;
|
|
36
|
+
color: $tableHeaderCellTextColor;
|
|
37
|
+
background: $tableHeaderCellBg;
|
|
38
|
+
transition: $listItemTransition;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-treetable-tfoot > tr > td {
|
|
42
|
+
text-align: $tableCellContentAlignment;
|
|
43
|
+
padding: $tableFooterCellPadding;
|
|
44
|
+
border: $tableFooterCellBorder;
|
|
45
|
+
border-width: $tableFooterCellBorderWidth;
|
|
46
|
+
font-weight: $tableFooterCellFontWeight;
|
|
47
|
+
color: $tableFooterCellTextColor;
|
|
48
|
+
background: $tableFooterCellBg;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.p-sortable-column {
|
|
52
|
+
outline-color: $focusOutlineColor;
|
|
53
|
+
|
|
54
|
+
.p-sortable-column-icon {
|
|
55
|
+
color: $tableHeaderCellIconColor;
|
|
56
|
+
margin-left: $inlineSpacing;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.p-sortable-column-badge {
|
|
60
|
+
border-radius: 50%;
|
|
61
|
+
height: $tableSortableColumnBadgeSize;
|
|
62
|
+
min-width: $tableSortableColumnBadgeSize;
|
|
63
|
+
line-height: $tableSortableColumnBadgeSize;
|
|
64
|
+
color: $highlightTextColor;
|
|
65
|
+
background: $highlightBg;
|
|
66
|
+
margin-left: $inlineSpacing;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:not(.p-highlight):hover {
|
|
70
|
+
background: $tableHeaderCellHoverBg;
|
|
71
|
+
color: $tableHeaderCellTextHoverColor;
|
|
72
|
+
|
|
73
|
+
.p-sortable-column-icon {
|
|
74
|
+
color: $tableHeaderCellIconHoverColor;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.p-highlight {
|
|
79
|
+
background: $tableHeaderCellHighlightBg;
|
|
80
|
+
color: $tableHeaderCellHighlightTextColor;
|
|
81
|
+
|
|
82
|
+
.p-sortable-column-icon {
|
|
83
|
+
color: $tableHeaderCellHighlightTextColor;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-treetable-tbody {
|
|
89
|
+
> tr {
|
|
90
|
+
background: $tableBodyRowBg;
|
|
91
|
+
color: $tableBodyRowTextColor;
|
|
92
|
+
transition: $listItemTransition;
|
|
93
|
+
|
|
94
|
+
> td {
|
|
95
|
+
text-align: $tableCellContentAlignment;
|
|
96
|
+
border: $tableBodyCellBorder;
|
|
97
|
+
border-width: $tableBodyCellBorderWidth;
|
|
98
|
+
padding: $tableBodyCellPadding;
|
|
99
|
+
|
|
100
|
+
.p-treetable-toggler {
|
|
101
|
+
@include action-icon();
|
|
102
|
+
margin-right: $inlineSpacing;
|
|
103
|
+
|
|
104
|
+
&.p-icon {
|
|
105
|
+
width: $loadingIconFontSize;
|
|
106
|
+
height: $loadingIconFontSize;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
p-treetablecheckbox .p-checkbox {
|
|
111
|
+
margin-right: $inlineSpacing;
|
|
112
|
+
|
|
113
|
+
.p-indeterminate {
|
|
114
|
+
.p-checkbox-icon {
|
|
115
|
+
color: $textColor;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:focus-visible {
|
|
122
|
+
outline: 0.15rem solid $focusOutlineColor;
|
|
123
|
+
outline-offset: -0.15rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.p-highlight {
|
|
127
|
+
background: $highlightBg;
|
|
128
|
+
color: $highlightTextColor;
|
|
129
|
+
|
|
130
|
+
.p-treetable-toggler {
|
|
131
|
+
color: $highlightTextColor;
|
|
132
|
+
|
|
133
|
+
&:hover {
|
|
134
|
+
color: $highlightTextColor;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.p-treetable-hoverable-rows {
|
|
142
|
+
.p-treetable-tbody > tr:not(.p-highlight):hover {
|
|
143
|
+
background: $tableBodyRowHoverBg;
|
|
144
|
+
color: $tableBodyRowTextHoverColor;
|
|
145
|
+
|
|
146
|
+
.p-treetable-toggler {
|
|
147
|
+
color: $tableBodyRowTextHoverColor;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.p-column-resizer-helper {
|
|
153
|
+
background: $tableResizerHelperBg;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.p-treetable-scrollable-header,
|
|
157
|
+
.p-treetable-scrollable-footer {
|
|
158
|
+
background: $panelHeaderBg;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.p-treetable-loading-icon {
|
|
162
|
+
font-size: $loadingIconFontSize;
|
|
163
|
+
|
|
164
|
+
&.p-icon {
|
|
165
|
+
width: $loadingIconFontSize;
|
|
166
|
+
height: $loadingIconFontSize;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&.p-treetable-gridlines {
|
|
171
|
+
.p-datatable-header {
|
|
172
|
+
border-width: 1px 1px 0 1px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.p-treetable-footer {
|
|
176
|
+
border-width: 0 1px 1px 1px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.p-treetable-top {
|
|
180
|
+
border-width: 0 1px 0 1px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.p-treetable-bottom {
|
|
184
|
+
border-width: 0 1px 1px 1px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.p-treetable-thead {
|
|
188
|
+
> tr {
|
|
189
|
+
> th {
|
|
190
|
+
border-width: 1px;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.p-treetable-tbody {
|
|
196
|
+
> tr {
|
|
197
|
+
> td {
|
|
198
|
+
border-width: 1px;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.p-treetable-tfoot {
|
|
204
|
+
> tr {
|
|
205
|
+
> td {
|
|
206
|
+
border-width: 1px;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&.p-treetable-sm {
|
|
213
|
+
.p-treetable-header {
|
|
214
|
+
@include scaledPadding($tableHeaderPadding, $scaleSM);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.p-treetable-thead > tr > th {
|
|
218
|
+
@include scaledPadding($tableHeaderCellPadding, $tableScaleSM);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.p-treetable-tbody > tr > td {
|
|
222
|
+
@include scaledPadding($tableBodyCellPadding, $tableScaleSM);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.p-treetable-tfoot > tr > td {
|
|
226
|
+
@include scaledPadding($tableFooterPadding, $tableScaleSM);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.p-treetable-footer {
|
|
230
|
+
@include scaledPadding($tableFooterPadding, $tableScaleSM);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&.p-treetable-lg {
|
|
235
|
+
.p-treetable-header {
|
|
236
|
+
@include scaledPadding($tableHeaderPadding, $tableScaleLG);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.p-treetable-thead > tr > th {
|
|
240
|
+
@include scaledPadding($tableHeaderCellPadding, $tableScaleLG);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.p-treetable-tbody > tr > td {
|
|
244
|
+
@include scaledPadding($tableBodyCellPadding, $tableScaleLG);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.p-treetable-tfoot > tr > td {
|
|
248
|
+
@include scaledPadding($tableFooterPadding, $tableScaleLG);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.p-treetable-footer {
|
|
252
|
+
@include scaledPadding($tableFooterPadding, $tableScaleLG);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.p-virtualscroller {
|
|
2
|
+
.p-virtualscroller-header {
|
|
3
|
+
background: $tableHeaderBg;
|
|
4
|
+
color: $tableHeaderTextColor;
|
|
5
|
+
border: $tableHeaderBorder;
|
|
6
|
+
border-width: $tableHeaderBorderWidth;
|
|
7
|
+
padding: $tableHeaderPadding;
|
|
8
|
+
font-weight: $tableHeaderFontWeight;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-virtualscroller-content {
|
|
12
|
+
background: $tableBodyRowBg;
|
|
13
|
+
color: $tableBodyRowTextColor;
|
|
14
|
+
border: $dataViewContentBorder;
|
|
15
|
+
padding: $dataViewContentPadding;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-virtualscroller-footer {
|
|
19
|
+
background: $tableFooterBg;
|
|
20
|
+
color: $tableFooterTextColor;
|
|
21
|
+
border: $tableFooterBorder;
|
|
22
|
+
border-width: $tableFooterBorderWidth;
|
|
23
|
+
padding: $tableFooterPadding;
|
|
24
|
+
font-weight: $tableFooterFontWeight;
|
|
25
|
+
border-bottom-left-radius: $borderRadius;
|
|
26
|
+
border-bottom-right-radius: $borderRadius;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.p-fileupload {
|
|
2
|
+
.p-fileupload-buttonbar {
|
|
3
|
+
background: $panelHeaderBg;
|
|
4
|
+
padding: $panelHeaderPadding;
|
|
5
|
+
border: $panelHeaderBorder;
|
|
6
|
+
color: $panelHeaderTextColor;
|
|
7
|
+
border-bottom: 0 none;
|
|
8
|
+
border-top-right-radius: $borderRadius;
|
|
9
|
+
border-top-left-radius: $borderRadius;
|
|
10
|
+
|
|
11
|
+
.p-button {
|
|
12
|
+
margin-right: $inlineSpacing;
|
|
13
|
+
|
|
14
|
+
&.p-fileupload-choose.p-focus {
|
|
15
|
+
@include focused();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-fileupload-content {
|
|
21
|
+
background: $panelContentBg;
|
|
22
|
+
padding: $fileUploadContentPadding;
|
|
23
|
+
border: $panelContentBorder;
|
|
24
|
+
color: $panelContentTextColor;
|
|
25
|
+
border-bottom-right-radius: $borderRadius;
|
|
26
|
+
border-bottom-left-radius: $borderRadius;
|
|
27
|
+
|
|
28
|
+
&.p-fileupload-highlight {
|
|
29
|
+
border-color: $fileUploadContentHoverBorder;
|
|
30
|
+
border-style: dashed;
|
|
31
|
+
background-color: $highlightBg;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-progressbar {
|
|
36
|
+
height: $fileUploadProgressBarHeight;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.p-fileupload-row {
|
|
40
|
+
> div {
|
|
41
|
+
padding: $tableBodyCellPadding;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.p-fileupload-advanced {
|
|
46
|
+
.p-message {
|
|
47
|
+
margin-top: 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-fileupload-choose {
|
|
53
|
+
&:not(.p-disabled):hover {
|
|
54
|
+
background: $buttonHoverBg;
|
|
55
|
+
color: $buttonTextHoverColor;
|
|
56
|
+
border-color: $buttonHoverBorderColor;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:not(.p-disabled):active {
|
|
60
|
+
background: $buttonActiveBg;
|
|
61
|
+
color: $buttonTextActiveColor;
|
|
62
|
+
border-color: $buttonActiveBorderColor;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-autocomplete {
|
|
4
|
+
.p-autocomplete-loader {
|
|
5
|
+
right: nth($inputPadding, 2);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.p-autocomplete-dd {
|
|
9
|
+
.p-autocomplete-loader {
|
|
10
|
+
right: nth($inputPadding, 2) + $buttonIconOnlyWidth;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:not(.p-disabled):hover {
|
|
15
|
+
.p-autocomplete-multiple-container {
|
|
16
|
+
border-color: $inputHoverBorderColor;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:not(.p-disabled).p-focus {
|
|
21
|
+
.p-autocomplete-multiple-container {
|
|
22
|
+
@include focused-input();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-autocomplete-multiple-container {
|
|
27
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
28
|
+
gap: $inlineSpacing;
|
|
29
|
+
|
|
30
|
+
.p-autocomplete-input-token {
|
|
31
|
+
padding: math.div(nth($inputPadding, 1), 2) 0;
|
|
32
|
+
|
|
33
|
+
input {
|
|
34
|
+
font-family: var(--font-family);
|
|
35
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
|
36
|
+
font-size: $inputTextFontSize;
|
|
37
|
+
color: $textColor;
|
|
38
|
+
padding: 0;
|
|
39
|
+
margin: 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-autocomplete-token {
|
|
44
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
45
|
+
background: $chipBg;
|
|
46
|
+
color: $chipTextColor;
|
|
47
|
+
border-radius: $chipBorderRadius;
|
|
48
|
+
|
|
49
|
+
.p-autocomplete-token-icon {
|
|
50
|
+
margin-left: $inlineSpacing;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.p-focus {
|
|
54
|
+
background: $chipFocusBg;
|
|
55
|
+
color: $chipFocusTextColor;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.p-invalid.p-component > .p-inputtext {
|
|
61
|
+
@include invalid-input();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-autocomplete-panel {
|
|
66
|
+
background: $inputOverlayBg;
|
|
67
|
+
color: $inputListTextColor;
|
|
68
|
+
border: $inputOverlayBorder;
|
|
69
|
+
border-radius: $borderRadius;
|
|
70
|
+
box-shadow: $inputOverlayShadow;
|
|
71
|
+
|
|
72
|
+
.p-autocomplete-items {
|
|
73
|
+
padding: $inputListPadding;
|
|
74
|
+
|
|
75
|
+
.p-autocomplete-item {
|
|
76
|
+
margin: $inputListItemMargin;
|
|
77
|
+
padding: $inputListItemPadding;
|
|
78
|
+
border: $inputListItemBorder;
|
|
79
|
+
color: $inputListItemTextColor;
|
|
80
|
+
background: $inputListItemBg;
|
|
81
|
+
transition: $listItemTransition;
|
|
82
|
+
border-radius: $inputListItemBorderRadius;
|
|
83
|
+
|
|
84
|
+
&.p-highlight {
|
|
85
|
+
color: $highlightTextColor;
|
|
86
|
+
background: $highlightBg;
|
|
87
|
+
|
|
88
|
+
&.p-focus {
|
|
89
|
+
background: $highlightFocusBg;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
94
|
+
&.p-focus {
|
|
95
|
+
color: $inputListItemTextFocusColor;
|
|
96
|
+
background: $inputListItemFocusBg;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
color: $inputListItemTextHoverColor;
|
|
101
|
+
background: $inputListItemHoverBg;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.p-autocomplete-item-group {
|
|
107
|
+
margin: $submenuHeaderMargin;
|
|
108
|
+
padding: $submenuHeaderPadding;
|
|
109
|
+
color: $submenuHeaderTextColor;
|
|
110
|
+
background: $submenuHeaderBg;
|
|
111
|
+
font-weight: $submenuHeaderFontWeight;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
|
|
117
|
+
@include invalid-input();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
p-autocomplete.p-autocomplete-clearable {
|
|
121
|
+
.p-inputtext {
|
|
122
|
+
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.p-autocomplete-clear-icon {
|
|
126
|
+
color: $inputIconColor;
|
|
127
|
+
right: nth($inputPadding, 2);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
p-autocomplete.p-autocomplete-clearable .p-autocomplete-dd {
|
|
132
|
+
.p-autocomplete-clear-icon {
|
|
133
|
+
color: $inputIconColor;
|
|
134
|
+
right: $buttonIconOnlyWidth + nth($inputPadding, 2);
|
|
135
|
+
}
|
|
136
|
+
}
|