sort.css 790 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .sort-header {
  2. cursor: pointer;
  3. user-select: none;
  4. font-weight: 500;
  5. font-size: 12px;
  6. white-space: nowrap;
  7. display: inline-flex;
  8. align-items: center;
  9. gap: 3px;
  10. }
  11. .sort-header:hover {
  12. color: #409eff;
  13. }
  14. .sort-asc, .sort-desc {
  15. color: #409eff !important;
  16. font-weight: 600;
  17. }
  18. /* 多列排序序号 badge */
  19. .sort-index {
  20. display: inline-flex;
  21. align-items: center;
  22. justify-content: center;
  23. min-width: 14px;
  24. height: 14px;
  25. padding: 0 4px;
  26. border-radius: 7px;
  27. background: #409eff;
  28. color: #fff;
  29. font-size: 10px;
  30. font-weight: 600;
  31. line-height: 1;
  32. flex-shrink: 0;
  33. }
  34. .sort-index.sort-asc-badge {
  35. background: #67c23a;
  36. }
  37. .sort-index.sort-desc-badge {
  38. background: #e6a23c;
  39. }
  40. .sort-tag {
  41. margin-left: 8px;
  42. cursor: pointer;
  43. white-space: nowrap;
  44. }