You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
684 B

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //
  2. // Tables
  3. // --------------------------------------------------
  4. .table:not(.table-borderless) {
  5. // Highlight border color between thead, tbody and tfoot.
  6. > :not(:last-child) > :last-child > * {
  7. border-bottom-width: 2px;
  8. }
  9. }
  10. .table-vcenter {
  11. th,
  12. td {
  13. vertical-align: middle;
  14. }
  15. }
  16. // Table tools
  17. .js-table-checkable tbody tr,
  18. .js-table-sections-header > tr {
  19. cursor: pointer;
  20. }
  21. .js-table-sections-header {
  22. > tr > td:first-child > i {
  23. transition: transform .15s ease-out;
  24. }
  25. + tbody {
  26. display: none;
  27. }
  28. &.show {
  29. > tr > td:first-child > i {
  30. transform: rotate(90deg);
  31. }
  32. + tbody {
  33. display: table-row-group;
  34. }
  35. }
  36. }