| @@ -162,12 +162,13 @@ | ||
| 162 | 162 | cursor: pointer; |
| 163 | 163 | font-weight: 400; |
| 164 | 164 | |
| 165 | 165 | /* |
| 166 | - When a background image is set the children in the fieldset have a z-index of 1.\ | |
| 167 | - Set to 2 so the floating buttons get priority when clicking if they overlap a form element. | |
| 166 | + When a background image is set the children in the fieldset have a z-index of 1. | |
| 167 | + The Ranking Field contains elements with a higher z-index of 2. | |
| 168 | + Set to 3 so the floating buttons get priority when clicking if they overlap a form element. | |
| 168 | 169 | */ |
| 169 | - z-index: 2; | |
| 170 | + z-index: 3; | |
| 170 | 171 | } |
| 171 | 172 | |
| 172 | 173 | #frm_style_preview .frm_floating_style_button.frm_hidden { |
| 173 | 174 | display: none; |
| @@ -246,9 +247,9 @@ | ||
| 246 | 247 | #frm_style_preview select { |
| 247 | 248 | appearance: none; /* Hide the default icon */ |
| 248 | 249 | } |
| 249 | 250 | |
| 250 | -#frm_style_preview select:not(.ui-datepicker-month):not(.ui-datepicker-year) { | |
| 251 | +#frm_style_preview select:not(.ui-datepicker-month):not(.ui-datepicker-year):not(.frm-ranking-position) { | |
| 251 | 252 | /* |
| 252 | 253 | The styler preview doesn't use .wp-core-ui which results in a funny looking dropdown arrow. |
| 253 | 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. |
| 254 | 255 | The SVG is arrow-down-alt2 from Dashicons. |
| @@ -276,9 +277,9 @@ | ||
| 276 | 277 | Avoid a conflict with the .frm_form_field > label:first-child rule in frm_admin.css |
| 277 | 278 | The label in the preview should use the label color setting. |
| 278 | 279 | */ |
| 279 | 280 | #frm_style_preview .frm_form_field > label:first-child { |
| 280 | - color: var(--label-color); | |
| 281 | + color: var(--label-color); | |
| 281 | 282 | font-size: var(--font-size); |
| 282 | 283 | } |
| 283 | 284 | |
| 284 | 285 | .frm-color-blocks { |
| @@ -422,8 +423,24 @@ | ||
| 422 | 423 | .frm-styles-globally-disabled .frm_on_label, |
| 423 | 424 | .frm-styles-globally-disabled ~ #frm_style_preview #frm_edit_style { |
| 424 | 425 | pointer-events: none; |
| 425 | 426 | opacity: 0.5; |
| 427 | +} | |
| 428 | + | |
| 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; | |
| 432 | +} | |
| 433 | +.formidable_page_formidable-styles .frm-right-panel .open .accordion-section-title > .frmsvg:last-child { | |
| 434 | + transform: rotate(180deg); | |
| 435 | +} | |
| 436 | +.formidable_page_formidable-styles .frm-right-panel .accordion-section-title > .frmsvg:last-child { | |
| 437 | + position: absolute; | |
| 438 | + top: 0; | |
| 439 | + bottom: 0; | |
| 440 | + right: 0; | |
| 441 | + margin: auto; | |
| 442 | + color: var(--grey); | |
| 426 | 443 | } |
| 427 | 444 | |
| 428 | 445 | @media only screen and (max-width: 782px) { |
| 429 | 446 | #frm_style_preview .with_frm_style .frm_radio input[type=radio], |