tables.module.css 710 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .table {
  2. width: 100%;
  3. display: grid;
  4. }
  5. .table tr,
  6. .table thead {
  7. display: grid;
  8. grid-template-columns: 180px 180px repeat(auto-fit, minmax(50px, 1fr));
  9. }
  10. .table .threeSlot {
  11. display: grid;
  12. grid-template-columns: repeat(3, 30%);
  13. }
  14. .table .oneSlot {
  15. display: block;
  16. }
  17. .table * {
  18. text-align: center;
  19. }
  20. .tdGroup {
  21. padding: 0;
  22. border: 1px solid rgba(0, 0, 0, 0.05);
  23. }
  24. .table .tdGroup,
  25. .tdGroup td {
  26. display: flex;
  27. align-items: center;
  28. justify-content: center;
  29. }
  30. .table .tdGroup,
  31. .tdGroup table {
  32. height: 100%;
  33. width: 100%;
  34. }
  35. .cell {
  36. padding: 5px 0;
  37. border: 1px solid rgba(0, 0, 0, 0.05);
  38. }
  39. .nowrap {
  40. white-space: nowrap;
  41. }
  42. /* .dateCell { */
  43. /* width: 17%; */
  44. /* } */