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 // data table customizations
23 border: none !important;
24 background-color: var(--mainBackgroundColor) !important;
34 background-color: var(--mainBackgroundColor) !important;
39 font-family: $main-fonts;
40 font-size: 15px !important;
41 color: var(--mainForegroundColor) !important;
45 padding-left: 15px !important;
47 &:not(.action-cell):not(.expand-cell) {
48 overflow: hidden !important;
49 text-overflow: ellipsis !important;
50 white-space: nowrap !important;
56 background-color: var(--mainBackgroundColor) !important;
59 &.ui-state-highlight {
60 background-color: var(--submenuColor) !important;
63 color: var(--mainForegroundColor) !important;
71 background-color: var(--submenuColor) !important;
78 display: block !important;
84 border: none !important;
88 border-top: none !important;
92 border-bottom: none !important;
104 border: none !important;
105 border-bottom: 1px solid !important;
106 border-color: var(--submenuColor) !important;
107 text-align: left !important;
108 padding: 5px 0 5px 15px !important;
109 font-weight: $font-semibold !important;
110 color: var(--mainForegroundColor) !important;
112 &.ui-sortable-column:hover {
113 background-color: var(--submenuColor) !important;
114 border: 1px solid !important;
115 border-color: var(--submenuColor) !important;
116 border-width: 0 1px !important;
119 border-width: 0 1px 0 0 !important;
123 &.ui-state-highlight {
124 background-color: var(--submenuColor) !important;
129 color: #000 !important;
130 font-size: 11px !important;
134 @extend .glyphicon-triangle-top;
136 color: var(--mainForegroundColor) !important;
140 @extend .glyphicon-triangle-bottom;
142 color: var(--mainForegroundColor) !important;
149 width: 250px !important;
150 padding: 0 !important;
157 display: none !important;
160 display: block !important;
164 my-edit-button + my-delete-button {
170 .ui-paginator-bottom {
171 background-color: var(--mainBackgroundColor) !important;
174 border-top: 1px solid !important;
175 border-color: var(--submenuColor) !important;
178 justify-content: center;
185 @include glyphicon-light;
192 &.ui-state-disabled:hover {
193 background-color: #fff !important;
196 &.ui-paginator-first {
197 @extend .glyphicon-step-backward;
200 &.ui-paginator-prev {
201 @extend .glyphicon-chevron-left;
206 &.ui-paginator-next {
207 @extend .glyphicon-chevron-right;
212 &.ui-paginator-last {
213 @extend .glyphicon-step-forward;
217 .ui-paginator-pages {
218 height: auto !important;
221 color: var(--mainForegroundColor) !important;
222 font-weight: $font-semibold !important;
223 margin: 0 5px !important;
224 outline: 0 !important;
225 border-radius: 3px !important;
226 padding: 5px 2px !important;
227 height: auto !important;
228 line-height: initial !important;
231 &, &:hover, &:active, &:focus {
232 color: #fff !important;
233 background-color: var(--mainColor) !important;
242 // multiselect customizations
245 border-color: #C6C6C6;
247 &:not(.ui-state-disabled) {
249 border-color: #C6C6C6;
254 box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
259 .ui-multiselect-label {
260 font-size: 15px !important;
261 padding: 4px 30px 4px 12px !important;
264 width: $width !important;
266 @media screen and (max-width: $width) {
267 width: 100% !important;
272 margin-left: 0 !important;
275 @include select-arrow-down;
283 //position: absolute !important;
289 // left: -2px !important;
293 .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item.ui-state-highlight {
294 background-color: var(--mainColorLighter);
297 .ui-inputtext:enabled:focus:not(.ui-state-error) {
298 border-color: var(--mainColorLighter) !important;
303 // PrimeNG calendar tweaks
304 p-calendar .ui-datepicker {
306 @include disable-default-a-behaviour;
309 .ui-datepicker-header {
311 .ui-datepicker-year {
315 .ui-datepicker-next {
316 @extend .glyphicon-chevron-right;
317 @include glyphicon-light;
319 color: #000 !important;
322 .pi.pi-chevron-right {
323 display: none !important;
327 .ui-datepicker-prev {
328 @extend .glyphicon-chevron-left;
329 @include glyphicon-light;
331 color: #000 !important;
334 .pi.pi-chevron-left {
335 display: none !important;
343 @extend .glyphicon-chevron-up;
344 @include glyphicon-light;
346 color: #000 !important;
349 .pi.pi-chevron-down {
350 @extend .glyphicon-chevron-down;
351 @include glyphicon-light;
353 color: #000 !important;
358 p-tablecheckbox:hover div .ui-chkbox-box {
359 box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
365 width: 18px !important;
366 height: 18px !important;
371 border-color: var(--mainColor) !important;
372 background-color: var(--mainColor) !important;
377 overflow: visible !important;
387 transform: rotate(45deg) scale(0);
388 border-right: 2px solid var(--mainBackgroundColor);
389 border-bottom: 2px solid var(--mainBackgroundColor);
394 transform: rotate(45deg) scale(1);
403 .ui-inputswitch-checked .ui-inputswitch-slider {
404 background-color: var(--mainColor) !important;
411 width: 2.5em !important;
412 height: 1.45em !important;
414 .ui-inputswitch-slider::before {
415 height: 1em !important;
416 width: 1em !important;
420 .ui-inputswitch-checked .ui-inputswitch-slider::before {
421 transform: translateX(1em) !important;
428 z-index: z(notification) !important;
430 .ui-toast-close-icon {
431 font-family: "Glyphicons Halflings";
439 &:hover .ui-toast-close-icon {
445 font-family: $main-fonts;
446 background-color: var(--mainBackgroundColor) !important;
448 box-sizing: border-box;
449 border: 1px solid #EBEEF5 !important;
450 box-shadow: 0 2px 12px 0 rgba(0, 0 , 0, .1);
453 &.ui-toast-message-success .glyphicon {
454 color: #8BC34A !important;
457 &.ui-toast-message-error .glyphicon {
458 color: #F44336 !important;
461 &.ui-toast-message-warn .glyphicon {
462 color: #F1680D !important;
465 &.ui-toast-message-info .glyphicon {
466 color: #03A9F4 !important;
469 .notification-block {
496 font-family: $main-fonts !important;