PluginProbe ʕ •ᴥ•ʔ
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress / 3.1
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress v3.1
4.16.19 4.16.18 4.16.17 4.16.16 trunk 1.0 1.0.1 1.0.2 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5a 1.1.6 1.1.7 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4 1.4.1 1.4.2 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.7 1.7.1 1.7.2 1.8 1.8.1 1.8.10 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.1.9 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.2 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 3.0 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 3.1.19 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10.0 4.10.1 4.10.2 4.10.3 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.13.3 4.13.4 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.15.0 4.15.1 4.15.10 4.15.11 4.15.12 4.15.13 4.15.14 4.15.15 4.15.16 4.15.17 4.15.18 4.15.19 4.15.2 4.15.20 4.15.20.1 4.15.21 4.15.22 4.15.23 4.15.24 4.15.25 4.15.3 4.15.4 4.15.5 4.15.6 4.15.7 4.15.8 4.15.9 4.16.0 4.16.1 4.16.10 4.16.11 4.16.12 4.16.13 4.16.14 4.16.15 4.16.2 4.16.3 4.16.4 4.16.5 4.16.6 4.16.7 4.16.8 4.16.9 4.2.0 4.3.0 4.3.1 4.3.2 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.6.0 4.7.0 4.8.0 4.9.0
wp-user-avatar / src / Themes / Shortcode / Passwordreset / Fzbuk.php
wp-user-avatar / src / Themes / Shortcode / Passwordreset Last commit date
Fzbuk.php 5 years ago Perfecto.php 5 years ago
Fzbuk.php
195 lines
1 <?php
2
3 namespace ProfilePress\Core\Themes\Shortcode\Passwordreset;
4
5 use ProfilePress\Core\ShortcodeParser\PasswordResetTag;
6 use ProfilePress\Core\Themes\Shortcode\PasswordResetThemeInterface;
7
8 class Fzbuk implements PasswordResetThemeInterface
9 {
10 public function get_name()
11 {
12 return 'Fzbuk';
13 }
14
15 public function success_message()
16 {
17 return '<div class="profilepress-reset-status">Check your email for further instruction</div>';
18 }
19
20 public function get_structure()
21 {
22 return <<<CODE
23 <div class="fzbuk-login-form-wrap">
24 <h1>Forgot Password?</h1>
25
26 <div class="fzbuk-login-form">
27
28 <label>
29 [user-login id="login" placeholder="Username or E-mail:"]
30 </label>
31
32 [reset-submit value="Reset Password"]
33
34 </div>
35 <h5>Back to [link-login label="Login"]</h5>
36 </div>
37
38 CODE;
39
40 }
41
42 public function password_reset_handler()
43 {
44 return PasswordResetTag::get_default_handler_form();
45 }
46
47 public function get_css()
48 {
49 return <<<CSS
50 @import url(https://fonts.googleapis.com/css?family=Lato:300,400,600,700&display=swap);
51
52 /* css class for the form generated errors */
53 .profilepress-reset-status {
54 -webkit-box-sizing: border-box;
55 -moz-box-sizing: border-box;
56 box-sizing: border-box;
57 color: #fff;
58 background: #5170ad;
59 background: -moz-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
60 background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #5170ad), color-stop(100%, #355493));
61 background: -webkit-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
62 background: -o-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
63 background: -ms-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
64 background: radial-gradient(ellipse at center, #5170ad 0%, #355493 100%);
65 border: 1px solid #2d416d;
66 box-shadow: 0 1px #5670A4 inset, 0 0 10px 5px rgba(0, 0, 0, 0.1);
67 border-radius: 5px;
68 position: relative;
69 max-width: 360px;
70 width: 100%;
71 text-align: center;
72 margin: 10px auto;
73 padding: 10px;
74 }
75
76 .profilepress-reset-status a {
77 color: #fff;
78 text-decoration: underline;
79 }
80
81
82 .fzbuk-login-form-wrap {
83 -webkit-box-sizing: border-box;
84 -moz-box-sizing: border-box;
85 box-sizing: border-box;
86 background: #5170ad;
87 font-family: "Lato", sans-serif;
88 background: -moz-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
89 background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #5170ad), color-stop(100%, #355493));
90 background: -webkit-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
91 background: -o-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
92 background: -ms-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
93 background: radial-gradient(ellipse at center, #5170ad 0%, #355493 100%);
94 border: 1px solid #2d416d;
95 box-shadow: 0 1px #5670A4 inset, 0 0 10px 5px rgba(0, 0, 0, 0.1);
96 border-radius: 5px;
97 position: relative;
98 max-width: 360px;
99 width: 100%;
100 height: 300px;
101 margin: 10px auto;
102 padding: 50px 30px 0 30px;
103 text-align: center;
104 }
105 .fzbuk-login-form-wrap:before {
106 display: block;
107 content: '';
108 width: 58px;
109 height: 19px;
110 top: 10px;
111 left: 10px;
112 position: absolute;
113 }
114 .fzbuk-login-form-wrap > h1 {
115 margin: 0 0 50px 0;
116 padding: 0;
117 font-size: 26px;
118 color: #fff;
119 }
120 .fzbuk-login-form-wrap > h5 {
121 color: #fff;
122 margin-top: 20px;
123 font-size: 15px;
124 }
125 .fzbuk-login-form-wrap > h5 > a {
126 font-size: 15px;
127 color: #ff6760;
128 text-decoration: none;
129 font-weight: 400;
130 }
131
132 .fzbuk-login-form input[type="text"], .fzbuk-login-form input[type="password"], .fzbuk-login-form input[type="email"] {
133 -webkit-box-sizing: border-box;
134 -moz-box-sizing: border-box;
135 box-sizing: border-box;
136 width: 100%;
137 border: 1px solid #314d89;
138 outline: none;
139 padding: 12px 20px;
140 color: #afafaf;
141 font-weight: 400;
142 font-family: "Lato", sans-serif;
143 cursor: text;
144 }
145
146 .fzbuk-login-form label {
147 display: block !important;
148 margin: 0 !important;
149 }
150
151 .fzbuk-login-form input[type="text"] {
152 -webkit-box-sizing: border-box;
153 -moz-box-sizing: border-box;
154 box-sizing: border-box;
155 border-bottom: none;
156 border-radius: 4px 4px 0 0;
157 padding-bottom: 13px;
158 box-shadow: 0 -1px 0 #E0E0E0 inset, 0 1px 2px rgba(0, 0, 0, 0.23) inset;
159 }
160
161 .fzbuk-login-form input[type="submit"] {
162 font-family: "Lato", sans-serif;
163 background: #e0e0e0;
164 background: -moz-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
165 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e0e0e0), color-stop(100%, #cecece));
166 background: -webkit-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
167 background: -o-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
168 background: -ms-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
169 background: linear-gradient(to bottom, #e0e0e0 0%, #cecece 100%);
170 display: block;
171 margin: 20px auto 0 auto;
172 width: 100%;
173 border: none;
174 border-radius: 3px;
175 padding: 8px;
176 font-size: 16px;
177 color: #636363;
178 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
179 font-weight: 700;
180 box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.17), 0 1px 0 rgba(255, 255, 255, 0.36) inset;
181 }
182 .fzbuk-login-form input[type="submit"]:hover {
183 background: #DDD;
184 }
185
186 .fzbuk-login-form input[type="submit"]:active {
187 padding-top: 9px;
188 padding-bottom: 7px;
189 background: #C9C9C9;
190 }
191
192 CSS;
193
194 }
195 }