b6df4dbb92
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>
340 lines
7.0 KiB
CSS
Executable File
340 lines
7.0 KiB
CSS
Executable File
.wpforms-admin-page .wpforms-alert {
|
|
background-color: #ffffff;
|
|
border: none;
|
|
border-inline-start: 4px solid #dcdcde;
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
|
|
color: #3c434a;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
margin-bottom: 20px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible {
|
|
align-content: stretch;
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
margin: 30px 15px 20px 15px;
|
|
max-height: 100px;
|
|
opacity: 1;
|
|
overflow: hidden;
|
|
transition-property: all;
|
|
transition-duration: 0.25s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible.out {
|
|
margin-bottom: 0;
|
|
margin-top: 0;
|
|
max-height: 0;
|
|
opacity: 0;
|
|
padding-bottom: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible h4 {
|
|
margin: 0 0 2px 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-dismissible p {
|
|
color: #3c434a;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-buttons {
|
|
display: flex;
|
|
margin-inline-start: auto;
|
|
padding-inline-start: 10px;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-buttons .wpforms-dismiss-button {
|
|
color: rgba(68, 68, 68, 0.35);
|
|
margin-inline-start: 7px;
|
|
margin-inline-end: -3px;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert-buttons .wpforms-dismiss-button:hover {
|
|
color: rgba(68, 68, 68, 0.75);
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert h4 {
|
|
color: #3c434a;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 18px;
|
|
margin: 0 0 3px 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p {
|
|
line-height: 18px;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p:last-of-type {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p.wpforms-alert-heading {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
margin-bottom: 3px !important;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert p.wpforms-alert-content {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-nomargin {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-success {
|
|
border-inline-start-color: #00a32a;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-info {
|
|
border-inline-start-color: #036aab;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-warning {
|
|
border-inline-start-color: #ffb900;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-danger {
|
|
border-inline-start-color: #d63638;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-ai {
|
|
border-inline-start-color: #7a30e2;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert.wpforms-alert-field-requirements .wpforms-alert-buttons {
|
|
padding: 10px 0 0 0;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert .wpforms-aside-left {
|
|
float: left;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-alert .wpforms-aside-right {
|
|
float: right;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert {
|
|
box-shadow: none;
|
|
overflow: auto;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-success {
|
|
background-color: #edfaef;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-info {
|
|
background-color: #f1f6fa;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-warning {
|
|
background-color: #fcf9e8;
|
|
}
|
|
|
|
.wpforms-admin-page .wpforms-panel-content .wpforms-alert.wpforms-alert-danger {
|
|
background-color: #fcf0f1;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice {
|
|
background: #036aab;
|
|
cursor: default;
|
|
height: 100%;
|
|
min-width: 0;
|
|
padding: 0 20px;
|
|
overflow: scroll;
|
|
position: fixed;
|
|
z-index: 100110;
|
|
text-align: center;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice img {
|
|
height: 130px;
|
|
width: 130px;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice img.sullie-icon {
|
|
background-color: #f0f0f1;
|
|
border: 5px solid #ffffff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.wpforms-fullscreen-notice h3 {
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
margin: 25px 0 5px 0;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice p {
|
|
color: #cce0ed;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
line-height: 22px;
|
|
margin: 0;
|
|
max-width: 640px;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice a {
|
|
color: #cce0ed;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice a:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 25px;
|
|
/* Gap is unsupported in IE, but we have only one button on IE notice. */
|
|
justify-content: center;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button {
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
line-height: 20px;
|
|
height: auto;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
text-shadow: none;
|
|
transition-property: all;
|
|
transition-duration: 0.05s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-primary {
|
|
background-color: #e27730;
|
|
border: 2px solid #e27730;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-primary:hover {
|
|
background-color: #cd6622;
|
|
border-color: #cd6622;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-secondary {
|
|
background-color: transparent;
|
|
border: 2px solid #ffffff;
|
|
color: #ffffff;
|
|
opacity: .5;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .wpforms-fullscreen-notice-button-secondary:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .close,
|
|
.wpforms-fullscreen-notice .dismiss {
|
|
background-color: transparent;
|
|
background-image: url("../../images/times-circle.svg");
|
|
border: none;
|
|
color: #81b5d5;
|
|
cursor: pointer;
|
|
height: 31px;
|
|
opacity: .5;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
inset-inline-end: 20px;
|
|
top: 20px;
|
|
width: 31px;
|
|
transition-property: all;
|
|
transition-duration: 0.05s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .close:hover,
|
|
.wpforms-fullscreen-notice .dismiss:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice .close:focus,
|
|
.wpforms-fullscreen-notice .dismiss:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice-light {
|
|
background: #e8e9e9;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice-light h3 {
|
|
color: #3c434a;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice-light p {
|
|
color: #6a6f76;
|
|
}
|
|
|
|
.wpforms-fullscreen-notice img {
|
|
height: auto;
|
|
width: auto;
|
|
max-width: 120px;
|
|
}
|
|
|
|
@supports (display: grid) {
|
|
#wpforms-builder-ie-notice {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#wpforms-builder-abort-message h3 {
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#wpforms-builder-abort-message img {
|
|
width: 400px;
|
|
height: auto;
|
|
margin: 30px 30px 0 30px;
|
|
}
|
|
|
|
#wpforms-builder-abort-message .wpforms-fullscreen-notice-button {
|
|
text-transform: initial;
|
|
}
|
|
|
|
#wpforms-builder-abort-message .waving-hand-emoji {
|
|
display: inline-block;
|
|
background-image: url("../../images/empty-states/waving-hand-emoji.png");
|
|
background-repeat: no-repeat;
|
|
background-size: 24px 24px;
|
|
background-position: 0 0;
|
|
padding-left: 34px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
#wpforms-builder-abort-message img {
|
|
width: 250px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
#wpforms-builder-mobile-notice {
|
|
display: none;
|
|
}
|
|
}
|