Snapshot: MLS sync fixes, image refresh, plugin/theme updates

MLS plugin fixes from this session:
- Fix silent insert failures: location column NOT NULL was rejecting wpdb->insert calls,
  causing ~18k new properties since Dec 2025 to be lost. Inserts now build raw SQL
  with ST_PointFromText so the spatial column is populated atomically.
- Auto-refresh expired media URLs in MLS_Media_Handler::fetch_and_cache(), guarded by
  a property-level GET_LOCK so concurrent fetches share one API refresh.
- Normalize WP_Error to null in mls_get_property_image() so callers can rely on the
  documented string|null contract.
- Support comma-separated property_type filters in MLS_Query and MLS_Cluster so the
  homepage "View All Commercial" link (?property_type=Commercial+Sale,Land,Farm)
  actually filters correctly.
- Incremental sync now looks back 10 minutes past the latest modification timestamp
  as a safety margin against missed records.
- Smart sync exits silently (info-level, not warning) when a full sync is in progress.

Operational:
- New cron: weekly full sync Sundays at 3 AM (/usr/local/bin/mls-full-sync).
- New cron: hourly 2GB cap on mls-thumbnails/ and cache/transformed-images/
  (/usr/local/bin/mls-image-cache-cap).
- Logrotate config for wp-content/debug.log (2-day retention, daily rotation,
  delaycompress).

Repo policy:
- CLAUDE.md updated with explicit "commit everything except build artifacts" policy.
- .gitignore: untrack runtime image caches and debug.log rotations.

Other modifications in this snapshot are pre-existing in-flight theme/plugin/db_content_updates work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
root
2026-04-29 15:32:23 +00:00
parent 57b752f54e
commit b6df4dbb92
5385 changed files with 838580 additions and 2416 deletions
@@ -0,0 +1,577 @@
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate:hover, #wpforms-setup-templates-list .wpforms-template#wpforms-template-generate.selected {
box-shadow: 0 0 0 2px #5c24a9, 0 3px 4px rgba(0, 0, 0, 0.15);
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-thumbnail {
background-color: #faf5fe;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap {
display: flex;
max-height: 40px;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap .wpforms-template-name {
padding-right: 10px;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap .wpforms-badge {
box-sizing: border-box;
opacity: 1;
font-size: 8px;
padding: 6px 8px;
height: 18px;
margin-top: 20px;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive {
color: #ffffff;
background-color: #7a30e2;
margin: 0;
pointer-events: all;
cursor: default;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive:hover {
background-color: #7a30e2;
color: #ffffff;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive:focus {
box-shadow: none;
}
#wpforms-panel-ai-form .wpforms-panel-sidebar {
z-index: 20;
overflow: hidden;
}
#wpforms-panel-ai-form .wpforms-panel-sidebar-header {
border-bottom: 1px solid #ced7e0;
}
#wpforms-panel-ai-form .wpforms-btn-back-to-templates {
background-color: transparent;
border: none;
color: #3c434a;
width: auto;
text-align: left;
padding: 15px 15px 15px 43px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
position: relative;
}
#wpforms-panel-ai-form .wpforms-btn-back-to-templates:hover {
text-decoration: underline;
}
#wpforms-panel-ai-form .wpforms-btn-back-to-templates:before {
content: '';
position: absolute;
left: 20px;
background-image: url("../../../images/integrations/ai/back.svg");
background-size: 13px 11px;
width: 13px;
height: 11px;
top: 50%;
transform: translateY(-50%);
}
#wpforms-panel-ai-form .wpforms-panel-content-wrap {
overflow-x: hidden;
}
#wpforms-panel-ai-form .wpforms-panel-content.wpforms-panel-fields {
width: 100%;
height: auto;
padding: 15px;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-panel-empty-state {
min-height: 485px;
height: calc( 100vh - 200px - var( --wpforms-admin-bar-height ));
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-panel-empty-state::before {
background-image: url("../../../images/integrations/ai/ai-form-empty-state.svg");
background-position: center center;
background-repeat: no-repeat;
background-size: 568px 284px;
content: "";
display: block;
height: 284px;
width: 100%;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-panel-empty-state h4 {
color: #3c434a;
font-size: 24px;
font-weight: 600;
line-height: 29px;
margin: 30px 0 10px;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-panel-empty-state p {
color: #6a6f76;
font-size: 16px;
font-weight: 400;
line-height: 19px;
margin: 0;
text-align: center;
max-width: 600px;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-title {
font-size: 28px;
line-height: 28px;
padding: 15px 0 30px 0;
margin: 0 15px 15px 15px;
border-bottom: 1px solid #dcdcde;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field {
margin: 0;
min-height: 128px;
position: relative;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field:has(> .placeholder.fade-out) {
min-height: 0;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field:has(.wpforms-ai-form-generator-hidden) {
display: none;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .placeholder {
border-radius: 4px;
width: calc( 100% - 30px);
height: 98px;
margin: 15px;
background: linear-gradient(92deg, #fcfcfc 50%, #f8f8f8 100%);
position: absolute;
top: 0;
left: 0;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .placeholder.fade-out {
animation: fade-out .25s ease-in;
background: transparent;
}
@keyframes fade-out {
0% {
opacity: 1;
}
100% {
opacity: 0;
background: transparent;
}
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field {
cursor: default;
opacity: 0;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field.fade-in {
animation: fade-in .25s ease-in;
background: transparent;
opacity: 1;
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field:hover {
border-color: transparent;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field:hover.wpforms-field-divider:not(:empty)::before {
display: revert;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field:hover.wpforms-pagebreak-normal .wpforms-pagebreak-buttons {
border-color: transparent;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field:hover.wpforms-pagebreak-normal .wpforms-pagebreak-divider {
background-color: #626262;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field:hover.wpforms-pagebreak-normal .wpforms-pagebreak-divider span:not(.wpforms-badge) {
background-color: #626262;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field .wpforms-field:empty::before {
display: none;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field label,
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field input,
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field select,
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field textarea,
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-field button {
cursor: default;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-pagebreak-normal .wpforms-pagebreak-divider {
margin: 0 -15px;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-submit {
width: fit-content;
pointer-events: none;
background: #999c9e;
border: none;
border-radius: 4px;
color: #ffffff;
cursor: pointer;
font-size: 17px;
font-weight: 600;
line-height: 21px;
padding: 10px 15px;
margin: 20px 15px 15px 15px;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-addons-notice {
display: flex;
align-items: center;
margin: 20px 15px 15px 15px;
}
#wpforms-panel-ai-form .wpforms-panel-content .wpforms-ai-form-generator-preview-addons-notice .wpforms-alert-message a {
color: #3c434a;
font-weight: 600;
text-decoration: underline;
}
wpforms-ai-chat:has(textarea) {
--wpforms-ai-chat-input-height: 54px;
--wpforms-ai-chat-message-list-offset: 79px;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list {
height: calc( 100% - var( --wpforms-ai-chat-input-height, 54px ) - var( --wpforms-ai-chat-message-list-offset, 41px ));
max-height: calc( 100% - var( --wpforms-ai-chat-input-height, 54px ) - var( --wpforms-ai-chat-message-list-offset, 41px ));
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list.wpforms-scrollbar-compact {
scrollbar-gutter: stable;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list.wpforms-scrollbar-compact .wpforms-chat-item-error .wpforms-chat-item-content {
width: 400px;
max-width: 400px;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-question {
width: auto;
max-width: 410px;
font-weight: 600;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-answer .wpforms-chat-item-content h4,
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-warning .wpforms-chat-item-content h4,
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-error .wpforms-chat-item-content h4 {
line-height: 22px;
margin: 0;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-answer .wpforms-chat-item-content .wpforms-ai-chat-answer-buttons,
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-warning .wpforms-chat-item-content .wpforms-ai-chat-answer-buttons,
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-error .wpforms-chat-item-content .wpforms-ai-chat-answer-buttons {
margin-top: 10px;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-pre-message .wpforms-ai-chat-answer-buttons {
display: none;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-answer:last-child {
margin-bottom: 20px;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list .wpforms-chat-item-content {
position: relative;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-inactive .wpforms-chat-item-answer:not(.active) .wpforms-chat-item-content {
pointer-events: none;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-input {
padding: 35px 40px;
height: calc( var( --wpforms-ai-chat-input-height, 54px ) + var( --wpforms-ai-chat-message-list-offset, 50px ));
max-height: calc( var( --wpforms-ai-chat-input-height, 54px ) + var( --wpforms-ai-chat-message-list-offset, 50px ));
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-input .wpforms-ai-chat-send,
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-input .wpforms-ai-chat-stop {
inset-inline-end: 41px;
bottom: 38px;
}
wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-input textarea {
margin-top: 6px !important;
}
wpforms-ai-chat[mode="forms"] {
height: calc( 100% - 50px);
--wpforms-ai-chat-message-list-offset: 40px;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-list {
padding: 20px 20px 0 19px !important;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-list .wpforms-ai-chat-header h3.wpforms-ai-chat-header-title {
font-weight: 600;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-list .wpforms-ai-chat-header .wpforms-ai-chat-header-description a {
display: block;
line-height: 24px;
margin-top: 5px;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-list.wpforms-scrollbar-compact {
padding: 20px 6px 0 19px !important;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-list .wpforms-ai-chat-divider {
border-top: none;
margin: 0 0 40px 0;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-input {
padding: 20px;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-input .wpforms-ai-chat-send,
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-input .wpforms-ai-chat-stop {
inset-inline-end: 20px;
bottom: 19px;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-message-input textarea {
margin-top: unset !important;
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-sample-restaurant {
background-image: url("../../../images/integrations/ai/icon-restaurant.svg");
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-sample-ticket {
background-image: url("../../../images/integrations/ai/icon-ticket.svg");
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-sample-design {
background-image: url("../../../images/integrations/ai/icon-design.svg");
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-sample-stop {
background-image: url("../../../images/integrations/ai/icon-stop-sign.svg");
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-sample-pizza {
background-image: url("../../../images/integrations/ai/icon-pizza.svg");
}
wpforms-ai-chat[mode="forms"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-sample-market {
background-image: url("../../../images/integrations/ai/icon-market.svg");
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description {
font-size: 16px;
color: #3c434a;
line-height: 24px;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description a {
color: #036aab;
font-size: 15px;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description a:hover, wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description a:focus {
color: #0399ed;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-question {
background-color: #0399ed;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-spinner {
background: #dfe7ef;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer .wpforms-chat-item-content,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning .wpforms-chat-item-content {
background: #dfe7ef;
border: 2px solid transparent;
cursor: pointer;
transition-property: border-color;
transition-duration: 0.15s;
transition-timing-function: ease-out;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer .wpforms-chat-item-content:hover,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning .wpforms-chat-item-content:hover {
border-color: #86919e;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer .wpforms-chat-item-content h4,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning .wpforms-chat-item-content h4 {
font-weight: 600;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer .wpforms-ai-chat-answer-buttons button span,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning .wpforms-ai-chat-answer-buttons button span {
font-weight: 600;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer:not(.active) .wpforms-ai-chat-answer-buttons,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning:not(.active) .wpforms-ai-chat-answer-buttons {
border-top: 1px solid #ced7e0;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer:not(.active) .wpforms-ai-chat-answer-buttons button,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning:not(.active) .wpforms-ai-chat-answer-buttons button {
opacity: 0.5;
pointer-events: none;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer:not(.active) .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-buttons-response .wpforms-ai-chat-answer-button.dislike,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning:not(.active) .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-buttons-response .wpforms-ai-chat-answer-button.dislike {
background-image: url("../../../images/integrations/ai/thumbs-down-inactive.svg");
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer:not(.active) .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-buttons-response button,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning:not(.active) .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-buttons-response button {
opacity: 1;
color: #b0b6bd;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer:not(.active) .wpforms-ai-chat-answer-action,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning:not(.active) .wpforms-ai-chat-answer-action {
background: #86919e;
color: #ffffff;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer.active .wpforms-chat-item-content,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning.active .wpforms-chat-item-content {
background: #ffffff;
border-color: #ffffff;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer.active .wpforms-chat-item-content:hover,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning.active .wpforms-chat-item-content:hover {
cursor: default;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer.active .wpforms-ai-chat-answer-buttons button,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-warning.active .wpforms-ai-chat-answer-buttons button {
opacity: 1;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-error .wpforms-chat-item-content {
background: #ffffff;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-error .wpforms-chat-item-content h4 {
font-weight: 600;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-error .wpforms-chat-item-content span a {
color: #3c434a;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-error .wpforms-chat-item-content span a:hover {
color: #6a6f76;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-list .wpforms-chat-item-answer-waiting .wpforms-chat-item-spinner {
color: #86919e;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-input {
border-top: 1px solid #ced7e0;
background: #dfe7ef;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-input textarea {
font-size: 15px;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-input textarea::placeholder {
color: #b0b6bd;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-input textarea:not(:focus) {
border-color: #b0b6bd;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-message-input textarea:focus {
border: 1px solid #036aab;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07), 0 0 0 1px #036aab;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-send,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-stop {
background-color: #036aab;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-send:hover, wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-send:focus,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-stop:hover,
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-stop:focus {
background-color: #215d8f;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-welcome-screen-sample-prompts li {
border-bottom: 1px solid #ced7e0;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-welcome-screen-sample-prompts li:last-child {
border-bottom: none;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-welcome-screen-sample-prompts li::after {
background-image: url("../../../images/integrations/ai/icon-send-blue.svg");
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-welcome-screen-sample-prompts li:hover a {
color: #036aab;
}
wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-welcome-screen-sample-prompts li a:hover, wpforms-ai-chat.wpforms-ai-chat-blue .wpforms-ai-chat-welcome-screen-sample-prompts li a:focus {
color: #036aab;
text-decoration: underline;
}
.wpforms_page_wpforms-builder .jconfirm .jconfirm-box.wpforms-ai-forms-install-addons-modal .jconfirm-checkbox {
grid-column: 1 / -1;
margin: 5px 0 10px 0;
color: #6a6f76;
vertical-align: center;
}
.wpforms_page_wpforms-builder .jconfirm .jconfirm-box.wpforms-ai-forms-install-addons-modal .jconfirm-checkbox input[type="checkbox"] {
border-color: #a6a6a6;
background: #ffffff;
}
.wpforms_page_wpforms-builder .jconfirm .jconfirm-box.wpforms-ai-forms-addons-installed-modal .jconfirm-buttons {
margin-top: 0;
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,585 @@
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-answer-buttons .wpforms-btn-orange {
background-color: #e27730;
border-color: #e27730;
color: #ffffff;
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-answer-buttons .wpforms-btn-orange:hover {
background-color: #cd6622;
border-color: #cd6622;
color: #ffffff;
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-answer-buttons .wpforms-btn-sm {
font-size: 13px;
font-weight: 500;
padding: 0 10px;
height: 32px;
line-height: 30px;
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-flag {
background-image: url("../../../images/integrations/ai/flag-usa.svg");
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-clover {
background-image: url("../../../images/integrations/ai/leaf-maple.svg");
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-thumbs-up {
background-image: url("../../../images/integrations/ai/thumbs-up.svg");
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-globe {
background-image: url("../../../images/integrations/ai/globe-americas.svg");
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-palm {
background-image: url("../../../images/integrations/ai/tree-palm.svg");
}
wpforms-ai-chat[mode="choices"] .wpforms-ai-chat-welcome-screen-sample-prompts i.wpforms-ai-chat-shop {
background-image: url("../../../images/integrations/ai/store.svg");
}
wpforms-ai-chat {
display: block;
max-height: 100%;
height: 100%;
overflow: hidden;
}
wpforms-ai-chat .wpforms-ai-chat {
display: block;
max-height: 100%;
height: 100%;
overflow: hidden;
}
wpforms-ai-chat .wpforms-ai-chat-message-list {
margin: 0;
padding: 40px 40px 20px 40px;
display: flex;
flex-direction: column;
overflow: auto;
height: calc( 100% - 134px);
max-height: calc( 100% - 134px);
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-chat-item-answer:last-child {
margin-bottom: 40px;
}
wpforms-ai-chat .wpforms-ai-chat-message-list.wpforms-scrollbar-compact {
padding-right: 25px;
padding-bottom: 20px;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-chat-item-question {
width: 410px;
margin-bottom: 20px;
margin-inline-start: auto;
display: flex;
height: fit-content;
padding: 15px 20px 15px 20px;
color: #ffffff;
gap: 10px;
border-radius: 24px;
border-start-end-radius: 0;
font-weight: 500;
font-size: 15px;
line-height: 22px;
overflow-wrap: anywhere;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-chat-item-question div > h4:first-child {
margin-block-start: 0;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item.wpforms-chat-item-text {
white-space: pre-line;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header h3.wpforms-ai-chat-header-title {
font-weight: 600;
font-size: 24px;
line-height: 30px;
margin: 0 0 10px;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header h3.wpforms-ai-chat-header-title:after {
content: '';
display: inline-block;
vertical-align: top;
width: 16px;
height: 16px;
background-image: url("../../../images/integrations/ai/ai-feature.svg");
background-size: 16px 16px;
opacity: .85;
margin-left: 2px;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description {
color: #6a6f76;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description a {
color: #a7aaad;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description a:hover, wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-message-item .wpforms-ai-chat-header .wpforms-ai-chat-header-description a:focus {
color: #3c434a;
}
wpforms-ai-chat .wpforms-ai-chat-message-list .wpforms-ai-chat-divider {
border-top: 1px solid #dcdcde;
margin: 40px 0;
}
wpforms-ai-chat .wpforms-ai-chat-message-input {
display: flex;
height: 134px;
position: relative;
padding: 40px;
background-color: #f6f7f7;
box-shadow: 0 -1px 0 #dcdcde;
}
wpforms-ai-chat .wpforms-ai-chat-message-input input[type="text"],
wpforms-ai-chat .wpforms-ai-chat-message-input textarea {
padding: 10px 15px;
padding-inline-end: 54px;
width: 100%;
height: 54px;
min-height: 54px;
font-size: 16px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07);
border-radius: 6px;
}
wpforms-ai-chat .wpforms-ai-chat-message-input input[type="text"]::placeholder,
wpforms-ai-chat .wpforms-ai-chat-message-input textarea::placeholder {
color: #a7aaad;
}
wpforms-ai-chat .wpforms-ai-chat-message-input input[type="text"]:disabled,
wpforms-ai-chat .wpforms-ai-chat-message-input textarea:disabled {
background-color: #ffffff;
opacity: 1;
}
wpforms-ai-chat .wpforms-ai-chat-message-input input[type="text"]:focus,
wpforms-ai-chat .wpforms-ai-chat-message-input textarea:focus {
border: 1px solid #6a6f76;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07), 0 0 0 1px #6a6f76;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea {
line-height: 22px;
padding: 15px 40px 15px 15px;
overflow-x: hidden;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea::-webkit-scrollbar {
background: transparent;
width: 10px;
height: 10px;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea::-webkit-scrollbar-track {
background: transparent;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0);
background: transparent;
border-radius: 10px;
border: solid 3px transparent;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea::-webkit-resizer, wpforms-ai-chat .wpforms-ai-chat-message-input textarea::-webkit-scrollbar-button, wpforms-ai-chat .wpforms-ai-chat-message-input textarea::-webkit-scrollbar-corner {
display: none;
}
@-moz-document url-prefix() {
wpforms-ai-chat .wpforms-ai-chat-message-input textarea {
scrollbar-color: rgba(0, 0, 0, 0) transparent;
scrollbar-gutter: initial !important;
scrollbar-width: thin;
}
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea:hover::-webkit-scrollbar {
background: transparent;
width: 10px;
height: 10px;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea:hover::-webkit-scrollbar-track {
background: transparent;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea:hover::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.5);
background: transparent;
border-radius: 10px;
border: solid 3px transparent;
}
wpforms-ai-chat .wpforms-ai-chat-message-input textarea:hover::-webkit-resizer, wpforms-ai-chat .wpforms-ai-chat-message-input textarea:hover::-webkit-scrollbar-button, wpforms-ai-chat .wpforms-ai-chat-message-input textarea:hover::-webkit-scrollbar-corner {
display: none;
}
@-moz-document url-prefix() {
wpforms-ai-chat .wpforms-ai-chat-message-input textarea:hover {
scrollbar-color: rgba(0, 0, 0, 0.5) transparent;
scrollbar-gutter: initial !important;
scrollbar-width: thin;
}
}
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-send {
background-image: url("../../../images/integrations/ai/icon-send.svg");
background-size: 16px;
}
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-stop {
background-image: url("../../../images/integrations/ai/icon-stop.svg");
background-size: 14px;
}
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-send,
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-stop {
position: absolute;
inset-inline-end: 40px;
bottom: 40px;
height: 32px;
width: 32px;
border: none;
border-radius: 4px;
cursor: pointer;
padding: 0;
margin: 11px;
background-repeat: no-repeat;
background-position: center;
}
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-send.wpforms-hidden,
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-stop.wpforms-hidden {
display: none;
}
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-send:dir(rtl),
wpforms-ai-chat .wpforms-ai-chat-message-input .wpforms-ai-chat-stop:dir(rtl) {
transform: scaleX(-1);
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons {
border-top: 1px solid rgba(220, 220, 222, 0.5);
padding-top: 20px;
display: flex;
gap: 15px;
justify-content: space-between;
align-items: center;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons button.wpforms-ai-chat-answer-action, wpforms-ai-chat .wpforms-ai-chat-answer-buttons a.wpforms-ai-chat-answer-learn-more {
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 6px 10px;
border: none;
text-decoration: none;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons button.wpforms-ai-chat-answer-action span, wpforms-ai-chat .wpforms-ai-chat-answer-buttons a.wpforms-ai-chat-answer-learn-more span {
font-size: 14px;
font-weight: 500;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons button.wpforms-ai-chat-answer-action::before {
content: '';
display: inline-block;
width: 12px;
height: 14px;
background-image: url("../../../images/integrations/ai/insert.svg");
background-size: 12px 14px;
opacity: .65;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-buttons-response {
display: flex;
gap: 12px;
align-items: center;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button {
background-color: transparent;
border: none;
padding: 0;
margin: 0;
line-height: 16px;
cursor: pointer;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button.dislike {
width: 18px;
height: 16px;
background-image: url("../../../images/integrations/ai/thumbs-down.svg");
background-size: 18px 16px;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button.dislike:hover, wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button.dislike:focus {
background-image: url("../../../images/integrations/ai/thumbs-down-hover.svg");
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button.dislike.clicked {
background-image: url("../../../images/integrations/ai/thumbs-down-solid.svg");
cursor: default;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button.refresh {
color: #8c8f94;
font-size: 16px;
}
wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button.refresh:hover, wpforms-ai-chat .wpforms-ai-chat-answer-buttons .wpforms-ai-chat-answer-button.refresh:focus {
color: #d63638;
}
wpforms-ai-chat .wpforms-chat-item-answer-waiting {
display: flex;
gap: 5px;
margin: 0 0 20px 0;
}
wpforms-ai-chat .wpforms-chat-item-answer-waiting:before {
content: '';
display: inline-block;
vertical-align: middle;
width: 32px;
height: 32px;
background-image: url("../../../images/integrations/ai/ai-answer-icon.svg");
background-size: 32px 32px;
}
wpforms-ai-chat .wpforms-chat-item-answer-waiting .wpforms-chat-item-spinner {
height: 50px;
width: 82px;
display: flex;
justify-content: center;
align-items: center;
color: #a7aaad;
background-color: #f6f7f7;
border-radius: 0 24px 24px 24px;
}
wpforms-ai-chat .wpforms-chat-item-answer,
wpforms-ai-chat .wpforms-chat-item-notice,
wpforms-ai-chat .wpforms-chat-item-warning,
wpforms-ai-chat .wpforms-chat-item-error {
gap: 8px;
display: flex;
font-size: 15px;
line-height: 15px;
text-align: left;
margin: 0 0 20px 0;
height: fit-content;
}
wpforms-ai-chat .wpforms-chat-item-answer:before,
wpforms-ai-chat .wpforms-chat-item-notice:before,
wpforms-ai-chat .wpforms-chat-item-warning:before,
wpforms-ai-chat .wpforms-chat-item-error:before {
content: '';
display: inline-block;
vertical-align: middle;
max-width: 32px;
width: 100%;
height: 32px;
background-image: url("../../../images/integrations/ai/ai-answer-icon.svg");
background-size: 32px 32px;
background-repeat: no-repeat;
}
wpforms-ai-chat .wpforms-chat-item-answer > div,
wpforms-ai-chat .wpforms-chat-item-notice > div,
wpforms-ai-chat .wpforms-chat-item-warning > div,
wpforms-ai-chat .wpforms-chat-item-error > div {
flex-grow: 1;
padding: 20px;
display: flex;
flex-direction: column;
color: #3c434a;
background-color: #f6f7f7;
gap: 10px;
border-radius: 24px;
border-start-start-radius: 0;
}
wpforms-ai-chat .wpforms-chat-item-answer > div h4,
wpforms-ai-chat .wpforms-chat-item-notice > div h4,
wpforms-ai-chat .wpforms-chat-item-warning > div h4,
wpforms-ai-chat .wpforms-chat-item-error > div h4 {
font-size: 15px;
font-weight: 500;
margin: 5px 0;
text-align: start;
}
wpforms-ai-chat .wpforms-chat-item-answer > div ol,
wpforms-ai-chat .wpforms-chat-item-notice > div ol,
wpforms-ai-chat .wpforms-chat-item-warning > div ol,
wpforms-ai-chat .wpforms-chat-item-error > div ol {
display: flex;
flex-direction: column;
list-style: decimal;
align-items: flex-start;
gap: 15px;
padding-inline-start: 20px;
margin: 10px 0;
line-height: 22px;
}
wpforms-ai-chat .wpforms-chat-item-answer > div ol li,
wpforms-ai-chat .wpforms-chat-item-notice > div ol li,
wpforms-ai-chat .wpforms-chat-item-warning > div ol li,
wpforms-ai-chat .wpforms-chat-item-error > div ol li {
margin: 0;
word-break: break-all;
}
wpforms-ai-chat .wpforms-chat-item-answer > div > span,
wpforms-ai-chat .wpforms-chat-item-notice > div > span,
wpforms-ai-chat .wpforms-chat-item-warning > div > span,
wpforms-ai-chat .wpforms-chat-item-error > div > span {
line-height: 22px;
text-align: start;
}
wpforms-ai-chat .wpforms-chat-item-answer > div > span.wpforms-ai-chat-answer-footer-learn-more,
wpforms-ai-chat .wpforms-chat-item-notice > div > span.wpforms-ai-chat-answer-footer-learn-more,
wpforms-ai-chat .wpforms-chat-item-warning > div > span.wpforms-ai-chat-answer-footer-learn-more,
wpforms-ai-chat .wpforms-chat-item-error > div > span.wpforms-ai-chat-answer-footer-learn-more {
font-weight: 500;
}
wpforms-ai-chat .wpforms-chat-item-answer > div a.wpforms-chat-element-learn-more,
wpforms-ai-chat .wpforms-chat-item-notice > div a.wpforms-chat-element-learn-more,
wpforms-ai-chat .wpforms-chat-item-warning > div a.wpforms-chat-element-learn-more,
wpforms-ai-chat .wpforms-chat-item-error > div a.wpforms-chat-element-learn-more {
color: #7a30e2;
}
wpforms-ai-chat .wpforms-chat-item-answer > div a.wpforms-chat-element-learn-more:hover, wpforms-ai-chat .wpforms-chat-item-answer > div a.wpforms-chat-element-learn-more:focus,
wpforms-ai-chat .wpforms-chat-item-notice > div a.wpforms-chat-element-learn-more:hover,
wpforms-ai-chat .wpforms-chat-item-notice > div a.wpforms-chat-element-learn-more:focus,
wpforms-ai-chat .wpforms-chat-item-warning > div a.wpforms-chat-element-learn-more:hover,
wpforms-ai-chat .wpforms-chat-item-warning > div a.wpforms-chat-element-learn-more:focus,
wpforms-ai-chat .wpforms-chat-item-error > div a.wpforms-chat-element-learn-more:hover,
wpforms-ai-chat .wpforms-chat-item-error > div a.wpforms-chat-element-learn-more:focus {
color: #5c24a9;
}
wpforms-ai-chat .wpforms-chat-item-answer > div pre,
wpforms-ai-chat .wpforms-chat-item-notice > div pre,
wpforms-ai-chat .wpforms-chat-item-warning > div pre,
wpforms-ai-chat .wpforms-chat-item-error > div pre {
font-size: 0.9em;
line-height: 2em;
max-width: 490px;
overflow-x: auto;
overflow-y: hidden;
margin: 10px 0;
padding: 10px;
background-color: #eaeaea;
border-left: 3px solid #dcdcde;
}
wpforms-ai-chat .wpforms-chat-item-error:before {
background-image: url("../../../images/integrations/ai/ai-error-icon.svg");
}
wpforms-ai-chat .wpforms-chat-item-error > div {
background-color: #fcf0f1;
}
wpforms-ai-chat .wpforms-chat-item-error > div h4 {
color: #d63638;
margin: 0;
}
wpforms-ai-chat .wpforms-chat-item-warning:before {
background-image: url("../../../images/integrations/ai/ai-warning-icon.svg");
}
wpforms-ai-chat .wpforms-chat-item-warning > div {
background-color: #fcf6e5;
}
wpforms-ai-chat .wpforms-chat-item-warning > div h4 {
color: #444444;
margin: 0;
}
wpforms-ai-chat .wpforms-chat-item-notice {
margin-top: 0;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts {
display: flex;
flex-direction: column;
gap: 10px;
margin: 40px 0;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 0;
padding-bottom: 10px;
border-bottom: 1px solid rgba(220, 220, 222, 0.5);
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li:last-child {
padding-bottom: 0;
border-bottom: none;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li::after {
content: '';
width: 16px;
height: 16px;
margin-inline-start: auto;
opacity: 0;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li:hover {
cursor: pointer;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li:hover a {
text-decoration: underline;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li:hover::after {
opacity: 1;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li a {
font-size: 15px;
line-height: 22px;
color: #3c434a;
text-decoration: none;
}
wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts i {
width: 20px;
height: 20px;
background-size: 20px 20px;
display: inline-block;
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,42 @@
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate:hover, #wpforms-setup-templates-list .wpforms-template#wpforms-template-generate.selected {
box-shadow: 0 0 0 2px #5c24a9, 0 3px 4px rgba(0, 0, 0, 0.15);
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-thumbnail {
background-color: #faf5fe;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap {
display: flex;
max-height: 40px;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap .wpforms-template-name {
padding-right: 10px;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap .wpforms-badge {
box-sizing: border-box;
opacity: 1;
font-size: 8px;
padding: 6px 8px;
height: 18px;
margin-top: 20px;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive {
color: #ffffff;
background-color: #7a30e2;
margin: 0;
pointer-events: all;
cursor: default;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive:hover {
background-color: #7a30e2;
color: #ffffff;
}
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive:focus {
box-shadow: none;
}
@@ -0,0 +1 @@
#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate:hover,#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate.selected{box-shadow:0 0 0 2px #5c24a9,0 3px 4px rgba(0,0,0,0.15)}#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-thumbnail{background-color:#faf5fe}#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap{display:flex;max-height:40px}#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap .wpforms-template-name{padding-right:10px}#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-name-wrap .wpforms-badge{box-sizing:border-box;opacity:1;font-size:8px;padding:6px 8px;height:18px;margin-top:20px}#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive{color:#ffffff;background-color:#7a30e2;margin:0;pointer-events:all;cursor:default}#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive:hover{background-color:#7a30e2;color:#ffffff}#wpforms-setup-templates-list .wpforms-template#wpforms-template-generate .wpforms-template-generate.wpforms-inactive:focus{box-shadow:none}
@@ -0,0 +1,252 @@
/** AI modal */
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-chat-item-question {
background-color: #7a30e2;
}
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-send,
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-stop {
background-color: #7a30e2;
}
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-send:hover, .jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-send:focus,
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-stop:hover,
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-stop:focus {
background-color: #5c24a9;
}
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li::after {
background-image: url("../../../images/integrations/ai/icon-send-purple.svg");
}
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li:hover a {
color: #5c24a9;
}
.jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li a:hover, .jconfirm-wpforms-ai-purple wpforms-ai-chat .wpforms-ai-chat-welcome-screen-sample-prompts li a:focus {
color: #5c24a9;
text-decoration: underline;
}
body .jconfirm.jconfirm-wpforms-ai-modal {
background: rgba(114, 119, 124, 0.75);
backdrop-filter: blur(2px);
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box {
border: none;
box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.15);
padding: 0;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-content-pane {
margin: 0;
overflow: hidden;
transition-property: height, max-height;
transition-duration: 0.05s;
transition-timing-function: ease-in-out;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-content-pane .jconfirm-content {
overflow: hidden;
height: 100%;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-content-pane .jconfirm-content > div {
height: 100%;
overflow: hidden;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-content-pane .jconfirm-content input[type="text"] {
margin: 0;
width: 100%;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-content-pane .jconfirm-content strong {
font-weight: 500;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-closeIcon {
opacity: 0.8;
top: 17px;
inset-inline-end: 24px !important;
inset-inline-start: auto;
z-index: 200;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-closeIcon:after {
content: '';
background-image: url("../../../images/integrations/ai/close.svg");
background-size: 13px 13px;
background-position: center;
background-repeat: no-repeat;
width: 14px;
height: 14px;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .jconfirm-closeIcon:hover {
opacity: 1;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .wpforms-ai-modal-top-bar {
position: absolute;
z-index: 100;
top: 0;
right: 0;
left: 0;
height: 46px;
padding: 0;
transition: background-color 0.15s ease, border-bottom 0.15s ease;
background-color: transparent;
border-bottom: 1px solid transparent;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .wpforms-ai-modal-top-bar.scrolled {
background-color: #f8f8f8;
border-bottom: 1px solid #ddd;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .wpforms-ai-modal-top-bar .wpforms-ai-modal-pin {
position: absolute;
top: 16px;
inset-inline-end: 53px;
width: 14px;
height: 14px;
cursor: pointer;
opacity: 0.8;
z-index: 100;
color: #bbb;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .wpforms-ai-modal-top-bar .wpforms-ai-modal-pin.not-allowed:hover {
cursor: not-allowed;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .wpforms-ai-modal-top-bar .wpforms-ai-modal-pin:after {
display: inline-block;
content: '';
background-image: url("../../../images/integrations/ai/pin-chat.svg");
background-size: 14px 12px;
width: 14px;
height: 12px;
}
body .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .wpforms-ai-modal-top-bar .wpforms-ai-modal-pin:hover {
opacity: 1;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned {
background: transparent;
backdrop-filter: blur(0.8px);
box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
width: 500px;
z-index: 49;
position: fixed;
bottom: 0;
inset-inline-start: initial;
inset-inline-end: 0;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned a {
white-space: nowrap;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder {
inset-inline-end: 0;
bottom: 0;
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-inline: 0;
height: 10%;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box {
margin: 0;
width: 100%;
height: 100vh;
border-radius: 0;
grid-template-rows: 1fr;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .jconfirm-content-pane {
height: calc( 100vh - 76px) !important;
max-height: 100vh !important;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .jconfirm-content-pane .wpforms-ai-chat-welcome-screen {
padding-top: 35px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .jconfirm-closeIcon {
top: 16px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-modal-top-bar {
background-color: #f8f8f8;
border-bottom: 1px solid #ddd;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-modal-top-bar .wpforms-ai-modal-pin {
top: 16px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-modal-top-bar .wpforms-ai-modal-pin:after {
background-image: url("../../../images/integrations/ai/unpin-chat.svg");
background-size: 14px;
width: 14px;
height: 14px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-list {
padding: 30px;
height: calc( 100% - 114px);
max-height: none;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-list.wpforms-scrollbar-compact {
padding-right: 17px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-list .wpforms-ai-chat-divider {
margin: 30px 0;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-list .wpforms-chat-item-question {
max-width: 280px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-list .wpforms-chat-item-answer:last-child {
margin-bottom: 0;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-list pre {
max-width: 358px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-input {
padding: 30px;
height: 114px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-input textarea {
margin-top: 0 !important;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-input .wpforms-ai-chat-send, body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box .wpforms-ai-chat-message-input .wpforms-ai-chat-stop {
bottom: 30px;
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-list {
height: calc( 100% - var( --wpforms-ai-chat-input-height, 54px ) - var( --wpforms-ai-chat-message-list-offset, 41px ) + 17px);
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned .jconfirm-holder .jconfirm-box wpforms-ai-chat:has(textarea) .wpforms-ai-chat-message-input {
height: calc( var( --wpforms-ai-chat-input-height, 54px ) + var( --wpforms-ai-chat-message-list-offset, 50px ) - 17px);
}
body .jconfirm.jconfirm-wpforms-ai-modal.pinned.with-wpadminbar .jconfirm-holder .jconfirm-box .jconfirm-content-pane {
height: calc( 100vh - 106px) !important;
}
body.rtl .jconfirm.jconfirm-wpforms-ai-modal .jconfirm-box-container .jconfirm-box .wpforms-ai-modal-top-bar .wpforms-ai-modal-pin:after {
transform: scaleX(-1);
}
File diff suppressed because one or more lines are too long