|
@@ -1,86 +1,118 @@
|
1
|
1
|
@import '~antd/es/style/themes/default.less';
|
2
|
2
|
|
3
|
|
-.main {
|
4
|
|
- width: 840px;
|
5
|
|
- margin: 20vh auto 0;
|
6
|
|
- background: rgba(17, 40, 81, 0.41);
|
7
|
|
- box-shadow: 0px 8px 38px 0px rgba(4, 0, 0, 0.12);
|
8
|
|
- border-radius: 24px;
|
9
|
|
- box-sizing: border-box;
|
10
|
|
- padding: 87px 0 120px;
|
11
|
|
- display: flex;
|
12
|
|
- @media screen and (max-width: @screen-sm) {
|
13
|
|
- width: 95%;
|
14
|
|
- }
|
15
|
|
-
|
16
|
|
- & > div {
|
17
|
|
- flex: none;
|
18
|
|
- width: 50%;
|
19
|
|
- }
|
20
|
|
-
|
21
|
|
- .icon {
|
22
|
|
- margin-left: 16px;
|
23
|
|
- color: rgba(0, 0, 0, 0.2);
|
24
|
|
- font-size: 24px;
|
25
|
|
- vertical-align: middle;
|
26
|
|
- cursor: pointer;
|
27
|
|
- transition: color 0.3s;
|
|
3
|
+.login-form-wapper {
|
|
4
|
+ position: absolute;
|
|
5
|
+ width: 100vw;
|
|
6
|
+ height: 100vh;
|
|
7
|
+ top: -32px;
|
|
8
|
+ background: url(http://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/login-background.png) no-repeat;
|
|
9
|
+ background-size: 100% 100%;
|
28
|
10
|
|
29
|
|
- &:hover {
|
30
|
|
- color: @primary-color;
|
|
11
|
+ .main {
|
|
12
|
+ width: 840px;
|
|
13
|
+ margin: 20vh auto 0;
|
|
14
|
+ background: rgba(17, 40, 81, 0.41);
|
|
15
|
+ box-shadow: 0px 8px 38px 0px rgba(4, 0, 0, 0.12);
|
|
16
|
+ border-radius: 24px;
|
|
17
|
+ box-sizing: border-box;
|
|
18
|
+ padding: 87px 0 80px;
|
|
19
|
+ display: flex;
|
|
20
|
+ @media screen and (max-width: @screen-sm) {
|
|
21
|
+ width: 95%;
|
31
|
22
|
}
|
32
|
|
- }
|
33
|
|
-
|
34
|
|
- .other {
|
35
|
|
- margin-top: 24px;
|
36
|
|
- line-height: 22px;
|
37
|
|
- text-align: left;
|
38
|
23
|
|
39
|
|
- .register {
|
40
|
|
- float: right;
|
|
24
|
+ & > div {
|
|
25
|
+ flex: none;
|
|
26
|
+ width: 50%;
|
|
27
|
+ box-sizing: border-box;
|
41
|
28
|
}
|
42
|
|
- }
|
43
|
29
|
|
44
|
|
- .login-form-button {
|
45
|
|
- width: 100%;
|
46
|
|
- font-size: 18px;
|
47
|
|
- line-height: 48px;
|
48
|
|
- height: 48px !important;
|
49
|
|
- color: #fff !important;
|
50
|
|
- background: #1548B6 !important;
|
51
|
|
- border-radius: 48px;
|
52
|
|
- border: none !important;
|
53
|
|
- margin-top: 50px;
|
54
|
|
- }
|
|
30
|
+ .login-wedget {
|
|
31
|
+ text-align: center;
|
|
32
|
+
|
|
33
|
+ h3 {
|
|
34
|
+ color: #f8f8f8;
|
|
35
|
+ font-size: 24px;
|
|
36
|
+ line-height: 52px;
|
|
37
|
+ }
|
55
|
38
|
|
56
|
|
- :global {
|
57
|
|
- .ant-form {
|
58
|
|
- width: 260px;
|
59
|
|
- margin-left: 60px;
|
|
39
|
+ img {
|
|
40
|
+ width: 300px;
|
|
41
|
+ display: block;
|
|
42
|
+ margin: 0 auto;
|
|
43
|
+ }
|
60
|
44
|
}
|
61
|
45
|
|
62
|
|
- .ant-form-item {
|
63
|
|
- border-bottom: 2px solid #fff;
|
|
46
|
+ .login-form {
|
|
47
|
+ background: url('@/assets/login/light.png') no-repeat;
|
|
48
|
+ background-size: auto 100%;
|
|
49
|
+ padding-top: 30px;
|
64
|
50
|
}
|
65
|
51
|
|
66
|
|
- .ant-form-item-label > label {
|
67
|
|
- color: #fff;
|
|
52
|
+ .icon {
|
|
53
|
+ margin-left: 16px;
|
|
54
|
+ color: rgba(0, 0, 0, 0.2);
|
|
55
|
+ font-size: 24px;
|
|
56
|
+ vertical-align: middle;
|
|
57
|
+ cursor: pointer;
|
|
58
|
+ transition: color 0.3s;
|
|
59
|
+
|
|
60
|
+ &:hover {
|
|
61
|
+ color: @primary-color;
|
|
62
|
+ }
|
68
|
63
|
}
|
69
|
64
|
|
70
|
|
- .ant-input {
|
71
|
|
- color: #fff;
|
72
|
|
- border: none;
|
73
|
|
- background: transparent;
|
74
|
|
- outline: none;
|
|
65
|
+ .other {
|
|
66
|
+ margin-top: 24px;
|
|
67
|
+ line-height: 22px;
|
|
68
|
+ text-align: left;
|
75
|
69
|
|
76
|
|
- &:focus {
|
77
|
|
- box-shadow: none;
|
|
70
|
+ .register {
|
|
71
|
+ float: right;
|
78
|
72
|
}
|
79
|
73
|
}
|
80
|
74
|
|
81
|
|
- .antd-pro-login-submit {
|
|
75
|
+ .login-form-button {
|
82
|
76
|
width: 100%;
|
83
|
|
- margin-top: 24px;
|
|
77
|
+ font-size: 18px;
|
|
78
|
+ line-height: 48px;
|
|
79
|
+ height: 48px !important;
|
|
80
|
+ color: #fff !important;
|
|
81
|
+ background: #1548B6 !important;
|
|
82
|
+ border-radius: 48px;
|
|
83
|
+ border: none !important;
|
|
84
|
+ margin-top: 50px;
|
|
85
|
+ }
|
|
86
|
+
|
|
87
|
+ :global {
|
|
88
|
+ .ant-form {
|
|
89
|
+ width: 260px;
|
|
90
|
+ margin-left: 60px;
|
|
91
|
+ }
|
|
92
|
+
|
|
93
|
+ .ant-form-item {
|
|
94
|
+ border-bottom: 2px solid #fff;
|
|
95
|
+ }
|
|
96
|
+
|
|
97
|
+ .ant-form-item-label > label {
|
|
98
|
+ color: #fff;
|
|
99
|
+ }
|
|
100
|
+
|
|
101
|
+ .ant-input {
|
|
102
|
+ color: #fff;
|
|
103
|
+ border: none;
|
|
104
|
+ background: transparent;
|
|
105
|
+ outline: none;
|
|
106
|
+
|
|
107
|
+ &:focus {
|
|
108
|
+ box-shadow: none;
|
|
109
|
+ }
|
|
110
|
+ }
|
|
111
|
+
|
|
112
|
+ .antd-pro-login-submit {
|
|
113
|
+ width: 100%;
|
|
114
|
+ margin-top: 24px;
|
|
115
|
+ }
|
84
|
116
|
}
|
85
|
117
|
}
|
86
|
118
|
}
|