This commit is contained in:
2026-07-06 19:23:12 +03:00
parent 3d658bbd13
commit 1d7e70aa15
2 changed files with 504 additions and 427 deletions
+469 -419
View File
File diff suppressed because it is too large Load Diff
+27
View File
@@ -224,6 +224,8 @@
.sp-table .th {
display: table-cell;
font-weight: bold;
user-select: none;
-webkit-user-select: none;
}
.sp-table .td,
@@ -231,6 +233,31 @@
vertical-align: middle;
}
.sp-table .th[data-sortable] {
cursor: pointer;
}
.sp-table .th[data-sortable]::after {
content: '';
width: 14px;
height: 14px;
display: inline-block;
vertical-align: middle;
margin-left: 10px;
background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23d3d3d3%22%20d%3D%22M7%2013h18a1%201%200%200%200%20.707-1.707l-9-9a1%201%200%200%200-1.414%200l-9%209A1%201%200%200%200%207%2013z%22%2F%3E%3Cpath%20fill%3D%22%23d3d3d3%22%20d%3D%22M25%2019H7a1%201%200%200%200-.707%201.707l9%209a1%201%200%200%200%201.414%200l9-9A1%201%200%200%200%2025%2019z%22%2F%3E%3C%2Fsvg%3E);
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
.sp-table .th[data-sortable].sort-asc::after {
background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%238b8b8b%22%20d%3D%22M7%2013h18a1%201%200%200%200%20.707-1.707l-9-9a1%201%200%200%200-1.414%200l-9%209A1%201%200%200%200%207%2013z%22%2F%3E%3Cpath%20fill%3D%22%23d3d3d3%22%20d%3D%22M25%2019H7a1%201%200%200%200-.707%201.707l9%209a1%201%200%200%200%201.414%200l9-9A1%201%200%200%200%2025%2019z%22%2F%3E%3C%2Fsvg%3E);
}
.sp-table .th[data-sortable].sort-desc::after {
background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23d3d3d3%22%20d%3D%22M7%2013h18a1%201%200%200%200%20.707-1.707l-9-9a1%201%200%200%200-1.414%200l-9%209A1%201%200%200%200%207%2013z%22%2F%3E%3Cpath%20fill%3D%22%238b8b8b%22%20d%3D%22M25%2019H7a1%201%200%200%200-.707%201.707l9%209a1%201%200%200%200%201.414%200l9-9A1%201%200%200%200%2025%2019z%22%2F%3E%3C%2Fsvg%3E);
}
.sp-table .tbody {
display: table-row;
border-bottom: 1px solid #dee2e6;