diff --git a/components/lib/datatable/BodyRow.vue b/components/lib/datatable/BodyRow.vue index 227413575a0..d76d5d56da3 100644 --- a/components/lib/datatable/BodyRow.vue +++ b/components/lib/datatable/BodyRow.vue @@ -33,6 +33,7 @@ @dragend="onRowDragEnd" @drop="onRowDrop" v-bind="getBodyRowPTOptions('bodyRow')" + :data-p-index="rowIndex" :data-p-selectable-row="selectionMode ? true : false" :data-p-highlight="selection && isSelected" :data-p-highlight-contextmenu="contextMenuSelection && isSelectedWithContextMenu" @@ -482,7 +483,7 @@ export default { } } - return [this.cx('row', { rowData: this.rowData }), rowStyleClass]; + return [this.cx('row', { rowData: this.rowData, index: this.rowIndex }), rowStyleClass]; }, rowTabindex() { if (this.selection === null && (this.selectionMode === 'single' || this.selectionMode === 'multiple')) { diff --git a/components/lib/datatable/style/DataTableStyle.js b/components/lib/datatable/style/DataTableStyle.js index ae45cb41acc..199c749e517 100644 --- a/components/lib/datatable/style/DataTableStyle.js +++ b/components/lib/datatable/style/DataTableStyle.js @@ -368,7 +368,7 @@ const classes = { rowgroupHeader: 'p-rowgroup-header', rowGroupToggler: 'p-row-toggler p-link', rowGroupTogglerIcon: 'p-row-toggler-icon', - row: ({ instance, props }) => { + row: ({ instance, props, index }) => { let rowStyleClass = []; if (props.selectionMode) { @@ -387,6 +387,8 @@ const classes = { }); } + rowStyleClass.push(index % 2 === 0 ? 'p-row-even' : 'p-row-odd'); + return rowStyleClass; }, rowExpansion: 'p-datatable-row-expansion', diff --git a/components/lib/image/Image.vue b/components/lib/image/Image.vue index 678b54e6c28..47fd87a327d 100644 --- a/components/lib/image/Image.vue +++ b/components/lib/image/Image.vue @@ -104,13 +104,9 @@ export default { this.previewClick = true; }, onMaskClick(event) { - const isActionbarTarget = [event.target.classList].includes('p-image-action') || event.target.closest('.p-image-action'); + const isBarActionsClicked = DomHandler.isAttributeEquals(event.target, 'data-pc-section-group', 'action') || event.target.closest('[data-pc-section-group="action"]'); - if (isActionbarTarget) { - return; - } - - if (!this.previewClick) { + if (!this.previewClick && !isBarActionsClicked) { this.previewVisible = false; this.rotate = 0; this.scale = 1; diff --git a/components/lib/image/style/ImageStyle.js b/components/lib/image/style/ImageStyle.js index 93259be8f03..a6e9d82fd09 100644 --- a/components/lib/image/style/ImageStyle.js +++ b/components/lib/image/style/ImageStyle.js @@ -50,6 +50,10 @@ const css = ` justify-content: center; align-items: center; } + + .p-image-action.p-disabled { + pointer-events: auto; + } .p-image-preview { transition: transform 0.15s; diff --git a/public/themes/arya-blue/theme.css b/public/themes/arya-blue/theme.css index dfde0d22801..95986cdcc74 100644 --- a/public/themes/arya-blue/theme.css +++ b/public/themes/arya-blue/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #242424; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(100, 181, 246, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/arya-green/theme.css b/public/themes/arya-green/theme.css index 58fededf4a9..81d454c2a7f 100644 --- a/public/themes/arya-green/theme.css +++ b/public/themes/arya-green/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #242424; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(129, 199, 132, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/arya-orange/theme.css b/public/themes/arya-orange/theme.css index b76e84fa69a..67b397d1a96 100644 --- a/public/themes/arya-orange/theme.css +++ b/public/themes/arya-orange/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #242424; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(255, 213, 79, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/arya-purple/theme.css b/public/themes/arya-purple/theme.css index 489bbb9eae9..6f5fdedf532 100644 --- a/public/themes/arya-purple/theme.css +++ b/public/themes/arya-purple/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #242424; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(186, 104, 200, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/bootstrap4-dark-blue/theme.css b/public/themes/bootstrap4-dark-blue/theme.css index b4ac8b06fff..0a939c3a44a 100644 --- a/public/themes/bootstrap4-dark-blue/theme.css +++ b/public/themes/bootstrap4-dark-blue/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #2f3641; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #8dd0ff; color: #151515; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #151515; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #151515; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/bootstrap4-dark-purple/theme.css b/public/themes/bootstrap4-dark-purple/theme.css index 86cd73584b5..0e2be4b8301 100644 --- a/public/themes/bootstrap4-dark-purple/theme.css +++ b/public/themes/bootstrap4-dark-purple/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #2f3641; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #c298d8; color: #151515; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #151515; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #151515; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/bootstrap4-light-blue/theme.css b/public/themes/bootstrap4-light-blue/theme.css index 1f7e6a5d3e7..b07358caaf0 100644 --- a/public/themes/bootstrap4-light-blue/theme.css +++ b/public/themes/bootstrap4-light-blue/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: rgba(0, 0, 0, 0.05); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #007bff; color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #ffffff; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/bootstrap4-light-purple/theme.css b/public/themes/bootstrap4-light-purple/theme.css index 3be9c6eb855..fed3d3aa2b0 100644 --- a/public/themes/bootstrap4-light-purple/theme.css +++ b/public/themes/bootstrap4-light-purple/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: rgba(0, 0, 0, 0.05); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #883cae; color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #ffffff; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/fluent-light/theme.css b/public/themes/fluent-light/theme.css index 32eb9af734d..f3fe4c15dec 100644 --- a/public/themes/fluent-light/theme.css +++ b/public/themes/fluent-light/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #faf9f8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #edebe9; color: #323130; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #323130; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #323130; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-amber/theme.css b/public/themes/lara-dark-amber/theme.css index acc56520f99..2eecbce60f0 100644 --- a/public/themes/lara-dark-amber/theme.css +++ b/public/themes/lara-dark-amber/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(251, 191, 36, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-blue/theme.css b/public/themes/lara-dark-blue/theme.css index f1a14faa5f0..80bac5b9cdb 100644 --- a/public/themes/lara-dark-blue/theme.css +++ b/public/themes/lara-dark-blue/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(96, 165, 250, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-cyan/theme.css b/public/themes/lara-dark-cyan/theme.css index 25e45525158..81839441dd5 100644 --- a/public/themes/lara-dark-cyan/theme.css +++ b/public/themes/lara-dark-cyan/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(34, 211, 238, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-green/theme.css b/public/themes/lara-dark-green/theme.css index 0b90081b70d..31be852df6d 100644 --- a/public/themes/lara-dark-green/theme.css +++ b/public/themes/lara-dark-green/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(52, 211, 153, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-indigo/theme.css b/public/themes/lara-dark-indigo/theme.css index 5aad377c194..102f50646ee 100644 --- a/public/themes/lara-dark-indigo/theme.css +++ b/public/themes/lara-dark-indigo/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(129, 140, 248, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-pink/theme.css b/public/themes/lara-dark-pink/theme.css index 4055ecf5306..19628f28d69 100644 --- a/public/themes/lara-dark-pink/theme.css +++ b/public/themes/lara-dark-pink/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(244, 114, 182, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-purple/theme.css b/public/themes/lara-dark-purple/theme.css index 0a67a23267d..4de1075891d 100644 --- a/public/themes/lara-dark-purple/theme.css +++ b/public/themes/lara-dark-purple/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(167, 139, 250, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-dark-teal/theme.css b/public/themes/lara-dark-teal/theme.css index e310582465e..ff7c8741aff 100644 --- a/public/themes/lara-dark-teal/theme.css +++ b/public/themes/lara-dark-teal/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1c2532; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(45, 212, 191, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-amber/theme.css b/public/themes/lara-light-amber/theme.css index a20b6a039ad..ba8108cb179 100644 --- a/public/themes/lara-light-amber/theme.css +++ b/public/themes/lara-light-amber/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #fffbeb; color: #b45309; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #b45309; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #b45309; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-blue/theme.css b/public/themes/lara-light-blue/theme.css index c46eb3c5a82..877cea6720a 100644 --- a/public/themes/lara-light-blue/theme.css +++ b/public/themes/lara-light-blue/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #EFF6FF; color: #1D4ED8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #1D4ED8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #1D4ED8; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-cyan/theme.css b/public/themes/lara-light-cyan/theme.css index 0b0583550b2..f07cd2fb11b 100644 --- a/public/themes/lara-light-cyan/theme.css +++ b/public/themes/lara-light-cyan/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #ecfeff; color: #0e7490; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #0e7490; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #0e7490; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-green/theme.css b/public/themes/lara-light-green/theme.css index 8d7aa7bc7d9..307f5d598b2 100644 --- a/public/themes/lara-light-green/theme.css +++ b/public/themes/lara-light-green/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #F0FDFA; color: #047857; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #047857; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #047857; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-indigo/theme.css b/public/themes/lara-light-indigo/theme.css index 39a312618cd..1e45ec4bce2 100644 --- a/public/themes/lara-light-indigo/theme.css +++ b/public/themes/lara-light-indigo/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #EEF2FF; color: #4338CA; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #4338CA; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #4338CA; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-pink/theme.css b/public/themes/lara-light-pink/theme.css index 0ca5ae9c9b6..22e812f1576 100644 --- a/public/themes/lara-light-pink/theme.css +++ b/public/themes/lara-light-pink/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #fdf2f8; color: #be185d; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #be185d; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #be185d; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-purple/theme.css b/public/themes/lara-light-purple/theme.css index 122ff6a26cc..4c234c4d4cf 100644 --- a/public/themes/lara-light-purple/theme.css +++ b/public/themes/lara-light-purple/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #F5F3FF; color: #6D28D9; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #6D28D9; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #6D28D9; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/lara-light-teal/theme.css b/public/themes/lara-light-teal/theme.css index b49c80e1f08..e2d75730565 100644 --- a/public/themes/lara-light-teal/theme.css +++ b/public/themes/lara-light-teal/theme.css @@ -2818,17 +2818,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #f0fdfa; color: #0f766e; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #0f766e; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #0f766e; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/luna-amber/theme.css b/public/themes/luna-amber/theme.css index 1df5127dce5..d84c4030c9d 100644 --- a/public/themes/luna-amber/theme.css +++ b/public/themes/luna-amber/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #323232; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #FFE082; color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #212529; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/luna-blue/theme.css b/public/themes/luna-blue/theme.css index 4c24d373551..415f978d794 100644 --- a/public/themes/luna-blue/theme.css +++ b/public/themes/luna-blue/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #323232; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #81D4FA; color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #212529; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/luna-green/theme.css b/public/themes/luna-green/theme.css index 3f74cabec97..97c6d2a2f6c 100644 --- a/public/themes/luna-green/theme.css +++ b/public/themes/luna-green/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #323232; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #C5E1A5; color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #212529; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/luna-pink/theme.css b/public/themes/luna-pink/theme.css index 0328dff7f19..17c56f90169 100644 --- a/public/themes/luna-pink/theme.css +++ b/public/themes/luna-pink/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #323232; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #F48FB1; color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #212529; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #212529; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/md-dark-deeppurple/theme.css b/public/themes/md-dark-deeppurple/theme.css index 6391429b6c8..12488d8aeea 100644 --- a/public/themes/md-dark-deeppurple/theme.css +++ b/public/themes/md-dark-deeppurple/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #222222; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(206, 147, 216, 0.16); color: #CE93D8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #CE93D8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #CE93D8; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/md-dark-indigo/theme.css b/public/themes/md-dark-indigo/theme.css index 0bb69868b89..c500b2bee76 100644 --- a/public/themes/md-dark-indigo/theme.css +++ b/public/themes/md-dark-indigo/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #222222; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(159, 168, 218, 0.16); color: #9FA8DA; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #9FA8DA; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #9FA8DA; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/md-light-deeppurple/theme.css b/public/themes/md-light-deeppurple/theme.css index 147d3076406..b7bddee0264 100644 --- a/public/themes/md-light-deeppurple/theme.css +++ b/public/themes/md-light-deeppurple/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: rgba(0, 0, 0, 0.02); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(103, 58, 183, 0.12); color: #673AB7; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #673AB7; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #673AB7; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/md-light-indigo/theme.css b/public/themes/md-light-indigo/theme.css index 0bf0b6fb360..b8463498414 100644 --- a/public/themes/md-light-indigo/theme.css +++ b/public/themes/md-light-indigo/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: rgba(0, 0, 0, 0.02); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(63, 81, 181, 0.12); color: #3F51B5; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #3F51B5; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #3F51B5; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/mdc-dark-deeppurple/theme.css b/public/themes/mdc-dark-deeppurple/theme.css index d362e56dd31..07e1ee88025 100644 --- a/public/themes/mdc-dark-deeppurple/theme.css +++ b/public/themes/mdc-dark-deeppurple/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #222222; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(206, 147, 216, 0.16); color: #CE93D8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #CE93D8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #CE93D8; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/mdc-dark-indigo/theme.css b/public/themes/mdc-dark-indigo/theme.css index 6d8972d1ec7..8fa8aa799b4 100644 --- a/public/themes/mdc-dark-indigo/theme.css +++ b/public/themes/mdc-dark-indigo/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #222222; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(159, 168, 218, 0.16); color: #9FA8DA; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #9FA8DA; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #9FA8DA; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/mdc-light-deeppurple/theme.css b/public/themes/mdc-light-deeppurple/theme.css index 36de2f6c9b4..52951dd463b 100644 --- a/public/themes/mdc-light-deeppurple/theme.css +++ b/public/themes/mdc-light-deeppurple/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: rgba(0, 0, 0, 0.02); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(103, 58, 183, 0.12); color: #673AB7; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #673AB7; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #673AB7; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/mdc-light-indigo/theme.css b/public/themes/mdc-light-indigo/theme.css index a9913200d93..feafc8c2387 100644 --- a/public/themes/mdc-light-indigo/theme.css +++ b/public/themes/mdc-light-indigo/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: rgba(0, 0, 0, 0.02); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(63, 81, 181, 0.12); color: #3F51B5; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #3F51B5; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #3F51B5; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/mira/theme.css b/public/themes/mira/theme.css index 741d5381fee..f7c3188e1dd 100644 --- a/public/themes/mira/theme.css +++ b/public/themes/mira/theme.css @@ -2827,17 +2827,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f6f7fa; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #D8DEE9; color: #2E3440; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #2E3440; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #2E3440; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/nano/theme.css b/public/themes/nano/theme.css index 47189036a26..3cabdd0acf0 100644 --- a/public/themes/nano/theme.css +++ b/public/themes/nano/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #44A1D9; color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #ffffff; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/nova-accent/theme.css b/public/themes/nova-accent/theme.css index 9536826d312..51458e338c8 100644 --- a/public/themes/nova-accent/theme.css +++ b/public/themes/nova-accent/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f9f9f9; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #e02365; color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #ffffff; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/nova-alt/theme.css b/public/themes/nova-alt/theme.css index 75f0765a872..7a710e6c059 100644 --- a/public/themes/nova-alt/theme.css +++ b/public/themes/nova-alt/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f9f9f9; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #007ad9; color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #ffffff; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/nova-vue/theme.css b/public/themes/nova-vue/theme.css index 92ee84c86be..56078e1c644 100644 --- a/public/themes/nova-vue/theme.css +++ b/public/themes/nova-vue/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f9f9f9; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #41b883; color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #ffffff; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/nova/theme.css b/public/themes/nova/theme.css index 3c4ca73c32d..15a73c3b70a 100644 --- a/public/themes/nova/theme.css +++ b/public/themes/nova/theme.css @@ -2811,17 +2811,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f9f9f9; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #007ad9; color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #ffffff; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #ffffff; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/rhea/theme.css b/public/themes/rhea/theme.css index 0427d675584..c2dbd25203f 100644 --- a/public/themes/rhea/theme.css +++ b/public/themes/rhea/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #f8f8f8; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #AFD3C8; color: #385048; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #385048; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #385048; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/saga-blue/theme.css b/public/themes/saga-blue/theme.css index 3204790a021..5f6ca674bcb 100644 --- a/public/themes/saga-blue/theme.css +++ b/public/themes/saga-blue/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #E3F2FD; color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #495057; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/saga-green/theme.css b/public/themes/saga-green/theme.css index d2137deca75..b3089d95727 100644 --- a/public/themes/saga-green/theme.css +++ b/public/themes/saga-green/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #E8F5E9; color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #495057; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/saga-orange/theme.css b/public/themes/saga-orange/theme.css index 4ecc74ebc84..ad761afaab6 100644 --- a/public/themes/saga-orange/theme.css +++ b/public/themes/saga-orange/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #FFF3E0; color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #495057; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/saga-purple/theme.css b/public/themes/saga-purple/theme.css index 92cba79f029..af4c83fb8fc 100644 --- a/public/themes/saga-purple/theme.css +++ b/public/themes/saga-purple/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #F3E5F5; color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #495057; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #495057; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/soho-dark/theme.css b/public/themes/soho-dark/theme.css index c4b5513a412..dcc8ba270df 100644 --- a/public/themes/soho-dark/theme.css +++ b/public/themes/soho-dark/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #2b2c38; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(177, 157, 247, 0.16); color: #b19df7; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #b19df7; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #b19df7; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/soho-light/theme.css b/public/themes/soho-light/theme.css index 8130e9a06ef..24caa98efa6 100644 --- a/public/themes/soho-light/theme.css +++ b/public/themes/soho-light/theme.css @@ -2823,17 +2823,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #e2dcfc; color: #5a37f1; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #5a37f1; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #5a37f1; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/tailwind-light/theme.css b/public/themes/tailwind-light/theme.css index 3f30abaa12d..92ff71dcaaa 100644 --- a/public/themes/tailwind-light/theme.css +++ b/public/themes/tailwind-light/theme.css @@ -2834,17 +2834,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #EEF2FF; color: #312E81; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #312E81; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #312E81; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/vela-blue/theme.css b/public/themes/vela-blue/theme.css index 301ec1f440a..196e80b565a 100644 --- a/public/themes/vela-blue/theme.css +++ b/public/themes/vela-blue/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #253144; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(100, 181, 246, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/vela-green/theme.css b/public/themes/vela-green/theme.css index 5c8901bd13d..5e85b8a2c76 100644 --- a/public/themes/vela-green/theme.css +++ b/public/themes/vela-green/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #253144; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(129, 199, 132, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/vela-orange/theme.css b/public/themes/vela-orange/theme.css index bc196ed326c..3a5dc15679d 100644 --- a/public/themes/vela-orange/theme.css +++ b/public/themes/vela-orange/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #253144; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(255, 213, 79, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/vela-purple/theme.css b/public/themes/vela-purple/theme.css index 51d5d325032..771671ffe0b 100644 --- a/public/themes/vela-purple/theme.css +++ b/public/themes/vela-purple/theme.css @@ -2799,17 +2799,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #253144; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(186, 104, 200, 0.16); color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: rgba(255, 255, 255, 0.87); } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: rgba(255, 255, 255, 0.87); } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/viva-dark/theme.css b/public/themes/viva-dark/theme.css index c33b776ed6e..a7f93b15240 100644 --- a/public/themes/viva-dark/theme.css +++ b/public/themes/viva-dark/theme.css @@ -2831,17 +2831,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #1b2327; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: rgba(158, 173, 230, 0.16); color: #9eade6; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #9eade6; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #9eade6; } .p-datatable.p-datatable-sm .p-datatable-header { diff --git a/public/themes/viva-light/theme.css b/public/themes/viva-light/theme.css index b6404664c12..ca57d731820 100644 --- a/public/themes/viva-light/theme.css +++ b/public/themes/viva-light/theme.css @@ -2831,17 +2831,17 @@ .p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { border-width: 0 1px 0 1px; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { background: #fcfcfc; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { background: #ced6f1; color: #585858; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler { color: #585858; } - .p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover { + .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight .p-row-toggler:hover { color: #585858; } .p-datatable.p-datatable-sm .p-datatable-header {