tables.scss 719 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Sortable table headers
  2. .table th a.selected {
  3. position: relative;
  4. text-decoration: underline;
  5. &.asc:after, &.desc:after {
  6. text-decoration: none;
  7. position: absolute;
  8. right: -1em;
  9. font-family: "Font Awesome 5 Free";
  10. }
  11. &.asc:after {
  12. top: 3px;
  13. content: '\f0de'; //fa-sort-asc
  14. }
  15. &.desc:after {
  16. top: -3px;
  17. content: '\f0dd'; //fa-sort-desc
  18. }
  19. }
  20. .table-striped > tbody > tr.hl {
  21. &:nth-child(odd) {
  22. > td, > th {
  23. background-color: #ffeecc;
  24. }
  25. }
  26. &:nth-child(even) {
  27. > td, > th {
  28. background-color: #f9e8c6;
  29. }
  30. }
  31. }
  32. table.events {
  33. .payload {
  34. color: #999;
  35. font-size: 12px;
  36. //text-align: center;
  37. font-family: monospace;
  38. }
  39. }