login.scoped.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .hc-login-box {
  2. .hc-dot-box {
  3. position: absolute;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: 0;
  8. .dot {
  9. opacity: 1;
  10. background-color: rgba(85, 77, 132, 0.1);
  11. }
  12. .dot-1 {
  13. left: 30px;
  14. top: 42px;
  15. width: 33px;
  16. height: 33px;
  17. transform-origin: 16.5px 16.5px;
  18. animation-duration: 1s;
  19. animation-iteration-count: 1;
  20. animation-fill-mode: backwards;
  21. animation-name: animationDot1;
  22. }
  23. .dot-2 {
  24. right: -43px;
  25. top: -43px;
  26. width: 110px;
  27. height: 110px;
  28. transform-origin: 55px 54.5px;
  29. animation-duration: 1s;
  30. animation-iteration-count: 1;
  31. animation-fill-mode: backwards;
  32. animation-name: animationDot2;
  33. }
  34. .dot-3 {
  35. left: 85px;
  36. top: 90px;
  37. width: 12px;
  38. height: 12px;
  39. transform-origin: 6px 6px;
  40. animation-duration: 1s;
  41. animation-iteration-count: 1;
  42. animation-fill-mode: backwards;
  43. animation-name: animationDot1;
  44. }
  45. }
  46. .hc-login-container {
  47. position: relative;
  48. height: 100%;
  49. padding: 0 14px;
  50. display: flex;
  51. justify-content: center;
  52. align-items: center;
  53. .hc-login-center {
  54. position: relative;
  55. margin-top: -6rem;
  56. flex: 1;
  57. .hc-login-title {
  58. font-size: 20px;
  59. font-weight: 500;
  60. color: #101010;
  61. }
  62. .hc-login-text {
  63. color: #8E8E93;
  64. font-size: 14px;
  65. margin-top: 8px;
  66. }
  67. .hc-login-form {
  68. position: relative;
  69. margin-top: 60px;
  70. .hc-login-form-item {
  71. position: relative;
  72. margin-top: 14px;
  73. .hc-login-input {
  74. padding: 10px;
  75. font-size: 14px;
  76. line-height: initial;
  77. min-height: initial;
  78. height: initial;
  79. border-bottom: 1px solid #E5E5EA;
  80. }
  81. }
  82. }
  83. }
  84. }
  85. }
  86. //动画
  87. @keyframes animationDot1 {
  88. 0% {
  89. transform-origin: left bottom;
  90. transform: rotate3d(0, 0, 1, -45deg);
  91. opacity: 0;
  92. }
  93. 100% {
  94. transform-origin: left bottom;
  95. transform: none;
  96. opacity: 1;
  97. }
  98. }
  99. @keyframes animationDot2 {
  100. 0% {
  101. transform-origin: right bottom;
  102. transform: rotate3d(0, 0, 1, 45deg);
  103. opacity: 0;
  104. }
  105. 100% {
  106. transform-origin: right bottom;
  107. transform: none;
  108. opacity: 1;
  109. }
  110. }