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;
197 .ui-paginator-current {
206 @include glyphicon-light;
215 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
218 &.ui-state-disabled:hover {
219 background-color: #fff !important;
222 &.ui-paginator-first {
223 @extend .glyphicon-step-backward;
226 &.ui-paginator-prev {
227 @extend .glyphicon-chevron-left;
232 &.ui-paginator-next {
233 @extend .glyphicon-chevron-right;
238 &.ui-paginator-last {
239 @extend .glyphicon-step-forward;
243 .ui-paginator-pages {
244 height: auto !important;
249 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest) !important;
254 color: var(--mainForegroundColor) !important;
255 font-weight: $font-semibold !important;
256 margin: 0 5px !important;
257 outline: 0 !important;
258 border-radius: 3px !important;
259 padding: 5px 2px !important;
260 height: auto !important;
261 line-height: initial !important;
264 &, &:hover, &:active, &:focus {
265 color: #fff !important;
266 background-color: var(--mainColor) !important;
275 // overflow data table
276 @mixin overflow-datatable ($table-min-width, $horizontal-margins) {
280 max-width: calc(100vw - #{$horizontal-margins * 2});
283 min-width: $table-min-width;
287 p-paginator .ui-paginator-bottom {
290 .ui-paginator-current {
295 a, .ui-paginator-pages {
296 vertical-align: middle;
302 // multiselect customizations
305 border-color: #C6C6C6;
307 &:not(.ui-state-disabled) {
309 border-color: #C6C6C6;
314 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
319 .ui-multiselect-label {
320 font-size: 15px !important;
321 padding: 4px 30px 4px 12px !important;
324 width: $width !important;
326 @media screen and (max-width: $width) {
327 width: 100% !important;
332 margin-left: 0 !important;
335 @include select-arrow-down;
343 //position: absolute !important;
349 // left: -2px !important;
353 .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item.ui-state-highlight {
354 background-color: var(--mainColorLighter);
357 .ui-inputtext:enabled:focus:not(.ui-state-error) {
358 border-color: var(--mainColorLighter) !important;
363 // PrimeNG calendar tweaks
364 p-calendar .ui-datepicker {
366 @include disable-default-a-behaviour;
369 .ui-datepicker-header {
371 .ui-datepicker-year {
375 .ui-datepicker-next {
376 @extend .glyphicon-chevron-right;
377 @include glyphicon-light;
379 color: #000 !important;
382 .pi.pi-chevron-right {
383 display: none !important;
387 .ui-datepicker-prev {
388 @extend .glyphicon-chevron-left;
389 @include glyphicon-light;
391 color: #000 !important;
394 .pi.pi-chevron-left {
395 display: none !important;
403 @extend .glyphicon-chevron-up;
404 @include glyphicon-light;
406 color: #000 !important;
409 .pi.pi-chevron-down {
410 @extend .glyphicon-chevron-down;
411 @include glyphicon-light;
413 color: #000 !important;
418 p-tablecheckbox:hover div .ui-chkbox-box {
419 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
425 width: 18px !important;
426 height: 18px !important;
431 border-color: var(--mainColor) !important;
432 background-color: var(--mainColor) !important;
437 overflow: visible !important;
447 transform: rotate(45deg) scale(0);
448 border-right: 2px solid var(--mainBackgroundColor);
449 border-bottom: 2px solid var(--mainBackgroundColor);
454 transform: rotate(45deg) scale(1);
463 .ui-inputswitch-checked .ui-inputswitch-slider {
464 background-color: var(--mainColor) !important;
471 width: 2.5em !important;
472 height: 1.45em !important;
474 .ui-inputswitch-slider::before {
475 height: 1em !important;
476 width: 1em !important;
480 .ui-inputswitch-checked .ui-inputswitch-slider::before {
481 transform: translateX(1em) !important;
488 z-index: z(notification) !important;
490 .ui-toast-close-icon {
491 font-family: "Glyphicons Halflings";
499 &:hover .ui-toast-close-icon {
505 font-family: $main-fonts;
506 background-color: var(--mainBackgroundColor) !important;
508 box-sizing: border-box;
509 border: 1px solid #EBEEF5 !important;
510 box-shadow: 0 2px 12px 0 rgba(0, 0 , 0, .1);
513 &.ui-toast-message-success .glyphicon {
514 color: #8BC34A !important;
517 &.ui-toast-message-error .glyphicon {
518 color: #F44336 !important;
521 &.ui-toast-message-warn .glyphicon {
522 color: #F1680D !important;
525 &.ui-toast-message-info .glyphicon {
526 color: #03A9F4 !important;
529 .notification-block {
556 font-family: $main-fonts !important;