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