4 /* stylelint-disable */
5 @import '~primeng/resources/primeng.css';
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 {
151 border: 1px solid #a6a6a6;
152 transition: border-color 0.2s, box-shadow 0.2s;
154 body .p-dropdown:not(.p-disabled):hover {
155 border-color: #212121;
157 body .p-dropdown:not(.p-disabled).p-focus {
160 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
161 border-color: pvar(--mainColor);
163 body .p-dropdown .p-dropdown-label {
166 body .p-dropdown .p-dropdown-trigger {
167 background-color: #ffffff;
174 body .p-dropdown .p-dropdown-clear-icon {
177 body .p-dropdown.p-dropdown-clearable .p-dropdown-label {
180 body .p-dropdown-panel {
182 border: 1px solid #c8c8c8;
183 background-color: #ffffff;
184 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
186 body .p-dropdown-panel .p-dropdown-filter-container {
187 padding: 0.429em 0.857em 0.429em 0.857em;
188 border-bottom: 1px solid #eaeaea;
190 background-color: #ffffff;
193 body .p-dropdown-panel .p-dropdown-filter-container .p-dropdown-filter {
197 body .p-dropdown-panel .p-dropdown-filter-container .p-dropdown-filter-icon {
201 color: pvar(--mainColor);
203 body .p-dropdown-panel .p-dropdown-items {
206 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item, body .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group {
208 padding: 0.429em 0.857em;
211 background-color: transparent;
212 -moz-border-radius: 0;
213 -webkit-border-radius: 0;
216 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight,
217 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group.p-highlight {
219 background-color: pvar(--mainColor);
221 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover,
222 body .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group:not(.p-highlight):not(.p-disabled):hover {
224 background-color: #eaeaea;
226 body p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
227 border: 1px solid #a80000;
231 body .p-toast .p-toast-message {
232 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
240 background-color: #ffffff;
242 border: 1px solid #a6a6a6;
245 body .p-datepicker:not(.p-datepicker-inline) {
246 border: 1px solid #c8c8c8;
247 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
249 body .p-datepicker:not(.p-disabled) .p-datepicker-header .p-datepicker-prev:focus,
250 body .p-datepicker:not(.p-disabled) .p-datepicker-header .p-datepicker-next:focus {
253 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
255 body .p-datepicker:not(.p-disabled) table td a:not(.p-highlight):not(.p-highlight):hover {
256 background-color: #eaeaea;
258 body .p-datepicker:not(.p-disabled) .p-monthpicker a.p-monthpicker-month:not(.p-highlight):hover {
259 background-color: #eaeaea;
261 body .p-datepicker .p-datepicker-header {
262 padding: 0.429em 0.857em 0.429em 0.857em;
263 background-color: #ffffff;
265 -moz-border-radius: 0;
266 -webkit-border-radius: 0;
269 body .p-datepicker .p-datepicker-header .p-datepicker-prev,
270 body .p-datepicker .p-datepicker-header .p-datepicker-next {
274 transition: color 0.2s, box-shadow 0.2s;
276 body .p-datepicker .p-datepicker-header .p-datepicker-title {
281 body .p-datepicker .p-datepicker-header .p-datepicker-title select {
284 transition: color 0.2s, box-shadow 0.2s;
286 body .p-datepicker .p-datepicker-header .p-datepicker-title select:focus {
289 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
291 body .p-datepicker table {
293 margin: 0.857em 0 0 0;
295 body .p-datepicker table th {
298 body .p-datepicker table th.p-datepicker-weekheader {
299 border-right: 1px solid #a6a6a6;
301 body .p-datepicker table td {
304 body .p-datepicker table td > a,
305 body .p-datepicker table td > span {
310 transition: box-shadow 0.2s;
313 body .p-datepicker table td > a.p-highlight,
314 body .p-datepicker table td > span.p-highlight {
316 background-color: pvar(--mainColor);
318 body .p-datepicker table td > a {
321 body .p-datepicker table td > a:focus {
324 box-shadow: 0 0 0 0.2em pvar(--mainColorLightest);
326 body .p-datepicker table td.p-datepicker-today > a,
327 body .p-datepicker table td.p-datepicker-today > span {
328 background-color: #d0d0d0;
331 body .p-datepicker table td.p-datepicker-today > a.p-highlight,
332 body .p-datepicker table td.p-datepicker-today > span.p-highlight {
334 background-color: pvar(--mainColor);
336 body .p-datepicker table td.p-datepicker-weeknumber {
337 border-right: 1px solid #a6a6a6;
339 body .p-datepicker .p-datepicker-buttonbar {
340 border-top: 1px solid #d8dae2;
342 body .p-datepicker .p-timepicker {
344 border-top: 1px solid #d8dae2;
347 body .p-datepicker .p-timepicker a {
351 body .p-datepicker .p-timepicker a:hover {
352 color: pvar(--mainColor);
354 body .p-datepicker .p-timepicker span {
357 body .p-datepicker .p-monthpicker .p-monthpicker-month {
360 body .p-datepicker .p-monthpicker .p-monthpicker-month.p-highlight {
362 background-color: pvar(--mainColor);
364 body .p-datepicker.p-datepicker-timeonly {
367 body .p-datepicker.p-datepicker-timeonly .p-timepicker {
370 body .p-datepicker.p-datepicker-multiple-month .p-datepicker-group {
371 border-right: 1px solid #d8dae2;
372 padding-right: 0.857em;
373 padding-left: 0.857em;
377 body .p-datepicker.p-datepicker-multiple-month .p-datepicker-group:first-child {
380 body .p-datepicker.p-datepicker-multiple-month .p-datepicker-group:last-child {
382 border-right: 0 none;
384 body .p-calendar.p-calendar-w-btn .p-inputtext {
385 border-top-right-radius: 0;
386 border-bottom-right-radius: 0;
387 border-right: 0 none;
389 body .p-calendar.p-calendar-w-btn .p-inputtext:enabled:hover:not(.p-error),
390 body .p-calendar.p-calendar-w-btn .p-inputtext:enabled:focus:not(.p-error) {
391 border-right: 0 none;
393 body .p-calendar.p-calendar-w-btn .p-datepicker-trigger.p-button {
395 border-top-left-radius: 0;
396 border-bottom-left-radius: 0;
398 body .ui-fluid .p-calendar.p-calendar-w-btn input.p-inputtext {
399 width: calc(100% - 2.357em);
401 body p-calendar.ng-dirty.ng-invalid > .p-calendar > .p-inputtext {
402 border: 1px solid #a80000;
404 body .p-timepicker .p-separator {
410 body .p-autocomplete .p-autocomplete-input {
413 body .p-autocomplete-panel {
415 border: 1px solid #c8c8c8;
416 background-color: #ffffff;
417 box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
419 body .p-autocomplete-panel .p-autocomplete-items {
422 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item {
424 padding: 0.429em 0.857em;
427 background-color: transparent;
430 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight,
431 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:hover {
433 background-color: pvar(--mainColor);
435 body .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-group {
436 padding: 0.429em 0.857em;
437 background-color: #d8dae2;
440 body p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
441 border: 1px solid #a80000;
445 body .p-selectbutton .p-button {
446 background-color: #dadada;
447 border: 1px solid #dadada;
450 transition: background-color 0.2s, box-shadow 0.2s;
452 body .p-selectbutton .p-button .p-button-icon-left {
455 body .p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover {
456 background-color: #c8c8c8;
457 border-color: #c8c8c8;
460 body .p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-left {
463 body .p-selectbutton .p-button:not(.p-disabled):not(.p-highlight).ui-state-focus {
464 box-shadow: 0 0 0 0.2em #8dcdff;
467 body .p-selectbutton .p-button.p-highlight {
468 background-color: pvar(--mainColor);
469 border-color: pvar(--mainColor);
472 body .p-selectbutton .p-button.p-highlight .p-button-icon-left {
475 body .p-selectbutton .p-button.p-highlight:not(.p-disabled):hover {
476 background-color: pvar(--mainColorLighter);
477 border-color: pvar(--mainColorLighter);
480 body .p-selectbutton .p-button.p-highlight:not(.p-disabled):hover .p-button-icon-left {
483 body .p-selectbutton .p-button:first-child {
484 border-top-left-radius: 3px;
485 border-bottom-left-radius: 3px;
487 body .p-selectbutton .p-button:last-child {
488 border-top-right-radius: 3px;
489 border-bottom-right-radius: 3px;
491 body p-selectbutton.ng-dirty.ng-invalid .p-button {
492 border: 1px solid #a80000;
497 @mixin glyphicon-light {
498 font-family: 'Glyphicons Halflings';
499 text-decoration: none !important;
500 color: pvar(--mainForegroundColor) !important;
504 // data table customizations
506 .p-datatable-header {
507 border: none !important;
508 background-color: pvar(--mainBackgroundColor) !important;
513 display: inline-flex;
523 background-color: pvar(--mainBackgroundColor) !important;
526 text-overflow: ellipsis;
531 font-family: $main-fonts;
532 font-size: 15px !important;
533 color: pvar(--mainForegroundColor) !important;
537 padding-left: 15px !important;
543 &:not(.action-cell):not(.expand-cell):not(.checkbox-cell) {
544 overflow: hidden !important;
545 text-overflow: ellipsis !important;
546 white-space: nowrap !important;
552 background-color: pvar(--mainBackgroundColor) !important;
556 background-color: pvar(--submenuBackgroundColor) !important;
559 color: pvar(--mainForegroundColor) !important;
567 background-color: pvar(--submenuBackgroundColor) !important;
571 border: none !important;
572 white-space: normal !important;
576 border-top: none !important;
580 border-bottom: none !important;
585 box-shadow: none !important;
597 border: none !important;
598 border-bottom: 1px solid !important;
599 border-color: pvar(--submenuBackgroundColor) !important;
600 text-align: left !important;
601 padding: 5px 0 5px 15px !important;
602 font-weight: $font-semibold !important;
603 color: pvar(--mainForegroundColor) !important;
605 &.p-sortable-column:hover {
606 background-color: pvar(--submenuBackgroundColor) !important;
607 border: 1px solid !important;
608 border-color: pvar(--submenuBackgroundColor) !important;
609 border-width: 0 1px !important;
612 border-width: 0 1px 0 0 !important;
617 background-color: pvar(--submenuBackgroundColor) !important;
622 color: #000 !important;
623 font-size: 11px !important;
626 &.pi-sort-amount-up-alt {
627 @extend .glyphicon-triangle-top;
629 color: pvar(--mainForegroundColor) !important;
632 &.pi-sort-amount-down {
633 @extend .glyphicon-triangle-bottom;
635 color: pvar(--mainForegroundColor) !important;
642 width: 250px !important;
648 display: inline-block !important;
658 .p-paginator-bottom {
659 background-color: pvar(--mainBackgroundColor) !important;
662 border-top: 1px solid !important;
663 border-color: pvar(--submenuBackgroundColor) !important;
666 justify-content: center;
675 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
679 color: pvar(--inputPlaceholderColor);
683 .p-paginator-current {
686 color: pvar(--inputPlaceholderColor);
694 @include glyphicon-light;
703 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
707 background-color: #fff !important;
710 &.p-paginator-first {
711 @extend .glyphicon-step-backward;
715 @extend .glyphicon-chevron-left;
721 @extend .glyphicon-chevron-right;
727 @extend .glyphicon-step-forward;
732 height: auto !important;
737 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest) !important;
740 color: pvar(--mainForegroundColor) !important;
741 font-weight: $font-semibold !important;
742 margin: 0 5px !important;
743 outline: 0 !important;
744 border-radius: 3px !important;
745 padding: 5px 2px !important;
746 height: auto !important;
747 line-height: initial !important;
750 &, &:hover, &:active, &:focus {
751 color: #fff !important;
752 background-color: pvar(--mainColor) !important;
761 // overflow data table
763 .p-datatable-wrapper {
768 min-width: breakpoint(lg);
772 @media screen and (max-width: #{breakpoint(lg)}) {
775 .p-paginator-current,
783 @media screen and (max-width: $mobile-view) {
786 .p-paginator-pages > .p-paginator-page:not(.p-highlight) {
793 // PrimeNG calendar tweaks
794 p-calendar .p-datepicker {
796 @include disable-default-a-behaviour;
799 .p-datepicker-header {
806 @extend .glyphicon-chevron-right;
807 @include glyphicon-light;
809 color: #000 !important;
812 .pi.pi-chevron-right {
813 display: none !important;
818 @extend .glyphicon-chevron-left;
819 @include glyphicon-light;
821 color: #000 !important;
824 .pi.pi-chevron-left {
825 display: none !important;
833 @extend .glyphicon-chevron-up;
834 @include glyphicon-light;
836 color: #000 !important;
839 .pi.pi-chevron-down {
840 @extend .glyphicon-chevron-down;
841 @include glyphicon-light;
843 color: #000 !important;
848 p-tablecheckbox:hover div .p-checkbox-box {
849 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
855 width: 18px !important;
856 height: 18px !important;
861 border-color: pvar(--mainColor) !important;
862 background-color: pvar(--mainColor) !important;
867 overflow: visible !important;
877 transform: rotate(45deg) scale(0);
878 border-right: 2px solid pvar(--mainBackgroundColor);
879 border-bottom: 2px solid pvar(--mainBackgroundColor);
884 transform: rotate(45deg) scale(1);
895 z-index: z(notification) !important;
897 .p-toast-icon-close {
898 font-family: "Glyphicons Halflings";
909 &:hover .p-toast-icon-close {
915 font-family: $main-fonts;
916 background-color: pvar(--mainBackgroundColor) !important;
917 color: pvar(--mainForegroundColor) !important;
919 box-sizing: border-box;
920 border: 1px solid #EBEEF5 !important;
921 box-shadow: 0 2px 12px 0 rgba(0, 0 , 0, .1);
924 &.p-toast-message-success .glyphicon {
925 color: #8BC34A !important;
928 &.p-toast-message-error .glyphicon {
929 color: #F44336 !important;
932 &.p-toast-message-warn .glyphicon {
933 color: #F1680D !important;
936 &.p-toast-message-info .glyphicon {
937 color: #03A9F4 !important;
940 .notification-block {