data_show.less 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. @import '../theme.less';
  2. .data_show {
  3. display: flex;
  4. justify-content: space-between;
  5. gap: @gap-size;
  6. border-radius: 20px;
  7. }
  8. .data_card {
  9. flex: 1;
  10. background: rgba(20, 40, 80, 0.85);
  11. border: 2px solid rgba(0, 255, 255, 0.25);
  12. border-radius: 16px;
  13. padding: 25px 0;
  14. text-align: center;
  15. position: relative;
  16. overflow: hidden;
  17. transition: transform 0.2s, box-shadow 0.2s;
  18. cursor: pointer;
  19. }
  20. .data_card::before {
  21. content: '';
  22. position: absolute;
  23. top: -50%;
  24. left: -50%;
  25. width: 200%;
  26. height: 200%;
  27. background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
  28. z-index: 0;
  29. pointer-events: none;
  30. animation: shine 3s linear infinite;
  31. }
  32. .data_card:hover {
  33. transform: translateY(-8px) scale(1.04);
  34. }
  35. .data_value {
  36. color: #00fff7;
  37. font-size: @font-title-sub;
  38. font-weight: bold;
  39. letter-spacing: 3px;
  40. margin-bottom: 12px;
  41. text-shadow: 0 0 12px #00fff7, 0 0 24px #0ff;
  42. position: relative;
  43. z-index: 1;
  44. animation: glow 2s ease-in-out infinite alternate;
  45. }
  46. @keyframes glow {
  47. from {
  48. text-shadow: 0 0 12px #00fff7, 0 0 24px #0ff;
  49. }
  50. to {
  51. text-shadow: 0 0 24px #00fff7, 0 0 48px #0ff;
  52. }
  53. }
  54. .data_label {
  55. color: #fff;
  56. font-weight: bold;
  57. font-size: @font-body;
  58. letter-spacing: 2px;
  59. opacity: 0.85;
  60. position: relative;
  61. z-index: 1;
  62. }