table.scss 820 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .table-container {
  2. flex: 1;
  3. margin-bottom: var(--spacing-06);
  4. background-color: var(--white);
  5. padding: var(--spacing-04);
  6. .table {
  7. margin-bottom: initial;
  8. }
  9. }
  10. .table {
  11. th,
  12. td {
  13. a {
  14. text-decoration: none;
  15. }
  16. }
  17. tbody {
  18. tr {
  19. &:last-child {
  20. td,
  21. th {
  22. border-bottom-width: 0;
  23. }
  24. }
  25. }
  26. }
  27. }
  28. .table-container-bordered {
  29. padding: var(--spacing-04);
  30. border-color: $table-border-color;
  31. border-radius: var(--border-radius-base);
  32. border-width: var(--bs-border-width);
  33. border-style: solid;
  34. }
  35. .table-striped {
  36. tr,
  37. td,
  38. th {
  39. border-top-width: 0;
  40. border-bottom-width: 0;
  41. }
  42. > tbody > tr:nth-of-type(#{$table-striped-order}) {
  43. &:hover > * {
  44. --#{$prefix}table-hover-bg: var(--bg-light-tertiary);
  45. }
  46. }
  47. }