63 lines
1.1 KiB
CSS
63 lines
1.1 KiB
CSS
/* Tables */
|
|
.jsonTableContainer {
|
|
display: flex;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
|
|
content: " \25B4\25BE"
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
color: var(--table-font-color);
|
|
margin-bottom: var(--article-margin);
|
|
}
|
|
|
|
th {
|
|
background-color: var(--table-header-bg);
|
|
padding: 5px;
|
|
text-align: left;
|
|
font-size: var(--table-header-font-size);
|
|
}
|
|
|
|
td {
|
|
padding: 5px;
|
|
text-align: left;
|
|
max-width: 90px;
|
|
font-size: var(--table-row-font-size);
|
|
}
|
|
#scrollable:hover {
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
#scrollable {
|
|
scrollbar-width: thin;
|
|
max-width: 90px;
|
|
max-height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: var(--table-even-row-bg-color);
|
|
font-size: var(--table-row-font-size);
|
|
}
|
|
|
|
tr:nth-child(odd) {
|
|
background-color: var(--table-odd-row-bg-color);
|
|
font-size: var(--table-row-font-size);
|
|
}
|
|
tr:hover {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
tr.selected {
|
|
background-color: #d1ecf1;
|
|
}
|