2024-07-29 14:44:41 +02:00
|
|
|
/* Define your CSS variables for the row colors */
|
|
|
|
:root {
|
|
|
|
/* Colors for table even and odd rows */
|
|
|
|
--color-odd-rows: rgb(90%, 95%, 90%);
|
|
|
|
--color-even-rows: rgb(95%, 95%, 95%);
|
|
|
|
/* datatable row selected color */
|
|
|
|
--dt-row-selected: rgb(253, 255, 155);
|
|
|
|
--dt-row-selected-text: black;
|
2023-02-04 14:22:24 +01:00
|
|
|
}
|
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
/* Customize the appearance of DataTables */
|
|
|
|
table.dataTable tbody tr:nth-child(odd),
|
|
|
|
table.dataTable tbody tr:nth-child(odd) td.dtfc-fixed-start {
|
|
|
|
background-color: var(--color-odd-rows);
|
2023-02-04 14:22:24 +01:00
|
|
|
}
|
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
table.dataTable tbody tr:nth-child(even),
|
|
|
|
table.dataTable tbody tr:nth-child(even) td.dtfc-fixed-start {
|
|
|
|
background-color: var(--color-even-rows);
|
2023-02-04 14:22:24 +01:00
|
|
|
}
|
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
table.dataTable thead th,
|
|
|
|
table.dataTable thead th.dtfc-fixed-start {
|
2023-02-04 14:22:24 +01:00
|
|
|
background-color: rgb(90%, 90%, 90%);
|
2024-07-29 14:44:41 +02:00
|
|
|
color: #333;
|
|
|
|
text-align: center;
|
2020-09-26 16:19:37 +02:00
|
|
|
}
|
2023-02-04 14:22:24 +01:00
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
/* hover effect for rows */
|
|
|
|
table.dataTable tbody tr:nth-child(odd):hover {
|
2023-02-04 14:22:24 +01:00
|
|
|
background-color: rgb(80%, 85%, 80%);
|
2020-09-26 16:19:37 +02:00
|
|
|
}
|
2023-02-04 14:22:24 +01:00
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
table.dataTable tbody tr:nth-child(even):hover {
|
2023-02-04 14:22:24 +01:00
|
|
|
background-color: rgb(85%, 85%, 85%);
|
2020-09-26 16:19:37 +02:00
|
|
|
}
|
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
table.dataTable tr.odd td {
|
|
|
|
background-color: #ecf5f4;
|
2023-02-10 22:04:09 +01:00
|
|
|
}
|
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
table.dataTable tr.gt_lastrow th {
|
|
|
|
text-align: right;
|
2023-11-26 18:28:56 +01:00
|
|
|
}
|
2024-03-31 23:04:54 +02:00
|
|
|
|
2024-07-29 14:44:41 +02:00
|
|
|
table.dataTable td.etudinfo,
|
|
|
|
table.dataTable td.group {
|
2023-11-26 18:28:56 +01:00
|
|
|
text-align: left;
|
2024-07-29 21:43:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
div.dt-container div.dt-search {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 16px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.dt-container div.dt-search input {
|
|
|
|
margin-left: 0.5em;
|
2024-03-31 23:04:54 +02:00
|
|
|
}
|