1 @use '_variables' as *;
4 /* stylelint-disable */
5 @use 'primeng/resources/primeng';
7 // Override primeng style we don't want
9 border-radius: inherit;
12 p-table .p-datatable-header .caption {
16 // Taken from old nova light theme
24 display: inline-block;
25 vertical-align: middle;
30 body .p-checkbox .p-checkbox-box {
31 border: 1px solid #a6a6a6;
32 background-color: #ffffff;
37 transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
39 body .p-checkbox .p-checkbox-box:not(.p-disabled):hover {
40 border-color: #212121;
42 body .p-checkbox .p-checkbox-box .p-checkbox-icon {
50 background-color: #f4f4f4;
51 border: 1px solid #c8c8c8;
54 body .p-paginator .p-paginator-first,
55 body .p-paginator .p-paginator-prev,
56 body .p-paginator .p-paginator-next,
57 body .p-paginator .p-paginator-last {
66 transition: box-shadow 0.2s;
69 body .p-paginator .p-paginator-first:not(.p-disabled):not(.p-highlight):hover,
70 body .p-paginator .p-paginator-prev:not(.p-disabled):not(.p-highlight):hover,
71 body .p-paginator .p-paginator-next:not(.p-disabled):not(.p-highlight):hover,
72 body .p-paginator .p-paginator-last:not(.p-disabled):not(.p-highlight):hover {
73 background-color: #e0e0e0;
76 body .p-paginator .p-paginator-first:focus,
77 body .p-paginator .p-paginator-prev:focus,
78 body .p-paginator .p-paginator-next:focus,
79 body .p-paginator .p-paginator-last:focus {
82 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
84 body .p-paginator .p-paginator-current {
90 body .p-paginator .p-dropdown {
93 body .p-paginator .p-dropdown .p-dropdown-trigger, body .p-paginator .p-dropdown .p-dropdown-label {
96 body .p-paginator .p-dropdown:hover .p-dropdown-trigger, body .p-paginator .p-dropdown:hover .p-dropdown-label {
99 body .p-paginator .p-paginator-first:before {
103 body .p-paginator .p-paginator-prev:before {
107 body .p-paginator .p-paginator-next:before {
111 body .p-paginator .p-paginator-last:before {
115 body .p-paginator .p-paginator-pages {
117 display: inline-block;
120 body .p-paginator .p-paginator-pages .p-paginator-page {
125 line-height: 2.286em;
129 transition: box-shadow 0.2s;
132 body .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover {
133 background-color: #e0e0e0;
136 body .p-paginator .p-paginator-pages .p-paginator-page:focus {
139 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
141 body .p-paginator .p-dropdown {
142 @include margin-left(0.5em);
152 border: 1px solid #a6a6a6;
153 transition: border-color 0.2s, box-shadow 0.2s;
155 body .p-dropdown:not(.p-disabled):hover {
156 border-color: #212121;
158 body .p-dropdown:not(.p-disabled).p-focus {
161 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
162 border-color: pvar(--mainColor);
164 body .p-dropdown .p-dropdown-label {
165 @include padding-right(2em);
167 body .p-dropdown .p-dropdown-trigger {
168 background-color: #ffffff;
175 body .p-dropdown .p-dropdown-clear-icon {
178 body .p-dropdown.p-dropdown-clearable .p-dropdown-label {
179 @include padding-right(4em);
181 body .p-dropdown-panel {
183 border: 1px solid #c8c8c8;
184 background-color: #ffffff;
185 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
187 body .p-dropdown-panel .p-dropdown-filter-container {
188 padding: 0.429em 0.857em 0.429em 0.857em;
189 border-bottom: 1px solid #eaeaea;
191 background-color: #ffffff;
194 body .p-dropdown-panel .p-dropdown-filter-container .p-dropdown-filter {
195 @include padding-right(2em);
199 body .p-dropdown-panel .p-dropdown-filter-container .p-dropdown-filter-icon {
203 color: pvar(--mainColor);
205 body .p-dropdown-panel .p-dropdown-items {
208 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item, body .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group {
210 padding: 0.429em 0.857em;
213 background-color: transparent;
214 -moz-border-radius: 0;
215 -webkit-border-radius: 0;
218 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight,
219 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group.p-highlight {
221 background-color: pvar(--mainColor);
223 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover,
224 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group:not(.p-highlight):not(.p-disabled):hover {
226 background-color: #eaeaea;
228 body p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
229 border: 1px solid #a80000;
233 body .p-toast .p-toast-message {
234 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
242 background-color: #ffffff;
244 border: 1px solid #a6a6a6;
247 body .p-datepicker:not(.p-datepicker-inline) {
248 border: 1px solid #c8c8c8;
249 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
251 body .p-datepicker:not(.p-disabled) .p-datepicker-header .p-datepicker-prev:focus,
252 body .p-datepicker:not(.p-disabled) .p-datepicker-header .p-datepicker-next:focus {
255 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
257 body .p-datepicker:not(.p-disabled) table td a:not(.p-highlight):not(.p-highlight):hover {
258 background-color: #eaeaea;
260 body .p-datepicker:not(.p-disabled) .p-monthpicker a.p-monthpicker-month:not(.p-highlight):hover {
261 background-color: #eaeaea;
263 body .p-datepicker .p-datepicker-header {
264 padding: 0.429em 0.857em 0.429em 0.857em;
265 background-color: #ffffff;
267 -moz-border-radius: 0;
268 -webkit-border-radius: 0;
271 body .p-datepicker .p-datepicker-header .p-datepicker-prev,
272 body .p-datepicker .p-datepicker-header .p-datepicker-next {
276 transition: color 0.2s, box-shadow 0.2s;
278 body .p-datepicker .p-datepicker-header .p-datepicker-title {
283 body .p-datepicker .p-datepicker-header .p-datepicker-title select {
286 transition: color 0.2s, box-shadow 0.2s;
288 body .p-datepicker .p-datepicker-header .p-datepicker-title select:focus {
291 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
293 body .p-datepicker table {
295 margin: 0.857em 0 0 0;
297 body .p-datepicker table th {
300 body .p-datepicker table th.p-datepicker-weekheader {
301 border-right: 1px solid #a6a6a6;
303 body .p-datepicker table td {
306 body .p-datepicker table td > a,
307 body .p-datepicker table td > span {
312 transition: box-shadow 0.2s;
315 body .p-datepicker table td > a.p-highlight,
316 body .p-datepicker table td > span.p-highlight {
318 background-color: pvar(--mainColor);
320 body .p-datepicker table td > a {
323 body .p-datepicker table td > a:focus {
326 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
328 body .p-datepicker table td.p-datepicker-today > a,
329 body .p-datepicker table td.p-datepicker-today > span {
330 background-color: #d0d0d0;
333 body .p-datepicker table td.p-datepicker-today > a.p-highlight,
334 body .p-datepicker table td.p-datepicker-today > span.p-highlight {
336 background-color: pvar(--mainColor);
338 body .p-datepicker table td.p-datepicker-weeknumber {
339 border-right: 1px solid #a6a6a6;
341 body .p-datepicker .p-datepicker-buttonbar {
342 border-top: 1px solid #d8dae2;
344 body .p-datepicker .p-timepicker {
346 border-top: 1px solid #d8dae2;
349 body .p-datepicker .p-timepicker a {
353 body .p-datepicker .p-timepicker a:hover {
354 color: pvar(--mainColor);
356 body .p-datepicker .p-timepicker span {
359 body .p-datepicker .p-monthpicker .p-monthpicker-month {
362 body .p-datepicker .p-monthpicker .p-monthpicker-month.p-highlight {
364 background-color: pvar(--mainColor);
366 body .p-datepicker.p-datepicker-timeonly {
369 body .p-datepicker.p-datepicker-timeonly .p-timepicker {
372 body .p-datepicker.p-datepicker-multiple-month .p-datepicker-group {
373 @include padding-right(0.857em);
374 @include padding-left(0.857em);
376 border-right: 1px solid #d8dae2;
380 body .p-datepicker.p-datepicker-multiple-month .p-datepicker-group:first-child {
381 @include padding-left(0);
383 body .p-datepicker.p-datepicker-multiple-month .p-datepicker-group:last-child {
384 @include padding-right(0);
385 border-right: 0 none;
387 body .p-calendar.p-calendar-w-btn .p-inputtext {
388 border-top-right-radius: 0;
389 border-bottom-right-radius: 0;
390 border-right: 0 none;
392 body .p-calendar.p-calendar-w-btn .p-inputtext:enabled:hover:not(.p-error),
393 body .p-calendar.p-calendar-w-btn .p-inputtext:enabled:focus:not(.p-error) {
394 border-right: 0 none;
396 body .p-calendar.p-calendar-w-btn .p-datepicker-trigger.p-button {
398 border-top-left-radius: 0;
399 border-bottom-left-radius: 0;
401 body .ui-fluid .p-calendar.p-calendar-w-btn input.p-inputtext {
402 width: calc(100% - 2.357em);
404 body p-calendar.ng-dirty.ng-invalid > .p-calendar > .p-inputtext {
405 border: 1px solid #a80000;
407 body .p-timepicker .p-separator {
408 @include margin-left(0);
413 body .p-autocomplete .p-autocomplete-input {
416 body .p-autocomplete-panel {
418 border: 1px solid #c8c8c8;
419 background-color: #ffffff;
420 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
422 body .p-autocomplete-panel .p-autocomplete-items {
425 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item {
427 padding: 0.429em 0.857em;
430 background-color: transparent;
433 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight,
434 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:hover {
436 background-color: pvar(--mainColor);
438 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-group {
439 padding: 0.429em 0.857em;
440 background-color: #d8dae2;
443 body p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
444 border: 1px solid #a80000;
448 body .p-selectbutton .p-button {
449 background-color: #dadada;
450 border: 1px solid #dadada;
453 transition: background-color 0.2s, box-shadow 0.2s;
455 body .p-selectbutton .p-button .p-button-icon-left {
458 body .p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover {
459 background-color: #c8c8c8;
460 border-color: #c8c8c8;
463 body .p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-left {
466 body .p-selectbutton .p-button:not(.p-disabled):not(.p-highlight).ui-state-focus {
467 box-shadow: 0 0 0 0.2em #8dcdff;
470 body .p-selectbutton .p-button.p-highlight {
471 background-color: pvar(--mainColor);
472 border-color: pvar(--mainColor);
475 body .p-selectbutton .p-button.p-highlight .p-button-icon-left {
478 body .p-selectbutton .p-button.p-highlight:not(.p-disabled):hover {
479 background-color: pvar(--mainColorLighter);
480 border-color: pvar(--mainColorLighter);
483 body .p-selectbutton .p-button.p-highlight:not(.p-disabled):hover .p-button-icon-left {
486 body .p-selectbutton .p-button:first-child {
487 border-top-left-radius: 3px;
488 border-bottom-left-radius: 3px;
490 body .p-selectbutton .p-button:last-child {
491 border-top-right-radius: 3px;
492 border-bottom-right-radius: 3px;
494 body p-selectbutton.ng-dirty.ng-invalid .p-button {
495 border: 1px solid #a80000;
500 @mixin glyphicon-light {
501 font-family: 'Glyphicons Halflings';
502 text-decoration: none !important;
503 color: pvar(--mainForegroundColor) !important;
507 // data table customizations
509 .p-datatable-header {
510 border: none !important;
511 background-color: pvar(--mainBackgroundColor) !important;
516 display: inline-flex;
520 @include padding-left(15px);
526 background-color: pvar(--mainBackgroundColor) !important;
529 text-overflow: ellipsis;
534 font-family: $main-fonts;
535 font-size: 15px !important;
536 color: pvar(--mainForegroundColor) !important;
540 @include padding-left(15px !important);
546 &:not(.action-cell):not(.expand-cell):not(.checkbox-cell) {
547 overflow: hidden !important;
548 text-overflow: ellipsis !important;
549 white-space: nowrap !important;
555 background-color: pvar(--mainBackgroundColor) !important;
559 background-color: pvar(--submenuBackgroundColor) !important;
562 color: pvar(--mainForegroundColor) !important;
570 background-color: pvar(--submenuBackgroundColor) !important;
574 border: none !important;
575 white-space: normal !important;
579 border-top: none !important;
583 border-bottom: none !important;
588 box-shadow: none !important;
600 border: none !important;
601 border-bottom: 1px solid !important;
602 border-color: pvar(--submenuBackgroundColor) !important;
603 text-align: left !important;
604 padding: 5px 0 5px 15px !important;
605 font-weight: $font-semibold !important;
606 color: pvar(--mainForegroundColor) !important;
608 &.p-sortable-column:hover {
609 background-color: pvar(--submenuBackgroundColor) !important;
610 border: 1px solid !important;
611 border-color: pvar(--submenuBackgroundColor) !important;
612 border-width: 0 1px !important;
615 border-width: 0 1px 0 0 !important;
620 background-color: pvar(--submenuBackgroundColor) !important;
623 @extend .glyphicon !optional;
625 color: #000 !important;
626 font-size: 11px !important;
629 &.pi-sort-amount-up-alt {
630 @extend .glyphicon-triangle-top !optional;
632 color: pvar(--mainForegroundColor) !important;
635 &.pi-sort-amount-down {
636 @extend .glyphicon-triangle-bottom !optional;
638 color: pvar(--mainForegroundColor) !important;
645 width: 250px !important;
651 display: inline-block !important;
652 @include margin-left(5px);
655 @include margin-left(0)
661 .p-paginator-bottom {
662 background-color: pvar(--mainBackgroundColor) !important;
665 border-top: 1px solid !important;
666 border-color: pvar(--submenuBackgroundColor) !important;
669 justify-content: center;
678 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
682 color: pvar(--inputPlaceholderColor);
686 .p-paginator-current {
689 color: pvar(--inputPlaceholderColor);
697 @include glyphicon-light;
706 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
710 background-color: #fff !important;
713 &.p-paginator-first {
714 @extend .glyphicon-step-backward !optional;
718 @extend .glyphicon-chevron-left !optional;
720 @include margin-right(10px);
724 @extend .glyphicon-chevron-right !optional;
726 @include margin-left(10px);
730 @extend .glyphicon-step-forward !optional;
735 height: auto !important;
740 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest) !important;
743 color: pvar(--mainForegroundColor) !important;
744 font-weight: $font-semibold !important;
745 margin: 0 5px !important;
746 outline: 0 !important;
747 border-radius: 3px !important;
748 padding: 5px 2px !important;
749 height: auto !important;
750 line-height: initial !important;
753 &, &:hover, &:active, &:focus {
754 color: #fff !important;
755 background-color: pvar(--mainColor) !important;
764 // overflow data table
766 .p-datatable-wrapper {
771 min-width: breakpoint(lg);
775 @media screen and (max-width: #{breakpoint(lg)}) {
778 .p-paginator-current,
786 @media screen and (max-width: $mobile-view) {
789 .p-paginator-pages > .p-paginator-page:not(.p-highlight) {
796 // PrimeNG calendar tweaks
797 p-calendar .p-datepicker {
799 @include disable-default-a-behaviour;
802 .p-datepicker-header {
805 @include margin-left(5px);
809 @extend .glyphicon-chevron-right !optional;
810 @include glyphicon-light;
812 color: #000 !important;
815 .pi.pi-chevron-right {
816 display: none !important;
821 @extend .glyphicon-chevron-left !optional;
822 @include glyphicon-light;
824 color: #000 !important;
827 .pi.pi-chevron-left {
828 display: none !important;
836 @extend .glyphicon-chevron-up !optional;
837 @include glyphicon-light;
839 color: #000 !important;
842 .pi.pi-chevron-down {
843 @extend .glyphicon-chevron-down !optional;
844 @include glyphicon-light;
846 color: #000 !important;
851 p-tablecheckbox:hover div .p-checkbox-box {
852 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
858 width: 18px !important;
859 height: 18px !important;
864 border-color: pvar(--mainColor) !important;
865 background-color: pvar(--mainColor) !important;
870 overflow: visible !important;
880 transform: rotate(45deg) scale(0);
881 border-right: 2px solid pvar(--mainBackgroundColor);
882 border-bottom: 2px solid pvar(--mainBackgroundColor);
887 transform: rotate(45deg) scale(1);
898 z-index: z(notification) !important;
900 .p-toast-icon-close {
901 font-family: "Glyphicons Halflings";
912 &:hover .p-toast-icon-close {
918 font-family: $main-fonts;
919 background-color: pvar(--mainBackgroundColor) !important;
920 color: pvar(--mainForegroundColor) !important;
922 box-sizing: border-box;
923 border: 1px solid #EBEEF5 !important;
924 box-shadow: 0 2px 12px 0 rgba(0, 0 , 0, .1);
927 &.p-toast-message-success .glyphicon {
928 color: #8BC34A !important;
931 &.p-toast-message-error .glyphicon {
932 color: #F44336 !important;
935 &.p-toast-message-warn .glyphicon {
936 color: #F1680D !important;
939 &.p-toast-message-info .glyphicon {
940 color: #03A9F4 !important;
943 .notification-block {
951 @include margin-right(20px);
965 @include margin-right(5px);