PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.18
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.18
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | css/admin/style.css +30 -49 6.296.18 View file →
@@ -24,9 +24,8 @@
24 24 }
25 25
26 26 #frm_active_style_form:not(.frm_hidden),
27 27 #frm_sample_form {
28 -
29 28 /* Without this a small form with a max-width of 480px for example doesn't get centered in the preview space. */
30 29 display: flex;
31 30 }
32 31
@@ -31,9 +30,8 @@
31 30 }
32 31
33 32 #frm_active_style_form > .frm_forms,
34 33 #frm_sample_form > .frm_forms {
35 -
36 34 /* This gives small form containers more space. */
37 35 flex: 1;
38 36 padding: 0 10px; /* Match the extra padding around fields on builder */
39 37 }
@@ -45,8 +43,9 @@
45 43 border-radius: 6px;
46 44 cursor: pointer;
47 45 box-sizing: border-box;
48 46 border: 1px solid transparent; /* Add a transparent border so an active style card doesn't cause the box to resize. */
47 + background-color: #fff;
49 48 margin-bottom: 15px;
50 49 width: 100%;
51 50 padding: 14px;
52 51 box-shadow: var(--box-shadow-sm);
@@ -59,9 +58,8 @@
59 58 color: var(--grey-500);
60 59 }
61 60
62 61 .frm-style-card.frm-currently-set-style-card .frm-style-card-title-wrapper svg {
63 -
64 62 /* The checkmark circle should be blue. */
65 63 color: var(--primary-500);
66 64 }
67 65
@@ -113,9 +111,8 @@
113 111 gap: var(--gap-sm);
114 112 }
115 113
116 114 .frm-style-card-preview + div .dropdown {
117 -
118 115 /* Give it a z-index boost to avoid the border from the bottom of the card from overlapping the dropdown */
119 116 z-index: 1;
120 117 }
121 118
@@ -124,9 +121,9 @@
124 121 font-size: 14px;
125 122 }
126 123
127 124 .frm-style-card-title {
128 - max-width: calc(100% - 20px);
125 + max-width: calc( 100% - 20px );
129 126 text-overflow: ellipsis;
130 127 overflow: hidden;
131 128 display: inline-block;
132 129 white-space: nowrap;
@@ -181,9 +178,8 @@
181 178 }
182 179
183 180 .frm_pro_form .frm_form_field.frm_lite_style,
184 181 .frm_pro_form .frm_lite_style {
185 -
186 182 /*
187 183 Hide textarea, radio buttons, and checkboxes in the sample form in Pro.
188 184 Instead these elements are rendered again in Pro inside of a repeater.
189 185 */
@@ -223,15 +219,22 @@
223 219 }
224 220
225 221 /* Style the hamburger menu (used in Style cards, and on the Style "Edit" page beside the Style name. */
226 222 .frm-style-options-menu {
227 -
228 223 /* The long "Reset to defaults" option name requires extra space. There's normally a 160px min-width. */
229 224 min-width: 200px;
230 225 }
231 226
232 -#frm_style_preview .with_frm_style :not(.ui-datepicker-title) > select:not(.flatpickr-monthDropdown-months) {
227 +/*
228 +Do not set this for frm_inside_container as it requires a custom line height value.
229 +Target .frm_primary_label so we avoid other labels like star rating stars.
230 +Time fields use a div instead of a label, so don't target by the primary label by tag type.
231 +*/
232 +#frm_style_preview .frm_form_field:not(.frm_inside_container) > .frm_primary_label {
233 + line-height: var(--line-height);
234 +}
233 235
236 +#frm_style_preview .with_frm_style :not(.ui-datepicker-title) > select {
234 237 /* Prevent back end styles from shrinking dropdowns. But leave datepicker dropdowns alone. */
235 238 width: var(--auto-width);
236 239 max-width: 100%;
237 240 }
@@ -240,9 +243,8 @@
240 243 appearance: none; /* Hide the default icon */
241 244 }
242 245
243 246 #frm_style_preview select:not(.ui-datepicker-month):not(.ui-datepicker-year):not(.frm-ranking-position) {
244 -
245 247 /*
246 248 The styler preview doesn't use .wp-core-ui which results in a funny looking dropdown arrow.
247 249 Restore the WordPress background image defined in /wp-admin/css/forms.css for preview selects so they appear nicer and more consistent with other dropdowns.
248 250 The SVG is arrow-down-alt2 from Dashicons.
@@ -247,9 +249,9 @@
247 249 Restore the WordPress background image defined in /wp-admin/css/forms.css for preview selects so they appear nicer and more consistent with other dropdowns.
248 250 The SVG is arrow-down-alt2 from Dashicons.
249 251 This needs to be important because of a background-image: none !important rule that gets applied in front end CSS.
250 252 */
251 - background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E") !important;
253 + background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') !important;
252 254 background-repeat: no-repeat !important;
253 255 background-position: right 5px top 55% !important;
254 256
255 257 padding-right: 24px; /* Add enough padding for the icon. */
@@ -259,9 +261,9 @@
259 261 #frm_style_preview input[type="checkbox"]:checked {
260 262 background-color: unset;
261 263 }
262 264
263 -#frm_style_preview input[type="checkbox"]:checked::before {
265 +#frm_style_preview input[type="checkbox"]:checked:before {
264 266 content: "";
265 267 position: relative;
266 268 left: 1px;
267 269 }
@@ -270,9 +272,9 @@
270 272 Avoid a conflict with the .frm_form_field > label:first-child rule in frm_admin.css
271 273 The label in the preview should use the label color setting.
272 274 */
273 275 #frm_style_preview .frm_form_field > label:first-child {
274 - color: var(--label-color);
276 + color: var(--label-color);
275 277 font-size: var(--font-size);
276 278 }
277 279
278 280 .frm-color-blocks {
@@ -277,9 +279,9 @@
277 279
278 280 .frm-color-blocks {
279 281 display: grid;
280 282 justify-content: center;
281 - grid-template-columns: repeat(auto-fit, minmax(20px, max-content));
283 + grid-template-columns: repeat(auto-fit, minmax(20px, max-content));
282 284 max-width: 60px;
283 285 }
284 286
285 287 .frm-color-blocks > div {
@@ -301,9 +303,8 @@
301 303 #frm_styling_form p > a svg {
302 304 position: relative;
303 305 bottom: 2px;
304 306 }
305 -
306 307 .frm-style-card-separator {
307 308 background-color: var(--grey-300);
308 309 width: 2px;
309 310 height: 20px;
@@ -350,9 +351,9 @@
350 351 }
351 352
352 353 .frm-input-style-example > div {
353 354 max-width: 46px;
354 - width: calc(100% - 8px);
355 + width: calc( 100% - 8px );
355 356 height: 2px;
356 357 background-color: var(--text-color);
357 358 }
358 359
@@ -357,9 +358,11 @@
357 358 }
358 359
359 360 #frm_loading_style_placeholder,
360 361 #frm_style_preview.frm-loading-style-template .frm_forms,
361 -.frm-currently-set-style-card .dropdown-item.frm-apply-style {
362 +#frm_default_style_cards_wrapper .dropdown-item.frm-apply-style,
363 +.frm-currently-set-style-card .dropdown-item.frm-apply-style
364 +{
362 365 display: none;
363 366 }
364 367
365 368 #frm_style_preview.frm-loading-style-template #frm_loading_style_placeholder {
@@ -365,9 +368,9 @@
365 368 #frm_style_preview.frm-loading-style-template #frm_loading_style_placeholder {
366 369 display: block;
367 370 text-align: center;
368 371 position: absolute;
369 - top: calc(50% - 35px);
372 + top: calc( 50% - 35px );
370 373 left: 50%;
371 374 transform: translateX(-50%) translateY(-50%);
372 375 }
373 376
@@ -379,9 +382,9 @@
379 382 display: flex;
380 383 }
381 384
382 385 #frm_style_template_modal .frm_warning_style span {
383 - flex: 1;
386 + flex: 1;
384 387 }
385 388
386 389 #frm_style_template_modal .frm_warning_style a:focus {
387 390 box-shadow: none;
@@ -406,9 +409,8 @@
406 409
407 410 body.rtl .frm-style-card-separator {
408 411 margin: 0 6px 0 0;
409 412 }
410 -
411 413 /* End RTL Styling */
412 414
413 415 .frm-styles-globally-disabled #frm_new_style_trigger,
414 416 .frm-styles-globally-disabled .frm_toggle,
@@ -417,17 +419,15 @@
417 419 pointer-events: none;
418 420 opacity: 0.5;
419 421 }
420 422
421 -.formidable_page_formidable-styles .frm-right-panel .accordion-section-title::before,
422 -.formidable_page_formidable-styles .frm-right-panel .accordion-section-title::after {
423 - content: "" !important;
423 +.formidable_page_formidable-styles .frm-right-panel .accordion-section-title:before,
424 +.formidable_page_formidable-styles .frm-right-panel .accordion-section-title:after {
425 + content: '' !important;
424 426 }
425 -
426 427 .formidable_page_formidable-styles .frm-right-panel .open .accordion-section-title > .frmsvg:last-child {
427 428 transform: rotate(180deg);
428 429 }
429 -
430 430 .formidable_page_formidable-styles .frm-right-panel .accordion-section-title > .frmsvg:last-child {
431 431 position: absolute;
432 432 top: 0;
433 433 bottom: 0;
@@ -434,18 +434,16 @@
434 434 right: 0;
435 435 margin: auto;
436 436 color: var(--grey);
437 437 }
438 -
439 438 .control-section:hover .accordion-section-title {
440 439 background: transparent !important;
441 440 border-bottom-color: transparent;
442 441 }
443 -
444 442 .frm-style-settings-hover {
445 443 width: 100%;
446 444 position: absolute;
447 - top: 0;
445 + top:0;
448 446 left: 0;
449 447 height: 58px;
450 448 background: white;
451 449 border-radius: var(--small-radius);
@@ -452,13 +450,11 @@
452 450 box-shadow: var(--button-shadow);
453 451 z-index: 0;
454 452 transition: 0.25s opacity ease, 0.3s transform cubic-bezier(0.165, 0.84, 0.44, 1);
455 453 }
456 -
457 454 .frm-style-settings-hover.frm-animating {
458 455 opacity: 0.45;
459 456 }
460 -
461 457 .frm-right-panel .accordion-section-content {
462 458 background: transparent;
463 459 padding: 0;
464 460 overflow: initial;
@@ -466,14 +462,12 @@
466 462
467 463 .frm-right-panel .accordion-section-content > .inside {
468 464 padding: 15px;
469 465 }
470 -
471 466 .frm-quick-settings .frm_form_field .frm-style-item-heading,
472 467 .frm-right-panel .accordion-section-content > .inside .frm-style-item-heading {
473 468 line-height: 36px;
474 469 }
475 -
476 470 .frm-right-panel .accordion-section-content > .inside .frm-style-item-heading .frm_help {
477 471 display: inline-block;
478 472 line-height: 13px;
479 473 }
@@ -480,9 +474,8 @@
480 474
481 475 .frm-right-panel .accordion-section-content .inside a {
482 476 font-size: inherit;
483 477 }
484 -
485 478 .frm-right-panel .control-section.open h3 {
486 479 border-bottom: none;
487 480 }
488 481
@@ -489,9 +482,8 @@
489 482 .js .frm-right-panel .control-section .accordion-section-title:focus,
490 483 .js .frm-right-panel .control-section .accordion-section-title:hover {
491 484 color: var(--grey-900);
492 485 }
493 -
494 486 .js .frm-right-panel .control-section.open h3.accordion-section-title {
495 487 box-shadow: var(--button-shadow);
496 488 background: white !important;
497 489 border-radius: var(--small-radius);
@@ -496,41 +488,35 @@
496 488 background: white !important;
497 489 border-radius: var(--small-radius);
498 490 }
499 491
500 -.js .frm-right-panel .control-section .accordion-section-title:hover::before {
492 +.js .frm-right-panel .control-section .accordion-section-title:hover:before {
501 493 color: var(--grey-700);
502 494 }
503 -
504 495 .frm-right-panel .accordion-section {
505 496 border: none;
506 497 position: relative;
507 498 padding-bottom: 2px;
508 499 }
509 -
510 500 .frm-right-panel .accordion-section-title > .frmsvg:first-child {
511 501 margin: 0 10px 0 0;
512 502 color: var(--grey);
513 503 }
514 -
515 504 .frm-right-panel .accordion-section-title:hover > .frmsvg:first-child {
516 505 color: var(--grey-900);
517 506 }
518 -
519 507 .frm-right-panel .accordion-section-title > .frmsvg:last-child {
520 508 margin-right: 15px !important;
521 509 }
522 -
523 510 .frm-right-panel .open .accordion-section-title > .frmsvg:last-child {
524 511 transform: rotate(180deg);
525 512 }
526 -
527 513 .frm-right-panel .open.accordion-section {
528 514 border-bottom: 1px solid var(--grey-300);
529 515 }
530 -
516 +#frm_view_editor_left.frm-right-panel .accordion-section-title,
531 517 .frm-right-panel h3.accordion-section-title {
532 - padding: 17px 15px !important;
518 + padding: 17px 15px;
533 519 background: transparent;
534 520 line-height: var(--leading);
535 521 color: var(--grey-500);
536 522 font-size: var(--text-md);
@@ -535,27 +521,22 @@
535 521 color: var(--grey-500);
536 522 font-size: var(--text-md);
537 523 font-weight: 400;
538 524 }
539 -
540 525 .styling_settings .accordion-container {
541 526 position: relative;
542 527 }
543 -
544 528 .styling_settings .accordion-container .outer-border {
545 529 position: relative;
546 530 z-index: 1;
547 531 }
548 -
549 532 .styling_settings .accordion-section-title button {
550 533 border: none;
551 534 background: none;
552 535 float: right;
553 536 }
554 -
555 537 @media only screen and (max-width: 782px) {
556 -
557 - #frm_style_preview .with_frm_style .frm_radio input[type="radio"],
558 - #frm_style_preview .with_frm_style .frm_checkbox input[type="checkbox"] {
538 + #frm_style_preview .with_frm_style .frm_radio input[type=radio],
539 + #frm_style_preview .with_frm_style .frm_checkbox input[type=checkbox] {
559 540 width: 18px !important;
560 541 }
561 542 }