2024-06-16 19:48:02 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2024 Mehdi Benadel <https://mehdibenadel.com>
|
|
|
|
* SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* We are disabling stylelint-disable custom-property-pattern so we can use Peertube var without warnings. */
|
|
|
|
/* stylelint-disable custom-property-pattern */
|
|
|
|
|
|
|
|
@mixin data-table {
|
|
|
|
table-layout: fixed;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
tr {
|
2024-11-28 10:01:49 +01:00
|
|
|
border: 1px var(--bg-secondary-400, var(--greyBackgroundColor)) solid;
|
2024-06-16 19:48:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
word-wrap: break-word;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 5px 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:last-child {
|
|
|
|
vertical-align: middle;
|
|
|
|
min-width: 28px;
|
|
|
|
|
|
|
|
> input:not([type="checkbox"]),
|
|
|
|
textarea {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody tr:nth-child(odd) {
|
2024-11-28 10:01:49 +01:00
|
|
|
background-color: var(--bg-secondary-300, var(--greySecondaryBackgroundColor));
|
2024-06-16 19:48:02 +02:00
|
|
|
}
|
|
|
|
}
|