-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.php
More file actions
187 lines (177 loc) · 4.18 KB
/
example.php
File metadata and controls
187 lines (177 loc) · 4.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {
background: linear-gradient(45deg, #FC466B, #3F5EFB);
height: 100vh;
font-family: "Montserrat", sans-serif;
}
.container {
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
}
form {
background: rgba(255, 255, 255, 0.3);
padding: 3em;
height: 480px;
border-radius: 20px;
border-left: 1px solid rgba(255, 255, 255, 0.3);
border-top: 1px solid rgba(255, 255, 255, 0.3);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
text-align: center;
position: relative;
transition: all 0.2s ease-in-out;
}
form p {
font-weight: 500;
color: #fff;
opacity: 0.7;
font-size: 1.4rem;
margin-top: 0;
margin-bottom: 60px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
form a {
text-decoration: none;
color: #ddd;
font-size: 12px;
}
form a:hover {
text-shadow: 2px 2px 6px #00000040;
}
form a:active {
text-shadow: none;
}
form input {
background: transparent;
width: 200px;
padding: 1em;
margin-bottom: 2em;
border: none;
border-left: 1px solid rgba(255, 255, 255, 0.3);
border-top: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 5000px;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.2);
color: #fff;
font-family: Montserrat, sans-serif;
font-weight: 500;
transition: all 0.2s ease-in-out;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
form input:hover {
background: rgba(255, 255, 255, 0.1);
box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.2);
}
form input[type=email]:focus, form input[type=password]:focus {
background: rgba(255, 255, 255, 0.1);
box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.2);
}
form input[type=button] {
margin-top: 10px;
width: 150px;
font-size: 1rem;
}
form input[type=button]:hover {
cursor: pointer;
}
form input[type=button]:active {
background: rgba(255, 255, 255, 0.2);
}
form:hover {
margin: 4px;
}
::-moz-placeholder {
font-family: Montserrat, sans-serif;
font-weight: 400;
color: #fff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
:-ms-input-placeholder {
font-family: Montserrat, sans-serif;
font-weight: 400;
color: #fff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
::placeholder {
font-family: Montserrat, sans-serif;
font-weight: 400;
color: #fff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.drop {
background: rgba(255, 255, 255, 0.3);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
border-radius: 10px;
border-left: 1px solid rgba(255, 255, 255, 0.3);
border-top: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.2);
position: absolute;
transition: all 0.2s ease;
}
.drop-1 {
height: 80px;
width: 80px;
top: -20px;
left: -40px;
z-index: -1;
}
.drop-2 {
height: 80px;
width: 80px;
bottom: -30px;
right: -10px;
}
.drop-3 {
height: 100px;
width: 100px;
bottom: 120px;
right: -50px;
z-index: -1;
}
.drop-4 {
height: 120px;
width: 120px;
top: -60px;
right: -60px;
}
.drop-5 {
height: 60px;
width: 60px;
bottom: 170px;
left: 90px;
z-index: -1;
}
a,
input:focus,
select:focus,
textarea:focus,
button:focus {
outline: none;
}
</style>
<div class="container">
<form method = "POST" autocomplete="off" >
<p>One-Captcha</p>
<input type="email" placeholder="Email"><br>
<input type="password" placeholder="Password"><br>
<div id="ae_captcha_api"></div>
<div><input type="text" placeholder = "Enter Captcha" name="user_input"/></div>
<div><input type="submit" formaction="./validate.php" value = "Log In"/></div>
</form>
<div class="drops">
<div class="drop drop-1"></div>
<div class="drop drop-2"></div>
<div class="drop drop-3"></div>
<div class="drop drop-4"></div>
<div class="drop drop-5"></div>
</div>
</div>
<script src="./captcha-generator/asset/main.js"></script>