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.

90 lines
1.1 KiB

  1. .table {
  2. border-spacing: collapse;
  3. padding: 1px;
  4. width: 100%;
  5. font-size: 14px;
  6. thead {
  7. background-color: mc('blue-grey', '500');
  8. color: #FFF;
  9. th {
  10. padding: 5px 10px;
  11. font-weight: 500;
  12. text-align: center;
  13. border-left: 1px solid mc('blue-grey', '200');
  14. &:first-child {
  15. border-left: none;
  16. }
  17. }
  18. @each $color, $colorvalue in $material-colors {
  19. &.is-#{$color} {
  20. background-color: mc($color, '500');
  21. th {
  22. border-left-color: mc($color, '200');
  23. }
  24. }
  25. }
  26. }
  27. tbody {
  28. tr {
  29. background-color: mc('blue-grey', '100');
  30. &:nth-child(odd) {
  31. background-color: mc('blue-grey', '50');
  32. }
  33. td {
  34. padding: 5px 10px;
  35. border-left: 1px solid #FFF;
  36. vertical-align: middle;
  37. &:first-child {
  38. border-left: none;
  39. }
  40. }
  41. }
  42. }
  43. .is-centered {
  44. text-align: center;
  45. }
  46. .has-icons i {
  47. margin-right: 8px;
  48. }
  49. .is-icon {
  50. font-size: 14px;
  51. width: 20px;
  52. }
  53. .has-action-icons {
  54. i {
  55. cursor: pointer;
  56. font-size: 20px;
  57. }
  58. }
  59. }
  60. .table-actions {
  61. text-align: right;
  62. .button {
  63. border-top-left-radius: 0;
  64. border-top-right-radius: 0;
  65. }
  66. }