4 @import '~primeng/resources/primeng.css';
5 @import '~primeng/resources/themes/nova-light/theme.css';
7 @mixin glyphicon-light {
8 font-family: 'Glyphicons Halflings';
9 text-decoration: none !important;
10 color: var(--mainForegroundColor) !important;
20 // data table customizations
23 border: none !important;
24 background-color: var(--mainBackgroundColor) !important;
34 background-color: var(--mainBackgroundColor) !important;
39 font-family: $main-fonts;
40 font-size: 15px !important;
41 color: var(--mainForegroundColor) !important;
45 padding-left: 15px !important;
47 &:not(.action-cell):not(.expand-cell) {
48 overflow: hidden !important;
49 text-overflow: ellipsis !important;
50 white-space: nowrap !important;
56 background-color: var(--mainBackgroundColor) !important;
59 &.ui-state-highlight {
60 background-color: var(--submenuColor) !important;
63 color: var(--mainForegroundColor) !important;
71 background-color: var(--submenuColor) !important;
78 display: block !important;
84 border: none !important;
88 border-top: none !important;
92 border-bottom: none !important;
104 border: none !important;
105 border-bottom: 1px solid !important;
106 border-color: var(--submenuColor) !important;
107 text-align: left !important;
108 padding: 5px 0 5px 15px !important;
109 font-weight: $font-semibold !important;
110 color: var(--mainForegroundColor) !important;
112 &.ui-sortable-column:hover {
113 background-color: var(--submenuColor) !important;
114 border: 1px solid !important;
115 border-color: var(--submenuColor) !important;
116 border-width: 0 1px !important;
119 border-width: 0 1px 0 0 !important;
123 &.ui-state-highlight {
124 background-color: var(--submenuColor) !important;
129 color: #000 !important;
130 font-size: 11px !important;
134 @extend .glyphicon-triangle-top;
136 color: var(--mainForegroundColor) !important;
140 @extend .glyphicon-triangle-bottom;
142 color: var(--mainForegroundColor) !important;
149 width: 250px !important;
150 padding: 0 !important;
157 display: none !important;
160 display: block !important;
164 my-edit-button + my-delete-button {
170 .ui-paginator-bottom {
171 background-color: var(--mainBackgroundColor) !important;
174 border-top: 1px solid !important;
175 border-color: var(--submenuColor) !important;
178 justify-content: center;
185 @include glyphicon-light;
192 &.ui-state-disabled:hover {
193 background-color: #fff !important;
196 &.ui-paginator-first {
197 @extend .glyphicon-step-backward;
200 &.ui-paginator-prev {
201 @extend .glyphicon-chevron-left;
206 &.ui-paginator-next {
207 @extend .glyphicon-chevron-right;
212 &.ui-paginator-last {
213 @extend .glyphicon-step-forward;
217 .ui-paginator-pages {
218 height: auto !important;
221 color: var(--mainForegroundColor) !important;
222 font-weight: $font-semibold !important;
223 margin: 0 5px !important;
224 outline: 0 !important;
225 border-radius: 3px !important;
226 padding: 5px 2px !important;
227 height: auto !important;
228 line-height: initial !important;
231 &, &:hover, &:active, &:focus {
232 color: #fff !important;
233 background-color: var(--mainColor) !important;
242 // multiselect customizations
244 .ui-multiselect-label {
245 font-size: 15px !important;
246 padding: 4px 30px 4px 12px !important;
249 width: $width !important;
251 @media screen and (max-width: $width) {
252 width: 100% !important;
257 margin-left: 0 !important;
260 @include select-arrow-down;
268 //position: absolute !important;
274 // left: -2px !important;
278 .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item.ui-state-highlight {
279 background-color: var(--mainColorLighter);
282 .ui-inputtext:enabled:focus:not(.ui-state-error) {
283 border-color: var(--mainColorLighter) !important;
288 // PrimeNG calendar tweaks
289 p-calendar .ui-datepicker {
291 @include disable-default-a-behaviour;
294 .ui-datepicker-header {
296 .ui-datepicker-year {
300 .ui-datepicker-next {
301 @extend .glyphicon-chevron-right;
302 @include glyphicon-light;
304 color: #000 !important;
307 .pi.pi-chevron-right {
308 display: none !important;
312 .ui-datepicker-prev {
313 @extend .glyphicon-chevron-left;
314 @include glyphicon-light;
316 color: #000 !important;
319 .pi.pi-chevron-left {
320 display: none !important;
328 @extend .glyphicon-chevron-up;
329 @include glyphicon-light;
331 color: #000 !important;
334 .pi.pi-chevron-down {
335 @extend .glyphicon-chevron-down;
336 @include glyphicon-light;
338 color: #000 !important;
343 p-tablecheckbox:hover div .ui-chkbox-box {
344 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
350 width: 18px !important;
351 height: 18px !important;
356 border-color: var(--mainColor) !important;
357 background-color: var(--mainColor) !important;
362 overflow: visible !important;
372 transform: rotate(45deg) scale(0);
373 border-right: 2px solid var(--mainBackgroundColor);
374 border-bottom: 2px solid var(--mainBackgroundColor);
379 transform: rotate(45deg) scale(1);
388 .ui-inputswitch-checked .ui-inputswitch-slider {
389 background-color: var(--mainColor) !important;
396 width: 2.5em !important;
397 height: 1.45em !important;
399 .ui-inputswitch-slider::before {
400 height: 1em !important;
401 width: 1em !important;
405 .ui-inputswitch-checked .ui-inputswitch-slider::before {
406 transform: translateX(1em) !important;
413 z-index: z(notification) !important;
417 font-family: $main-fonts;
418 background-color: var(--mainBackgroundColor) !important;
420 box-sizing: border-box;
421 border: 1px solid #EBEEF5 !important;
422 box-shadow: 0 2px 12px 0 rgba(0, 0 , 0, .1);
425 &.ui-toast-message-success .glyphicon {
426 color: #8BC34A !important;
429 &.ui-toast-message-error .glyphicon {
430 color: #F44336 !important;
433 &.ui-toast-message-warn .glyphicon {
434 color: #F1680D !important;
437 &.ui-toast-message-info .glyphicon {
438 color: #03A9F4 !important;
441 .notification-block {
468 font-family: $main-fonts !important;