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 // focus box-shadow for primeng
21 .ui-inputtext:enabled:focus:not(.ui-state-error) {
22 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest) !important;
25 // data table customizations
28 border: none !important;
29 background-color: var(--mainBackgroundColor) !important;
39 background-color: var(--mainBackgroundColor) !important;
44 font-family: $main-fonts;
45 font-size: 15px !important;
46 color: var(--mainForegroundColor) !important;
50 padding-left: 15px !important;
52 &:not(.action-cell):not(.expand-cell) {
53 overflow: hidden !important;
54 text-overflow: ellipsis !important;
55 white-space: nowrap !important;
61 background-color: var(--mainBackgroundColor) !important;
64 &.ui-state-highlight {
65 background-color: var(--submenuColor) !important;
68 color: var(--mainForegroundColor) !important;
76 background-color: var(--submenuColor) !important;
83 display: inline-block !important;
89 border: none !important;
93 border-top: none !important;
97 border-bottom: none !important;
109 border: none !important;
110 border-bottom: 1px solid !important;
111 border-color: var(--submenuColor) !important;
112 text-align: left !important;
113 padding: 5px 0 5px 15px !important;
114 font-weight: $font-semibold !important;
115 color: var(--mainForegroundColor) !important;
117 &.ui-sortable-column:hover {
118 background-color: var(--submenuColor) !important;
119 border: 1px solid !important;
120 border-color: var(--submenuColor) !important;
121 border-width: 0 1px !important;
124 border-width: 0 1px 0 0 !important;
128 &.ui-state-highlight {
129 background-color: var(--submenuColor) !important;
134 color: #000 !important;
135 font-size: 11px !important;
139 @extend .glyphicon-triangle-top;
141 color: var(--mainForegroundColor) !important;
145 @extend .glyphicon-triangle-bottom;
147 color: var(--mainForegroundColor) !important;
154 width: 250px !important;
155 padding: 0 !important;
162 display: none !important;
166 display: inline-block !important;
169 // keep displaying on touchscreen
170 @media not all and (hover: hover) and (pointer: fine) {
171 display: inline-block !important;
181 .ui-paginator-bottom {
182 background-color: var(--mainBackgroundColor) !important;
185 border-top: 1px solid !important;
186 border-color: var(--submenuColor) !important;
189 justify-content: center;
198 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
202 color: var(--inputPlaceholderColor);
206 .ui-paginator-current {
209 color: var(--inputPlaceholderColor);
216 @include glyphicon-light;
225 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
228 &.ui-state-disabled:hover {
229 background-color: #fff !important;
232 &.ui-paginator-first {
233 @extend .glyphicon-step-backward;
236 &.ui-paginator-prev {
237 @extend .glyphicon-chevron-left;
242 &.ui-paginator-next {
243 @extend .glyphicon-chevron-right;
248 &.ui-paginator-last {
249 @extend .glyphicon-step-forward;
253 .ui-paginator-pages {
254 height: auto !important;
259 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest) !important;
264 color: var(--mainForegroundColor) !important;
265 font-weight: $font-semibold !important;
266 margin: 0 5px !important;
267 outline: 0 !important;
268 border-radius: 3px !important;
269 padding: 5px 2px !important;
270 height: auto !important;
271 line-height: initial !important;
274 &, &:hover, &:active, &:focus {
275 color: #fff !important;
276 background-color: var(--mainColor) !important;
285 // overflow data table
286 @mixin overflow-datatable ($table-min-width, $horizontal-margins) {
290 max-width: calc(100vw - #{$horizontal-margins * 2});
293 min-width: $table-min-width;
297 p-paginator .ui-paginator-bottom {
300 .ui-paginator-current {
305 a, .ui-paginator-pages {
306 vertical-align: middle;
312 // multiselect customizations
315 border-color: #C6C6C6;
317 &:not(.ui-state-disabled) {
319 border-color: #C6C6C6;
324 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
329 .ui-multiselect-label {
330 font-size: 15px !important;
331 padding: 4px 30px 4px 12px !important;
334 width: $width !important;
336 @media screen and (max-width: $width) {
337 width: 100% !important;
342 margin-left: 0 !important;
345 @include select-arrow-down;
353 //position: absolute !important;
359 // left: -2px !important;
363 .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item.ui-state-highlight {
364 background-color: var(--mainColorLighter);
367 .ui-inputtext:enabled:focus:not(.ui-state-error) {
368 border-color: var(--mainColorLighter) !important;
373 // PrimeNG calendar tweaks
374 p-calendar .ui-datepicker {
376 @include disable-default-a-behaviour;
379 .ui-datepicker-header {
381 .ui-datepicker-year {
385 .ui-datepicker-next {
386 @extend .glyphicon-chevron-right;
387 @include glyphicon-light;
389 color: #000 !important;
392 .pi.pi-chevron-right {
393 display: none !important;
397 .ui-datepicker-prev {
398 @extend .glyphicon-chevron-left;
399 @include glyphicon-light;
401 color: #000 !important;
404 .pi.pi-chevron-left {
405 display: none !important;
413 @extend .glyphicon-chevron-up;
414 @include glyphicon-light;
416 color: #000 !important;
419 .pi.pi-chevron-down {
420 @extend .glyphicon-chevron-down;
421 @include glyphicon-light;
423 color: #000 !important;
428 p-tablecheckbox:hover div .ui-chkbox-box {
429 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
435 width: 18px !important;
436 height: 18px !important;
441 border-color: var(--mainColor) !important;
442 background-color: var(--mainColor) !important;
447 overflow: visible !important;
457 transform: rotate(45deg) scale(0);
458 border-right: 2px solid var(--mainBackgroundColor);
459 border-bottom: 2px solid var(--mainBackgroundColor);
464 transform: rotate(45deg) scale(1);
473 .ui-inputswitch-checked .ui-inputswitch-slider {
474 background-color: var(--mainColor) !important;
481 width: 2.5em !important;
482 height: 1.45em !important;
484 .ui-inputswitch-slider::before {
485 height: 1em !important;
486 width: 1em !important;
490 .ui-inputswitch-checked .ui-inputswitch-slider::before {
491 transform: translateX(1em) !important;
498 z-index: z(notification) !important;
500 .ui-toast-close-icon {
501 font-family: "Glyphicons Halflings";
509 &:hover .ui-toast-close-icon {
515 font-family: $main-fonts;
516 background-color: var(--mainBackgroundColor) !important;
518 box-sizing: border-box;
519 border: 1px solid #EBEEF5 !important;
520 box-shadow: 0 2px 12px 0 rgba(0, 0 , 0, .1);
523 &.ui-toast-message-success .glyphicon {
524 color: #8BC34A !important;
527 &.ui-toast-message-error .glyphicon {
528 color: #F44336 !important;
531 &.ui-toast-message-warn .glyphicon {
532 color: #F1680D !important;
535 &.ui-toast-message-info .glyphicon {
536 color: #03A9F4 !important;
539 .notification-block {
566 font-family: $main-fonts !important;