Making WordPress.org

Changeset 14951


Ignore:
Timestamp:
06/08/2026 04:04:31 PM (4 months ago)
Author:
bor0
Message:

Replace SI Contact Form CSS with native contact form styles

Migrate contact form overrides from the SI Contact Form plugin
(#FSContact1) to the native [jobswp-contact-form] block styles
(.jobswp-contact-form). Removes !important declarations, adds
box-sizing and honeypot field styles, and adds overflow-wrap to
the main content container.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css

    r14842 r14951  
    10551055        margin-inline: auto;
    10561056        padding: var(--space-40) var(--space-20) var(--space-60);
     1057        overflow-wrap: break-word;
    10571058}
    10581059
    … …  
    12191220}
    12201221
    1221 /* SI Contact Form overrides for feedback page */
    1222 #FSContact1 {
    1223         width: 100% !important;
     1222/* Native feedback contact form ([jobswp-contact-form]) */
     1223.jobswp-contact-form {
     1224        width: 100%;
    12241225        max-width: 600px;
    12251226}
    12261227
    1227 #FSContact1 input[type="text"],
    1228 #FSContact1 input[type="email"] {
    1229         width: 100% !important;
    1230 }
    1231 
    1232 #FSContact1 textarea {
    1233         width: 100% !important;
    1234         max-width: 100% !important;
     1228.jobswp-contact-form .input,
     1229.jobswp-contact-form input[type="text"],
     1230.jobswp-contact-form input[type="email"] {
     1231        width: 100%;
     1232        box-sizing: border-box;
     1233}
     1234
     1235.jobswp-contact-form textarea.input {
     1236        width: 100%;
     1237        max-width: 100%;
    12351238        min-height: 150px;
    1236 }
    1237 
    1238 #FSContact1 #fscf_captcha_code1 {
    1239         width: 170px !important;
    1240 }
    1241 
    1242 #FSContact1 #fscf_submit_div1 {
    1243         padding-top: var(--space-20) !important;
     1239        box-sizing: border-box;
     1240}
     1241
     1242.jobswp-contact-form__field--honeypot {
     1243        position: absolute;
     1244        left: -9999px;
     1245        width: 1px;
     1246        height: 1px;
     1247        overflow: hidden;
     1248}
     1249
     1250.jobswp-contact-form__submit {
     1251        padding-top: var(--space-20);
     1252        margin-bottom: 0;
    12441253}
    12451254
    … …  
    17631772        }
    17641773
     1774
    17651775        .job-list-col-labels {
    17661776                display: none;
Note: See TracChangeset for help on using the changeset viewer.