|
@@ -4,6 +4,74 @@ html, body, #root {
|
4
|
4
|
margin: 0;
|
5
|
5
|
}
|
6
|
6
|
|
|
7
|
+body {
|
|
8
|
+ background-color: #F5F8FF;
|
|
9
|
+
|
|
10
|
+ &::before {
|
|
11
|
+ content: '';
|
|
12
|
+ position: absolute;
|
|
13
|
+ width: 300px;
|
|
14
|
+ height: 300px;
|
|
15
|
+ border-radius: 50%;
|
|
16
|
+ background-image: linear-gradient(135deg, #EBF2FF, #C3DAFB);
|
|
17
|
+ left: 0;
|
|
18
|
+ top: 0;
|
|
19
|
+ animation: toright 40s linear infinite alternate;
|
|
20
|
+ }
|
|
21
|
+
|
|
22
|
+ @keyframes toright {
|
|
23
|
+ 0% {
|
|
24
|
+ transform: translate3d(0, 0, 0);
|
|
25
|
+ }
|
|
26
|
+
|
|
27
|
+ 50% {
|
|
28
|
+ transform: translate3d(calc(100vw - 300px), 30vh, 0);
|
|
29
|
+ }
|
|
30
|
+
|
|
31
|
+ 100% {
|
|
32
|
+ transform: translate3d(50vw, calc(100vh - 300px), 0);
|
|
33
|
+ }
|
|
34
|
+ }
|
|
35
|
+
|
|
36
|
+ &::after {
|
|
37
|
+ content: '';
|
|
38
|
+ position: absolute;
|
|
39
|
+ width: 200px;
|
|
40
|
+ height: 200px;
|
|
41
|
+ border-radius: 50%;
|
|
42
|
+ background-image: linear-gradient(-45deg, #EBF2FF, #C3DAFB);
|
|
43
|
+ right: 0;
|
|
44
|
+ bottom: 100px;
|
|
45
|
+ z-index: 0;
|
|
46
|
+ animation: toleft 40s linear 2s infinite alternate;
|
|
47
|
+ }
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+ @keyframes toleft {
|
|
51
|
+ 0% {
|
|
52
|
+ transform: translate3d(0, 0, 0);
|
|
53
|
+ }
|
|
54
|
+
|
|
55
|
+ 50% {
|
|
56
|
+ transform: translate3d(calc(-100vw + 200px), -30vh, 0);
|
|
57
|
+ }
|
|
58
|
+
|
|
59
|
+ 100% {
|
|
60
|
+ transform: translate3d(-50vw, calc(-100vh + 200px), 0);
|
|
61
|
+ }
|
|
62
|
+ }
|
|
63
|
+
|
|
64
|
+ #root {
|
|
65
|
+ position: relative;
|
|
66
|
+ backdrop-filter: blur(4px);
|
|
67
|
+ z-index: 1;
|
|
68
|
+ }
|
|
69
|
+
|
|
70
|
+ .ant-layout, .ant-layout-footer {
|
|
71
|
+ background-color: transparent !important;
|
|
72
|
+ }
|
|
73
|
+}
|
|
74
|
+
|
7
|
75
|
:root {
|
8
|
76
|
--theme-color: #fff;
|
9
|
77
|
--theme-front: #000;
|
|
@@ -26,10 +94,6 @@ html, body, #root {
|
26
|
94
|
z-index: 100;
|
27
|
95
|
}
|
28
|
96
|
|
29
|
|
-.ant-layout {
|
30
|
|
- background-color: #f0f2f5;
|
31
|
|
-}
|
32
|
|
-
|
33
|
97
|
.ant-layout-header {
|
34
|
98
|
line-height: var(--header-height);
|
35
|
99
|
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
@@ -41,11 +105,19 @@ html, body, #root {
|
41
|
105
|
width: var(--siderbar-width);
|
42
|
106
|
background-color: var(--theme-color);
|
43
|
107
|
color: var(--theme-front);
|
44
|
|
- box-shadow: 1px 0 4px 0 rgba(0, 21, 41, 0.08);
|
|
108
|
+ // box-shadow: 1px 0 4px 0 rgba(0, 21, 41, 0.08);
|
45
|
109
|
|
46
|
110
|
.ant-menu {
|
47
|
111
|
background: transparent;
|
48
|
112
|
}
|
|
113
|
+
|
|
114
|
+ &.ant-layout-sider-light {
|
|
115
|
+ background: transparent;
|
|
116
|
+
|
|
117
|
+ .ant-layout-sider-trigger {
|
|
118
|
+ background: transparent;
|
|
119
|
+ }
|
|
120
|
+ }
|
49
|
121
|
}
|
50
|
122
|
|
51
|
123
|
|