闭社主体 forked from https://github.com/tootsuite/mastodon
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.

67 lines
1.1 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. }
  39. samp {
  40. font-family: 'mastodon-font-monospace', monospace;
  41. }
  42. a.table-action-link {
  43. text-decoration: none;
  44. display: inline-block;
  45. margin-right: 5px;
  46. padding: 0 10px;
  47. color: rgba($primary-text-color, 0.7);
  48. font-weight: 500;
  49. &:hover {
  50. color: $primary-text-color;
  51. }
  52. i.fa {
  53. font-weight: 400;
  54. margin-right: 5px;
  55. }
  56. }