| 1 |
/* Register & Edit Profile Forms*/ |
| 2 |
|
| 3 |
/*-------------------------------------------------------------- |
| 4 |
>>> TABLE OF CONTENTS: |
| 5 |
---------------------------------------------------------------- |
| 6 |
1.0 - Reset |
| 7 |
2.0 - Forms |
| 8 |
3.0 - Alignments |
| 9 |
4.0 - Errors & Notices |
| 10 |
5.0 - User Listing |
| 11 |
6.0 - Media Queries |
| 12 |
--------------------------------------------------------------*/ |
| 13 |
|
| 14 |
/*-------------------------------------------------------------- |
| 15 |
1.0 Reset |
| 16 |
--------------------------------------------------------------*/ |
| 17 |
.wppb-user-forms, |
| 18 |
.wppb-user-forms *{ |
| 19 |
-webkit-box-sizing: border-box !important; /* Safari/Chrome, other WebKit */ |
| 20 |
-moz-box-sizing: border-box !important; /* Firefox, other Gecko */ |
| 21 |
box-sizing: border-box !important; /* Opera/IE 8+ */ |
| 22 |
} |
| 23 |
|
| 24 |
/*-------------------------------------------------------------- |
| 25 |
2.0 Forms |
| 26 |
--------------------------------------------------------------*/ |
| 27 |
.wppb-user-forms input:not([type="button"]):not([type="reset"]):not([type="submit"]), |
| 28 |
.wppb-user-forms select, |
| 29 |
.wppb-user-forms textarea{ |
| 30 |
font-size: 100%; /* Corrects font size not being inherited in all browsers */ |
| 31 |
margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ |
| 32 |
vertical-align: baseline; /* Improves appearance and consistency in all browsers */ |
| 33 |
} |
| 34 |
.wppb-user-forms input[type="checkbox"], |
| 35 |
.wppb-user-forms input[type="radio"] { |
| 36 |
padding: 0; /* Addresses excess padding in IE8/9 */ |
| 37 |
} |
| 38 |
.wppb-user-forms input[type="search"] { |
| 39 |
-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ |
| 40 |
-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ |
| 41 |
-moz-box-sizing: content-box; |
| 42 |
box-sizing: content-box; |
| 43 |
} |
| 44 |
.wppb-user-forms input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ |
| 45 |
-webkit-appearance: none; |
| 46 |
} |
| 47 |
.wppb-user-forms button::-moz-focus-inner, |
| 48 |
.wppb-user-forms input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ |
| 49 |
border: 0; |
| 50 |
padding: 0; |
| 51 |
} |
| 52 |
.wppb-user-forms input[type="text"], |
| 53 |
.wppb-user-forms input[type="email"], |
| 54 |
.wppb-user-forms input[type="url"], |
| 55 |
.wppb-user-forms input[type="password"], |
| 56 |
.wppb-user-forms input[type="search"], |
| 57 |
.wppb-user-forms textarea { |
| 58 |
color: #666; |
| 59 |
border: 1px solid #ccc; |
| 60 |
border-radius: 3px; |
| 61 |
} |
| 62 |
.wppb-user-forms input[type="text"]:focus, |
| 63 |
.wppb-user-forms input[type="email"]:focus, |
| 64 |
.wppb-user-forms input[type="url"]:focus, |
| 65 |
.wppb-user-forms input[type="password"]:focus, |
| 66 |
.wppb-user-forms input[type="search"]:focus, |
| 67 |
.wppb-user-forms textarea:focus { |
| 68 |
color: #111; |
| 69 |
} |
| 70 |
.wppb-user-forms input[type="text"], |
| 71 |
.wppb-user-forms input[type="email"], |
| 72 |
.wppb-user-forms input[type="url"], |
| 73 |
.wppb-user-forms input[type="password"], |
| 74 |
.wppb-user-forms input[type="search"] { |
| 75 |
padding: 3px; |
| 76 |
} |
| 77 |
.wppb-user-forms textarea { |
| 78 |
overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ |
| 79 |
padding-left: 3px; |
| 80 |
vertical-align: top; /* Improves readability and alignment in all browsers */ |
| 81 |
width: 100%; |
| 82 |
} |
| 83 |
|
| 84 |
#wppb-search-fields{ |
| 85 |
min-width: 250px; |
| 86 |
float:left; |
| 87 |
margin-right:20px; |
| 88 |
} |
| 89 |
|
| 90 |
.wppb-user-forms .wppb-search-button{ |
| 91 |
margin-right:10px; |
| 92 |
padding:7px 20px; |
| 93 |
line-height: 24px; |
| 94 |
} |
| 95 |
|
| 96 |
.wppb-search-users-wrap{ |
| 97 |
margin-bottom: 20px; |
| 98 |
} |
| 99 |
/*-------------------------------------------------------------- |
| 100 |
3.0 Alignments |
| 101 |
--------------------------------------------------------------*/ |
| 102 |
.wppb-user-forms ul{ |
| 103 |
max-width:900px; |
| 104 |
list-style:none; |
| 105 |
margin-left:0; |
| 106 |
margin-right:0; |
| 107 |
padding-left:0; |
| 108 |
padding-right:0; |
| 109 |
} |
| 110 |
|
| 111 |
.wppb-user-forms ul li{ |
| 112 |
list-style:none; |
| 113 |
} |
| 114 |
|
| 115 |
.wppb-user-forms ul li, |
| 116 |
#wppb-login-wrap p{ |
| 117 |
overflow:hidden; |
| 118 |
margin:0; |
| 119 |
padding-bottom:14px; |
| 120 |
} |
| 121 |
|
| 122 |
.wppb-form-field label, |
| 123 |
#wppb-login-wrap .login-username label, |
| 124 |
#wppb-login-wrap .login-password label{ |
| 125 |
width:30%; |
| 126 |
float:left; |
| 127 |
min-height:1px; |
| 128 |
} |
| 129 |
|
| 130 |
.wppb-form-field input, |
| 131 |
.wppb-form-field select, |
| 132 |
.wppb-form-field textarea, |
| 133 |
.wppb-checkboxes, |
| 134 |
.wppb-radios, |
| 135 |
#wppb-login-wrap .login-username input, |
| 136 |
#wppb-login-wrap .login-password input{ |
| 137 |
width:69.9%; |
| 138 |
float:left; |
| 139 |
} |
| 140 |
|
| 141 |
input#send_credentials_via_email{ |
| 142 |
float:none; |
| 143 |
width:auto; |
| 144 |
margin-right:10px |
| 145 |
} |
| 146 |
|
| 147 |
.wppb-send-credentials-checkbox label{ |
| 148 |
width:auto; |
| 149 |
} |
| 150 |
|
| 151 |
.wppb-form-field > span{ |
| 152 |
display:block; |
| 153 |
clear:both; |
| 154 |
margin-left:30%; |
| 155 |
font-size:80%; |
| 156 |
font-style:italic; |
| 157 |
} |
| 158 |
|
| 159 |
.wppb-form-field .wppb-avatar-nofile, |
| 160 |
.wppb-form-field .wppb-avatar-file, |
| 161 |
.wppb-form-field .wppb-upload-nofile, |
| 162 |
.wppb-form-field .wppb-upload-file{ |
| 163 |
font-size:100%; |
| 164 |
font-style:normal; |
| 165 |
margin:10px 0 10px 30%; |
| 166 |
} |
| 167 |
|
| 168 |
.wppb-file-icons{ |
| 169 |
padding-left:10px; |
| 170 |
box-shadow:none !important; |
| 171 |
} |
| 172 |
|
| 173 |
.wppb-user-forms .wppb-checkboxes li, |
| 174 |
.wppb-user-forms .wppb-radios li{ |
| 175 |
display:inline-block; |
| 176 |
padding:0 20px 0 0; |
| 177 |
} |
| 178 |
|
| 179 |
.wppb-form-field .wppb-checkboxes label, |
| 180 |
.wppb-form-field .wppb-radios label{ |
| 181 |
float:none; |
| 182 |
min-width:0; |
| 183 |
padding-left:5px; |
| 184 |
} |
| 185 |
|
| 186 |
.wppb-checkbox-terms-and-conditions input, |
| 187 |
.wppb-checkboxes li input, |
| 188 |
.wppb-radios li input{ |
| 189 |
min-width:0; |
| 190 |
float:none; |
| 191 |
width:auto; |
| 192 |
} |
| 193 |
|
| 194 |
#wppb-edit-user .wppb-checkbox-terms-and-conditions { |
| 195 |
display:none; |
| 196 |
} |
| 197 |
|
| 198 |
.wppb-form-field.wppb-heading span, |
| 199 |
.wppb-default-about-yourself-heading span, |
| 200 |
.wppb-default-contact-info-heading span, |
| 201 |
.wppb-default-name-heading span, |
| 202 |
.wppb-checkbox-terms-and-conditions span{ |
| 203 |
margin-left:0; |
| 204 |
} |
| 205 |
|
| 206 |
|
| 207 |
#recaptcha_widget_div{ |
| 208 |
display: inline-block; |
| 209 |
} |
| 210 |
|
| 211 |
/*-------------------------------------------------------------- |
| 212 |
4.0 Errors & Notices |
| 213 |
--------------------------------------------------------------*/ |
| 214 |
|
| 215 |
#wppb_general_top_error_message, |
| 216 |
.wppb-error, |
| 217 |
.wppb-warning, |
| 218 |
.wppb-required{ |
| 219 |
color: red; |
| 220 |
} |
| 221 |
|
| 222 |
.wppb-required, |
| 223 |
.wppb-checkbox-terms-and-conditions span.wppb-required{ |
| 224 |
margin-left:5px; |
| 225 |
} |
| 226 |
|
| 227 |
.wppb-success { |
| 228 |
color:green; |
| 229 |
} |
| 230 |
|
| 231 |
#wppb-register-user .wppb-field-error, |
| 232 |
#wppb-edit-user .wppb-field-error, |
| 233 |
#wppb-recover-password .wppb-field-error{ |
| 234 |
background-color: #FFDFDF; |
| 235 |
border: 1px dotted #C89797; |
| 236 |
margin-bottom: 6px !important; |
| 237 |
padding: 6px !important; |
| 238 |
} |
| 239 |
|
| 240 |
.wppb-field-error > input, |
| 241 |
.wppb-field-error > select, |
| 242 |
.wppb-field-error > textarea, |
| 243 |
.wppb-field-error > label{ |
| 244 |
margin-bottom: 10px; |
| 245 |
} |
| 246 |
|
| 247 |
.wppb-field-error img{ |
| 248 |
box-shadow: none; |
| 249 |
-webkit-box-shadow:none; |
| 250 |
border:none; |
| 251 |
border-radius:0px; |
| 252 |
vertical-align: middle; |
| 253 |
margin-top: -3px; |
| 254 |
padding-left:5px; |
| 255 |
} |
| 256 |
|
| 257 |
.wppb-form-field > span.wppb-form-error{ |
| 258 |
margin-top:10px; |
| 259 |
padding-top: 5px; |
| 260 |
border-top:1px dotted #c89797; |
| 261 |
font-size:100%; |
| 262 |
margin-left: 0; |
| 263 |
} |
| 264 |
|
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
/*-------------------------------------------------------------- |
| 269 |
5.0 User Listing |
| 270 |
--------------------------------------------------------------*/ |
| 271 |
.wppb-table *{ |
| 272 |
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; |
| 273 |
} |
| 274 |
.wppb-table{ |
| 275 |
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; |
| 276 |
border-spacing: 0.5rem; |
| 277 |
border-collapse: collapse; |
| 278 |
width: 100%; |
| 279 |
} |
| 280 |
|
| 281 |
.wppb-table th{ |
| 282 |
background: #f4f4f4; |
| 283 |
padding: 7px; |
| 284 |
border:1px solid #e1e1e1; |
| 285 |
text-align: left; |
| 286 |
} |
| 287 |
|
| 288 |
.wppb-table thead tr:hover{ |
| 289 |
background: none; |
| 290 |
} |
| 291 |
|
| 292 |
.wppb-table tr:hover{ |
| 293 |
background: #f1fcff; |
| 294 |
} |
| 295 |
.wppb-table td{ |
| 296 |
padding: 7px; |
| 297 |
border:1px solid #e1e1e1; |
| 298 |
} |
| 299 |
|
| 300 |
.wppb-table .wppb-posts, |
| 301 |
.wppb-table .wppb-moreinfo{ |
| 302 |
text-align: center; |
| 303 |
} |
| 304 |
|
| 305 |
.wppb-avatar img { |
| 306 |
max-width: none; |
| 307 |
} |
| 308 |
|
| 309 |
ul.wppb-profile{ |
| 310 |
list-style-type: none; |
| 311 |
margin-left: 0; |
| 312 |
margin-right: 0; |
| 313 |
padding-left:0; |
| 314 |
padding-right: 0; |
| 315 |
} |
| 316 |
|
| 317 |
ul.wppb-profile li{ |
| 318 |
margin-left: 0; |
| 319 |
margin-right: 0; |
| 320 |
overflow: hidden; |
| 321 |
} |
| 322 |
|
| 323 |
ul.wppb-profile li label{ |
| 324 |
display: block; |
| 325 |
width:30%; |
| 326 |
float:left; |
| 327 |
min-height:1px; |
| 328 |
font-weight: bold; |
| 329 |
} |
| 330 |
|
| 331 |
ul.wppb-profile li span{ |
| 332 |
display: block; |
| 333 |
width:69.9%; |
| 334 |
float:left; |
| 335 |
} |
| 336 |
|
| 337 |
ul.wppb-profile li h3, |
| 338 |
ul.wppb-profile li h3:first-child{ |
| 339 |
margin:20px 0; |
| 340 |
padding-top:20px; |
| 341 |
border-top:1px solid #d2d2d2; |
| 342 |
} |
| 343 |
/*-------------------------------------------------------------- |
| 344 |
6.0 Media Queries |
| 345 |
--------------------------------------------------------------*/ |
| 346 |
|
| 347 |
@media screen and (max-width: 400px) { |
| 348 |
|
| 349 |
.wppb-form-field label, |
| 350 |
#wppb-login-wrap .login-username label, |
| 351 |
#wppb-login-wrap .login-password label, |
| 352 |
ul.wppb-profile li label{ |
| 353 |
width:100%; |
| 354 |
display:block; |
| 355 |
float:none; |
| 356 |
} |
| 357 |
|
| 358 |
.wppb-form-field input, |
| 359 |
.wppb-form-field select, |
| 360 |
.wppb-form-field textarea, |
| 361 |
.wppb-checkboxes, |
| 362 |
.wppb-radios, |
| 363 |
#wppb-login-wrap .login-username input, |
| 364 |
#wppb-login-wrap .login-password input, |
| 365 |
ul.wppb-profile li span{ |
| 366 |
width:100%; |
| 367 |
float:left; |
| 368 |
} |
| 369 |
|
| 370 |
.wppb-form-field > span{ |
| 371 |
margin-left:0; |
| 372 |
} |
| 373 |
|
| 374 |
.wppb-checkboxes li label, |
| 375 |
.wppb-radios li label{ |
| 376 |
display:inline; |
| 377 |
} |
| 378 |
|
| 379 |
.wppb-form-field .wppb-avatar-nofile, |
| 380 |
.wppb-form-field .wppb-avatar-file, |
| 381 |
.wppb-form-field .wppb-upload-nofile, |
| 382 |
.wppb-form-field .wppb-upload-file{ |
| 383 |
margin-left:0; |
| 384 |
} |
| 385 |
|
| 386 |
} |
| 387 |
|
| 388 |
/*-------------------------------------------------------------- |
| 389 |
7.0 Password Strength |
| 390 |
--------------------------------------------------------------*/ |
| 391 |
#pass-strength-result { |
| 392 |
background-color: #eee; |
| 393 |
border: 1px solid #ddd; |
| 394 |
display: none; |
| 395 |
float: left; |
| 396 |
margin: 13px 5px 5px 30%; |
| 397 |
padding: 3px 5px; |
| 398 |
text-align: center; |
| 399 |
width: 200px; |
| 400 |
height:28px; |
| 401 |
} |
| 402 |
#pass-strength-result.short { |
| 403 |
background-color: #ffa0a0; |
| 404 |
border-color: #f04040; |
| 405 |
} |
| 406 |
#pass-strength-result.bad { |
| 407 |
background-color: #ffb78c; |
| 408 |
border-color: #ff853c; |
| 409 |
} |
| 410 |
#pass-strength-result.good { |
| 411 |
background-color: #ffec8b; |
| 412 |
border-color: #fc0; |
| 413 |
} |
| 414 |
#pass-strength-result.strong { |
| 415 |
background-color: #c3ff88; |
| 416 |
border-color: #8dff1c; |
| 417 |
} |