Your Name 2 years ago
parent
commit
a188d189b1
2 changed files with 13 additions and 23 deletions
  1. 0
    1
      src/pages/login/Effect.jsx
  2. 13
    22
      src/pages/login/style.less

+ 0
- 1
src/pages/login/Effect.jsx View File

@@ -5,7 +5,6 @@ export default (props) => {
5 5
     <div className='login-effect-box'>
6 6
       <div className="login-effect">
7 7
         <div className="login-effect-arc"></div>
8
-        <div className="login-effect-rect"></div>
9 8
       </div>
10 9
     </div>
11 10
   )

+ 13
- 22
src/pages/login/style.less View File

@@ -50,29 +50,20 @@
50 50
       width: 100%;
51 51
       height: 100%;
52 52
       border-radius: 50%;
53
-      background-color: #1890ff;
53
+      background-color: #fa8c16;
54 54
 
55
-      // &::after {
56
-      //   content: '';
57
-      //   position: absolute;
58
-      //   top: 50%;
59
-      //   height: 50%;
60
-      //   width: 100%;
61
-      //   background: #fff;
62
-      //   z-index: 2;
63
-      // }
64
-    }
65
-
66
-    .login-effect-rect {
67
-      width: 100%;
68
-      height: 50%;
69
-      top: 50%;
70
-      left: 0;
71
-      position: absolute;
72
-      border-radius:0 0 100px 100px;
73
-      z-index: 10;
74
-      background-color: #fff;
75
-      filter: blur(10px);
55
+      &::after {
56
+        content: '';
57
+        width: 200%;
58
+        height: 100%;
59
+        top: 50%;
60
+        left: -50%;
61
+        position: absolute;
62
+        z-index: 10;
63
+        background-color: rgba(255, 255, 255, 0.001);
64
+        backdrop-filter: blur(16px);
65
+        border-top: 1px solid rgba(255, 255, 255, 0.2);
66
+      }
76 67
     }
77 68
   }
78 69