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: 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;
165 display: block !important;
169 my-edit-button + my-delete-button {
175 .ui-paginator-bottom {
176 background-color: var(--mainBackgroundColor) !important;
179 border-top: 1px solid !important;
180 border-color: var(--submenuColor) !important;
183 justify-content: center;
191 .ui-paginator-current {
200 @include glyphicon-light;
209 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
212 &.ui-state-disabled:hover {
213 background-color: #fff !important;
216 &.ui-paginator-first {
217 @extend .glyphicon-step-backward;
220 &.ui-paginator-prev {
221 @extend .glyphicon-chevron-left;
226 &.ui-paginator-next {
227 @extend .glyphicon-chevron-right;
232 &.ui-paginator-last {
233 @extend .glyphicon-step-forward;
237 .ui-paginator-pages {
238 height: auto !important;
243 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest) !important;
248 color: var(--mainForegroundColor) !important;
249 font-weight: $font-semibold !important;
250 margin: 0 5px !important;
251 outline: 0 !important;
252 border-radius: 3px !important;
253 padding: 5px 2px !important;
254 height: auto !important;
255 line-height: initial !important;
258 &, &:hover, &:active, &:focus {
259 color: #fff !important;
260 background-color: var(--mainColor) !important;
269 // multiselect customizations
272 border-color: #C6C6C6;
274 &:not(.ui-state-disabled) {
276 border-color: #C6C6C6;
281 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
286 .ui-multiselect-label {
287 font-size: 15px !important;
288 padding: 4px 30px 4px 12px !important;
291 width: $width !important;
293 @media screen and (max-width: $width) {
294 width: 100% !important;
299 margin-left: 0 !important;
302 @include select-arrow-down;
310 //position: absolute !important;
316 // left: -2px !important;
320 .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item.ui-state-highlight {
321 background-color: var(--mainColorLighter);
324 .ui-inputtext:enabled:focus:not(.ui-state-error) {
325 border-color: var(--mainColorLighter) !important;
330 // PrimeNG calendar tweaks
331 p-calendar .ui-datepicker {
333 @include disable-default-a-behaviour;
336 .ui-datepicker-header {
338 .ui-datepicker-year {
342 .ui-datepicker-next {
343 @extend .glyphicon-chevron-right;
344 @include glyphicon-light;
346 color: #000 !important;
349 .pi.pi-chevron-right {
350 display: none !important;
354 .ui-datepicker-prev {
355 @extend .glyphicon-chevron-left;
356 @include glyphicon-light;
358 color: #000 !important;
361 .pi.pi-chevron-left {
362 display: none !important;
370 @extend .glyphicon-chevron-up;
371 @include glyphicon-light;
373 color: #000 !important;
376 .pi.pi-chevron-down {
377 @extend .glyphicon-chevron-down;
378 @include glyphicon-light;
380 color: #000 !important;
385 p-tablecheckbox:hover div .ui-chkbox-box {
386 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
392 width: 18px !important;
393 height: 18px !important;
398 border-color: var(--mainColor) !important;
399 background-color: var(--mainColor) !important;
404 overflow: visible !important;
414 transform: rotate(45deg) scale(0);
415 border-right: 2px solid var(--mainBackgroundColor);
416 border-bottom: 2px solid var(--mainBackgroundColor);
421 transform: rotate(45deg) scale(1);
430 .ui-inputswitch-checked .ui-inputswitch-slider {
431 background-color: var(--mainColor) !important;
438 width: 2.5em !important;
439 height: 1.45em !important;
441 .ui-inputswitch-slider::before {
442 height: 1em !important;
443 width: 1em !important;
447 .ui-inputswitch-checked .ui-inputswitch-slider::before {
448 transform: translateX(1em) !important;
455 z-index: z(notification) !important;
457 .ui-toast-close-icon {
458 font-family: "Glyphicons Halflings";
466 &:hover .ui-toast-close-icon {
472 font-family: $main-fonts;
473 background-color: var(--mainBackgroundColor) !important;
475 box-sizing: border-box;
476 border: 1px solid #EBEEF5 !important;
477 box-shadow: 0 2px 12px 0 rgba(0, 0 , 0, .1);
480 &.ui-toast-message-success .glyphicon {
481 color: #8BC34A !important;
484 &.ui-toast-message-error .glyphicon {
485 color: #F44336 !important;
488 &.ui-toast-message-warn .glyphicon {
489 color: #F1680D !important;
492 &.ui-toast-message-info .glyphicon {
493 color: #03A9F4 !important;
496 .notification-block {
523 font-family: $main-fonts !important;