_tables.scss 816 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // General styles
  2. .table {
  3. border-collapse: inherit;
  4. thead th {
  5. padding: $table-head-spacer-y $table-head-spacer-x;
  6. text-transform: $table-head-text-transform;
  7. letter-spacing: $table-head-letter-spacing;
  8. border-bottom: $table-border-width solid $table-border-color;
  9. }
  10. th {
  11. font-weight: $table-head-font-weight;
  12. }
  13. td {
  14. .progress {
  15. height: $table-progress-height;
  16. width: $table-progress-width;
  17. margin: $table-progress-margin;
  18. }
  19. }
  20. td,
  21. th {
  22. white-space: nowrap;
  23. }
  24. // Vetical align table content
  25. &.align-items-center {
  26. td,
  27. th {
  28. vertical-align: middle;
  29. }
  30. }
  31. tbody{
  32. tr:last-child{
  33. td{
  34. border-width: 0;
  35. }
  36. }
  37. }
  38. > :not(:last-child) > :last-child > * {
  39. border-bottom-color: $light;
  40. }
  41. }