gitea源码

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. Gitea's tailwind-style CSS helper classes have `gt-` prefix.
  3. Gitea's private styles use `g-` prefix.
  4. */
  5. .gt-ellipsis {
  6. overflow: hidden !important;
  7. white-space: nowrap !important;
  8. text-overflow: ellipsis !important;
  9. }
  10. .g-table-auto-ellipsis td.auto-ellipsis {
  11. position: relative;
  12. }
  13. .g-table-auto-ellipsis td.auto-ellipsis span {
  14. position: absolute;
  15. inset: 0;
  16. padding: inherit;
  17. white-space: nowrap;
  18. overflow: hidden;
  19. text-overflow: ellipsis;
  20. }
  21. .interact-fg { color: inherit !important; }
  22. .interact-fg:hover { color: var(--color-primary) !important; }
  23. .interact-fg:active { color: var(--color-primary-active) !important; }
  24. .interact-bg { background: transparent !important; }
  25. .interact-bg:hover { background: var(--color-hover) !important; }
  26. .interact-bg:active { background: var(--color-active) !important; }
  27. @media (max-width: 767.98px) {
  28. /* double selector so it wins over .tw-flex (old .gt-df) etc */
  29. .not-mobile.not-mobile {
  30. display: none !important;
  31. }
  32. }
  33. @media (min-width: 767.98px) {
  34. .only-mobile.only-mobile {
  35. display: none !important;
  36. }
  37. }
  38. .tab-size-1 { tab-size: 1 !important; }
  39. .tab-size-2 { tab-size: 2 !important; }
  40. .tab-size-3 { tab-size: 3 !important; }
  41. .tab-size-4 { tab-size: 4 !important; }
  42. .tab-size-5 { tab-size: 5 !important; }
  43. .tab-size-6 { tab-size: 6 !important; }
  44. .tab-size-7 { tab-size: 7 !important; }
  45. .tab-size-8 { tab-size: 8 !important; }
  46. .tab-size-9 { tab-size: 9 !important; }
  47. .tab-size-10 { tab-size: 10 !important; }
  48. .tab-size-11 { tab-size: 11 !important; }
  49. .tab-size-12 { tab-size: 12 !important; }
  50. .tab-size-13 { tab-size: 13 !important; }
  51. .tab-size-14 { tab-size: 14 !important; }
  52. .tab-size-15 { tab-size: 15 !important; }
  53. .tab-size-16 { tab-size: 16 !important; }