common.less 750 B

12345678910111213141516171819202122232425262728293031323334
  1. .f() {
  2. display: flex;
  3. align-items: center;
  4. }
  5. .f-col() {
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. @primary-gradient: linear-gradient(90deg, #dfffcd 0%, #90f9c4 48%, #39f3bb 100%);
  10. .gt() {
  11. background: @primary-gradient;
  12. background-clip: text;
  13. -webkit-background-clip: text;
  14. -webkit-text-fill-color: transparent;
  15. }
  16. .ellipsis() {
  17. overflow: hidden;
  18. text-overflow: ellipsis;
  19. white-space: nowrap;
  20. }
  21. .ellipsisLn(@line) {
  22. overflow: hidden;
  23. text-overflow: ellipsis;
  24. display: -webkit-box;
  25. -webkit-line-clamp: @line;
  26. -webkit-box-orient: vertical;
  27. }
  28. .gradient-text(@gd) {
  29. background: @gd;
  30. -webkit-background-clip: text;
  31. background-clip: text;
  32. -webkit-text-fill-color: transparent;
  33. }