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
This commit is part of merge request !88. Comments created here will be created in the context of that merge request.
......@@ -299,6 +299,9 @@ const Consents: React.FC = () => {
rowMultiSelectWithClick={true}
pagination={false}
suppressCellFocus={true}
rowClassRules={{
expired: (params) => params.data.endDate < DateTime.now(),
}}
></AgGridReact>
{!isShowingSelection && (
<TablePagination
......
......@@ -10,10 +10,14 @@
.ag-header-cell-text {
color: $gold;
}
.ag-row-odd,
.ag-row-even {
.ag-row {
background: transparent !important;
transition: all 300ms ease !important;
&.expired {
* {
color: $text-chart;
}
}
}
.ag-cell-focus {
outline: none !important;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment