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.

79 lines
1.2 KiB

  1. .table {
  2. width: 100%;
  3. max-width: 100%;
  4. border-spacing: 0;
  5. border-collapse: collapse;
  6. margin-bottom: 20px;
  7. th,
  8. td {
  9. padding: 8px;
  10. line-height: 18px;
  11. vertical-align: top;
  12. border-top: 1px solid $ui-base-color;
  13. text-align: left;
  14. }
  15. & > thead > tr > th {
  16. vertical-align: bottom;
  17. border-bottom: 2px solid $ui-base-color;
  18. border-top: 0;
  19. font-weight: 500;
  20. }
  21. & > tbody > tr > th {
  22. font-weight: 500;
  23. }
  24. & > tbody > tr:nth-child(odd) > td,
  25. & > tbody > tr:nth-child(odd) > th {
  26. background: $ui-base-color;
  27. }
  28. a {
  29. color: $ui-highlight-color;
  30. text-decoration: underline;
  31. &:hover {
  32. text-decoration: none;
  33. }
  34. }
  35. strong {
  36. font-weight: 500;
  37. }
  38. &.inline-table {
  39. td,
  40. th {
  41. padding: 8px 2px;
  42. }
  43. & > tbody > tr:nth-child(odd) > td,
  44. & > tbody > tr:nth-child(odd) > th {
  45. background: transparent;
  46. }
  47. }
  48. }
  49. samp {
  50. font-family: 'mastodon-font-monospace', monospace;
  51. }
  52. a.table-action-link {
  53. text-decoration: none;
  54. display: inline-block;
  55. margin-right: 5px;
  56. padding: 0 10px;
  57. color: rgba($primary-text-color, 0.7);
  58. font-weight: 500;
  59. &:hover {
  60. color: $primary-text-color;
  61. }
  62. i.fa {
  63. font-weight: 400;
  64. margin-right: 5px;
  65. }
  66. }