Skip to content
Snippets Groups Projects
Commit 276f0e01 authored by Rémi PAILHAREY's avatar Rémi PAILHAREY :fork_knife_plate:
Browse files

style: expired consents are now less visible

parent 8cddad0d
No related branches found
No related tags found
1 merge request!88Resolve "[1] [SGE - Backoffice] Amélioration distinction consentement expirés/valides"
Pipeline #53307 passed
...@@ -299,6 +299,9 @@ const Consents: React.FC = () => { ...@@ -299,6 +299,9 @@ const Consents: React.FC = () => {
rowMultiSelectWithClick={true} rowMultiSelectWithClick={true}
pagination={false} pagination={false}
suppressCellFocus={true} suppressCellFocus={true}
rowClassRules={{
expired: (params) => params.data.endDate < DateTime.now(),
}}
></AgGridReact> ></AgGridReact>
{!isShowingSelection && ( {!isShowingSelection && (
<TablePagination <TablePagination
......
...@@ -10,10 +10,14 @@ ...@@ -10,10 +10,14 @@
.ag-header-cell-text { .ag-header-cell-text {
color: $gold; color: $gold;
} }
.ag-row-odd, .ag-row {
.ag-row-even {
background: transparent !important; background: transparent !important;
transition: all 300ms ease !important; transition: all 300ms ease !important;
&.expired {
* {
color: $text-chart;
}
}
} }
.ag-cell-focus { .ag-cell-focus {
outline: none !important; outline: none !important;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment