PluginProbe ʕ •ᴥ•ʔ
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress / 4.16.19
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress v4.16.19
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 / Registration / Fzbuk.php
wp-user-avatar / src / Themes / Shortcode / Registration Last commit date
Boson.php 5 years ago Fzbuk.php 5 years ago PerfectoLite.php 5 years ago
Fzbuk.php
200 lines
1 <?php
2
3 namespace ProfilePress\Core\Themes\Shortcode\Registration;
4
5 use ProfilePress\Core\Themes\Shortcode\RegistrationThemeInterface;
6
7 class Fzbuk implements RegistrationThemeInterface
8 {
9 public function get_name()
10 {
11 return 'Fzbuk';
12 }
13
14 public function success_message()
15 {
16 return '<div class="profilepress-reg-status">Registration Successful</div>';
17 }
18
19 public function get_structure()
20 {
21 return <<<CODE
22 <div class="fzbuk-login-form-wrap">
23 <h1>Sign Up</h1>
24
25 <div class="fzbuk-login-form">
26 <label>
27 [reg-username placeholder="Username"]
28 </label>
29
30 <label>
31 [reg-email placeholder="Email Address" class="fzbuk-input-middle"]
32 </label>
33
34 <label>
35 [reg-password placeholder="Password"]
36 </label>
37
38 [reg-submit value="Register"]
39
40 </div>
41 <h5>Have an Account? [link-login label="Login"]</h5>
42 </div>
43 CODE;
44
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
54 .profilepress-reg-status {
55 -webkit-box-sizing: border-box;
56 -moz-box-sizing: border-box;
57 box-sizing: border-box;
58 color: #fff;
59 background: #5170ad;
60 background: -moz-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
61 background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #5170ad), color-stop(100%, #355493));
62 background: -webkit-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
63 background: -o-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
64 background: -ms-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
65 background: radial-gradient(ellipse at center, #5170ad 0%, #355493 100%);
66 border: 1px solid #2d416d;
67 box-shadow: 0 1px #5670A4 inset, 0 0 10px 5px rgba(0, 0, 0, 0.1);
68 border-radius: 5px;
69 position: relative;
70 text-align: center;
71 max-width: 360px;
72 width: 100%;
73 margin: 10px auto;
74 padding: 10px;
75 }
76
77 .fzbuk-login-form-wrap {
78 font-family: "Lato", sans-serif;
79 background: #5170ad;
80 background: -moz-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
81 background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #5170ad), color-stop(100%, #355493));
82 background: -webkit-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
83 background: -o-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
84 background: -ms-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
85 background: radial-gradient(ellipse at center, #5170ad 0%, #355493 100%);
86 border: 1px solid #2d416d;
87 box-shadow: 0 1px #5670A4 inset, 0 0 10px 5px rgba(0, 0, 0, 0.1);
88 border-radius: 5px;
89 position: relative;
90 max-width: 360px;
91 width: 100%;
92 margin: 10px auto;
93 padding: 50px 30px 0 30px;
94 text-align: center;
95 }
96
97 .fzbuk-login-form-wrap:before {
98 display: block;
99 content: "";
100 width: 58px;
101 height: 19px;
102 top: 10px;
103 left: 10px;
104 position: absolute;
105 }
106 .fzbuk-login-form-wrap > h1 {
107 margin: 0 0 50px 0;
108 padding: 0;
109 font-size: 26px;
110 color: #fff;
111 }
112 .fzbuk-login-form-wrap > h5 {
113 color: #ffffff;
114 margin-top: 20px;
115 font-size: 15px;
116 }
117 .fzbuk-login-form-wrap > h5 > a {
118 font-size: 15px;
119 color: #ff6760 !important;
120 text-decoration: none;
121 font-weight: 400;
122 }
123
124 .fzbuk-login-form input[type="text"], .fzbuk-login-form input[type="password"], .fzbuk-login-form input[type="email"] {
125 -webkit-box-sizing: border-box;
126 -moz-box-sizing: border-box;
127 box-sizing: border-box;
128 width: 100%;
129 border: 1px solid #314d89;
130 outline: none;
131 padding: 12px 20px;
132 color: #afafaf;
133 font-weight: 400;
134 font-family: "Lato", sans-serif;
135 cursor: text;
136 }
137
138 .fzbuk-login-form label {
139 display: block;
140 margin: 0 !important;
141 }
142
143 input.fzbuk-input-middle {
144 border-bottom: medium none !important;
145 border-radius: unset !important;
146 box-shadow: unset !important;
147 border-top: medium none !important;
148 width: 100% !important;
149 padding: 12px 20px !important;
150 color: #afafaf !important;
151 font-weight: 400 !important;
152 font-family: "Lato", sans-serif;
153 cursor: text !important;
154 }
155
156
157 .fzbuk-login-form input[type="email"], .fzbuk-login-form input[type="text"] {
158 border-bottom: none;
159 border-radius: 4px 4px 0 0;
160 padding-bottom: 13px;
161 box-shadow: 0 -1px 0 #E0E0E0 inset, 0 1px 2px rgba(0, 0, 0, 0.23) inset;
162 }
163 .fzbuk-login-form input[type="password"] {
164 border-top: 1px solid #eee;
165 border-radius: 0 0 4px 4px;
166 box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.23) inset, 0 1px 2px rgba(255, 255, 255, 0.1);
167 }
168 .fzbuk-login-form input[type="submit"] {
169 font-family: "Lato", sans-serif;
170 background: #e0e0e0;
171 background: -moz-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
172 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e0e0e0), color-stop(100%, #cecece));
173 background: -webkit-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
174 background: -o-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
175 background: -ms-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
176 background: linear-gradient(to bottom, #e0e0e0 0%, #cecece 100%);
177 display: block;
178 margin: 20px auto 0 auto;
179 width: 100%;
180 border: none;
181 border-radius: 3px;
182 padding: 8px;
183 font-size: 16px;
184 color: #636363;
185 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
186 font-weight: 700;
187 box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.17), 0 1px 0 rgba(255, 255, 255, 0.36) inset;
188 }
189 .fzbuk-login-form input[type="submit"]:hover {
190 background: #DDD;
191 }
192 .fzbuk-login-form input[type="submit"]:active {
193 padding-top: 9px;
194 padding-bottom: 7px;
195 background: #C9C9C9;
196 }
197 CSS;
198
199 }
200 }