@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,348 @@
|
|
|
1
|
+
.p-splitbutton {
|
|
2
|
+
border-radius: $borderRadius;
|
|
3
|
+
|
|
4
|
+
&.p-button-outlined {
|
|
5
|
+
> .p-button {
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
color: $buttonBg;
|
|
8
|
+
border: $outlinedButtonBorder;
|
|
9
|
+
|
|
10
|
+
&:not(:disabled):hover {
|
|
11
|
+
background: rgba($buttonBg, $textButtonHoverBgOpacity);
|
|
12
|
+
color: $buttonBg;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:not(:disabled):active {
|
|
16
|
+
background: rgba($buttonBg, $textButtonActiveBgOpacity);
|
|
17
|
+
color: $buttonBg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.p-button-plain {
|
|
22
|
+
> .p-button {
|
|
23
|
+
color: $plainButtonTextColor;
|
|
24
|
+
border-color: $plainButtonTextColor;
|
|
25
|
+
|
|
26
|
+
&:not(:disabled):hover {
|
|
27
|
+
background: $plainButtonHoverBgColor;
|
|
28
|
+
color: $plainButtonTextColor;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:not(:disabled):active {
|
|
32
|
+
background: $plainButtonActiveBgColor;
|
|
33
|
+
color: $plainButtonTextColor;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.p-button-text {
|
|
40
|
+
> .p-button {
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
color: $buttonBg;
|
|
43
|
+
border-color: transparent;
|
|
44
|
+
|
|
45
|
+
&:not(:disabled):hover {
|
|
46
|
+
background: rgba($buttonBg, $textButtonHoverBgOpacity);
|
|
47
|
+
color: $buttonBg;
|
|
48
|
+
border-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:not(:disabled):active {
|
|
52
|
+
background: rgba($buttonBg, $textButtonActiveBgOpacity);
|
|
53
|
+
color: $buttonBg;
|
|
54
|
+
border-color: transparent;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.p-button-plain {
|
|
59
|
+
> .p-button {
|
|
60
|
+
color: $plainButtonTextColor;
|
|
61
|
+
|
|
62
|
+
&:not(:disabled):hover {
|
|
63
|
+
background: $plainButtonHoverBgColor;
|
|
64
|
+
color: $plainButtonTextColor;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:not(:disabled):active {
|
|
68
|
+
background: $plainButtonActiveBgColor;
|
|
69
|
+
color: $plainButtonTextColor;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.p-button-raised {
|
|
76
|
+
box-shadow: $raisedButtonShadow;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.p-button-rounded {
|
|
80
|
+
border-radius: $roundedButtonBorderRadius;
|
|
81
|
+
|
|
82
|
+
> .p-button {
|
|
83
|
+
border-radius: $roundedButtonBorderRadius;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.p-button-sm {
|
|
88
|
+
> .p-button {
|
|
89
|
+
@include scaledFontSize($fontSize, $scaleSM);
|
|
90
|
+
@include scaledPadding($buttonPadding, $scaleSM);
|
|
91
|
+
|
|
92
|
+
.p-button-icon {
|
|
93
|
+
@include scaledFontSize($primeIconFontSize, $scaleSM);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.p-button-lg {
|
|
99
|
+
> .p-button {
|
|
100
|
+
@include scaledFontSize($fontSize, $scaleLG);
|
|
101
|
+
@include scaledPadding($buttonPadding, $scaleLG);
|
|
102
|
+
|
|
103
|
+
.p-button-icon {
|
|
104
|
+
@include scaledFontSize($primeIconFontSize, $scaleLG);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.p-splitbutton.p-button-secondary {
|
|
111
|
+
&.p-button-outlined {
|
|
112
|
+
> .p-button {
|
|
113
|
+
background-color: transparent;
|
|
114
|
+
color: $secondaryButtonBg;
|
|
115
|
+
border: $outlinedButtonBorder;
|
|
116
|
+
|
|
117
|
+
&:not(:disabled):hover {
|
|
118
|
+
background: rgba($secondaryButtonBg, $textButtonHoverBgOpacity);
|
|
119
|
+
color: $secondaryButtonBg;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:not(:disabled):active {
|
|
123
|
+
background: rgba($secondaryButtonBg, $textButtonActiveBgOpacity);
|
|
124
|
+
color: $secondaryButtonBg;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.p-button-text {
|
|
130
|
+
> .p-button {
|
|
131
|
+
background-color: transparent;
|
|
132
|
+
color: $secondaryButtonBg;
|
|
133
|
+
border-color: transparent;
|
|
134
|
+
|
|
135
|
+
&:not(:disabled):hover {
|
|
136
|
+
background: rgba($secondaryButtonBg, $textButtonHoverBgOpacity);
|
|
137
|
+
border-color: transparent;
|
|
138
|
+
color: $secondaryButtonBg;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&:not(:disabled):active {
|
|
142
|
+
background: rgba($secondaryButtonBg, $textButtonActiveBgOpacity);
|
|
143
|
+
border-color: transparent;
|
|
144
|
+
color: $secondaryButtonBg;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.p-splitbutton.p-button-info {
|
|
151
|
+
&.p-button-outlined {
|
|
152
|
+
> .p-button {
|
|
153
|
+
background-color: transparent;
|
|
154
|
+
color: $infoButtonBg;
|
|
155
|
+
border: $outlinedButtonBorder;
|
|
156
|
+
|
|
157
|
+
&:not(:disabled):hover {
|
|
158
|
+
background: rgba($infoButtonBg, $textButtonHoverBgOpacity);
|
|
159
|
+
color: $infoButtonBg;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&:not(:disabled):active {
|
|
163
|
+
background: rgba($infoButtonBg, $textButtonActiveBgOpacity);
|
|
164
|
+
color: $infoButtonBg;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&.p-button-text {
|
|
170
|
+
> .p-button {
|
|
171
|
+
background-color: transparent;
|
|
172
|
+
color: $infoButtonBg;
|
|
173
|
+
border-color: transparent;
|
|
174
|
+
|
|
175
|
+
&:not(:disabled):hover {
|
|
176
|
+
background: rgba($infoButtonBg, $textButtonHoverBgOpacity);
|
|
177
|
+
border-color: transparent;
|
|
178
|
+
color: $infoButtonBg;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&:not(:disabled):active {
|
|
182
|
+
background: rgba($infoButtonBg, $textButtonActiveBgOpacity);
|
|
183
|
+
border-color: transparent;
|
|
184
|
+
color: $infoButtonBg;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.p-splitbutton.p-button-success {
|
|
191
|
+
&.p-button-outlined {
|
|
192
|
+
> .p-button {
|
|
193
|
+
background-color: transparent;
|
|
194
|
+
color: $successButtonBg;
|
|
195
|
+
border: $outlinedButtonBorder;
|
|
196
|
+
|
|
197
|
+
&:not(:disabled):hover {
|
|
198
|
+
background: rgba($successButtonBg, $textButtonHoverBgOpacity);
|
|
199
|
+
color: $successButtonBg;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&:not(:disabled):active {
|
|
203
|
+
background: rgba($successButtonBg, $textButtonActiveBgOpacity);
|
|
204
|
+
color: $successButtonBg;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&.p-button-text {
|
|
210
|
+
> .p-button {
|
|
211
|
+
background-color: transparent;
|
|
212
|
+
color: $successButtonBg;
|
|
213
|
+
border-color: transparent;
|
|
214
|
+
|
|
215
|
+
&:not(:disabled):hover {
|
|
216
|
+
background: rgba($successButtonBg, $textButtonHoverBgOpacity);
|
|
217
|
+
border-color: transparent;
|
|
218
|
+
color: $successButtonBg;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&:not(:disabled):active {
|
|
222
|
+
background: rgba($successButtonBg, $textButtonActiveBgOpacity);
|
|
223
|
+
border-color: transparent;
|
|
224
|
+
color: $successButtonBg;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.p-splitbutton.p-button-warning {
|
|
231
|
+
&.p-button-outlined {
|
|
232
|
+
> .p-button {
|
|
233
|
+
background-color: transparent;
|
|
234
|
+
color: $warningButtonBg;
|
|
235
|
+
border: $outlinedButtonBorder;
|
|
236
|
+
|
|
237
|
+
&:not(:disabled):hover {
|
|
238
|
+
background: rgba($warningButtonBg, $textButtonHoverBgOpacity);
|
|
239
|
+
color: $warningButtonBg;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&:not(:disabled):active {
|
|
243
|
+
background: rgba($warningButtonBg, $textButtonActiveBgOpacity);
|
|
244
|
+
color: $warningButtonBg;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&.p-button-text {
|
|
250
|
+
> .p-button {
|
|
251
|
+
background-color: transparent;
|
|
252
|
+
color: $warningButtonBg;
|
|
253
|
+
border-color: transparent;
|
|
254
|
+
|
|
255
|
+
&:not(:disabled):hover {
|
|
256
|
+
background: rgba($warningButtonBg, $textButtonHoverBgOpacity);
|
|
257
|
+
border-color: transparent;
|
|
258
|
+
color: $warningButtonBg;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&:not(:disabled):active {
|
|
262
|
+
background: rgba($warningButtonBg, $textButtonActiveBgOpacity);
|
|
263
|
+
border-color: transparent;
|
|
264
|
+
color: $warningButtonBg;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.p-splitbutton.p-button-help {
|
|
271
|
+
&.p-button-outlined {
|
|
272
|
+
> .p-button {
|
|
273
|
+
background-color: transparent;
|
|
274
|
+
color: $helpButtonBg;
|
|
275
|
+
border: $outlinedButtonBorder;
|
|
276
|
+
|
|
277
|
+
&:not(:disabled):hover {
|
|
278
|
+
background: rgba($helpButtonBg, $textButtonHoverBgOpacity);
|
|
279
|
+
color: $helpButtonBg;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
&:not(:disabled):active {
|
|
283
|
+
background: rgba($helpButtonBg, $textButtonActiveBgOpacity);
|
|
284
|
+
color: $helpButtonBg;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
&.p-button-text {
|
|
290
|
+
> .p-button {
|
|
291
|
+
background-color: transparent;
|
|
292
|
+
color: $helpButtonBg;
|
|
293
|
+
border-color: transparent;
|
|
294
|
+
|
|
295
|
+
&:not(:disabled):hover {
|
|
296
|
+
background: rgba($helpButtonBg, $textButtonHoverBgOpacity);
|
|
297
|
+
border-color: transparent;
|
|
298
|
+
color: $helpButtonBg;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&:not(:disabled):active {
|
|
302
|
+
background: rgba($helpButtonBg, $textButtonActiveBgOpacity);
|
|
303
|
+
border-color: transparent;
|
|
304
|
+
color: $helpButtonBg;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.p-splitbutton.p-button-danger {
|
|
311
|
+
&.p-button-outlined {
|
|
312
|
+
> .p-button {
|
|
313
|
+
background-color: transparent;
|
|
314
|
+
color: $dangerButtonBg;
|
|
315
|
+
border: $outlinedButtonBorder;
|
|
316
|
+
|
|
317
|
+
&:not(:disabled):hover {
|
|
318
|
+
background: rgba($dangerButtonBg, $textButtonHoverBgOpacity);
|
|
319
|
+
color: $dangerButtonBg;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&:not(:disabled):active {
|
|
323
|
+
background: rgba($dangerButtonBg, $textButtonActiveBgOpacity);
|
|
324
|
+
color: $dangerButtonBg;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
&.p-button-text {
|
|
330
|
+
> .p-button {
|
|
331
|
+
background-color: transparent;
|
|
332
|
+
color: $dangerButtonBg;
|
|
333
|
+
border-color: transparent;
|
|
334
|
+
|
|
335
|
+
&:not(:disabled):hover {
|
|
336
|
+
background: rgba($dangerButtonBg, $textButtonHoverBgOpacity);
|
|
337
|
+
border-color: transparent;
|
|
338
|
+
color: $dangerButtonBg;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
&:not(:disabled):active {
|
|
342
|
+
background: rgba($dangerButtonBg, $textButtonActiveBgOpacity);
|
|
343
|
+
border-color: transparent;
|
|
344
|
+
color: $dangerButtonBg;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.p-carousel {
|
|
2
|
+
.p-carousel-content {
|
|
3
|
+
.p-carousel-prev,
|
|
4
|
+
.p-carousel-next {
|
|
5
|
+
@include action-icon();
|
|
6
|
+
margin: $inlineSpacing;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.p-carousel-indicators {
|
|
11
|
+
padding: $carouselIndicatorsPadding;
|
|
12
|
+
|
|
13
|
+
.p-carousel-indicator {
|
|
14
|
+
margin-right: $inlineSpacing;
|
|
15
|
+
margin-bottom: $inlineSpacing;
|
|
16
|
+
|
|
17
|
+
button {
|
|
18
|
+
background-color: $carouselIndicatorBg;
|
|
19
|
+
width: $carouselIndicatorWidth;
|
|
20
|
+
height: $carouselIndicatorHeight;
|
|
21
|
+
transition: $actionIconTransition;
|
|
22
|
+
border-radius: $carouselIndicatorBorderRadius;
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
background: $carouselIndicatorHoverBg;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.p-highlight {
|
|
30
|
+
button {
|
|
31
|
+
background: $highlightBg;
|
|
32
|
+
color: $highlightTextColor;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
.p-datatable {
|
|
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-datatable-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-datatable-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-datatable-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-datatable-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
|
+
.p-sortable-column-icon {
|
|
53
|
+
color: $tableHeaderCellIconColor;
|
|
54
|
+
margin-left: $inlineSpacing;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-sortable-column-badge {
|
|
58
|
+
border-radius: 50%;
|
|
59
|
+
height: $tableSortableColumnBadgeSize;
|
|
60
|
+
min-width: $tableSortableColumnBadgeSize;
|
|
61
|
+
line-height: $tableSortableColumnBadgeSize;
|
|
62
|
+
color: $highlightTextColor;
|
|
63
|
+
background: $highlightBg;
|
|
64
|
+
margin-left: $inlineSpacing;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:not(.p-highlight):hover {
|
|
68
|
+
background: $tableHeaderCellHoverBg;
|
|
69
|
+
color: $tableHeaderCellTextHoverColor;
|
|
70
|
+
|
|
71
|
+
.p-sortable-column-icon {
|
|
72
|
+
color: $tableHeaderCellIconHoverColor;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.p-highlight {
|
|
77
|
+
background: $tableHeaderCellHighlightBg;
|
|
78
|
+
color: $tableHeaderCellHighlightTextColor;
|
|
79
|
+
|
|
80
|
+
.p-sortable-column-icon {
|
|
81
|
+
color: $tableHeaderCellHighlightTextColor;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:hover {
|
|
85
|
+
background: $tableHeaderCellHighlightHoverBg;
|
|
86
|
+
color: $tableHeaderCellHighlightTextColor;
|
|
87
|
+
|
|
88
|
+
.p-sortable-column-icon {
|
|
89
|
+
color: $tableHeaderCellHighlightTextColor;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:focus-visible {
|
|
95
|
+
box-shadow: $inputListItemFocusShadow;
|
|
96
|
+
outline: 0 none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-datatable-tbody {
|
|
101
|
+
> tr {
|
|
102
|
+
background: $tableBodyRowBg;
|
|
103
|
+
color: $tableBodyRowTextColor;
|
|
104
|
+
transition: $listItemTransition;
|
|
105
|
+
|
|
106
|
+
> td {
|
|
107
|
+
text-align: $tableCellContentAlignment;
|
|
108
|
+
border: $tableBodyCellBorder;
|
|
109
|
+
border-width: $tableBodyCellBorderWidth;
|
|
110
|
+
padding: $tableBodyCellPadding;
|
|
111
|
+
|
|
112
|
+
.p-row-toggler,
|
|
113
|
+
.p-row-editor-init,
|
|
114
|
+
.p-row-editor-save,
|
|
115
|
+
.p-row-editor-cancel {
|
|
116
|
+
@include action-icon();
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.p-row-editor-save {
|
|
120
|
+
margin-right: $inlineSpacing;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:focus-visible {
|
|
125
|
+
outline: 0.15rem solid $focusOutlineColor;
|
|
126
|
+
outline-offset: -0.15rem;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.p-highlight {
|
|
130
|
+
background: $highlightBg;
|
|
131
|
+
color: $highlightTextColor;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.p-datatable-dragpoint-top > td {
|
|
135
|
+
box-shadow: inset 0 2px 0 0 $highlightBg;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&.p-datatable-dragpoint-bottom > td {
|
|
139
|
+
box-shadow: inset 0 -2px 0 0 $highlightBg;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&.p-datatable-hoverable-rows {
|
|
145
|
+
.p-datatable-tbody > tr:not(.p-highlight):hover {
|
|
146
|
+
background: $tableBodyRowHoverBg;
|
|
147
|
+
color: $tableBodyRowTextHoverColor;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.p-column-resizer-helper {
|
|
152
|
+
background: $tableResizerHelperBg;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.p-datatable-scrollable-header,
|
|
156
|
+
.p-datatable-scrollable-footer {
|
|
157
|
+
background: $panelHeaderBg;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table,
|
|
161
|
+
&.p-datatable-scrollable > .p-datatable-wrapper > .p-scroller-viewport > .p-scroller > .p-datatable-table {
|
|
162
|
+
> .p-datatable-thead,
|
|
163
|
+
> .p-datatable-tfoot {
|
|
164
|
+
background-color: $tableHeaderCellBg;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.p-datatable-loading-icon {
|
|
169
|
+
font-size: $loadingIconFontSize;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&.p-datatable-gridlines {
|
|
173
|
+
.p-datatable-header {
|
|
174
|
+
border-width: 1px 1px 0 1px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.p-datatable-footer {
|
|
178
|
+
border-width: 0 1px 1px 1px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.p-paginator-top {
|
|
182
|
+
border-width: 0 1px 0 1px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.p-paginator-bottom {
|
|
186
|
+
border-width: 0 1px 1px 1px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.p-datatable-thead {
|
|
190
|
+
> tr {
|
|
191
|
+
> th {
|
|
192
|
+
border-width: 1px 0 1px 1px;
|
|
193
|
+
|
|
194
|
+
&:last-child {
|
|
195
|
+
border-width: 1px;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.p-datatable-tbody {
|
|
202
|
+
> tr {
|
|
203
|
+
> td {
|
|
204
|
+
border-width: 1px 0 0 1px;
|
|
205
|
+
|
|
206
|
+
&:last-child {
|
|
207
|
+
border-width: 1px 1px 0 1px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&:last-child {
|
|
212
|
+
> td {
|
|
213
|
+
border-width: 1px 0 1px 1px;
|
|
214
|
+
|
|
215
|
+
&:last-child {
|
|
216
|
+
border-width: 1px;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.p-datatable-tfoot {
|
|
224
|
+
> tr {
|
|
225
|
+
> td {
|
|
226
|
+
border-width: 1px 0 1px 1px;
|
|
227
|
+
|
|
228
|
+
&:last-child {
|
|
229
|
+
border-width: 1px 1px 1px 1px;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.p-datatable-thead + .p-datatable-tfoot {
|
|
236
|
+
> tr {
|
|
237
|
+
> td {
|
|
238
|
+
border-width: 0 0 1px 1px;
|
|
239
|
+
|
|
240
|
+
&:last-child {
|
|
241
|
+
border-width: 0 1px 1px 1px;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
&:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody {
|
|
248
|
+
> tr {
|
|
249
|
+
> td {
|
|
250
|
+
border-width: 0 0 1px 1px;
|
|
251
|
+
|
|
252
|
+
&:last-child {
|
|
253
|
+
border-width: 0 1px 1px 1px;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody {
|
|
260
|
+
> tr {
|
|
261
|
+
&:last-child {
|
|
262
|
+
> td {
|
|
263
|
+
border-width: 0 0 0 1px;
|
|
264
|
+
|
|
265
|
+
&:last-child {
|
|
266
|
+
border-width: 0 1px 0 1px;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&.p-datatable-striped {
|
|
275
|
+
.p-datatable-tbody {
|
|
276
|
+
> tr:nth-child(even) {
|
|
277
|
+
background: $tableBodyRowEvenBg;
|
|
278
|
+
|
|
279
|
+
&.p-highlight {
|
|
280
|
+
background: $highlightBg;
|
|
281
|
+
color: $highlightTextColor;
|
|
282
|
+
|
|
283
|
+
.p-row-toggler {
|
|
284
|
+
color: $highlightTextColor;
|
|
285
|
+
|
|
286
|
+
&:hover {
|
|
287
|
+
color: $highlightTextColor;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&.p-datatable-sm {
|
|
296
|
+
.p-datatable-header {
|
|
297
|
+
@include scaledPadding($tableHeaderPadding, $tableScaleSM);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.p-datatable-thead > tr > th {
|
|
301
|
+
@include scaledPadding($tableHeaderCellPadding, $tableScaleSM);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.p-datatable-tbody > tr > td {
|
|
305
|
+
@include scaledPadding($tableBodyCellPadding, $tableScaleSM);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.p-datatable-tfoot > tr > td {
|
|
309
|
+
@include scaledPadding($tableFooterPadding, $tableScaleSM);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.p-datatable-footer {
|
|
313
|
+
@include scaledPadding($tableFooterPadding, $tableScaleSM);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
&.p-datatable-lg {
|
|
318
|
+
.p-datatable-header {
|
|
319
|
+
@include scaledPadding($tableHeaderPadding, $tableScaleLG);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.p-datatable-thead > tr > th {
|
|
323
|
+
@include scaledPadding($tableHeaderCellPadding, $tableScaleLG);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.p-datatable-tbody > tr > td {
|
|
327
|
+
@include scaledPadding($tableBodyCellPadding, $tableScaleLG);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.p-datatable-tfoot > tr > td {
|
|
331
|
+
@include scaledPadding($tableFooterPadding, $tableScaleLG);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.p-datatable-footer {
|
|
335
|
+
@include scaledPadding($tableFooterPadding, $tableScaleLG);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|