tables-rtl.less 937 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // Tables
  3. // --------------------------------------------------
  4. //TODO
  5. caption {
  6. text-align: right;
  7. }
  8. th {
  9. text-align: right;
  10. }
  11. // Responsive tables
  12. //
  13. // Wrap your tables in `.table-responsive` and we'll make them mobile friendly
  14. // by enabling horizontal scrolling. Only applies <768px. Everything above that
  15. // will display normally.
  16. .table-responsive {
  17. @media screen and (max-width: @screen-xs-max) {
  18. // Special overrides for the bordered tables
  19. > .table-bordered {
  20. border: 0;
  21. // Nuke the appropriate borders so that the parent can handle them
  22. > thead,
  23. > tbody,
  24. > tfoot {
  25. > tr {
  26. > th:first-child,
  27. > td:first-child {
  28. border-right: 0;
  29. border-left: initial;
  30. }
  31. > th:last-child,
  32. > td:last-child {
  33. border-left: 0;
  34. border-right: initial;
  35. }
  36. }
  37. }
  38. }
  39. }
  40. }