| 1 |
:root { |
| 2 |
--jet-fb__range-field-slider--size: 18px; |
| 3 |
--jet-fb__range-field-range--height: 4px; |
| 4 |
} |
| 5 |
|
| 6 |
.jet-form-builder { |
| 7 |
background: #fff; |
| 8 |
margin: 20px 0 0 0; |
| 9 |
padding: 0; |
| 10 |
border: 1px solid #ccd0d4; |
| 11 |
} |
| 12 |
|
| 13 |
.jet-form-builder > .components-drop-zone__provider { |
| 14 |
display: flex; |
| 15 |
justify-content: space-between; |
| 16 |
min-height: 60vh; |
| 17 |
flex-wrap: wrap; |
| 18 |
} |
| 19 |
|
| 20 |
.jet-form-builder__sidebar { |
| 21 |
flex: 0 0 30%; |
| 22 |
order: 2; |
| 23 |
border-left: 1px solid #e2e4e7; |
| 24 |
} |
| 25 |
|
| 26 |
.jet-form-builder__content, |
| 27 |
.editor-styles-wrapper { |
| 28 |
flex: 0 0 65%; |
| 29 |
padding: 10px 0 35px; |
| 30 |
order: 1; |
| 31 |
} |
| 32 |
|
| 33 |
.block-editor-block-contextual-toolbar:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover:not(.is-horizontal).is-visible { |
| 34 |
opacity: 1; |
| 35 |
} |
| 36 |
|
| 37 |
.editor-styles-wrapper .block-editor-block-list__block { |
| 38 |
min-height: 45px; |
| 39 |
} |
| 40 |
|
| 41 |
.jet-form-builder .editor-post-title__block { |
| 42 |
padding-left: 40px; |
| 43 |
} |
| 44 |
|
| 45 |
.block-editor-block-list__layout.is-root-container { |
| 46 |
padding-left: 40px; |
| 47 |
} |
| 48 |
|
| 49 |
.jet-form-builder__header { |
| 50 |
width: 100%; |
| 51 |
flex: 0 0 100%; |
| 52 |
box-sizing: border-box; |
| 53 |
display: flex; |
| 54 |
padding: 0 40px 0 6px; |
| 55 |
justify-content: space-between; |
| 56 |
align-items: center; |
| 57 |
border-bottom: 1px solid #e2e4e7; |
| 58 |
height: 60px; |
| 59 |
} |
| 60 |
|
| 61 |
.jet-form-toggle-box { |
| 62 |
padding: 0 12px; |
| 63 |
} |
| 64 |
|
| 65 |
.jet-form-toggle-box .components-base-control__field { |
| 66 |
margin: 0; |
| 67 |
} |
| 68 |
|
| 69 |
.jet-form-action { |
| 70 |
margin-bottom: 10px; |
| 71 |
} |
| 72 |
|
| 73 |
.jet-form-action:first-child { |
| 74 |
margin-top: 15px; |
| 75 |
} |
| 76 |
|
| 77 |
.jet-form-action .components-base-control__field { |
| 78 |
margin: 0; |
| 79 |
} |
| 80 |
|
| 81 |
.jet-form-edit-modal .components-base-control__field { |
| 82 |
display: flex; |
| 83 |
padding: 12px 0 5px; |
| 84 |
border-top: 1px solid #ddd; |
| 85 |
} |
| 86 |
|
| 87 |
.jet-form-edit-modal .components-flex__item { |
| 88 |
flex: 0 0 150px; |
| 89 |
} |
| 90 |
|
| 91 |
.jet-form-edit-modal .jet-post-field-control .components-base-control:nth-child(2) .components-select-control .components-flex__item { |
| 92 |
display: none; |
| 93 |
} |
| 94 |
|
| 95 |
.jet-form-edit-modal .fields-map-control .components-base-control__field { |
| 96 |
border: none; |
| 97 |
padding: 0 0 5px 0; |
| 98 |
} |
| 99 |
|
| 100 |
.jet-form-edit-modal .components-base-control:first-child .components-base-control__field { |
| 101 |
border-top: none; |
| 102 |
padding-top: 0; |
| 103 |
} |
| 104 |
|
| 105 |
.jet-form-edit-modal .components-base-control__label { |
| 106 |
flex: 0 0 200px; |
| 107 |
max-width: 157px; |
| 108 |
} |
| 109 |
|
| 110 |
.jet-form-edit-modal .components-base-control .components-base-control__label { |
| 111 |
padding: 6px 0 0; |
| 112 |
} |
| 113 |
|
| 114 |
.jet-form-editor__macros-wrap { |
| 115 |
position: relative; |
| 116 |
} |
| 117 |
|
| 118 |
.jet-form-edit-modal .jet-form-editor__macros-wrap .components-base-control .components-base-control__field { |
| 119 |
padding-top: 12px; |
| 120 |
border-top: 1px solid #ddd; |
| 121 |
} |
| 122 |
|
| 123 |
.jet-form-edit-modal .jet-user-meta__row { |
| 124 |
display: flex; |
| 125 |
} |
| 126 |
|
| 127 |
.jet-form-edit-modal .jet-user-meta__row .jet-field-map__row-label { |
| 128 |
flex: 1 1 30%; |
| 129 |
} |
| 130 |
|
| 131 |
.jet-form-edit-modal .jet-user-meta__row .components-base-control { |
| 132 |
flex: 1 1 40%; |
| 133 |
} |
| 134 |
|
| 135 |
.jet-form-editor__macros-trigger { |
| 136 |
height: 36px; |
| 137 |
min-height: 36px; |
| 138 |
} |
| 139 |
|
| 140 |
.jet-form-editor__macros-inserter { |
| 141 |
position: absolute; |
| 142 |
right: 1px; |
| 143 |
top: 14px; |
| 144 |
z-index: 20; |
| 145 |
background: whitesmoke; |
| 146 |
} |
| 147 |
|
| 148 |
.jet-form-dynamic-preset { |
| 149 |
display: flex; |
| 150 |
align-items: flex-start; |
| 151 |
} |
| 152 |
|
| 153 |
.jet-form-dynamic-preset .components-base-control { |
| 154 |
width: calc(100% - 31px); |
| 155 |
} |
| 156 |
|
| 157 |
.jet-form-dynamic-preset__trigger { |
| 158 |
width: 31px; |
| 159 |
height: 31px; |
| 160 |
box-sizing: border-box; |
| 161 |
display: flex; |
| 162 |
align-items: center; |
| 163 |
justify-content: center; |
| 164 |
border-radius: 0 2px 2px 0; |
| 165 |
border: 1px solid #757575; |
| 166 |
border-left: none; |
| 167 |
margin: 26px 0 0 0; |
| 168 |
cursor: pointer; |
| 169 |
} |
| 170 |
|
| 171 |
.jet-form-dynamic-preset__trigger:hover svg path { |
| 172 |
fill: #007cba; |
| 173 |
fill: var(--wp-admin-theme-color); |
| 174 |
} |
| 175 |
|
| 176 |
.jet-form-dynamic-preset__trigger svg { |
| 177 |
width: 50%; |
| 178 |
} |
| 179 |
|
| 180 |
.jet-form-builder__flex-controls { |
| 181 |
display: flex; |
| 182 |
} |
| 183 |
|
| 184 |
.jet-form-builder__flex-controls .repeater-item-column label { |
| 185 |
flex: 0 0 1em; |
| 186 |
margin-right: 1em; |
| 187 |
} |
| 188 |
|
| 189 |
.jet-form-builder__flex-controls .repeater-item-column input { |
| 190 |
margin-right: 1em; |
| 191 |
} |
| 192 |
|
| 193 |
.jet-form-media-fields .field-mime-types select[multiple] { |
| 194 |
height: 7rem; |
| 195 |
} |
| 196 |
|
| 197 |
.jet-form-media-fields .field-mime-types svg { |
| 198 |
display: none; |
| 199 |
} |
| 200 |
|
| 201 |
.jet-user-meta-rows { |
| 202 |
flex: 0 0 40%; |
| 203 |
} |
| 204 |
|
| 205 |
.jet-user-fields-map__list { |
| 206 |
flex: 0 0 35%; |
| 207 |
} |
| 208 |
|
| 209 |
.jet-user-fields-map__list .components-flex__item { |
| 210 |
flex: 2; |
| 211 |
} |
| 212 |
|
| 213 |
.jet-user-fields-map__list .components-input-control__container { |
| 214 |
flex: 5; |
| 215 |
} |
| 216 |
|
| 217 |
.block-editor-block-list__block[data-type="jet-forms/form-break-field"] { |
| 218 |
max-width: 100%; |
| 219 |
margin-top: 28px; |
| 220 |
margin-bottom: 28px; |
| 221 |
} |
| 222 |
|
| 223 |
.block-editor-block-list__block[data-type="jet-forms/group-break-field"] { |
| 224 |
margin-top: 28px; |
| 225 |
margin-bottom: 28px; |
| 226 |
} |
| 227 |
|
| 228 |
.block-editor-block-list__block[data-type="jet-forms/repeater-field"], |
| 229 |
.block-editor-block-list__block[data-type^="jet-forms/"] .inside-block-options { |
| 230 |
padding: 20px; |
| 231 |
background: #fff; |
| 232 |
-webkit-box-shadow: 0 2px 4px rgba(22, 43, 64, .1); |
| 233 |
box-shadow: 0 2px 4px rgba(22, 43, 64, .1); |
| 234 |
-webkit-transition: .3s all; |
| 235 |
-o-transition: .3s all; |
| 236 |
transition: .3s all; |
| 237 |
} |
| 238 |
|
| 239 |
.block-editor-block-list__block[data-type^="jet-forms/"] .inside-block-options { |
| 240 |
margin-bottom: 20px; |
| 241 |
} |
| 242 |
|
| 243 |
.block-editor-block-list__block[data-type="jet-forms/repeater-field"]:hover { |
| 244 |
-webkit-box-shadow: 0 20px 20px rgba(22, 43, 64, .12); |
| 245 |
box-shadow: 0 20px 20px rgba(22, 43, 64, .12); |
| 246 |
-webkit-transition: .3s all; |
| 247 |
-o-transition: .3s all; |
| 248 |
transition: .3s all; |
| 249 |
-webkit-transform: translateY(-6px); |
| 250 |
-ms-transform: translateY(-6px); |
| 251 |
transform: translateY(-6px); |
| 252 |
} |
| 253 |
|
| 254 |
|
| 255 |
.jet-form-builder__next-page-wrap, .jet-form-builder__group-break { |
| 256 |
display: block; |
| 257 |
white-space: nowrap; |
| 258 |
} |
| 259 |
|
| 260 |
.jet-form-builder__next-page-wrap:before, .jet-form-builder__group-break:before { |
| 261 |
content: ""; |
| 262 |
position: absolute; |
| 263 |
bottom: 0; |
| 264 |
left: 0; |
| 265 |
right: 0; |
| 266 |
border-top: 1px solid #ccc; |
| 267 |
} |
| 268 |
|
| 269 |
.jet-form-builder__next-page-wrap > span, .jet-form-builder__group-break > span { |
| 270 |
font-size: 13px; |
| 271 |
position: relative; |
| 272 |
display: inline-block; |
| 273 |
text-transform: uppercase; |
| 274 |
font-weight: 600; |
| 275 |
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; |
| 276 |
color: #757575; |
| 277 |
border-radius: 4px; |
| 278 |
background: #fff; |
| 279 |
padding: 6px 8px; |
| 280 |
height: 24px; |
| 281 |
} |
| 282 |
|
| 283 |
.jet-form-edit-modal__content .input_with_button { |
| 284 |
display: flex; |
| 285 |
align-items: center; |
| 286 |
justify-content: space-between; |
| 287 |
} |
| 288 |
|
| 289 |
.jet-form-edit-modal__content .components-base-control__field > .input_with_button { |
| 290 |
width: 55%; |
| 291 |
} |
| 292 |
|
| 293 |
.jet-form-edit-modal__content .input_with_button .components-base-control { |
| 294 |
margin-right: 1em; |
| 295 |
} |
| 296 |
|
| 297 |
.input_with_button select.components-select-control__input { |
| 298 |
min-width: 26em; |
| 299 |
} |
| 300 |
|
| 301 |
.jet-form-builder__field-wrap.range-wrap fieldset.components-input-control__backdrop { |
| 302 |
border: none; |
| 303 |
} |
| 304 |
|
| 305 |
.jet-form-builder__field-wrap.range-wrap .range-flex-wrap { |
| 306 |
display: flex; |
| 307 |
/*display: -webkit-box;*/ |
| 308 |
display: -ms-flexbox; |
| 309 |
-webkit-box-align: center; |
| 310 |
-ms-flex-align: center; |
| 311 |
align-items: center; |
| 312 |
} |
| 313 |
|
| 314 |
/* Range */ |
| 315 |
.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .components-input-control { |
| 316 |
margin-right: auto; |
| 317 |
} |
| 318 |
|
| 319 |
/* Range Values */ |
| 320 |
.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .jet-form-builder__field-value { |
| 321 |
white-space: nowrap; |
| 322 |
margin-left: 10px; |
| 323 |
display: flex; |
| 324 |
} |
| 325 |
|
| 326 |
.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .components-input-control__container { |
| 327 |
background-color: rgba(255, 255, 255, 0); |
| 328 |
} |
| 329 |
|
| 330 |
.jet-form-builder__field-wrap.range-wrap { |
| 331 |
width: 100% |
| 332 |
} |
| 333 |
|
| 334 |
.jet-form-builder__field-wrap.range-wrap input[type="range"] { |
| 335 |
margin-right: 10px; |
| 336 |
-webkit-appearance: none; |
| 337 |
min-height: 18px; |
| 338 |
border: 0; |
| 339 |
} |
| 340 |
|
| 341 |
|
| 342 |
.jet-form-builder__field-wrap.range-wrap input[type="range"], .jet-form-builder__field-wrap.range-wrap input[type="range"]:focus { |
| 343 |
padding: 0; |
| 344 |
background: transparent; |
| 345 |
border: none; |
| 346 |
border-radius: 0; |
| 347 |
-webkit-box-shadow: none; |
| 348 |
box-shadow: none; |
| 349 |
outline: none |
| 350 |
} |
| 351 |
|
| 352 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-webkit-slider-runnable-track { |
| 353 |
width: 100%; |
| 354 |
height: var(--jet-fb__range-field-range--height, 4px); |
| 355 |
cursor: pointer; |
| 356 |
/** |
| 357 |
test |
| 358 |
*/ |
| 359 |
background: #e3ddd8; |
| 360 |
-webkit-box-shadow: none; |
| 361 |
box-shadow: none; |
| 362 |
border: none |
| 363 |
} |
| 364 |
|
| 365 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-moz-range-track { |
| 366 |
width: 100%; |
| 367 |
height: var(--jet-fb__range-field-range--height, 4px); |
| 368 |
cursor: pointer; |
| 369 |
background: #e3ddd8; |
| 370 |
box-shadow: none; |
| 371 |
border: none |
| 372 |
} |
| 373 |
|
| 374 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-ms-track { |
| 375 |
width: 100%; |
| 376 |
height: var(--jet-fb__range-field-range--height, 4px); |
| 377 |
cursor: pointer; |
| 378 |
background: #e3ddd8; |
| 379 |
box-shadow: none; |
| 380 |
border: none; |
| 381 |
color: transparent |
| 382 |
} |
| 383 |
|
| 384 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-ms-fill-lower { |
| 385 |
background: transparent |
| 386 |
} |
| 387 |
|
| 388 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-ms-fill-upper { |
| 389 |
background: transparent |
| 390 |
} |
| 391 |
|
| 392 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-webkit-slider-thumb { |
| 393 |
width: var(--jet-fb__range-field-slider--size, 18px); |
| 394 |
height: var(--jet-fb__range-field-slider--size, 18px); |
| 395 |
background: #ccc; |
| 396 |
border-radius: 50%; |
| 397 |
cursor: pointer; |
| 398 |
-webkit-box-shadow: none; |
| 399 |
box-shadow: none; |
| 400 |
border: none; |
| 401 |
margin-top: calc((var(--jet-fb__range-field-slider--size, 18px) - var(--jet-fb__range-field-range--height, 4px)) / -2); |
| 402 |
-webkit-appearance: none |
| 403 |
} |
| 404 |
|
| 405 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-moz-range-thumb { |
| 406 |
width: var(--jet-fb__range-field-slider--size, 18px); |
| 407 |
height: var(--jet-fb__range-field-slider--size, 18px); |
| 408 |
background: #ccc; |
| 409 |
border-radius: 50%; |
| 410 |
cursor: pointer; |
| 411 |
box-shadow: none; |
| 412 |
border: none |
| 413 |
} |
| 414 |
|
| 415 |
.jet-form-builder__field-wrap.range-wrap input[type="range"]::-ms-thumb { |
| 416 |
width: var(--jet-fb__range-field-slider--size, 18px); |
| 417 |
height: var(--jet-fb__range-field-slider--size, 18px); |
| 418 |
background: #ccc; |
| 419 |
border-radius: 50%; |
| 420 |
cursor: pointer; |
| 421 |
box-shadow: none; |
| 422 |
border: none |
| 423 |
} |
| 424 |
|
| 425 |
.jet-form-builder__submit-wrap { |
| 426 |
display: -webkit-box; |
| 427 |
display: -ms-flexbox; |
| 428 |
display: flex; |
| 429 |
align-items: flex-start; |
| 430 |
-webkit-box-orient: vertical; |
| 431 |
-webkit-box-direction: normal; |
| 432 |
-ms-flex-direction: column; |
| 433 |
flex-direction: column; |
| 434 |
width: 100% |
| 435 |
} |
| 436 |
|
| 437 |
.jet-form-builder__field-wrap.range-wrap .components-input-control__backdrop[aria-hidden="true"] { |
| 438 |
border-width: 0; |
| 439 |
} |
| 440 |
|
| 441 |
.jet-form-builder__field-settings .help-input { |
| 442 |
margin-bottom: 2em; |
| 443 |
font-size: 12px; |
| 444 |
color: rgb(117, 117, 117); |
| 445 |
} |
| 446 |
|
| 447 |
.jet-form-edit-modal .jet-post-field-control { |
| 448 |
display: flex; |
| 449 |
position: relative; |
| 450 |
} |
| 451 |
|
| 452 |
.jet-form-edit-modal .jet-post-field-control .components-base-control__field { |
| 453 |
padding: 0; |
| 454 |
border: none; |
| 455 |
} |
| 456 |
|
| 457 |
.jet-form-edit-modal .jet-post-field-control .components-base-control:nth-child(2) { |
| 458 |
position: absolute; |
| 459 |
left: 148%; |
| 460 |
} |
| 461 |
|
| 462 |
.jet-field-map__row-label .fields-map__required { |
| 463 |
color: red; |
| 464 |
font-weight: 900; |
| 465 |
} |
| 466 |
|
| 467 |
.jet-form-load-button.components-button.loading i, .jet-form-validate-button.components-button.loading i { |
| 468 |
animation: jet-form-editor-spin 2s infinite linear |
| 469 |
} |
| 470 |
|
| 471 |
|
| 472 |
.jet-form-validate-button.components-button i.dashicons:before { |
| 473 |
content: "" |
| 474 |
} |
| 475 |
|
| 476 |
.jet-form-validate-button.components-button.is-valid i.dashicons:before { |
| 477 |
content: "� |
| 478 |
�"; |
| 479 |
color: #46b450 |
| 480 |
} |
| 481 |
|
| 482 |
.jet-form-validate-button.components-button.is-invalid i.dashicons:before { |
| 483 |
content: ""; |
| 484 |
color: #a00 |
| 485 |
} |
| 486 |
|
| 487 |
@keyframes jet-form-editor-spin { |
| 488 |
0% { |
| 489 |
transform: rotate(0deg) |
| 490 |
} |
| 491 |
to { |
| 492 |
transform: rotate(359deg) |
| 493 |
} |
| 494 |
} |
| 495 |
|
| 496 |
.jet-form-edit-modal__content .description-controls { |
| 497 |
color: #999; |
| 498 |
display: block; |
| 499 |
margin-bottom: 1.2em; |
| 500 |
} |
| 501 |
|
| 502 |
.jet-form-builder-row { |
| 503 |
overflow: hidden; |
| 504 |
} |
| 505 |
|
| 506 |
.rtl .jet-form-editor__macros-inserter { |
| 507 |
left: 15px; |
| 508 |
right: unset; |
| 509 |
} |
| 510 |
|
| 511 |
.rtl .jet-form-builder__field-wrap.range-wrap .range-flex-wrap .jet-form-builder__field-value { |
| 512 |
margin-left: unset; |
| 513 |
margin-right: 10px; |
| 514 |
} |
| 515 |
|
| 516 |
.jet-form-edit-modal__actions { |
| 517 |
position: sticky; |
| 518 |
bottom: 0; |
| 519 |
margin: 20px -24px -24px; |
| 520 |
padding: 18px 24px 20px; |
| 521 |
background-color: #fff; |
| 522 |
width: calc(100% + 48px); |
| 523 |
border-top: 1px solid #ddd; |
| 524 |
} |
| 525 |
|
| 526 |
.jet-form-edit-modal.width-60 { |
| 527 |
width: 60vw; |
| 528 |
} |
| 529 |
|
| 530 |
.jet-form-builder__repeater-component-item { |
| 531 |
margin-bottom: 2em; |
| 532 |
} |
| 533 |
|
| 534 |
.jet-form-builder__repeater-component-item .repeater-item__content { |
| 535 |
flex: 1 1 100%; |
| 536 |
background-color: #f9f9f9; |
| 537 |
} |
| 538 |
|
| 539 |
.jet-form-builder__repeater-component-item .repeater-item__remove { |
| 540 |
flex: 1; |
| 541 |
} |
| 542 |
|
| 543 |
.jet-form-builder__repeater-component-item .repeater__item__header .repeater-action-button { |
| 544 |
margin-right: 1em; |
| 545 |
} |
| 546 |
|
| 547 |
.jet-form-builder__repeater-component-item .repeater__item__header span.repeater-item-title { |
| 548 |
font-size: 1.1em; |
| 549 |
font-style: italic; |
| 550 |
color: #8e8e8e; |
| 551 |
} |
| 552 |
|
| 553 |
.jet-form-edit-modal .input-with-button .components-input-control__container, |
| 554 |
.jet-form-edit-modal .input-with-button .components-text-control__input { |
| 555 |
width: 30em; |
| 556 |
margin-right: 1em; |
| 557 |
} |
| 558 |
|
| 559 |
.jet-form-edit-modal .with-wrap .components-base-control__field { |
| 560 |
flex-wrap: wrap; |
| 561 |
} |
| 562 |
|
| 563 |
.jet-form-edit-modal .margin-bottom--small { |
| 564 |
margin-bottom: 0.7em; |
| 565 |
} |
| 566 |
|
| 567 |
select.components-select-control__input { |
| 568 |
max-width: 100vw; |
| 569 |
width: 100%; |
| 570 |
} |
| 571 |
|
| 572 |
.jet-form-builder__calculated-field { |
| 573 |
display: flex; |
| 574 |
width: 100%; |
| 575 |
} |
| 576 |
|
| 577 |
.jet-form-action .components-card__body { |
| 578 |
display: flex; |
| 579 |
justify-content: space-between; |
| 580 |
align-items: center; |
| 581 |
} |
| 582 |
|
| 583 |
.jet-form-action .components-card__body div:first-child { |
| 584 |
flex: 0 0 60%; |
| 585 |
} |
| 586 |
|
| 587 |
.components-text-control__input { |
| 588 |
margin: unset; |
| 589 |
box-sizing: border-box; |
| 590 |
} |