PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.36
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.36
51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 51.1.46 51.1.47 51.1.49 All 37 releases
king-addons / includes / widgets / Login_Register_Form / style.css

style.css in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.36, at includes/widgets/Login_Register_Form/style.css

762 lines 15.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* ================================
2 King Addons Login Register Form
3 ================================ */
4
5 .king-addons-login-register-form-wrapper {
6 position: relative;
7 width: 100%;
8 max-width: 400px;
9 margin: 0 auto;
10 }
11
12 .king-addons-login-register-form {
13 transition: all 0.3s ease;
14 }
15
16 .king-addons-form-hidden {
17 display: none;
18 }
19
20 /* Form Titles */
21 .king-addons-form-title {
22 font-size: 24px;
23 font-weight: 600;
24 color: #333333;
25 text-align: center;
26 margin: 0 0 10px 0;
27 line-height: 1.3;
28 }
29
30 .king-addons-form-subtitle {
31 font-size: 14px;
32 color: #666666;
33 text-align: center;
34 margin: 0 0 25px 0;
35 line-height: 1.5;
36 }
37
38 /* Form Fields */
39 .king-addons-form-field {
40 margin-bottom: 20px;
41 position: relative;
42 }
43
44 .king-addons-form-field label {
45 display: block;
46 font-size: 14px;
47 font-weight: 500;
48 color: #333333;
49 margin-bottom: 6px;
50 }
51
52 .king-addons-form-field input {
53 width: 100%;
54 padding: 12px 15px;
55 font-size: 14px;
56 line-height: 1.5;
57 color: #333333;
58 background-color: #ffffff;
59 border: 1px solid #ddd;
60 border-radius: 4px;
61 box-sizing: border-box;
62 transition: all 0.3s ease;
63 outline: none;
64 }
65
66 .king-addons-form-field input:focus {
67 border-color: #007cba;
68 box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
69 }
70
71 .king-addons-form-field input::placeholder {
72 color: #999999;
73 opacity: 1;
74 }
75
76 /* Checkbox Fields */
77 .king-addons-checkbox-field {
78 margin-bottom: 15px;
79 }
80
81 .king-addons-checkbox-field label {
82 display: flex;
83 align-items: center;
84 font-size: 14px;
85 font-weight: normal;
86 cursor: pointer;
87 margin-bottom: 0;
88 }
89
90 .king-addons-checkbox-field input[type="checkbox"] {
91 width: auto;
92 margin-right: 8px;
93 margin-bottom: 0;
94 transform: scale(1.1);
95 }
96
97 /* Form Buttons */
98 .king-addons-form-button {
99 width: 100%;
100 padding: 12px 30px;
101 font-size: 16px;
102 font-weight: 600;
103 color: #ffffff;
104 background-color: #007cba;
105 border: none;
106 border-radius: 4px;
107 cursor: pointer;
108 transition: all 0.3s ease;
109 text-transform: none;
110 letter-spacing: 0;
111 box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2);
112 }
113
114 .king-addons-form-button:hover {
115 background-color: #005a87;
116 transform: translateY(-1px);
117 box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3);
118 }
119
120 .king-addons-form-button:active {
121 transform: translateY(0);
122 box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2);
123 }
124
125 .king-addons-form-button:disabled {
126 opacity: 0.6;
127 cursor: not-allowed;
128 transform: none;
129 }
130
131 /* Form Links */
132 .king-addons-form-links {
133 text-align: center;
134 margin-top: 20px;
135 }
136
137 .king-addons-form-link,
138 .king-addons-form-toggle {
139 display: inline-block;
140 font-size: 14px;
141 color: #007cba;
142 text-decoration: none;
143 cursor: pointer;
144 transition: color 0.3s ease;
145 margin: 5px 0;
146 }
147
148 .king-addons-form-link:hover,
149 .king-addons-form-toggle:hover {
150 color: #005a87;
151 text-decoration: underline;
152 }
153
154 .king-addons-form-links .king-addons-form-link + .king-addons-form-toggle,
155 .king-addons-form-links .king-addons-form-toggle + .king-addons-form-link {
156 margin-left: 15px;
157 }
158
159 /* Messages */
160 .king-addons-form-message {
161 padding: 12px 15px;
162 margin-bottom: 20px;
163 border-radius: 4px;
164 font-size: 14px;
165 line-height: 1.4;
166 display: none;
167 }
168
169 .king-addons-form-message.success {
170 color: #155724;
171 background-color: #d4edda;
172 border: 1px solid #c3e6cb;
173 }
174
175 .king-addons-form-message.error {
176 color: #721c24;
177 background-color: #f8d7da;
178 border: 1px solid #f5c6cb;
179 }
180
181 .king-addons-form-message.show {
182 display: block;
183 animation: fadeInDown 0.3s ease;
184 }
185
186 /* Loading State */
187 .king-addons-form-loading .king-addons-form-button {
188 position: relative;
189 color: transparent;
190 pointer-events: none;
191 }
192
193 .king-addons-form-loading .king-addons-form-button::after {
194 content: '';
195 position: absolute;
196 top: 50%;
197 left: 50%;
198 width: 20px;
199 height: 20px;
200 margin: -10px 0 0 -10px;
201 border: 2px solid transparent;
202 border-top: 2px solid #ffffff;
203 border-radius: 50%;
204 animation: spin 1s linear infinite;
205 }
206
207 /* Form Transitions */
208 .king-addons-login-register-form-wrapper .king-addons-login-register-form {
209 transition: all 0.4s ease;
210 }
211
212 .king-addons-form-slide-out {
213 opacity: 0;
214 transform: translateX(-20px);
215 }
216
217 .king-addons-form-slide-in {
218 opacity: 1;
219 transform: translateX(0);
220 }
221
222 /* Responsive Design */
223 @media (max-width: 768px) {
224 .king-addons-login-register-form {
225 padding: 25px 20px;
226 margin: 0 15px;
227 }
228
229 .king-addons-form-title {
230 font-size: 22px;
231 }
232
233 .king-addons-form-field input {
234 padding: 10px 12px;
235 }
236
237 .king-addons-form-button {
238 padding: 10px 25px;
239 font-size: 15px;
240 }
241 }
242
243 @media (max-width: 480px) {
244 .king-addons-login-register-form {
245 padding: 20px 15px;
246 margin: 0 10px;
247 }
248
249 .king-addons-form-title {
250 font-size: 20px;
251 }
252
253 .king-addons-form-subtitle {
254 font-size: 13px;
255 }
256
257 .king-addons-form-field input {
258 padding: 9px 10px;
259 font-size: 13px;
260 }
261
262 .king-addons-form-button {
263 padding: 9px 20px;
264 font-size: 14px;
265 }
266
267 .king-addons-form-link,
268 .king-addons-form-toggle {
269 font-size: 13px;
270 }
271 }
272
273 /* Animations */
274 @keyframes fadeInDown {
275 from {
276 opacity: 0;
277 transform: translate3d(0, -20px, 0);
278 }
279 to {
280 opacity: 1;
281 transform: translate3d(0, 0, 0);
282 }
283 }
284
285 @keyframes spin {
286 0% { transform: rotate(0deg); }
287 100% { transform: rotate(360deg); }
288 }
289
290 /* Focus States for Accessibility */
291 .king-addons-form-button:focus,
292 .king-addons-form-link:focus,
293 .king-addons-form-toggle:focus {
294 outline: 2px solid #007cba;
295 outline-offset: 2px;
296 }
297
298 .king-addons-form-field input:focus {
299 outline: none;
300 }
301
302 /* Dark Theme Support */
303 @media (prefers-color-scheme: dark) {
304 .king-addons-login-register-form {
305 background: #2c2c2c;
306 border-color: #444444;
307 color: #ffffff;
308 }
309
310 .king-addons-form-title {
311 color: #ffffff;
312 }
313
314 .king-addons-form-subtitle {
315 color: #cccccc;
316 }
317
318 .king-addons-form-field label {
319 color: #ffffff;
320 }
321
322 .king-addons-form-field input {
323 background-color: #3c3c3c;
324 border-color: #555555;
325 color: #ffffff;
326 }
327
328 .king-addons-form-field input::placeholder {
329 color: #999999;
330 }
331
332 .king-addons-form-field input:focus {
333 border-color: #007cba;
334 box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
335 }
336 }
337
338 /* High Contrast Mode */
339 @media (prefers-contrast: high) {
340 .king-addons-form-field input {
341 border-width: 2px;
342 }
343
344 .king-addons-form-button {
345 border: 2px solid #000000;
346 }
347
348 .king-addons-form-link,
349 .king-addons-form-toggle {
350 text-decoration: underline;
351 }
352 }
353
354 /* Field Validation States */
355 .king-addons-form-field.field-error input,
356 .king-addons-form-field.field-error select,
357 .king-addons-form-field.field-error textarea {
358 border-color: #f44336;
359 box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1);
360 }
361
362 .king-addons-form-field.field-success input,
363 .king-addons-form-field.field-success select,
364 .king-addons-form-field.field-success textarea {
365 border-color: #4caf50;
366 box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
367 }
368
369 .field-error-message {
370 color: #f44336;
371 font-size: 12px;
372 margin-top: 5px;
373 display: block;
374 line-height: 1.3;
375 }
376
377 /* Info messages */
378 .king-addons-form-message.info {
379 color: #1976d2;
380 background-color: #e3f2fd;
381 border: 1px solid #bbdefb;
382 }
383
384 /* Print Styles */
385 /* Form Header Styles */
386 .king-addons-form-header {
387 margin-bottom: 20px;
388 text-align: center;
389 }
390
391 .king-addons-form-header-left,
392 .king-addons-form-header-right {
393 display: flex;
394 align-items: center;
395 gap: 20px;
396 }
397
398 .king-addons-form-header-left .king-addons-form-illustration {
399 order: -1;
400 }
401
402 .king-addons-form-header-right .king-addons-form-illustration {
403 order: 1;
404 }
405
406 .king-addons-form-header-top,
407 .king-addons-form-header-bottom {
408 display: flex;
409 flex-direction: column;
410 align-items: center;
411 }
412
413 .king-addons-form-header-top .king-addons-form-illustration {
414 order: -1;
415 margin-bottom: 15px;
416 }
417
418 .king-addons-form-header-bottom .king-addons-form-illustration {
419 order: 1;
420 margin-top: 15px;
421 }
422
423 .king-addons-form-header-logo img,
424 .king-addons-form-illustration img {
425 max-width: 100%;
426 height: auto;
427 display: block;
428 }
429
430 /* Password Toggle Styles */
431 .king-addons-password-field .king-addons-password-input-wrapper {
432 position: relative;
433 display: flex;
434 align-items: center;
435 }
436
437 .king-addons-password-toggle {
438 position: absolute;
439 right: 10px;
440 background: none;
441 border: none;
442 cursor: pointer;
443 font-size: 14px;
444 color: #666;
445 padding: 5px;
446 line-height: 1;
447 z-index: 2;
448 transition: color 0.3s ease;
449 }
450
451 .king-addons-password-toggle:hover {
452 color: #333;
453 }
454
455 .king-addons-password-toggle:focus {
456 outline: 2px solid #0073aa;
457 outline-offset: 2px;
458 }
459
460 .king-addons-password-field input[type="password"],
461 .king-addons-password-field input[type="text"] {
462 padding-right: 40px;
463 }
464
465 /* Checkbox Field Styles */
466 .king-addons-checkbox-field {
467 display: flex !important;
468 align-items: flex-start;
469 gap: 8px;
470 }
471
472 .king-addons-checkbox-field label {
473 display: flex;
474 align-items: flex-start;
475 gap: 8px;
476 font-size: 14px;
477 line-height: 1.4;
478 cursor: pointer;
479 }
480
481 .king-addons-checkbox-field input[type="checkbox"] {
482 margin: 0;
483 width: auto;
484 height: auto;
485 flex-shrink: 0;
486 margin-top: 2px;
487 }
488
489 .king-addons-checkbox-field a {
490 color: #0073aa;
491 text-decoration: none;
492 }
493
494 .king-addons-checkbox-field a:hover {
495 text-decoration: underline;
496 }
497
498 /* Select Field Styles */
499 .king-addons-form-field select {
500 width: 100%;
501 padding: 12px 15px;
502 border: 1px solid #ddd;
503 border-radius: 4px;
504 font-size: 16px;
505 line-height: 1.4;
506 background-color: #fff;
507 color: #333;
508 transition: all 0.3s ease;
509 appearance: none;
510 background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
511 background-repeat: no-repeat;
512 background-position: right 12px center;
513 background-size: 16px;
514 padding-right: 40px;
515 }
516
517 .king-addons-form-field select:focus {
518 outline: none;
519 border-color: #0073aa;
520 box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
521 }
522
523 /* reCAPTCHA Styles */
524 .king-addons-recaptcha-field {
525 margin-bottom: 20px;
526 text-align: center;
527 }
528
529 .king-addons-recaptcha-v2 {
530 display: inline-block;
531 margin: 0 auto;
532 }
533
534 /* Hide reCAPTCHA v3 badge if configured */
535 .king-addons-login-register-form-wrapper[data-recaptcha-hide-badge="true"] .grecaptcha-badge {
536 visibility: hidden;
537 }
538
539 /* Social Login Styles */
540 .king-addons-social-login {
541 margin-top: 20px;
542 text-align: center;
543 }
544
545 .king-addons-social-separator {
546 position: relative;
547 margin-bottom: 20px;
548 text-align: center;
549 }
550
551 .king-addons-social-separator:before {
552 content: '';
553 position: absolute;
554 top: 50%;
555 left: 0;
556 right: 0;
557 height: 1px;
558 background: #ddd;
559 transform: translateY(-50%);
560 }
561
562 .king-addons-social-separator span {
563 background: #fff;
564 padding: 0 15px;
565 color: #666;
566 font-size: 14px;
567 position: relative;
568 z-index: 1;
569 }
570
571 .king-addons-social-buttons {
572 display: flex;
573 flex-direction: column;
574 gap: 10px;
575 }
576
577 .king-addons-social-button {
578 display: flex;
579 align-items: center;
580 justify-content: center;
581 gap: 10px;
582 width: 100%;
583 padding: 12px 20px;
584 border: 1px solid #ddd;
585 border-radius: 4px;
586 background: #fff;
587 color: #333;
588 font-size: 14px;
589 font-weight: 500;
590 text-decoration: none;
591 transition: all 0.3s ease;
592 cursor: pointer;
593 }
594
595 .king-addons-social-button:hover {
596 border-color: #bbb;
597 background: #f9f9f9;
598 transform: translateY(-1px);
599 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
600 }
601
602 .king-addons-social-button:focus {
603 outline: 2px solid #0073aa;
604 outline-offset: 2px;
605 }
606
607 .king-addons-google-login {
608 border-color: #4285F4;
609 color: #4285F4;
610 }
611
612 .king-addons-google-login:hover {
613 background: #4285F4;
614 color: #fff;
615 }
616
617 .king-addons-facebook-login {
618 border-color: #1877F2;
619 color: #1877F2;
620 }
621
622 .king-addons-facebook-login:hover {
623 background: #1877F2;
624 color: #fff;
625 }
626
627 .king-addons-facebook-login:hover svg path,
628 .king-addons-google-login:hover svg path {
629 fill: currentColor;
630 }
631
632 /* Responsive Styles for New Elements */
633 @media (max-width: 768px) {
634 .king-addons-form-header-left,
635 .king-addons-form-header-right {
636 flex-direction: column;
637 text-align: center;
638 }
639
640 .king-addons-form-illustration {
641 order: -1 !important;
642 margin-bottom: 15px;
643 }
644
645 .king-addons-checkbox-field label {
646 font-size: 13px;
647 }
648
649 .king-addons-social-buttons {
650 gap: 8px;
651 }
652
653 .king-addons-social-button {
654 padding: 10px 15px;
655 font-size: 13px;
656 }
657
658 .king-addons-field-half {
659 width: calc(50% - 10px);
660 display: inline-block;
661 margin-right: 20px;
662 }
663
664 .king-addons-field-half:nth-child(even) {
665 margin-right: 0;
666 }
667 }
668
669 /* Custom Fields Styles */
670 .king-addons-field-half {
671 width: calc(50% - 10px);
672 display: inline-block;
673 vertical-align: top;
674 margin-right: 20px;
675 }
676
677 .king-addons-field-half:nth-child(even) {
678 margin-right: 0;
679 }
680
681 .king-addons-checkbox-group,
682 .king-addons-radio-group {
683 display: flex;
684 flex-direction: column;
685 gap: 8px;
686 }
687
688 .king-addons-checkbox-option,
689 .king-addons-radio-option {
690 display: flex;
691 align-items: center;
692 gap: 8px;
693 font-size: 14px;
694 cursor: pointer;
695 }
696
697 .king-addons-checkbox-option input,
698 .king-addons-radio-option input {
699 margin: 0;
700 width: auto;
701 height: auto;
702 }
703
704 .king-addons-form-field textarea {
705 width: 100%;
706 padding: 12px 15px;
707 border: 1px solid #ddd;
708 border-radius: 4px;
709 font-size: 16px;
710 line-height: 1.4;
711 background-color: #fff;
712 color: #333;
713 resize: vertical;
714 min-height: 80px;
715 transition: all 0.3s ease;
716 }
717
718 .king-addons-form-field textarea:focus {
719 outline: none;
720 border-color: #0073aa;
721 box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
722 }
723
724 .king-addons-form-field input[type="file"] {
725 width: 100%;
726 padding: 8px;
727 border: 2px dashed #ddd;
728 border-radius: 4px;
729 background: #f9f9f9;
730 color: #666;
731 cursor: pointer;
732 transition: all 0.3s ease;
733 }
734
735 .king-addons-form-field input[type="file"]:hover {
736 border-color: #bbb;
737 background: #f5f5f5;
738 }
739
740 .king-addons-form-field input[type="file"]:focus {
741 outline: none;
742 border-color: #0073aa;
743 box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
744 }
745
746 .required {
747 color: #d32f2f;
748 margin-left: 2px;
749 }
750
751 @media print {
752 .king-addons-login-register-form-wrapper {
753 box-shadow: none;
754 border: 1px solid #000000;
755 }
756
757 .king-addons-form-button {
758 background: #ffffff !important;
759 color: #000000 !important;
760 border: 1px solid #000000 !important;
761 }
762 }